/* The voucher page (/i/CODE) and the Become an organizer page (/start): the approved
   design, shared by both. Desktop shows the product story (light, with a black theme
   switch); phones show full-screen real screens, one per swipe. Fonts: Inter + Pinyon Script. */
:root {
  --paper: #ffffff; --wash: #f5f8fd; --ink: #1d2330; --muted: #5f6b7d; --line: #e2e8f1;
  --blue: #0d6efd; --blue-ink: #0a58ca; --accent: #0d6efd; --frame: #cfe0ff; --frame-2: #e3edff; --bezel: #1d2330;
  --card-ink: #1d2330; --card-muted: #1d2330;
  --black: #0b0b0c; --black-2: #17171a; --black-line: #2a2a2f; --black-muted: #a3a3ab;
  --sans: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --script: 'Pinyon Script', 'Snell Roundhand', cursive;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px)); --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --bar-h: 0px;
}
body.dark  { --paper: #0b1222; --wash: #141d33; --ink: #edf2fa; --muted: #a7b3c9; --line: #26324d; --bezel: #33405e; --accent: #7aa9ff; color-scheme: dark; }
body.black, body.v-af { --paper: var(--black); --wash: var(--black-2); --ink: #f4f4f5; --muted: var(--black-muted); --line: var(--black-line); --bezel: #3f3f46; --accent: #6ea0ff; color-scheme: dark; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.55;
       -webkit-font-smoothing: antialiased; padding-top: var(--bar-h); padding-bottom: 84px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; }
.wrap { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.inner { max-width: 1120px; margin: 0 auto; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
/* Words that fly in the opening: same box model on the card and on the page, so they land exactly. */
.fl { display: inline-block; line-height: 1.2; white-space: nowrap; }

/* ---------- Shared pieces ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.wordmark .mk { width: 22px; height: 22px; }
.wordmark b { color: var(--blue); font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 22px; font-weight: 600;
       font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.note { font-size: 12px; color: var(--muted); }

/* The voucher, drawn to the printed DL card's proportions (210 x 99 mm); every size is a share of
   the card width (cqw), so it reads the same on a phone as on paper. */
.vcard { position: relative; aspect-ratio: 210 / 99; width: 100%; max-width: 100%; container-type: inline-size; }
.vface { position: absolute; inset: 0; background: #fff; color: var(--card-ink); border-radius: .8cqw; box-shadow: 0 18px 50px rgba(0,0,0,.2); overflow: hidden; }
.vface::before, .vface::after { content: ""; position: absolute; pointer-events: none; }
.vface::before { inset: 2.4cqw; border: max(1px, .14cqw) solid var(--frame); border-radius: .5cqw; }
.vface::after { inset: 3cqw; border: max(1px, .1cqw) solid var(--frame-2); border-radius: .3cqw; }
.vf-in { position: absolute; inset: 5cqw 6cqw 9cqw; display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; }
.vf-who, .vf-what { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.vf-who img { width: 3.8cqw; height: 3.8cqw; margin-bottom: 1.6cqw; }
.vf-k { font-size: 1.75cqw; color: #4a5160; }
.vf-name { font-family: var(--script); font-size: 5.4cqw; line-height: 1.15; white-space: nowrap; }
.vf-div { align-self: stretch; margin-block: 2cqw; background: var(--frame); }
.vf-amt { font-size: 6.9cqw; font-weight: 700; color: var(--blue); letter-spacing: -.03em; }
.vf-t { font-size: 2.45cqw; font-weight: 700; margin-top: .3cqw; letter-spacing: -.01em; }
.vf-p { font-size: 1.45cqw; color: var(--card-muted); margin-top: .6cqw; }
.vf-p b { color: var(--card-ink); }
.vf-v { position: absolute; left: 0; right: 0; bottom: 5.4cqw; text-align: center; font-size: 1.35cqw; color: var(--card-muted); }
.vb-in { position: absolute; inset: 5.6cqw 5.5cqw 5cqw; display: grid; grid-template-columns: 34cqw 30cqw 1fr; gap: 3cqw; }
.vb-letter { display: flex; flex-direction: column; min-width: 0; }
.vb-dear { font-family: var(--script); font-size: 3.6cqw; align-self: flex-start; }
.vb-letter p { font-size: 1.22cqw; line-height: 1.5; margin-top: .7cqw; }
.vb-sign { margin-top: auto; font-size: 1.5cqw; font-weight: 700; display: flex; align-items: center; gap: .6cqw; }
.vb-sign img { width: 2cqw; height: 2cqw; }
.vb-sign b { color: var(--blue); }
.vb-mid { border-left: max(1px, .1cqw) solid var(--frame-2); padding-left: 2.6cqw; min-width: 0; }
.vb-mid h4 { margin: 0 0 1.4cqw; font-size: 1.6cqw; }
.vb-mid ul { margin: 0; padding: 0; }
.vb-mid li { font-size: 1.2cqw; line-height: 1.4; margin-bottom: 1.1cqw; list-style: none; position: relative; padding-left: 1.6cqw; }
.vb-mid li::before { content: ""; position: absolute; left: 0; top: .55cqw; width: .7cqw; height: .7cqw; border-radius: 50%; background: var(--blue); }
.vb-qr { border-left: max(1px, .1cqw) solid var(--frame-2); padding-left: 2.4cqw; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.vb-qr img, .vb-qr .vb-qrimg { width: 13.5cqw; height: 13.5cqw; border: max(1px, .12cqw) solid #e2e8f1; border-radius: .9cqw; padding: .8cqw; background: #fff; }
/* The QR arrives as inline SVG: give its box a size (an SVG with no size draws at 0 x 0). */
.vb-qr .vb-qrimg { display: block; flex: none; margin: 0; }
.vb-qrimg svg { display: block; width: 100%; height: 100%; }
.vb-qr b { font-size: 1.35cqw; margin-top: 1.2cqw; }
.vb-qr span { font-size: 1.1cqw; color: var(--card-muted); margin-top: .5cqw; }
.vb-qr strong { font-size: 1.6cqw; letter-spacing: .12em; margin-top: .4cqw; }

/* Screen headers for option A: a real screen drifting slowly. */
.media { position: relative; overflow: hidden; border-radius: 14px; background: var(--wash); border: 1px solid var(--line); }
.media .shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; animation: drift 22s ease-in-out infinite alternate; transform-origin: 50% 0; }
@keyframes drift { from { transform: translateY(0) scale(1.02); } to { transform: translateY(var(--drift, -10%)) scale(1.08); } }
.label { position: absolute; z-index: 4; left: 12px; bottom: 12px; font-size: 11px; font-weight: 500; color: #fff; background: rgba(12,12,14,.72);
         padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px); }
.browser { aspect-ratio: 16 / 10; }
.browser::before { content: ""; position: absolute; z-index: 2; inset: 0 0 auto; height: 26px; background: var(--paper); border-bottom: 1px solid var(--line);
                   background-image: radial-gradient(circle at 14px 13px, var(--line) 4px, transparent 5px), radial-gradient(circle at 28px 13px, var(--line) 4px, transparent 5px), radial-gradient(circle at 42px 13px, var(--line) 4px, transparent 5px); }
.browser .shot { position: absolute; top: 26px; left: 0; right: 0; height: calc(100% - 26px); }
.phones { display: flex; gap: 14px; justify-content: center; align-items: flex-end; padding: 22px 14px 0; aspect-ratio: 16 / 10; }
.phone { position: relative; width: min(42%, 230px); aspect-ratio: 9 / 19.2; border-radius: 26px; border: 6px solid var(--bezel); overflow: hidden; background: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.phone + .phone { margin-bottom: -8%; }
.phone .shot { --drift: -18%; }

/* Plans */
.plans { display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 340px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
         padding: 4px 2px 18px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.plans::-webkit-scrollbar { display: none; }
.plan { scroll-snap-align: center; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.plan .pb { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan .was { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--blue); font-weight: 600; margin-right: 6px; }
.plan .open { font-size: 13px; color: var(--muted); }
.plan .disc { font-size: 13px; font-weight: 600; color: var(--accent); }
.plan .percpl { font-size: 13px; color: var(--muted); }
.plan .blurb { font-size: 14px; }
.plan .inc { font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.plan li.more-f { display: none; }
.plan.all li.more-f { display: list-item; }
.plan .tog { align-self: flex-start; background: none; border: 0; padding: 4px 0; color: var(--accent); font-weight: 600; font-size: 14px; cursor: pointer; }
/* Wide screens: the three tiers side by side instead of a slider. */
@media (min-width: 900px) {
  .plans { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; align-items: start; }
  .plans + .dots { display: none; }
}
.plan h3 { font-size: 20px; }
.plan .size { font-size: 13px; color: var(--muted); }
.plan .price { font-size: 15px; }
.plan .price s { color: var(--muted); }
.plan .price strong { font-size: 24px; letter-spacing: -.02em; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 14px; }
.plan li { position: relative; padding-left: 16px; }
.plan li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.plan.is-gift { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.plan .gift { font-size: 13px; color: var(--accent); font-weight: 600; }
.dots { display: flex; justify-content: center; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--accent); }

/* Claim, questions */
.qa details { border-bottom: 1px solid var(--line); padding: 14px 0; }
/* Two flex items only: the question (one span, so amounts inside it keep normal spacing) and the plus. */
.qa summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 5px; transition: transform .35s cubic-bezier(.3,0,.2,1);
                     background: linear-gradient(var(--accent), var(--accent)) center / 14px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 14px no-repeat; }
.qa details.on summary::after { transform: rotate(135deg); }
/* Accordion: the answer slides open (script animates the height); one answer open at a time. */
.qa .qa-a { overflow: hidden; }
.qa p { padding-top: 8px; color: var(--muted); font-size: 15px; max-width: 62ch; }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.form input { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13,110,253,.18); }
.form .done { display: none; font-size: 14px; color: var(--accent); }
.form.sent .done { display: block; }
.sumbox { background: var(--wash); border-radius: 16px; padding: 22px; display: grid; gap: 10px; font-size: 15px; }
.sumbox .ln { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.sumbox .ln.tot { border: 0; font-weight: 700; font-size: 20px; padding: 4px 0 0; }
.sumbox .off { color: var(--accent); }

/* Sticky claim bar */
.claimbar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
            background: var(--paper); border-top: 1px solid var(--line); color: var(--ink); }
.claimbar .cb { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.claimbar .cb-t { font-size: 14px; line-height: 1.3; min-width: 0; }
.claimbar .cb-t b { display: block; }
.claimbar .cb-t span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.claimbar .cb-t b span { color: inherit; font-size: inherit; } /* the price inside the title follows the title */
.claimbar .btn { padding: 11px 18px; white-space: nowrap; }

/* ---------- Opening ---------- */
.intro { position: fixed; inset: 0; z-index: 80; background: var(--paper); display: grid; place-items: center; padding: 20px; transition: opacity .5s ease; cursor: pointer; }
.intro .vcard { width: min(92vw, 620px); perspective: 1400px; transition: opacity .6s ease, transform .9s cubic-bezier(.2,.8,.2,1); opacity: 0; transform: translateY(24px) scale(.96); }
.intro.in .vcard { opacity: 1; transform: none; }
.intro .tap { position: absolute; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); font-size: 12px; color: var(--muted); }
.intro.out { opacity: 0; pointer-events: none; }
.flipper { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .95s cubic-bezier(.65,0,.25,1); transform: rotateY(180deg); }
.flipper .vface { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flipper .vback { transform: rotateY(180deg); }
.intro.flipped .flipper { transform: rotateY(0deg); }
.intro.fade-card .vcard { opacity: 0; transition: opacity .5s ease; }
.flyer { position: fixed; z-index: 90; margin: 0; transform-origin: 0 0; pointer-events: none; white-space: nowrap; display: block;
         transition: transform .85s cubic-bezier(.65,0,.25,1), color .35s ease; }
/* "A first" keeps its original opening: the card's frame grows to the screen edges. */
.intro .grow { position: fixed; border: 1px solid var(--frame); border-radius: 4px; pointer-events: none; opacity: 0;
               transition: top .85s cubic-bezier(.7,0,.2,1), left .85s cubic-bezier(.7,0,.2,1), width .85s cubic-bezier(.7,0,.2,1), height .85s cubic-bezier(.7,0,.2,1), opacity .3s; }
.intro.open .vcard { opacity: 0; transform: scale(1.04); transition: opacity .35s ease, transform .5s ease; }
.intro.grow-mode { background: var(--wash); transition: background .6s ease, opacity .5s ease; }
.intro.grow-mode.open { background: var(--paper); }

/* ================= Option A ================= */
.A-top { display: flex; justify-content: space-between; align-items: center; padding-block: 18px; }
.theme { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.theme:hover { border-color: var(--accent); color: var(--accent); }
.theme i { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); box-shadow: inset -4px 0 0 var(--paper); border: 1px solid var(--ink); }
.A-hero { padding-block: 22px 52px; max-width: 760px; }
.A-hero .dear { font-size: clamp(40px, 10vw, 56px); }
.A-hero .amt { display: block; width: fit-content; font-size: clamp(60px, 17vw, 96px); font-weight: 700; color: var(--blue); letter-spacing: -.03em; margin-top: 10px; }
.A-hero .vt { font-size: clamp(24px, 6.4vw, 36px); font-weight: 700; letter-spacing: -.01em; }
.A-hero p { color: var(--muted); font-size: 17px; margin-top: 14px; max-width: 46ch; }
.A-hero .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
/* "A first": the hero as first shown, headline plus the card. */
.A-first { display: none; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 30px 56px; }
body.first .A-first { display: grid; } body.first .A-new { display: none; }
.A-first .dear { font-size: clamp(34px, 6vw, 46px); }
.A-first h1 { font-size: clamp(34px, 5.2vw, 54px); line-height: 1.06; font-weight: 700; margin-top: 14px; }
.A-first h1 em { font-style: normal; color: var(--blue); }
.A-first p { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 46ch; }
.A-chap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: center; padding-block: 44px; border-top: 1px solid var(--line); }
.A-chap.flip .media { order: 2; }
.A-chap .kick { font-size: 13px; font-weight: 600; color: var(--accent); }
.A-chap h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.12; margin-top: 6px; }
.A-chap p { color: var(--muted); margin-top: 12px; font-size: 16px; max-width: 46ch; }
.A-chap ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.A-chap li { display: flex; gap: 10px; align-items: baseline; }
.A-chap li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); transform: translateY(-2px); }
.A-live { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 52px; border-top: 1px solid var(--line); }
.A-live .lv-text { text-align: center; }
.A-live .lv-text .kick { font-size: 13px; font-weight: 600; color: var(--accent); }
.A-live h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.12; margin-top: 6px; }
.A-live .lv-text > p { color: var(--muted); margin: 12px auto 0; font-size: 16px; max-width: 42ch; }
.A-live ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; justify-items: center; }
.A-live li { display: flex; gap: 10px; align-items: baseline; }
.A-live li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); transform: translateY(-2px); }
.lv-phone { margin: 0; display: grid; justify-items: center; gap: 12px; text-align: center; }
.lv-phone .phone { width: min(100%, 250px); }
.lv-phone .phone .shot { --drift: -18%; }
.lv-phone figcaption { font-size: 13px; color: var(--muted); max-width: 22ch; }
.lv-phone figcaption b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.A-sec { padding-block: 52px; border-top: 1px solid var(--line); }
.A-sec > h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.12; }
.A-sec > .lead { color: var(--muted); margin: 10px 0 24px; max-width: 56ch; }
.A-claim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }

/* ================= A full and A swipe: real screens, full screen ================= */
#view-af { --fade: 11, 11, 12; --fade-ink: #ffffff; --fade-muted: #c9c9cf; }
.AF-hero { padding: 22px var(--gutter-r) 40px var(--gutter-l); display: flex; flex-direction: column; gap: 12px; }
.AF-hero > .fl { align-self: flex-start; } /* keep the words' own width, so the flights land exactly */
.AF-hero .dear { font-size: clamp(40px, 10vw, 56px); margin-top: 16px; }
.AF-hero .yr { display: flex; align-items: baseline; gap: 12px; }
.AF-hero .your, .AF-hero .vtl { font-size: clamp(24px, 6.4vw, 36px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.AF-hero .amt { font-size: clamp(60px, 17vw, 96px); font-weight: 700; color: var(--blue); letter-spacing: -.03em; }
.AF-hero .vt { letter-spacing: -.01em; }
.AF-hero p { color: var(--muted); font-size: 17px; max-width: 46ch; }
.AF-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.fs { position: relative; height: calc(100svh - var(--bar-h)); min-height: 560px; overflow: hidden; background: #000; }
/* The recording: the real page at phone width, scrolling like a screen recording. */
.rec { position: absolute; top: 0; bottom: 0; left: 50%; width: min(100%, 460px); transform: translateX(-50%); overflow: hidden; background: #f8f9fa; }
.rec img { width: 100%; height: auto; animation: rec var(--dur, 18s) ease-in-out infinite alternate; }
.rec.frames img { height: 100%; object-fit: cover; object-position: top; animation: none; }
/* Two recordings in one slide: one scrolls through, fades into the other, and back. */
.rec.duo img { position: absolute; top: 0; left: 0; animation: none; opacity: 0; transition: opacity .8s ease; }
.rec.duo img.on { opacity: 1; }
@keyframes rec { 0%, 10% { transform: translateY(0); } 90%, 100% { transform: translateY(calc(-1 * var(--travel, 0px))); } }
.fs.opened .rec img { animation-play-state: paused; }
.fs::after { content: ""; position: absolute; inset: 0; z-index: 3; background: rgba(var(--fade), .62); opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.fs.opened::after { opacity: 1; }
.fs .top, .fs .bot { position: absolute; z-index: 5; left: 0; right: 0; color: var(--fade-ink); }
.fs .top { top: 0; padding: 18px var(--gutter-r) 56px var(--gutter-l); background: linear-gradient(to bottom, rgba(var(--fade), .96) 0%, rgba(var(--fade), .9) 58%, rgba(var(--fade), 0) 100%); }
.fs .top small { font-size: 13px; font-weight: 600; color: var(--accent); }
.fs h2 { font-size: clamp(28px, 7.4vw, 44px); line-height: 1.08; margin-top: 2px; max-width: 18ch; }
.fs .bot { bottom: 0; padding: 70px var(--gutter-r) 96px var(--gutter-l); background: linear-gradient(to top, rgba(var(--fade), .97) 0%, rgba(var(--fade), .92) 62%, rgba(var(--fade), 0) 100%); }
.fs .one { font-size: 17px; max-width: 46ch; }
.fs .more { margin-top: 12px; background: none; border: 1px solid rgba(140,140,150,.55); color: var(--fade-ink); border-radius: 999px; padding: 8px 15px; font-size: 14px; font-weight: 600; cursor: pointer; }
/* "Read more": the text rises into place; tapping the screen lowers it again. */
.fs .full { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.3,0,.2,1); }
.fs .full-in { overflow: hidden; min-height: 0; opacity: 0; transform: translateY(18px); transition: opacity .4s ease, transform .45s cubic-bezier(.3,0,.2,1); }
.fs.opened .full { grid-template-rows: 1fr; }
.fs.opened .full-in { opacity: 1; transform: none; }
.fs .full-in p { margin-top: 14px; color: var(--fade-muted); font-size: 15px; max-width: 54ch; }
.fs .full-in ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.fs .full-in li { display: flex; gap: 10px; align-items: baseline; }
.fs .full-in li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.fs .label { bottom: auto; top: 14px; left: auto; right: var(--gutter-r); z-index: 6; }
.AF-rest { padding: 40px var(--gutter-r) 30px var(--gutter-l); }
.AF-rest .inner > section { padding-block: 26px; }
.AF-rest h2 { font-size: clamp(24px, 4vw, 32px); line-height: 1.15; margin-bottom: 8px; }
.AF-rest .lead { color: var(--muted); margin-bottom: 20px; }
/* A swipe: one full screen per swipe, like a video feed. */
/* Snapping is on only while the slides fill the screen (html.snap-on, set by script); once the
   plans, claim and questions take over, the page scrolls normally with no pull-back. */
html.snap { scroll-padding-top: var(--bar-h); }
html.snap.snap-on { scroll-snap-type: y mandatory; }
/* After the last slide the page scrolls freely: the plans, claim and questions form one block taller
   than the screen, which browsers let you scroll through normally. */
/* The hero leaves the top of the first screen showing above the claim bar (its kicker and title),
   so it is clear there is more to swipe to before claiming. */
html.snap { --cb-h: calc(66px + env(safe-area-inset-bottom, 0px)); --peek: 132px; }
html.snap .AF-hero { min-height: calc(100svh - var(--bar-h) - var(--cb-h) - var(--peek)); }
html.snap .AF-hero + .fs { border-radius: 22px 22px 0 0; box-shadow: 0 -1px 0 var(--black-line); }
/* Only the slides snap. The hero is not a snap point and snapping is off while it is in view
   (script), so the page opens on the hero and scrolling up into it never bounces back. */
html.snap .fs { scroll-snap-align: start; scroll-snap-stop: always; }
/* Touching the screen at the top of the hero makes the hero a stop too (script), so a swipe down
   lands on the first slide and the momentum cannot carry past it. */
html.snap.snap-hero .AF-hero { scroll-snap-align: start; }
html.snap .AF-rest { scroll-snap-align: start; }


/* ================= Voucher vs Become an organizer ================= */
body.org .vo, body:not(.org) .oo { display: none !important; }
.O-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 30px 56px; }
.O-hero .wel, .AF-hero .wel { font-size: clamp(36px, 7vw, 52px); line-height: 1.1; }
.O-hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; font-weight: 700; }
.O-hero h1 em, .AF-hero h1 em { font-style: normal; color: var(--blue); }
.O-hero p { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 46ch; }
.O-hero .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.AF-hero h1.o { font-size: clamp(30px, 8vw, 44px); line-height: 1.1; }
.plan .pop { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--accent); }
.plan.is-pop { border-color: var(--blue); }
.pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.pick button { border: 0; background: transparent; color: var(--muted); padding: 8px 6px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; }
.pick button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ================= Payment choice ================= */
.pay { border: 0; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; min-width: 0; }
.pay legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.form label.po { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; font-weight: 400; }
.form .po input { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--blue); }
.po b { display: block; font-size: 15px; }
.po b em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--accent); margin-left: 6px; }
.po small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 2px; }
.po:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.claimed { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.claimed h3 { font-size: 20px; }
.claimed p { color: var(--muted); font-size: 15px; }
.claimed .msg { font-size: 14px; background: var(--wash); border-radius: 10px; padding: 12px 14px; color: var(--ink); }
.claimed .acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* The phone field inside the claim forms: the component, on this page's tokens. */
.form .fld { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.form .cfphone { --border: var(--line); --surface: var(--paper); --primary: var(--blue); --text: var(--ink); --text-secondary: var(--muted); --bg: var(--wash); font-weight: 400; }
.form .cfphone input { border: 0; border-radius: 0; box-shadow: none; background: none; }
.form .cfphone input:focus { box-shadow: none; }
.form .cfphone .cfphone-search { border-bottom: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.sumbox .curnote { font-size: 12px; color: var(--muted); }
/* The "?" next to the registration fee, and its explanation. */
.q { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 700 11px var(--sans); cursor: pointer; vertical-align: 1px; margin-left: 2px; padding: 0; }
.q:hover, .q[aria-expanded="true"] { border-color: var(--blue); color: var(--blue); }
.tip { display: block; margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: var(--wash); border: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--ink); font-weight: 400; }
.tip b { display: block; margin-bottom: 4px; }
.tip-do { display: block; margin: 8px 0; font-weight: 600; }
.sumbox .fee { font-size: 14px; color: var(--ink); }
.form label.agree { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 400; font-size: 13px; color: var(--muted); }
.form .agree input { width: 18px; height: 18px; margin: 1px 0 0; padding: 0; accent-color: var(--blue); }
@media (prefers-reduced-motion: reduce) {
  .media .shot, .rec img { animation: none !important; }
  .intro { display: none !important; }
}
@media (max-width: 760px) {
  .A-chap, .A-claim, .A-first { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  /* Phones: the text first, then the couple's and the coach's screens side by side. */
  .A-live { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 14px; padding-block: 34px; }
  .A-live .lv-text { grid-column: 1 / -1; order: -1; }
  .A-chap.flip .media { order: 0; }
  .A-hero { padding-block: 14px 40px; }
  .A-chap { padding-block: 34px; }
}

/* ================= Server messages and status screens ================= */
.form-err { border-left: 3px solid #dc3545; padding: 6px 0 6px 12px; display: grid; gap: 4px; }
.form-err p { color: #dc3545; font-size: 14px; }
body.v-af .form-err p, body.black .form-err p { color: #ff8a8a; }
/* One centred message: unknown, used or expired code, and the claimed screen. */
.st-page { min-height: 100svh; display: grid; place-items: center; padding: 32px var(--gutter-r) 48px var(--gutter-l); }
.st-box { width: min(100%, 460px); display: grid; gap: 14px; }
.st-box .wordmark { margin-bottom: 20px; }
.st-box .script { font-size: 38px; line-height: 1.1; }
.st-box h1 { font-size: 26px; line-height: 1.2; }
.st-box p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.st-box p b { color: var(--ink); font-weight: 600; }
.st-box .msg { color: var(--ink); background: var(--wash); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.st-box .btn { width: 100%; }
.st-box input { font: inherit; width: 100%; text-align: center; letter-spacing: .14em; text-transform: uppercase; font-size: 19px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--wash); color: var(--ink); }
.st-box .err { color: #ff8a8a; font-size: 14px; }
.st-box .help { font-size: 13px; color: var(--muted); text-align: center; }
.st-code { display: inline-block; font-weight: 600; letter-spacing: .12em; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 1px 8px; font-size: 14px; }
.st-box .st-msg { color: var(--ink); background: var(--wash); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.st-acts { display: grid; gap: 10px; margin-top: 6px; }
.st-form { display: grid; gap: 10px; }
.st-form label { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.st-box p.st-small { font-size: 13px; text-align: center; }
.st-box a:not(.btn) { color: var(--ink); }
.form .btn.busy { opacity: .6; pointer-events: none; }
/* Card payment screen (cfLandingPayPage): the registration checkout, on this page's look. */
.pay-box { width: min(100%, 480px); }
.pay-box .pay-amt { color: var(--ink); font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin: 2px 0 6px; }
.pay-box .pay-or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 14px 0; }
.pay-box .pay-or::before, .pay-box .pay-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pay-box #payElement { min-height: 120px; }
.pay-box .pay-err { color: #ff8a8a; font-size: 14px; min-height: 1em; }
.pay-box #payBtn[disabled] { opacity: .6; cursor: default; }

/* Screens are pictures to watch, not to open: no long-press preview, save or drag. */
.fs img, .media img, .phone img, .vcard img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
/* 16 px fields: iPhones zoom into any field smaller than that when it is tapped. */
.form input, .form .cfphone-input, .form .cfphone-search { font-size: 16px; }
