/* The card-first story shared by the landing pages and the homepage:
   the poster-to-card hero panel, the five steps, the "Design your card"
   builder, the "How customers join" lanes and the step videos.
   Uses the site's --rl-* tokens, so it inherits each page's palette. */

/* ---------- Poster to card: the hero panel ---------- */

.cs-launch {
  display: grid;
  gap: clamp(0.7rem, 2vw, 1rem);
  transform-style: preserve-3d;
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cs-launch {
    will-change: transform;
  }
}

.cs-launch__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.15rem;
}

.cs-launch__side {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  min-width: 0;
  margin: 0;
}

.cs-launch__caption {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  max-width: 15rem;
  margin: 0;
  color: var(--rl-text-strong, #0F2D32);
  font-family: var(--rl-font-heading);
  font-size: clamp(0.8rem, 2.5vw, 0.95rem);
  font-weight: 800;
  line-height: 1.25;
}

.cs-num {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--rl-color-orange-500, #F4AB4B);
  color: var(--rl-color-teal-900, #0F2D32);
  font-family: var(--rl-font-heading);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
}

.cs-launch__arrow {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  margin-top: -1.6rem;
  color: var(--rl-text-caption, #314A51);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-launch__arrow svg {
  display: block;
  width: clamp(1.5rem, 5vw, 2.3rem);
  height: auto;
  color: var(--rl-color-orange-500, #F4AB4B);
}

.cs-launch__works {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem 0.45rem;
  margin: 0;
  color: var(--rl-text-strong, #0F2D32);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.cs-launch__works svg {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--rl-color-teal-900, #0F2D32);
}

/* The landing pages' Apple Wallet and Google Wallet badges. */
.cs-launch__wallets {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
}

.cs-launch__wallets img {
  display: block;
  width: auto;
  height: 2.3rem;
}

.cs-launch__note {
  margin: 0;
  color: var(--rl-text-muted, #4C5A5F);
  font-size: 0.74rem;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
}

/* The real shops' names read as a line of their own where there's room
   (5 November 2026); on phones the note runs on, to keep it short. */
@media (max-width: 600px) {
  .cs-launch__note br {
    display: none;
  }
}

/* Fanned posters and the matching fanned cards: each card sits where its
   poster does. The cards fan from the bottom so their names stay visible. */
.cs-fan {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1.12;
  isolation: isolate;
}

.cs-fan img {
  position: absolute;
  display: block;
  height: auto;
}

.cs-fan--posters img {
  top: 9%;
  width: 44%;
  border-radius: 0.45rem;
  /* The thin frame is a ring just outside the poster, not a border inside
     its box, so the box keeps the poster's own shape at every size. */
  box-shadow: 0 0 0 1px rgba(15, 45, 50, 0.13), 0 14px 24px rgba(58, 38, 18, 0.2);
}

.cs-fan--posters .cs-fan__left {
  left: 6%;
  transform: translateY(3%) rotate(-11deg);
}

.cs-fan--posters .cs-fan__right {
  right: 6%;
  transform: translateY(3%) rotate(11deg);
}

.cs-fan--posters .cs-fan__front {
  left: 28%;
  z-index: 1;
}

.cs-fan--cards img {
  top: 15%;
  width: 45%;
  filter: drop-shadow(0 10px 14px rgba(15, 45, 50, 0.2));
}

.cs-fan--cards .cs-fan__left {
  left: 9%;
  transform-origin: 50% 100%;
  transform: rotate(-10deg);
}

.cs-fan--cards .cs-fan__right {
  right: 9%;
  transform-origin: 50% 100%;
  transform: rotate(10deg);
}

.cs-fan--cards .cs-fan__front {
  left: 27.5%;
  z-index: 1;
}

/* ---------- The five steps ---------- */

.cs-steps__head {
  max-width: 46rem;
  margin: 0 auto clamp(1.4rem, 4vw, 2.4rem);
  text-align: center;
}

.cs-steps__head h2 {
  margin: 0.2rem 0 0.6rem;
}

.cs-steps__head p {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--rl-text-muted, #4C5A5F);
}

.cs-steps__list {
  display: grid;
  gap: clamp(0.9rem, 2.4vw, 1.4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-step {
  display: grid;
  gap: clamp(1rem, 3vw, 2.2rem);
  align-items: center;
  padding: clamp(1.1rem, 3.4vw, 2.1rem);
  border: 1px solid color-mix(in srgb, var(--rl-border-soft, #EAD9C7) 82%, white);
  border-radius: clamp(1.1rem, 2.6vw, 1.6rem);
  background: var(--rl-bg-card, #FFFFFF);
  box-shadow: var(--rl-shadow-soft, 0 8px 24px rgba(15, 45, 50, 0.08));
}

.cs-step__copy {
  min-width: 0;
}

/* Body copy in a step. :where() keeps these as weak as a single class, so a
 * labelled paragraph (.cs-lane__foot, .cs-join__title…) keeps its own spacing,
 * while still beating the pages' bare p rules. Defined before those classes. */
.cs-step :where(p) {
  margin: 0 0 0.65rem;
  color: var(--rl-text-muted, #4C5A5F);
  line-height: 1.55;
}

.cs-step :where(p:last-child) {
  margin-bottom: 0;
}

.cs-step__label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.6rem;
  color: var(--rl-text-caption, #314A51);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-step__label .cs-num {
  width: 2rem;
  height: 2rem;
  font-size: 0.95rem;
}

.cs-step h3 {
  margin: 0 0 0.55rem;
  color: var(--rl-text-strong, #0F2D32);
  font-family: var(--rl-font-heading);
  font-size: clamp(1.35rem, 3.6vw, 1.8rem);
  line-height: 1.15;
}

.cs-step__link {
  color: var(--rl-text-strong, #0F2D32);
  font-weight: 800;
}

.cs-step__small {
  font-size: 0.82rem;
}

/* How you start, in four steps, beside "Design your card" (27 October 2026). */
.cs-step :where(p.cs-start__label) {
  margin: 0.9rem 0 0.45rem;
  color: var(--rl-text-caption, #314A51);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-start {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
  counter-reset: cs-start;
  display: grid;
  gap: 0.4rem;
}

.cs-start li {
  counter-increment: cs-start;
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  align-items: start;
  gap: 0.55rem;
  color: var(--rl-text-strong, #0F2D32);
  font-weight: 700;
  line-height: 1.45;
}

.cs-start li::before {
  content: counter(cs-start);
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--rl-color-orange-500, #F4AB4B);
  color: var(--rl-color-teal-900, #0F2D32);
  font-family: var(--rl-font-heading);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
}

.cs-step__visual {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  min-width: 0;
  margin: 0;
}

.cs-step__visual figcaption,
.cs-caption {
  color: var(--rl-text-caption, #314A51);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

@media (min-width: 900px) {
  .cs-step {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }

  /* Copy and picture always share the first row; extras run underneath. */
  .cs-step__copy,
  .cs-step__visual,
  .cs-step > .cs-builder {
    grid-row: 1;
  }

  .cs-step--flip .cs-step__copy {
    grid-column: 2;
  }

  .cs-step--flip .cs-step__visual {
    grid-column: 1;
  }

  .cs-video {
    width: min(100%, 360px);
  }

}

/* Step 2: the free poster beside a real one at a till. */
.cs-poster-pair {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1.15;
}

.cs-poster-pair img {
  position: absolute;
  display: block;
  height: auto;
}

.cs-poster-pair__photo {
  top: 0;
  left: 0;
  width: 54%;
  border-radius: 0.9rem;
  box-shadow: var(--rl-shadow-pop, 0 14px 30px rgba(15, 45, 50, 0.14));
  transform: rotate(-3deg);
}

.cs-poster-pair__poster {
  right: 2%;
  bottom: 0;
  width: 52%;
  border: 1px solid rgba(15, 45, 50, 0.12);
  border-radius: 0.5rem;
  box-shadow: 0 18px 34px rgba(15, 45, 50, 0.24);
  transform: rotate(3deg);
}

/* Step 2 on the home page since 28 October 2026: the free poster on its
   own, as the real-shop photos follow further down. */
.cs-poster-pair--single {
  aspect-ratio: auto;
  display: flex;
  justify-content: center;
}

.cs-poster-pair--single .cs-poster-pair__poster {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(72%, 300px);
}

/* Our launches: three real shops' posters fanned like prints on a table
   (6 November 2026, on the home page and under the counter kit on the
   landing pages): Buna Beans' window, The Med on the day its poster
   arrived (in front) and a convenience shop's window. The outer two tilt
   out from their bottom edge and tuck a little under the middle one, so
   every poster stays in full view. Where the fan is under 380px wide
   (phones) it becomes two up with the middle photo in front below them.
   A page sets --fan-photo, the widest a photo gets three across (and may
   set the phone sizes), and may add notes (.rl-launch-fan__notes), one
   per photo in the same order: under their photos three across; on
   phones The Med's under the fan, the other two left and right below it. */
.rl-launch-fan {
  --fan-w: min(var(--fan-photo, 300px), 32.5cqi);
  --fan-tuck: calc(var(--fan-w) * 0.1);
  --fan-tilt: 4deg;
  --fan-phone-photo: 46cqi;
  --fan-phone-front: 56cqi;
  container-type: inline-size;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  width: 100%;
  margin: 0;
}

.rl-launch-fan__photos {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  padding: calc(var(--fan-w) * 0.02) 0 calc(var(--fan-w) * 0.05);
}

.rl-launch-fan__photo {
  position: relative;
  z-index: 1;
  flex: none;
  display: block;
  box-sizing: border-box;
  width: var(--fan-w);
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 3px solid #FFFDF9;
  /* Smaller corners on small photos, so they read as prints, not icons. */
  border-radius: clamp(0.55rem, calc(var(--fan-w) * 0.055), 0.9rem);
  background: #EFE6DA;
  box-shadow: 0 12px 26px rgba(15, 45, 50, 0.16), 0 2px 5px rgba(15, 45, 50, 0.08);
  transform-origin: 50% 100%;
  transition:
    translate var(--rl-dur-base, 240ms) var(--rl-ease-standard, ease),
    box-shadow var(--rl-dur-base, 240ms) var(--rl-ease-standard, ease);
}

.rl-launch-fan__photo--buna {
  margin-top: calc(var(--fan-w) * 0.05);
  margin-right: calc(var(--fan-tuck) * -1);
  transform: rotate(calc(var(--fan-tilt) * -1));
}

/* The Med's photo is shown whole, in its own shape, so The Med's own
   announcement across the top isn't cut (owner, 6 November 2026). */
.rl-launch-fan__photo--med {
  z-index: 2;
  aspect-ratio: 1080 / 1363;
  box-shadow: 0 18px 34px rgba(15, 45, 50, 0.22), 0 3px 8px rgba(15, 45, 50, 0.1);
}

.rl-launch-fan__photo--nisa {
  margin-top: calc(var(--fan-w) * 0.05);
  margin-left: calc(var(--fan-tuck) * -1);
  transform: rotate(var(--fan-tilt));
}

/* A small lift, and the photo comes to the front. */
@media (hover: hover) {
  .rl-launch-fan__photo:hover {
    z-index: 3;
    translate: 0 -6px;
    box-shadow: 0 22px 40px rgba(15, 45, 50, 0.24), 0 3px 8px rgba(15, 45, 50, 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rl-launch-fan__photo {
    transition: none;
  }

  .rl-launch-fan__photo:hover {
    translate: none;
  }
}

/* Three equal columns as wide as the photo row, so each note sits under
   its photo and The Med's (the longest) gets the same room as the rest. */
.rl-launch-fan__notes {
  display: grid;
  grid-template-columns: repeat(3, calc(var(--fan-w) - var(--fan-tuck) * 2 / 3));
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.rl-launch-fan__notes li {
  display: grid;
  align-content: start;
  gap: 0.2rem;
  min-width: 0;
  padding-inline: 0.6rem;
}

.rl-launch-fan__notes h3,
.rl-launch-fan__notes p {
  margin: 0;
  text-wrap: balance;
}

.rl-launch-fan__notes h3 {
  color: #18373F;
  font-size: 0.98rem;
  line-height: 1.22;
}

.rl-launch-fan__notes p {
  max-width: none;
  color: #40565D;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
}

/* A note that is one line, with no heading, starts at the same weight as
   the headed ones beside it. */
.rl-launch-fan__notes li > p:only-child {
  color: #18373F;
  font-size: 0.92rem;
  line-height: 1.3;
}

.rl-launch-fan > figcaption {
  max-width: 44ch;
}

/* The landing pages: under the counter kit, a smaller fan. Three across,
   the side photos tuck a little further under The Med, so each photo can
   be wider in the kit's column. */
.rl-launch-fan--lp {
  --fan-photo: 160px;
  --fan-w: min(var(--fan-photo), 36cqi);
  --fan-tuck: calc(var(--fan-w) * 0.14);
  --fan-phone-photo: 44cqi;
  --fan-phone-front: 52cqi;
  width: min(100%, 560px);
}

/* Phones: two up, The Med in front below them. Every size follows the
   phone photo width, so the group scales as one. The home page (index.html)
   repeats this block for its fan up to 600px, as its notes need more room
   three across: keep the two in step. */
@container (max-width: 379px) {
  .rl-launch-fan__photos,
  .rl-launch-fan__notes {
    --fan-w: var(--fan-phone-photo);
  }

  .rl-launch-fan__photos {
    display: grid;
    grid-template-columns: repeat(2, var(--fan-w));
    grid-template-areas:
      "buna nisa"
      "med med";
    justify-content: center;
    justify-items: center;
    column-gap: calc(var(--fan-w) * 0.087);
    padding: calc(var(--fan-w) * 0.044) 0 calc(var(--fan-w) * 0.065);
  }

  .rl-launch-fan__photo--buna,
  .rl-launch-fan__photo--nisa {
    margin: 0;
    transform-origin: 50% 50%;
  }

  .rl-launch-fan__photo--buna {
    grid-area: buna;
  }

  .rl-launch-fan__photo--nisa {
    grid-area: nisa;
  }

  .rl-launch-fan__photo--med {
    grid-area: med;
    width: var(--fan-phone-front);
    border-radius: clamp(0.6rem, calc(var(--fan-phone-front) * 0.055), 0.9rem);
    margin-top: calc(var(--fan-w) * -0.196);
    transform: rotate(-1.5deg);
  }

  .rl-launch-fan__notes {
    grid-template-columns: repeat(2, minmax(0, var(--fan-w)));
    grid-template-areas:
      "med med"
      "buna nisa";
    column-gap: calc(var(--fan-w) * 0.087);
    row-gap: 0.75rem;
  }

  .rl-launch-fan__notes li {
    padding-inline: 0;
  }

  .rl-launch-fan__notes li:nth-child(1) {
    grid-area: buna;
  }

  .rl-launch-fan__notes li:nth-child(2) {
    grid-area: med;
    justify-self: center;
    max-width: 32ch;
  }

  .rl-launch-fan__notes li:nth-child(3) {
    grid-area: nisa;
  }
}

/* Step videos: muted loops that load when they come into view. */
.cs-video {
  position: relative;
  width: min(100%, 340px);
  overflow: hidden;
  border-radius: 1.4rem;
  background: #E9E1D6;
  box-shadow: var(--rl-shadow-pop, 0 14px 30px rgba(15, 45, 50, 0.14));
  aspect-ratio: 4 / 5;
}

.cs-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Clear-background animations (stacked-alpha video drawn on a canvas):
 * no box, the scene sits straight on the page. The transparent still shows
 * until the first frame is drawn, and stays without WebGL. */
.cs-video--clear {
  width: min(100%, 360px);
  overflow: visible;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

/* 720 pixels wide: up to 380 keeps it sharp on 2x screens. */
@media (min-width: 900px) {
  .cs-video--clear {
    width: min(100%, 380px);
  }
}

.cs-video--clear .cs-video__still,
.cs-video--clear .cs-video__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.cs-video--clear .cs-video__canvas {
  opacity: 0;
  transition: opacity 220ms ease;
}

.cs-video--clear.is-drawing .cs-video__canvas {
  opacity: 1;
}

.cs-video--clear.is-drawing .cs-video__still {
  opacity: 0;
  transition: opacity 160ms ease 140ms;
}

/* The video only feeds the canvas. */
.cs-video--clear video {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Step 4 extras: Head Start and the nudge, side by side on wide screens. */
.cs-extras {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

@media (min-width: 720px) {
  .cs-extras {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cs-extra {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 1rem 1.05rem;
  border: 1px solid color-mix(in srgb, var(--rl-border-soft, #EAD9C7) 80%, white);
  border-radius: 1.05rem;
  background: color-mix(in srgb, var(--rl-color-cream-200, #FFF0DE) 55%, white);
}

.cs-extra h4 {
  margin: 0;
  color: var(--rl-text-strong, #0F2D32);
  font-family: var(--rl-font-heading);
  font-size: 1.05rem;
  line-height: 1.25;
}

.cs-extra p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cs-extra cite {
  font-style: normal;
  font-weight: 700;
}

.cs-headstart {
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: #FFFFFF;
  box-shadow: 0 6px 16px rgba(15, 45, 50, 0.08);
}

.cs-headstart__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--rl-text-strong, #0F2D32);
  font-size: 0.82rem;
  font-weight: 800;
}

.cs-stamps {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.25rem;
  --rl-stamp-empty: #B9C2C1;
}

.cs-stamps > span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 2px solid var(--rl-color-orange-500, #F4AB4B);
  border-radius: 50%;
  background: var(--rl-color-orange-500, #F4AB4B);
  color: var(--rl-color-teal-900, #0F2D32);
  font-size: clamp(0.55rem, 1.6vw, 0.72rem);
  font-weight: 900;
}

.cs-stamps > span:empty {
  border-style: dashed;
  border-color: var(--rl-stamp-empty);
  background: transparent;
}

.cs-notes {
  display: grid;
  gap: 0.45rem;
}

.cs-notes img {
  display: block;
  width: 100%;
  height: auto;
  /* Clear corners: a shadow that follows the pill, not a box. */
  filter: drop-shadow(0 6px 12px rgba(15, 45, 50, 0.13));
}

/* The shop's own lock-screen message, kept phone-sized, with a small
   "Example" label (19 October 2026): the shops and messages are examples. */
.cs-notes__frame {
  position: relative;
  display: block;
  justify-self: center;
  width: min(100%, 270px);
}

.cs-notes img.cs-notes__lock {
  width: 100%;
}

.cs-example-tag {
  position: absolute;
  top: 1.45rem;
  left: 0.85rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--rl-text-strong, #0F2D32);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Step 5: the owner's charts on an iPad. */
/* The bezel, corners and inner curve come from the shared iPad frame in
 * tablet-frames.css, so they scale with the tablet like the site's others. */
.cs-tablet {
  width: min(100%, 330px);
  margin-inline: auto;
}

@media (min-width: 900px) {
  .cs-tablet {
    width: min(100%, 410px);
  }
}

.cs-tablet img {
  background: #FFFFFF;
  box-shadow: var(--rl-shadow-pop, 0 14px 30px rgba(15, 45, 50, 0.14));
}

/* ---------- Design your card ---------- */

.cs-builder {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.cs-builder__preview {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.55rem;
  min-width: 0;
  padding: clamp(0.9rem, 3vw, 1.3rem);
  border-radius: 1.15rem;
  background:
    radial-gradient(90% 70% at 20% 0%, rgba(244, 171, 75, 0.16), transparent 70%),
    linear-gradient(160deg, #F5F0EA, #ECE5DB);
}

/* The card as it sits in Apple Wallet on an iPhone. The pass follows setup's
 * preview: every size is a share of its width (--u), so it scales like the
 * real card. On narrow screens the phone is cropped with a fade, so the form
 * stays close to the preview. */
.cs-wallet-crop {
  width: min(100%, 250px);
}

.cs-wallet-phone {
  position: relative;
  aspect-ratio: 300 / 650;
  padding: 3.4%;
  border-radius: 15% / 6.9%;
  background: linear-gradient(160deg, #2B3A3E, #0B1214 40%, #182326);
  box-shadow: 0 18px 34px rgba(10, 20, 22, 0.2), 0 4px 10px rgba(10, 20, 22, 0.1), inset 0 0 0 1.5px rgba(255, 255, 255, 0.14);
}

.cs-wallet-phone__still,
.cs-wallet-phone__screen {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12.4% / 5.7%;
  background: #F2F2F7;
}

.cs-wallet-phone__still {
  object-fit: cover;
  object-position: top;
}

.cs-wallet-phone__screen {
  container-type: inline-size;
  color: #111111;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.2;
  text-align: left;
}

.cs-wallet-ui__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6cqw 7.5cqw 0 10cqw;
  font-size: 5cqw;
  font-weight: 600;
}

.cs-wallet-ui__status svg {
  width: 19cqw;
  height: auto;
  fill: currentColor;
}

.cs-wallet-ui__nav {
  display: flex;
  justify-content: space-between;
  padding: 5cqw 4.4cqw 0;
}

.cs-wallet-ui__button {
  display: grid;
  place-items: center;
  width: 10.5cqw;
  height: 10.5cqw;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.cs-wallet-ui__button--pill {
  display: flex;
  gap: 5cqw;
  width: auto;
  padding: 0 3.4cqw;
}

.cs-wallet-ui__button svg {
  width: 5cqw;
  height: 5cqw;
  fill: none;
  stroke: #111111;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cs-wallet-ui__button svg.cs-wallet-ui__more {
  fill: #111111;
  stroke: none;
}

.cs-pass {
  --u: 0.932cqw;
  margin: 4.6cqw 3.4cqw 0;
  overflow: hidden;
  padding-bottom: calc(5 * var(--u));
  border-radius: calc(4.4 * var(--u));
  /* White, or an Every reward card's own colour (25 October 2026). */
  background: var(--pass-bg, #FFFFFF);
  color: var(--pass-ink, #0F2D32);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(16, 45, 50, 0.06);
}

.cs-pass__top {
  display: flex;
  align-items: center;
  gap: calc(2.5 * var(--u));
  min-height: calc(15.6 * var(--u));
  padding: calc(3.75 * var(--u)) calc(4.4 * var(--u));
}

.cs-pass__logo {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: calc(15.6 * var(--u));
  height: calc(15.6 * var(--u));
  border-radius: calc(3.1 * var(--u));
  background: #0F2D32;
  color: #FFFFFF;
  font-size: calc(5 * var(--u));
  font-weight: 700;
}

.cs-pass__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: calc(5 * var(--u));
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-pass__field {
  display: grid;
  gap: calc(0.6 * var(--u));
  min-width: 0;
}

.cs-pass__field--end {
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right;
}

.cs-pass__label {
  color: var(--pass-label, inherit);
  font-size: calc(3.1 * var(--u));
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cs-pass__value {
  overflow: hidden;
  font-size: calc(5.3 * var(--u));
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-pass__strip {
  aspect-ratio: 375 / 144;
  background: var(--pass-band, #F4AB4B);
}

.cs-pass__strip img {
  display: block;
  width: 100%;
  height: 100%;
}

.cs-pass__row {
  display: flex;
  align-items: flex-start;
  gap: calc(3 * var(--u));
  padding: calc(3.1 * var(--u)) calc(4.4 * var(--u)) 0;
}

.cs-pass__row .cs-pass__field:first-child {
  flex: 1 1 auto;
}

.cs-pass__barcode {
  width: calc(46.9 * var(--u));
  margin: calc(5 * var(--u)) auto 0;
  padding: calc(2.5 * var(--u));
  border-radius: calc(2.5 * var(--u));
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(16, 45, 50, 0.08);
  color: #0F2D32;
}

.cs-pass__code {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.88;
}

@media (max-width: 899px) {
  .cs-wallet-crop {
    max-height: 22.5rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 70%, transparent);
    mask-image: linear-gradient(#000 70%, transparent);
  }
}

/* On a phone, while they edit (C4(a), 27 November 2026): the card sticks
 * under the page's header and shrinks to its top band, the name and the
 * stamps, so a change shows as they make it. card-story.js keepInView sets
 * .is-editing and leaves room for it at the top of the page. */
@media (max-width: 639px) {
  .cs-builder.is-editing .cs-builder__preview {
    position: sticky;
    top: var(--cs-stick-top, 0px);
    z-index: 5;
    padding-block: 0.5rem;
    box-shadow: 0 8px 18px rgba(15, 45, 50, 0.12);
  }

  .cs-builder.is-editing .cs-wallet-crop {
    max-height: 9.5rem;
  }

  .cs-builder.is-editing .cs-caption {
    display: none;
  }
}

@media (max-width: 639px) and (prefers-reduced-motion: no-preference) {
  .cs-wallet-crop {
    transition: max-height 160ms ease;
  }
}

.cs-builder__form {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.cs-field {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

/* The colours and the themes take turns, by the card's style. */
.cs-field[hidden],
.cs-builder__hint[hidden] {
  display: none;
}

.cs-field > span,
.cs-field > legend {
  padding: 0;
  margin-bottom: 0.35rem;
  color: var(--rl-text-strong, #0F2D32);
  font-size: 0.86rem;
  font-weight: 800;
}

.cs-field input[type="text"],
.cs-field select {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--rl-border-strong, #D8BE9F);
  border-radius: 0.75rem;
  background: #FFFFFF;
  color: var(--rl-text-primary, #120C0B);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
}

.cs-field input[type="text"]:focus-visible,
.cs-field select:focus-visible {
  outline: 3px solid var(--rl-focus-ring, #2B7FFF);
  outline-offset: 1px;
}

.cs-field__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(6.5rem, auto);
  gap: 0.5rem;
}

.cs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cs-chip {
  position: relative;
}

.cs-chip input,
.cs-swatch input,
.cs-theme input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.cs-chip span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 42px;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--rl-border-strong, #D8BE9F);
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--rl-text-strong, #0F2D32);
  font-size: 0.86rem;
  font-weight: 800;
}

.cs-chip input:checked + span {
  border-color: var(--rl-color-teal-900, #0F2D32);
  background: var(--rl-color-teal-900, #0F2D32);
  color: #FFFFFF;
}

.cs-chip input:focus-visible + span,
.cs-swatch input:focus-visible + span {
  outline: 3px solid var(--rl-focus-ring, #2B7FFF);
  outline-offset: 2px;
}

.cs-swatches {
  /* "My logo" on its own line, then the six colours in one even row, so no
     colour is ever left alone on a line. */
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 2.35rem));
  align-items: center;
  gap: 0.5rem 0.45rem;
}

.cs-swatch {
  position: relative;
}

.cs-swatch--logo {
  grid-column: 1 / -1;
  justify-self: start;
}

.cs-swatch span {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--swatch, #F4AB4B);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.cs-swatch--logo span {
  display: grid;
  place-items: center;
  width: auto;
  min-width: 2.35rem;
  height: 2.35rem;
  aspect-ratio: auto;
  padding: 0 0.75rem;
  border: 1px dashed var(--rl-border-strong, #D8BE9F);
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: none;
  color: var(--rl-text-strong, #0F2D32);
  font-size: 0.8rem;
  font-weight: 800;
}

.cs-swatch input:checked + span {
  outline: 3px solid var(--rl-color-teal-900, #0F2D32);
  outline-offset: 2px;
}

/* The Card row's "More" (C2, 29 November 2026): a chip like the others,
   dashed until a theme from it is picked, that opens the themes under it. */
.cs-more {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.45rem 0.85rem;
  border: 1px dashed var(--rl-border-strong, #D8BE9F);
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--rl-text-strong, #0F2D32);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.cs-more.is-on {
  border-style: solid;
  border-color: var(--rl-color-teal-900, #0F2D32);
  box-shadow: inset 0 0 0 1px var(--rl-color-teal-900, #0F2D32);
}

.cs-more:focus-visible {
  outline: 3px solid var(--rl-focus-ring, #2B7FFF);
  outline-offset: 2px;
}

.cs-themes[hidden],
.cs-theme[hidden] {
  display: none;
}

/* Every reward's colour themes (25 October 2026): a little card for each, in
   its colour with a line of its writing and a dot of its labels, as setup and
   Settings show them. Four to a row, so eight make two even rows. */
.cs-themes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 3.6rem));
  gap: 0.6rem 0.55rem;
}

.cs-theme {
  position: relative;
}

/* Above the little card, which is positioned for its marks. */
.cs-theme input {
  z-index: 1;
}

.cs-theme__chip {
  position: relative;
  display: block;
  aspect-ratio: 1.5;
  border-radius: 0.6rem;
  background: var(--theme-bg, #F4EADB);
  box-shadow: inset 0 0 0 1px rgba(16, 45, 50, 0.16);
}

.cs-theme__ink {
  position: absolute;
  top: 30%;
  right: 30%;
  left: 18%;
  height: 12%;
  border-radius: 99px;
  background: var(--theme-ink, #3A2417);
}

.cs-theme__dot {
  position: absolute;
  right: 18%;
  bottom: 22%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--theme-label, #8B5A2B);
}

.cs-theme input:checked + .cs-theme__chip {
  outline: 3px solid var(--rl-color-teal-900, #0F2D32);
  outline-offset: 2px;
}

.cs-theme input:focus-visible + .cs-theme__chip {
  outline: 3px solid var(--rl-focus-ring, #2B7FFF);
  outline-offset: 2px;
}

.cs-builder__hint {
  margin: 0;
  color: var(--rl-text-muted, #4C5A5F);
  font-size: 0.78rem;
  line-height: 1.45;
}

.cs-builder__action {
  display: grid;
  gap: 0.4rem;
  justify-items: start;
}

@media (min-width: 640px) {
  .cs-builder {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* ---------- How customers join ---------- */

.cs-join {
  display: grid;
  gap: 0.75rem;
  margin-top: clamp(1rem, 3vw, 1.6rem);
}

.cs-join__title {
  margin: 0;
  color: var(--rl-text-caption, #314A51);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.cs-join__lanes {
  display: grid;
  gap: 0.55rem;
  align-items: stretch;
}

.cs-lane {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border: 1px solid color-mix(in srgb, var(--rl-border-soft, #EAD9C7) 80%, white);
  border-radius: 1.1rem;
  background: #FFFFFF;
}

.cs-lane--card {
  border-color: color-mix(in srgb, var(--rl-color-orange-500, #F4AB4B) 45%, white);
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(244, 171, 75, 0.18), transparent 70%),
    #FFFFFF;
}

.cs-lane--app {
  background: color-mix(in srgb, var(--rl-color-teal-900, #0F2D32) 4%, white);
}

.cs-lane__kicker {
  margin: 0 0 0.15rem;
  color: var(--rl-text-caption, #314A51);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-lane h4 {
  margin: 0 0 0.45rem;
  color: var(--rl-text-strong, #0F2D32);
  font-family: var(--rl-font-heading);
  font-size: 1.12rem;
  line-height: 1.2;
}

.cs-lane ul {
  display: grid;
  gap: 0.28rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-lane li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--rl-text-primary, #120C0B);
  font-size: 0.9rem;
  line-height: 1.4;
}

.cs-lane li::before {
  position: absolute;
  top: 0.12rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--rl-color-orange-500, #F4AB4B);
  color: var(--rl-color-teal-900, #0F2D32);
  content: "✓";
  font-size: 0.62rem;
  font-weight: 900;
}

.cs-lane--app li::before {
  background: color-mix(in srgb, var(--rl-color-teal-900, #0F2D32) 14%, white);
}

.cs-lane__bonus {
  margin: 0.5rem 0 0;
  color: var(--rl-text-strong, #0F2D32);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
}

.cs-lane__foot {
  margin: 0.5rem 0 0;
  color: var(--rl-text-caption, #314A51);
  font-size: 0.74rem;
  font-weight: 800;
}

.cs-lane__media {
  display: block;
  margin: 0;
}

.cs-lane__media img {
  display: block;
  height: auto;
}

.cs-lane--card .cs-lane__media img {
  width: clamp(5.5rem, 26vw, 8.5rem);
  filter: drop-shadow(0 8px 12px rgba(15, 45, 50, 0.18));
  transform: rotate(4deg);
}

/* The bezel, edge and corner curves come from the shared phone frame in
 * phone-frames.css (compact bezel, like the site's other small phones). */
.cs-phone {
  display: block;
  width: clamp(3.6rem, 16vw, 5rem);
  overflow: hidden;
  border-color: color-mix(in srgb, #FFFFFF 36%, transparent);
  background: linear-gradient(155deg, #183A40, #081C21);
  box-shadow: 0 8px 14px rgba(15, 45, 50, 0.2);
}

.cs-join__or {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: -0.1rem 0;
  border-radius: 50%;
  background: var(--rl-color-teal-900, #0F2D32);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cs-join__foot {
  margin: 0;
  color: var(--rl-text-strong, #0F2D32);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

@media (min-width: 760px) {
  .cs-join__lanes {
    grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
  }

  .cs-lane {
    height: 100%;
  }
}

/* Steps whose extras run under both columns on wide screens. */
.cs-step__note {
  margin: 0;
  text-align: center;
}

@media (min-width: 900px) {
  .cs-step > .cs-join,
  .cs-step > .cs-extras,
  .cs-step > .cs-step__note {
    grid-column: 1 / -1;
  }
}

/* The story strip shows the shop's real poster with its own card in front. */
.story-proof__media--card {
  position: relative;
  padding-bottom: 1.6rem;
}

.story-proof__media--card .story-proof__card {
  position: absolute;
  right: -12%;
  bottom: 0;
  width: 70%;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 12px 18px rgba(15, 45, 50, 0.24));
  transform: rotate(4deg);
}

/* Two links side by side in a step read as separate links. */
.cs-step__link + .cs-step__link {
  margin-left: 0.7rem;
}

.cs-steps__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: clamp(1.4rem, 3vw, 2rem);
}

/* Homepage hero: the poster-to-card panel in place of the old app carousel. */
.hero__stage--card {
  display: block;
  width: min(560px, 100%);
  min-height: 0;
  perspective: none;
}

/* The homepage's own styles load after this file and give the stage a
   minimum height up to 1024px, and the headline a bottom margin, which
   left gaps around them. Two classes win over them here and in the
   narrower hero below (29 October 2026). */
.hero__stage.hero__stage--card {
  min-height: 0;
}

.hero__stage--card::before {
  inset: 2% 0 4%;
}

.hero__card-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  padding: clamp(1rem, 2.2vw, 1.45rem);
  border: 1px solid color-mix(in srgb, var(--rl-border-soft) 80%, white);
  border-radius: clamp(1.3rem, 3vw, 2rem);
  background:
    radial-gradient(68% 54% at 88% 10%, color-mix(in srgb, var(--rl-color-orange-500) 18%, transparent), transparent 75%),
    linear-gradient(145deg, color-mix(in srgb, white 96%, var(--rl-color-cream-200)), color-mix(in srgb, white 91%, #E9F1F1));
  box-shadow: 0 28px 70px rgba(15, 45, 50, 0.13);
}

/* On narrower screens the hero reads headline, introduction, then the
   poster-to-card picture and the buttons, so the card shows on the first
   phone screen. */
@media (max-width: 1024px) {
  .hero__grid--card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .hero__grid--card > .hero__copy {
    display: contents;
  }

  .hero__grid--card .hero__eyebrow { order: 1; margin-bottom: -0.4rem; }
  .hero__grid.hero__grid--card h1 { order: 2; margin-bottom: 0; }
  .hero__grid--card .hero__lede { order: 3; margin-bottom: 0; }
  .hero__grid--card .hero__stage { order: 4; align-self: center; margin: 0; }
  .hero__grid--card .hero__actions { order: 5; margin: 0; }
  .hero__grid--card .hero__next-step { order: 6; margin: 0; }
  .hero__grid--card .hero__chips { order: 7; margin: 0; }
  .hero__grid--card .hero__login { order: 8; margin: 0; }
}

/* Homepage supporters (19 October 2026): the same logos and words as the
   landing pages, in one card. The technology band is gone. */
.trust-band {
  display: grid;
}

.trust-band__group {
  min-width: 0;
  padding: clamp(1.15rem, 2.6vw, 1.7rem);
  border: 1px solid var(--rl-border-soft);
  border-radius: 1.4rem;
  background: var(--rl-bg-card);
  box-shadow: var(--rl-shadow-soft);
  text-align: center;
}

.trust-band h2 {
  margin: 0.2rem 0 0;
  color: var(--rl-text-strong);
  font-family: var(--rl-font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.2;
}

.trust-band__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2.2rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.trust-band__logos img {
  display: block;
  width: auto;
  max-width: 150px;
  height: 48px;
  object-fit: contain;
}

.trust-band__logos .trust-band__logo--square img {
  height: 78px;
}

.trust-band__note {
  max-width: 62ch;
  margin: 1rem auto 0;
  color: var(--rl-text-muted);
  font-size: 0.85rem;
}

/* Homepage plans (19 October 2026): "£29/month" in the price and one
   button under the three plans. */
.page-home .price-tag__per {
  margin-left: 0.15rem;
  color: var(--rl-text-muted);
  font-size: 0.42em;
  font-weight: 700;
}

.page-home .pricing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
}

.page-home .pricing-actions__link {
  color: var(--rl-text-strong);
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.page-home #pricing .pricing-note {
  font-weight: 500;
}

/* Homepage on phones: the same content, less scrolling. */
@media (max-width: 640px) {
  .page-home .price-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 1.05rem 1.15rem 1.15rem;
  }

  .page-home .price-card > * {
    grid-column: 1 / -1;
  }

  .page-home .price-card h3 {
    grid-column: 1;
    margin: 0;
  }

  .page-home .price-card .price-tag {
    grid-column: 2;
    grid-row: 2;
    font-size: 2rem;
  }

  .page-home .price-card .price-period {
    margin: -0.3rem 0 0;
    font-size: 0.72rem;
  }

  .page-home .price-card .price-list {
    gap: 0.3rem;
  }

  .page-home .price-card .price-list li {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .page-home #faq .support-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .page-home #faq .support-links a {
    min-height: 0;
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
  }

  /* The "Ask a Question" button sits just above, so the extra card is
     only shown on wider screens. */
  .page-home .cta-grid--support .cta-question-card {
    display: none;
  }

  .page-home .site-footer__grid ul {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.25rem;
  }

  .page-home .trust-band__logos {
    gap: 0.9rem 1.6rem;
  }

  .page-home .trust-band__logos img {
    max-width: 128px;
    height: 42px;
  }

  .page-home .trust-band__logos .trust-band__logo--square img {
    height: 66px;
  }
}

/* A card video inside a support page's media box. */
.media-proof__figure--video {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  text-align: center;
}

/* A real shop's words beside a step (trade packs, 14 October 2026). On the
   small-business page each one shows only for the trades it suits. */
.cs-quote {
  margin: 1.1rem 0 0;
  padding: 0.15rem 0 0.15rem 0.95rem;
  border-left: 3px solid var(--rl-color-orange-500, #F4AB4B);
}

.cs-quote[hidden] {
  display: none;
}

.cs-quote blockquote {
  margin: 0;
  color: var(--rl-text-strong, #0F2D32);
  font-size: 1.04rem;
  font-weight: 650;
  line-height: 1.45;
  /* No last word left on a line of its own. */
  text-wrap: balance;
  text-wrap: pretty;
}

.cs-quote figcaption {
  margin-top: 0.3rem;
  color: var(--rl-text-muted, #4C5A5F);
  font-size: 0.9rem;
}

/* The Wallet card page's FAQ: the quote keeps the card's own rhythm under
   the answer (5 November 2026). */
.wallet-faq .card > p:has(+ .cs-quote) {
  margin-bottom: 0;
}

.wallet-faq .card > .cs-quote {
  margin-top: 0;
}

/* Centred lines stay centred on wider screens: the pages' p { max-width:
   66ch } left their boxes on the left (29 October 2026). */
.cs-launch__works,
.cs-launch__note,
.cs-join__title,
.cs-join__foot,
.cs-step__note {
  margin-inline: auto;
}
