/* VISA SAATHI — night terminal: passport navy, foil gold, stamp ink */
:root {
  color-scheme: dark;
  --bg: #0a1120; --bg-2: #101a30; --ink: #f3efe6; --ink-2: #c9cfdc; --muted: #8e98ad; --line: rgba(220,228,245,.12);
  --gold: #d3ae5c; --gold-2: #f1d48e; --navy: #142a52; --red: #c8343c; --green: #24a064; --violet: #7a68c9;
  --card: rgba(20,30,54,.72); --card-2: rgba(14,22,40,.82);
  --display: 'Bricolage Grotesque', Georgia, serif; --ui: 'Figtree', system-ui, sans-serif;
  --spring: cubic-bezier(.22,1,.36,1); --bounce: cubic-bezier(.34,1.56,.64,1);
  --r-s: 12px; --r-m: 18px; --r-l: 26px;
  --gut: clamp(16px, 4vw, 48px);
  --shadow: 0 1px 2px rgba(4,8,20,.4), 0 12px 32px -12px rgba(4,8,20,.7), 0 32px 64px -24px rgba(10,20,60,.6);
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { font: 400 16px/1.5 var(--ui); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; line-height: 1.05; }
em { font-style: italic; color: var(--gold-2); }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.muted { color: var(--muted); } .small { font-size: 13px; }

/* night-terminal bokeh, painted once */
.bokeh { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; }

.press { transition: transform .5s var(--bounce), filter .2s; }
.press:active { transform: scale(.96); filter: brightness(1.12); transition-duration: .12s; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.btn.gold { color: #1c1406; background: linear-gradient(180deg, #f6dc98, #d3ae5c 55%, #b48a35); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.6), inset 0 -8px 16px rgba(120,80,20,.3), 0 10px 28px -10px rgba(211,174,92,.6); }
.btn.ghost { background: rgba(255,255,255,.06); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.btn.full { width: 100%; }
.kick { font: 600 12px/1.2 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: calc(12px + env(safe-area-inset-top)) var(--gut) 12px; pointer-events: none; }
.top > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 8px; font: 600 20px/1 var(--display); }
.brand svg { width: 32px; height: 32px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.top .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* ---------- story ---------- */
.story { height: 820vh; position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.pp3d { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--spring); }
.stage.ready .pp3d { opacity: 1; }
.caps { position: absolute; inset: 0; pointer-events: none; }
.cap { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(32px + env(safe-area-inset-bottom)); display: grid; gap: 12px; max-width: 560px; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--spring), transform .8s var(--spring); }
.cap.on { opacity: 1; transform: none; pointer-events: auto; }
.cap h1 { font-size: clamp(34px, 5.6vw, 72px); }
.cap h2 { font-size: clamp(30px, 4.4vw, 56px); }
.cap p { color: var(--ink-2); font-size: 16px; max-width: 46ch; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.scrollhint { position: absolute; left: 50%; top: calc(72px + env(safe-area-inset-top)); transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font: 600 11px/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: opacity .4s; }
.scrollhint i { width: 1px; height: 28px; background: linear-gradient(var(--gold), transparent); animation: hint 1.8s var(--spring) infinite; }
@keyframes hint { from { transform: scaleY(0); transform-origin: top; } to { transform: scaleY(1); transform-origin: top; opacity: 0; } }
@media (max-width: 899px) {
  .scrollhint { display: none; }
  .cap { background: linear-gradient(180deg, rgba(10,17,32,0), rgba(10,17,32,.78) 24%); margin: 0 calc(-1 * var(--gut)); padding: 40px var(--gut) 0; left: var(--gut); right: var(--gut); bottom: 0; padding-bottom: calc(28px + env(safe-area-inset-bottom)); max-width: none; }
  .cap h1 { font-size: 34px; } .cap h2 { font-size: 30px; } .cap p { font-size: 15px; }
}
@media (min-width: 900px) { .cap { top: 50%; bottom: auto; transform: translateY(calc(-50% + 24px)); max-width: 30vw; } .cap.on { transform: translateY(-50%); } .scrollhint { top: auto; bottom: 32px; } }
.stage.no3d { background: radial-gradient(60% 50% at 50% 40%, #1b2f5c, transparent); }

/* ---------- sections ---------- */
.sec { max-width: 1080px; margin: 0 auto; padding: clamp(64px, 9vw, 132px) var(--gut) 0; }
.sec-head { display: grid; gap: 12px; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 56px); }
.steps { list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li, .plan, .vcard, .faq details { background: linear-gradient(160deg, var(--card), var(--card-2)); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), var(--shadow); }
.steps li { padding: 24px; display: grid; gap: 8px; }
.steps b { font: 500 40px/1 var(--display); color: var(--gold); }
.steps h3 { font-size: 24px; } .steps p { color: var(--ink-2); }

.verdict-demo { display: grid; place-items: center; }
.vcard { width: min(100%, 440px); padding: 32px 24px 24px; display: grid; gap: 24px; background: linear-gradient(160deg, #f4efe4, #e9e2d2); color: #1c2a4a; border: 0; }
.vstamp { justify-self: center; display: grid; justify-items: center; gap: 4px; padding: 12px 24px; border: 4px solid currentColor; outline: 2px solid currentColor; outline-offset: -10px; transform: rotate(-4deg); font-family: var(--ui); }
.vstamp b { font-size: 40px; font-weight: 800; letter-spacing: .06em; } .vstamp small { font: 600 12px/1 'IBM Plex Mono', monospace; letter-spacing: .1em; }
.vstamp.ok { color: #17794a; } .vstamp.no { color: #b3262d; }
.bars { list-style: none; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 120px 1fr 32px; align-items: center; gap: 12px; font-size: 14px; }
.bars i { height: 8px; border-radius: 4px; background: rgba(28,42,74,.12); position: relative; overflow: hidden; }
.bars i::after { content: ''; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--v)); background: linear-gradient(90deg, #d3ae5c, #17794a); border-radius: inherit; }
.bars em { font: 600 14px/1 var(--ui); color: inherit; text-align: right; font-variant-numeric: tabular-nums; }
.fix { font-size: 14px; color: #3c4a68; }

.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
.plan { padding: 24px; display: grid; gap: 16px; position: relative; }
.plan h3 { font-size: 22px; } .plan .price { font: 500 48px/1 var(--display); font-variant-numeric: tabular-nums; }
.plan ul { list-style: none; padding: 0; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.plan li::before { content: '✓'; color: var(--gold); margin-right: 8px; }
.plan.best { border-color: rgba(211,174,92,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 0 1px rgba(211,174,92,.25), var(--shadow); }
.plan .tag { position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px; font: 700 11px/1.4 var(--ui); letter-spacing: .1em; text-transform: uppercase; background: var(--gold); color: #1c1406; }
.faq { display: grid; gap: 12px; }
.faq details { padding: 16px 20px; } .faq summary { cursor: pointer; font-weight: 600; min-height: 28px; } .faq details p { color: var(--ink-2); margin-top: 8px; }
.foot { max-width: 1080px; margin: 0 auto; padding: 96px var(--gut) calc(40px + env(safe-area-inset-bottom)); display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.foot .fine { font-size: 12px; max-width: 70ch; }

/* ---------- mock interview ---------- */
.mock { position: fixed; inset: 0; z-index: 40; background: radial-gradient(120% 80% at 50% 0%, #15254a, var(--bg) 70%); overflow-y: auto; padding: calc(12px + env(safe-area-inset-top)) var(--gut) calc(24px + env(safe-area-inset-bottom)); }
.mock[hidden] { display: none; }
.mock-top { display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 0 auto 16px; font-weight: 600; }
.mock-top .timer { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--gold); }
.x { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.screen { display: none; max-width: 560px; margin: 0 auto; }
.screen.on { display: grid; gap: 16px; animation: rise .6s var(--spring); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.screen h2 { font-size: 36px; }
label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
input, select { font: 500 16px var(--ui); color: var(--ink); min-height: 48px; padding: 0 16px; border-radius: var(--r-s); border: 1px solid var(--line); background: rgba(255,255,255,.05); outline: none; width: 100%; }
select option { background: var(--bg-2); }
input:focus, select:focus { border-color: rgba(211,174,92,.6); box-shadow: 0 0 0 4px rgba(211,174,92,.15); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.seg label { display: block; } .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: grid; place-items: center; min-height: 40px; border-radius: 999px; color: var(--muted); transition: background .3s var(--spring), color .3s; }
.seg input:checked + span { background: rgba(211,174,92,.18); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(211,174,92,.4); }

.window { position: relative; height: 220px; border-radius: var(--r-l); overflow: hidden; background: linear-gradient(180deg, #1c2c52, #0e1830); border: 1px solid var(--line); box-shadow: var(--shadow); }
.officer { position: absolute; inset: 0; display: grid; place-items: end center; }
.officer .head { position: absolute; bottom: 96px; width: 72px; height: 88px; border-radius: 46% 46% 42% 42%; background: radial-gradient(60% 60% at 45% 35%, #3a4a6e, #1c2846); }
.officer .body { width: 220px; height: 100px; border-radius: 110px 110px 0 0; background: linear-gradient(180deg, #24345a, #182442); }
.officer .glass { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.1), transparent 40%, rgba(255,255,255,.05) 60%, transparent 70%); border-bottom: 10px solid #2a3758; }
.wave { position: absolute; left: 16px; right: 16px; bottom: 20px; height: 28px; display: flex; gap: 3px; align-items: center; justify-content: center; }
.wave i { width: 3px; border-radius: 2px; background: var(--gold); height: calc(4px + var(--h, 0) * 24px); transition: height .12s; }
.q { font: 500 24px/1.25 var(--display); min-height: 64px; }
.ans { display: grid; justify-items: center; gap: 12px; }
.heard { min-height: 48px; color: var(--ink-2); text-align: center; }
.mic { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #f6dc98, #c99a42); box-shadow: 0 12px 32px -8px rgba(211,174,92,.6), inset 0 2px 0 rgba(255,255,255,.6); }
.mic svg { width: 36px; height: 36px; fill: none; stroke: #1c1406; stroke-width: 2; stroke-linecap: round; }
.mic.live { background: linear-gradient(180deg, #ff7b7b, #c8343c); animation: pulse 1.2s var(--spring) infinite; }
.mic.live svg { stroke: #fff; }
@keyframes pulse { 50% { box-shadow: 0 0 0 16px rgba(200,52,60,.15), 0 12px 32px -8px rgba(200,52,60,.6); } }
.typed { display: grid; grid-template-columns: 1fr auto; gap: 8px; width: 100%; }

.result .vcard { justify-self: center; }
.locked { position: relative; } .locked .vstamp { filter: blur(10px); }
.locked::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, transparent, rgba(244,239,228,.4)); }
.fixes { display: grid; gap: 12px; }
.fixes article { padding: 16px; border-radius: var(--r-m); background: linear-gradient(160deg, var(--card), var(--card-2)); border: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; }
.fixes .said { color: var(--muted); } .fixes .better { color: var(--ink); } .fixes .better::before { content: 'Better: '; color: var(--gold); font-weight: 600; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60; transform: translate(-50%, calc(100% + 64px)); visibility: hidden; max-width: calc(100vw - 32px); padding: 12px 20px; border-radius: 999px; background: #f3efe6; color: #13203d; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); transition: transform .5s var(--bounce); }
.toast.on { transform: translate(-50%, 0); visibility: visible; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* =====================================================================
   MOCK v2 — the consulate, in the passport's materials
   ===================================================================== */
.mono { font: 600 11px/1.2 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.center { text-align: center; }
.mock { background:
  radial-gradient(90% 60% at 50% -10%, rgba(211,174,92,.16), transparent 60%),
  radial-gradient(70% 50% at 100% 100%, rgba(80,100,200,.14), transparent 60%),
  linear-gradient(180deg, #0e1a34, #090f1e); }
.mock-top { position: sticky; top: 0; z-index: 2; padding: 4px 0 12px; }
.mt-mid { flex: 1; display: grid; justify-items: center; gap: 8px; font-size: 14px; }
.pips { list-style: none; padding: 0; display: flex; gap: 6px; }
.pips li { width: 18px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.12); transition: background .5s var(--spring), width .5s var(--spring); }
.pips li.done { background: var(--gold); } .pips li.now { width: 28px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.mock-top .timer { min-width: 44px; text-align: right; }

/* the file: a cream security-printed sheet */
.sheet { position: relative; padding: 24px 20px 20px; border-radius: 6px; color: #1c2a4a; display: grid; gap: 16px; overflow: hidden;
  background:
    repeating-radial-gradient(circle at 85% 20%, transparent 0 9px, rgba(79,127,174,.07) 9px 10px),
    repeating-radial-gradient(circle at 10% 90%, transparent 0 13px, rgba(192,112,138,.06) 13px 14px),
    linear-gradient(170deg, #f6f1e6, #ebe3d2);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 2px 4px rgba(0,0,0,.3), 0 24px 48px -16px rgba(0,0,0,.6); }
.sheet::after { content: 'SPECIMEN'; position: absolute; right: -24px; top: 44%; transform: rotate(-28deg); font: 800 72px/1 var(--ui); color: rgba(200,60,70,.05); pointer-events: none; }
.sheet-head { display: flex; justify-content: space-between; color: #5a6b8a; padding-bottom: 12px; border-bottom: 1px solid rgba(28,42,74,.15); }
.sheet h2 { font-size: 40px; color: #142a52; }
.sheet-sub { color: #4a5874; font-size: 15px; margin-top: -8px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.fields .fld:nth-child(-n+2) { grid-column: 1 / -1; }
.fld { display: grid; gap: 4px; font-size: 11px; color: #5a6b8a; }
.fld > span { font: 600 11px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.sheet input, .sheet select { min-height: 44px; padding: 0 2px; border: 0; border-bottom: 1.5px solid rgba(28,42,74,.25); border-radius: 0; background: transparent; color: #101c38;
  font: 600 18px/1 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .02em; }
.sheet input::placeholder { color: rgba(28,42,74,.3); }
.sheet input:focus, .sheet select:focus { box-shadow: none; border-bottom-color: #b48a35; background: linear-gradient(transparent 70%, rgba(211,174,92,.14)); }
.sheet select option { background: #f6f1e6; color: #101c38; }
.sheet .seg { background: rgba(28,42,74,.06); border-color: rgba(28,42,74,.12); }
.sheet .seg span { color: #5a6b8a; font: 600 14px/1 var(--ui); }
.sheet .seg input:checked + span { background: #142a52; color: #f1d48e; box-shadow: 0 4px 12px -4px rgba(20,42,82,.6); }
.sheet-foot { color: rgba(16,28,56,.55); font-size: 13px; letter-spacing: .08em; padding-top: 12px; border-top: 1px dashed rgba(28,42,74,.2); white-space: nowrap; overflow: hidden; }

/* the booth: a lit consulate window behind thick glass */
.booth { position: relative; height: 240px; border-radius: 22px 22px 8px 8px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #23365f, #101b36 70%); border: 1px solid rgba(211,174,92,.28);
  box-shadow: inset 0 0 0 6px rgba(8,14,30,.6), inset 0 0 0 7px rgba(211,174,92,.18), 0 24px 48px -20px rgba(0,0,0,.8); }
.booth-light { position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 20%, rgba(255,222,170,.28), transparent 70%); }
.booth .officer { position: absolute; inset: 0; display: grid; place-items: end center; }
.booth .officer .head { position: absolute; bottom: 102px; width: 70px; height: 86px; border-radius: 46% 46% 42% 42%; background: radial-gradient(60% 60% at 45% 35%, #4a5b82, #1f2b4b); box-shadow: 0 0 40px rgba(255,222,170,.12); }
.booth .officer .body { width: 230px; height: 108px; border-radius: 115px 115px 0 0; background: linear-gradient(180deg, #2b3d66, #182442); }
.booth .glass { position: absolute; inset: 0; background: linear-gradient(112deg, rgba(255,255,255,.12), transparent 32%, rgba(255,255,255,.06) 52%, transparent 60%); }
.booth .counter { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: linear-gradient(180deg, #3a2f22, #1d1711); box-shadow: 0 -1px 0 rgba(211,174,92,.4); }
.plate { position: absolute; left: 16px; top: 16px; display: grid; justify-items: center; padding: 6px 10px; border-radius: 6px; background: linear-gradient(180deg, #f1d48e, #b48a35); color: #1c1406; box-shadow: 0 4px 10px rgba(0,0,0,.4); }
.plate small { font: 700 8px/1 var(--ui); letter-spacing: .2em; } .plate b { font: 700 20px/1 var(--ui); font-variant-numeric: tabular-nums; }
.post { position: absolute; right: 16px; top: 22px; color: rgba(243,239,230,.6); }
.ring { position: absolute; left: 50%; bottom: 116px; width: 120px; height: 120px; margin-left: -60px; border-radius: 50%; border: 1.5px solid rgba(241,212,142,.0); transform: scale(.8); transition: border-color .4s, transform .6s var(--spring); }
.booth.talking .ring { border-color: rgba(241,212,142,.5); transform: scale(1); animation: ring 1.4s var(--spring) infinite; }
@keyframes ring { 50% { transform: scale(1.12); border-color: rgba(241,212,142,.15); } }
.booth .wave { bottom: 26px; }

/* question slip + your answer card */
.slip, .you { position: relative; border-radius: 6px; padding: 16px 20px 20px; display: grid; gap: 8px; }
.slip { color: #142a52; background: linear-gradient(170deg, #f6f1e6, #ece4d3); box-shadow: 0 2px 4px rgba(0,0,0,.3), 0 18px 36px -18px rgba(0,0,0,.7); transform: rotate(-.4deg); }
.slip::before { content: ''; position: absolute; left: 0; right: 0; top: -6px; height: 12px; background: radial-gradient(circle at 6px 6px, #0e1a34 4px, transparent 4.5px) 0 0 / 16px 12px repeat-x; }
.slip-head { display: flex; justify-content: space-between; color: #8a7a5a; }
.slip .q { font: 500 24px/1.25 var(--display); color: #101c38; min-height: 60px; }
.q .w { display: inline-block; opacity: 0; transform: translateY(6px); filter: blur(4px); animation: word .5s var(--spring) forwards; animation-delay: calc(var(--i) * 45ms); }
@keyframes word { to { opacity: 1; transform: none; filter: none; } }
.you { background: linear-gradient(160deg, rgba(28,44,82,.8), rgba(14,22,40,.9)); border: 1px solid rgba(211,174,92,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.you .slip-head { color: var(--gold); }
.live-dot { opacity: 0; transition: opacity .3s; color: #ff8a8a; } .live-dot::before { content: '●  '; }
.you.live .live-dot { opacity: 1; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .35; } }
.heard { min-height: 48px; color: var(--ink); text-align: left; font-size: 17px; line-height: 1.45; }
.heard .ph { color: var(--muted); font-size: 15px; }
.ans { display: grid; justify-items: center; gap: 12px; padding-top: 4px; }
.mic { position: relative; width: 84px; height: 84px; }
.mic i { position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(211,174,92,.35); }
.mic i::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed rgba(211,174,92,.2); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* verdict: the stamp lands on a passport page */
.result .vcard { position: relative; background: repeating-radial-gradient(circle at 50% 30%, transparent 0 11px, rgba(79,127,174,.06) 11px 12px), linear-gradient(170deg, #f6f1e6, #e9e1cf); }
.result .vstamp { animation: slam .7s var(--bounce) .25s both; }
@keyframes slam { from { opacity: 0; transform: rotate(-14deg) scale(2.6); } 60% { opacity: 1; } to { opacity: 1; transform: rotate(-4deg) scale(1); } }
.result .bars i::after { transform: scaleX(0); animation: grow 1.4s var(--spring) forwards; }
.result .bars li:nth-child(2) i::after { animation-delay: .12s; } .result .bars li:nth-child(3) i::after { animation-delay: .24s; } .result .bars li:nth-child(4) i::after { animation-delay: .36s; }
@keyframes grow { to { transform: scaleX(var(--v)); } }
.fixes article { animation: rise .7s var(--spring) both; } .fixes article:nth-child(2) { animation-delay: .1s; } .fixes article:nth-child(3) { animation-delay: .2s; }

/* ---------- page: smooth gradient + faint security lines, scroll reveals ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--spring), transform 1s var(--spring), filter .9s var(--spring); transition-delay: calc(var(--d, 0) * 80ms); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
.sec-head h2 em { background: linear-gradient(92deg, #f1d48e, #d3ae5c 60%, #f1d48e); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head.in h2 em { animation: sheen 2.4s var(--spring) .4s both; }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (max-width: 420px) { .fields { grid-template-columns: 1fr 1fr; } .sheet h2 { font-size: 34px; } .slip .q { font-size: 21px; } }

.sheet-head .mono { font-size: 10px; white-space: nowrap; } .sheet-head .r { overflow: hidden; text-overflow: ellipsis; }
.sheet input, .sheet select { font-size: 16px; }


/* =====================================================================
   MOCK v3 — CONSULAR PARCHMENT, SUNSET WINDOW, FOLDER DECK & POSTMARK
   ===================================================================== */
.mock {
  color-scheme: light;
  color: #162238;
  background:
    radial-gradient(90% 45% at 50% 0%, rgba(235, 214, 174, .42), transparent 62%),
    radial-gradient(60% 40% at 100% 100%, rgba(214, 184, 132, .25), transparent 65%),
    linear-gradient(180deg, #faf6ee 0%, #f4ede0 58%, #eee4d2 100%);
  padding: calc(14px + env(safe-area-inset-top)) clamp(14px, 4vw, 24px) calc(28px + env(safe-area-inset-bottom));
}

.mock-skyline {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 112px;
  color: #c9b595;
  opacity: .52;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.mock-skyline svg { width: 100%; height: 100%; display: block; }

.mock-top, .mock .screen { position: relative; z-index: 1; max-width: 520px; margin-left: auto; margin-right: auto; }

.mock-top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 78px 1fr 78px;
  align-items: center;
  gap: 8px;
  padding: 2px 0 14px;
  margin-bottom: 10px;
}

.mock .x {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 252, 245, .82);
  border: 1px solid rgba(154, 126, 82, .32);
  color: #1c2842;
  box-shadow: 0 2px 8px -4px rgba(32, 24, 12, .18), inset 0 1px 0 #fff;
}

.mt-mid {
  display: grid;
  justify-items: center;
  gap: 3px;
}
.mt-title {
  font-family: var(--display);
  font-size: clamp(22px, 5.5vw, 27px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: #111d34;
}
.mt-sub {
  font-family: var(--ui);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #5b6375;
}
.mt-rule {
  display: block;
  width: 34px;
  height: 2px;
  border-radius: 99px;
  margin-top: 3px;
  background: linear-gradient(90deg, transparent, #c79a44, transparent);
}

.timer-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 250, 240, .86);
  border: 1px solid rgba(199, 154, 68, .44);
  box-shadow: inset 0 1px 0 #fff, 0 2px 8px -4px rgba(32, 24, 12, .14);
}
.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d84339;
  box-shadow: 0 0 0 2px rgba(216, 67, 57, .18);
}
.timer-pill.rec .rec-dot { animation: recPulse 1.1s ease-in-out infinite; }
@keyframes recPulse { 50% { transform: scale(1.28); opacity: .55; } }
.mock-top .timer {
  min-width: auto;
  font-family: var(--ui);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #1c2842;
}

.mock .muted { color: #677082; }
.mock .btn.ghost {
  background: rgba(255, 251, 244, .85);
  border: 1px solid rgba(154, 126, 82, .34);
  color: #162238;
  box-shadow: inset 0 1px 0 #fff;
}

/* 1. Sunset Consulate Window Stage */
:is(.mock, .vdemo) .booth {
  position: relative;
  height: clamp(205px, 34vh, 252px);
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: #14223d;
  border: 1.5px solid rgba(255, 252, 245, .92);
  box-shadow:
    0 0 0 1px rgba(182, 144, 78, .28),
    0 18px 38px -18px rgba(16, 26, 48, .55);
}

.booth-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.02);
  transition: transform 1.2s var(--spring);
}
.booth.talking .booth-photo,
.booth.listening .booth-photo { transform: scale(1.055); }

.booth-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(56% 62% at 50% 48%, rgba(16, 28, 52, .34), rgba(12, 20, 38, .12) 64%, rgba(10, 16, 30, .42) 100%),
    linear-gradient(180deg, rgba(12, 22, 44, .34) 0%, transparent 32%, transparent 68%, rgba(10, 16, 30, .52) 100%);
  pointer-events: none;
}

:is(.mock, .vdemo) .plate {
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  justify-items: center;
  min-width: 54px;
  padding: 7px 11px 8px;
  border-radius: 7px;
  background: linear-gradient(160deg, #f3dc9f 0%, #dfc07b 55%, #c79f52 100%);
  color: #1c160b;
  border: 1px solid rgba(255, 248, 226, .68);
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .6);
}
:is(.mock, .vdemo) .plate small {
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
  opacity: .82;
}
:is(.mock, .vdemo) .plate b {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.02;
}

:is(.mock, .vdemo) .post {
  position: absolute;
  right: 14px;
  top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(14, 24, 44, .36);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .18);
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
  color: rgba(255, 251, 243, .95);
}

.booth-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 8px;
}

.booth-halo {
  position: absolute;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 245, 224, .18) 0%, rgba(255, 245, 224, .05) 58%, transparent 72%);
  border: 1px solid rgba(255, 246, 226, .28);
  pointer-events: none;
  transition: transform .6s var(--spring), border-color .4s;
}
.booth.talking .booth-halo,
.booth.listening .booth-halo {
  border-color: rgba(246, 220, 152, .62);
  animation: haloBreath 1.8s var(--spring) infinite;
}
@keyframes haloBreath {
  50% { transform: scale(1.1); opacity: .7; }
}

.booth-mic-emblem {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fffaf0;
  background: rgba(18, 30, 56, .42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(246, 225, 174, .68);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
}

:is(.mock, .vdemo) .booth .wave {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  z-index: 1;
}
:is(.mock, .vdemo) .booth .wave i {
  width: 2.5px;
  border-radius: 99px;
  background: linear-gradient(180deg, #fffdf7, #f3d590);
  height: calc(3px + var(--h, .14) * var(--env, .6) * 26px);
  transition: height .1s linear;
  box-shadow: 0 0 8px rgba(243, 213, 144, .45);
}

.booth-status {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: rgba(255, 250, 240, .92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

/* 2. Question Progress Row */
.q-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 0;
}
.q-meta-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.q-count {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  color: #1c2842;
  font-variant-numeric: tabular-nums;
}
:is(.mock, .vdemo) .pips {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
:is(.mock, .vdemo) .pips li {
  width: 24px;
  height: 4px;
  border-radius: 99px;
  background: rgba(28, 40, 66, .12);
  transition: background .4s var(--spring), width .4s var(--spring);
}
:is(.mock, .vdemo) .pips li.done { background: #c5963a; }
:is(.mock, .vdemo) .pips li.now { width: 32px; background: linear-gradient(90deg, #c5963a, #e2b85c); }

.officer-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 251, 244, .82);
  border: 1px solid rgba(154, 126, 82, .3);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: #1c2842;
}

/* 3. Consular Parchment Question Slip with Postmark Seal */
:is(.mock, .vdemo) .slip {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: 18px 22px;
  transform: none;
  background:
    radial-gradient(90% 100% at 100% 50%, rgba(226, 206, 172, .45), transparent 65%),
    linear-gradient(175deg, #fbf6ea 0%, #f3e9d6 100%);
  border: 1px solid rgba(176, 148, 102, .34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    0 12px 26px -18px rgba(52, 36, 14, .34);
}
:is(.mock, .vdemo) .slip::before { display: none; }
:is(.mock, .vdemo) .slip .q {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(21px, 5.2vw, 26px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -.015em;
  color: #111c32;
  min-height: 36px;
  padding-right: 46px;
}
.slip-seal {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%) rotate(-7deg);
  width: 112px;
  height: 68px;
  color: rgba(156, 128, 86, .28);
  pointer-events: none;
}

/* 4. Folder-Tabbed Deep Navy Recording / Typing Deck */
.deck-wrap {
  display: grid;
  margin-top: 2px;
}
.deck-tabs {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  margin-bottom: -1px;
  position: relative;
  z-index: 2;
}
.deck-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 112px;
  height: 38px;
  padding: 0 20px;
  border-radius: 14px 14px 0 0;
  font-family: var(--display);
  font-size: 14.5px;
  font-weight: 600;
  color: #5b6375;
  background: #f5efe2;
  border: 1px solid rgba(182, 150, 96, .34);
  border-bottom: 0;
  transition: background .3s var(--spring), color .3s, transform .25s var(--spring);
}
.deck-tab.active {
  background: linear-gradient(180deg, #ecd39c 0%, #d8b56c 100%);
  color: #1a150b;
  border-color: rgba(196, 154, 72, .75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
  z-index: 3;
}

.deck-card {
  position: relative;
  border-radius: 22px;
  padding: 20px 18px;
  background:
    radial-gradient(60% 90% at 50% 50%, rgba(235, 198, 126, .16), transparent 68%),
    linear-gradient(180deg, #1b2c4c 0%, #111f39 100%);
  border: 1.5px solid #d5b472;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 220, .28),
    0 18px 34px -18px rgba(14, 24, 46, .68);
}

.deck-speak {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  min-height: 76px;
}

.deck-ctrl {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #f8f2e4;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(240, 224, 188, .34);
}
.deck-ctrl .ic-pause { display: none; }
.deck-ctrl.live {
  background: linear-gradient(180deg, #f3d896, #c99a42);
  color: #1a1408;
  border-color: #fff2cc;
  box-shadow: 0 0 0 6px rgba(213, 180, 114, .18);
}
.deck-ctrl.live .ic-mic { display: none; }
.deck-ctrl.live .ic-pause { display: block; }

.deck-ctrl.stop {
  background: rgba(186, 62, 62, .22);
  border-color: rgba(235, 108, 104, .55);
  color: #fff5f5;
}
.deck-ctrl.stop:disabled {
  opacity: .38;
  cursor: default;
}

.deck-wave-col {
  display: grid;
  justify-items: center;
  gap: 8px;
}
.deck-wave {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.deck-wave i {
  width: 2.5px;
  border-radius: 99px;
  background: linear-gradient(180deg, #fffaf0, #e6c37a);
  height: calc(3px + var(--h, .16) * var(--env, .6) * 32px);
  transition: height .1s linear;
  box-shadow: 0 0 8px rgba(230, 195, 122, .35);
}
.deck-time {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  color: rgba(246, 238, 222, .76);
  letter-spacing: .02em;
}

.deck-type textarea {
  width: 100%;
  min-height: 76px;
  resize: none;
  border: 0;
  outline: none;
  background: transparent;
  color: #fbf7ef;
  font: 400 15.5px/1.45 var(--ui);
}
.deck-type textarea::placeholder { color: rgba(240, 232, 216, .48); }

/* 5. Real-Time Transcript Box */
:is(.mock, .vdemo) .you {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255, 252, 245, .74);
  border: 1px solid rgba(168, 144, 106, .32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}
:is(.mock, .vdemo) .you.live {
  border-color: rgba(197, 150, 58, .75);
  box-shadow: 0 0 0 3px rgba(197, 150, 58, .12), inset 0 1px 0 #fff;
}
.you-ic {
  flex: none;
  margin-top: 2px;
  color: #7c7466;
}
:is(.mock, .vdemo) .heard {
  min-height: 22px;
  font-family: var(--display);
  font-size: 15.5px;
  line-height: 1.4;
  color: #162238;
  text-align: left;
}
:is(.mock, .vdemo) .heard .ph {
  color: #827a6d;
  font-size: 14.5px;
}

/* 6. Bottom Action Bar */
.talk-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}
.btn-retake {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255, 251, 244, .88);
  border: 1px solid rgba(168, 144, 106, .42);
  color: #1c2842;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px -6px rgba(32, 24, 12, .22);
}
.btn-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1b2f52 0%, #101e37 100%);
  border: 1px solid rgba(213, 180, 114, .58);
  color: #f8f2e4;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 10px 24px -10px rgba(16, 30, 55, .65), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.btn-next svg { color: #e2be72; }
.btn-next:disabled {
  opacity: .46;
  cursor: default;
}

/* Verdict screen adjustments on light parchment backdrop */
.mock #sResult h2 { color: #111d34; }
.mock .fixes article {
  background: rgba(255, 252, 245, .88);
  border: 1px solid rgba(168, 144, 106, .32);
  color: #162238;
  box-shadow: 0 10px 24px -18px rgba(32, 24, 12, .24);
}
.mock .fixes .said { color: #677082; }
.mock .fixes .better { color: #162238; }
.mock .fixes .better::before { color: #a87924; }

/* =====================================================================
   v4 — boarding-pass buttons, visible gradient, bigger captions,
   ribbons, voice demo, passport-paper cards
   ===================================================================== */
/* page gradient (CSS layer under the canvas lines, so it always shows) */
html, body { background: #0a1120; }
body::before { content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none; background:
  radial-gradient(80% 55% at 0% 0%, rgba(211,174,92,.22), transparent 60%),
  radial-gradient(70% 60% at 100% 25%, rgba(92,108,220,.28), transparent 62%),
  radial-gradient(80% 60% at 20% 100%, rgba(40,140,150,.22), transparent 62%),
  radial-gradient(60% 50% at 100% 100%, rgba(200,110,80,.16), transparent 60%),
  linear-gradient(165deg, #121f42 0%, #0b1428 50%, #08101f 100%); }
.bokeh { z-index: -1; mix-blend-mode: screen; }

/* boarding-pass buttons: side notches, perforated stub */
.btn { position: relative; border-radius: 8px; min-height: 52px; padding: 0 22px; letter-spacing: .01em;
  -webkit-mask: radial-gradient(circle 7px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 7px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 7px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 7px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat; }
.btn.gold { padding-right: 70px; background: linear-gradient(180deg, #f8e2a6, #d9b465 48%, #b9903c); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.65), inset 0 -10px 18px rgba(120,80,20,.28); }
.btn.gold::after { content: '→'; position: absolute; right: 0; top: 0; bottom: 0; width: 52px; display: grid; place-items: center; font-size: 18px; border-left: 2px dashed rgba(28,20,6,.32); }
.btn.gold::before { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 45%, transparent 60%); transform: translateX(-120%); transition: transform .9s var(--spring); }
.btn.gold:hover::before { transform: translateX(120%); }
.btn.ghost { background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); border: 0; box-shadow: inset 0 0 0 1px rgba(211,174,92,.4), inset 0 1px 0 rgba(255,255,255,.1); }
.top .btn { min-height: 44px; padding: 0 16px; font-size: 14px; } .top .btn.gold { padding-right: 56px; } .top .btn.gold::after { width: 40px; font-size: 15px; }

/* captions: on phones they own the bottom of the screen */
@media (max-width: 899px) {
  .cap { top: 57%; bottom: 0; align-content: start; gap: 14px; padding-top: 28px; background: linear-gradient(180deg, rgba(10,17,32,0), rgba(10,17,32,.86) 12%, rgba(9,15,30,.96)); }
  .cap h1 { font-size: 40px; line-height: 1.02; } .cap h2 { font-size: 38px; line-height: 1.04; } .cap p { font-size: 17px; line-height: 1.5; }
  .cap .kick { font-size: 12px; }
}
@media (min-width: 900px) { .cap { max-width: 34vw; } .cap h2 { font-size: clamp(40px, 4vw, 64px); } .cap p { font-size: 18px; } }

/* ribbons */
.ribbons { padding: clamp(48px, 7vw, 96px) 0 0; display: grid; gap: 12px; overflow: hidden; }
.ribbon { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 12px; width: max-content; animation: marquee 38s linear infinite; }
.r2 .track { animation-duration: 46s; animation-direction: reverse; gap: 20px; align-items: center; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tk { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 6px; font: 600 14px/1 var(--ui); white-space: nowrap; color: var(--ink-2);
  border: 1.5px dashed rgba(211,174,92,.35); background: rgba(255,255,255,.03); transform: rotate(-1deg); }
.tk:nth-child(even) { transform: rotate(1deg); }
.tk b { font: 700 10px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; padding: 4px 6px; border-radius: 4px; background: rgba(255,255,255,.08); color: var(--muted); }
.tk.live { color: var(--ink); border-style: solid; border-color: rgba(36,160,100,.6); } .tk.live b { background: rgba(36,160,100,.2); color: #6fe0a6; }
.r2 span { font: italic 500 26px/1 var(--display); color: rgba(243,239,230,.72); white-space: nowrap; } .r2 i { color: var(--gold); font-style: normal; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .track { animation: none; flex-wrap: wrap; width: auto; } }

/* voice demo */
.voice { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .voice { grid-template-columns: 1fr 1fr; gap: 64px; } }
.voice-copy { display: grid; gap: 16px; } .voice-copy h2 { font-size: clamp(34px, 4.4vw, 56px); } .voice-copy p { color: var(--ink-2); font-size: 17px; }
.ticks { list-style: none; padding: 0; display: grid; gap: 8px; color: var(--ink-2); } .ticks li::before { content: '✓'; color: var(--gold); margin-right: 10px; font-weight: 700; }
.vdemo { position: relative; display: grid; gap: 12px; }
.vd-booth { position: relative; height: 150px; border-radius: 18px 18px 6px 6px; overflow: hidden; background: linear-gradient(180deg, #23365f, #101b36); border: 1px solid rgba(211,174,92,.28); box-shadow: inset 0 0 0 5px rgba(8,14,30,.6), 0 20px 40px -20px rgba(0,0,0,.8); }
.vd-booth .plate { left: 12px; top: 12px; } .vd-booth .post { position: absolute; right: 14px; top: 18px; color: rgba(243,239,230,.55); }
.vd-officer { position: absolute; left: 50%; bottom: 0; width: 160px; height: 120px; margin-left: -80px; background: radial-gradient(26px 32px at 50% 32%, #4a5b82 98%, transparent), radial-gradient(80px 60px at 50% 110%, #2b3d66 98%, transparent); }
.vd-wave { position: absolute; left: 16px; right: 16px; bottom: 12px; height: 22px; display: flex; gap: 3px; align-items: center; justify-content: center; }
.vd-wave i { width: 3px; border-radius: 2px; background: #ff9b9b; height: calc(3px + var(--h, 0) * 20px); transition: height .1s; }
.vdemo .slip .q { font-size: 21px; min-height: 0; }
.vdemo .heard { min-height: 52px; font-size: 16px; } .vdemo .heard::after { content: '▍'; color: var(--gold); animation: blink 1s steps(2) infinite; }
.vd-chip { justify-self: end; padding: 8px 14px; border-radius: 6px; font-size: 13px; background: rgba(36,160,100,.16); color: #8ce8b6; border: 1px solid rgba(36,160,100,.4); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--spring), transform .6s var(--spring); }
.vd-chip.on { opacity: 1; transform: none; }

/* passport-paper cards (steps, checks, verdict) */
.steps.pages li, .check-grid article, .vcard.visa-page { position: relative; color: #1c2a4a; border: 0; border-radius: 14px; overflow: hidden;
  background:
    repeating-radial-gradient(circle at 88% 12%, transparent 0 10px, rgba(79,127,174,.08) 10px 11px),
    repeating-radial-gradient(circle at 8% 96%, transparent 0 14px, rgba(192,112,138,.07) 14px 15px),
    repeating-linear-gradient(176deg, transparent 0 7px, rgba(122,163,199,.07) 7px 8px),
    linear-gradient(170deg, #f6f1e6, #e9e1cf);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), 0 2px 4px rgba(0,0,0,.3), 0 24px 48px -20px rgba(0,0,0,.7); }
.steps.pages li { padding: 24px 24px 56px; gap: 12px; }
.steps.pages li:nth-child(odd) { transform: rotate(-.6deg); } .steps.pages li:nth-child(even) { transform: rotate(.5deg); }
.steps.pages li.in:nth-child(odd) { transform: rotate(-.6deg); } .steps.pages li.in:nth-child(even) { transform: rotate(.5deg); }
.steps.pages h3 { font-size: 26px; color: #142a52; } .steps.pages p { color: #3c4a68; font-size: 15px; }
.pg { position: absolute; right: 20px; top: 20px; color: #8a7a5a; }
.seal { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 800 20px/1 var(--ui); color: #4b3a8f; border: 3px solid currentColor; outline: 1.5px solid currentColor; outline-offset: -8px; transform: rotate(-8deg); opacity: .85; }
.seal.ok { color: #17794a; }
.mrz { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 24px; font-size: 12px; letter-spacing: .1em; color: rgba(16,28,56,.6); background: rgba(255,255,255,.45); border-top: 1px dashed rgba(28,42,74,.18); white-space: nowrap; overflow: hidden; }
.checks .lede { color: var(--ink-2); font-size: 17px; max-width: 60ch; }
.check-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.check-grid article { padding: 24px; display: grid; gap: 8px; }
.check-grid b { font: 500 28px/1 var(--display); color: #142a52; } .check-grid p { color: #3c4a68; } .check-grid em { color: #b48a35; }
.vcard.visa-page { padding: 24px 24px 64px; }
.vp-head { display: flex; justify-content: space-between; color: #8a7a5a; padding-bottom: 8px; border-bottom: 1px solid rgba(28,42,74,.12); }
.fix.hand { font: 600 22px/1.2 'Caveat', cursive; color: #1d3478; }
.verdict-demo .vcard.in .vstamp { animation: slam .7s var(--bounce) .3s both; }

/* =====================================================================
   v5 — gradient that actually shows, crossing ribbons, demo = real UI,
   chat nudges
   ===================================================================== */
/* the body painted its own solid fill over the gradient layer — clear it */
html { background: #0c1430; }
body { background: transparent !important; }
body::before { background:
  radial-gradient(70% 45% at 0% 0%, rgba(240,196,110,.30), transparent 62%),
  radial-gradient(60% 50% at 100% 18%, rgba(120,110,255,.34), transparent 64%),
  radial-gradient(70% 55% at 10% 70%, rgba(40,170,170,.24), transparent 62%),
  radial-gradient(60% 50% at 95% 95%, rgba(230,120,90,.28), transparent 62%),
  linear-gradient(160deg, #22377e 0%, #2a2670 32%, #3c2768 58%, #183f63 82%, #102a46 100%) !important; }

/* ribbons: two crossing bands */
.ribbons { position: relative; height: 230px; padding: 0; margin-top: clamp(40px, 6vw, 80px); display: block; overflow: hidden; }
.band { position: absolute; left: -6%; right: -6%; top: 50%; overflow: hidden; }
.band .track { display: flex; align-items: center; gap: 22px; width: max-content; animation: marquee 34s linear infinite; }
.band.gold { transform: translateY(-78%) rotate(-4deg); padding: 16px 0; z-index: 2;
  background: linear-gradient(180deg, #f8e2a6, #d9b465 50%, #b9903c); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -12px rgba(0,0,0,.6); }
.band.gold span { font: 800 22px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: #142a52; white-space: nowrap; }
.band.gold i { color: #8a2f14; font-style: normal; font-size: 16px; }
.band.paper { transform: translateY(-10%) rotate(3deg); padding: 14px 0; z-index: 1;
  background: repeating-radial-gradient(circle at 20% 50%, transparent 0 9px, rgba(79,127,174,.08) 9px 10px), linear-gradient(180deg, #f6f1e6, #e7dfcd); box-shadow: 0 18px 40px -14px rgba(0,0,0,.55); }
.band.paper .track { animation-duration: 44s; animation-direction: reverse; gap: 14px; }
.st { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 2px solid var(--c); border-radius: 999px; color: var(--c); font: 700 15px/1 var(--ui); white-space: nowrap; transform: rotate(-2deg); }
.st:nth-child(even) { transform: rotate(2deg); }
.st b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--c); outline: 1px dashed var(--c); outline-offset: -6px; font: 800 12px/1 var(--ui); letter-spacing: .04em; }
@media (max-width: 600px) { .ribbons { height: 190px; } .band.gold span { font-size: 17px; } .st { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .band .track { animation: none; } }

/* demo: the real interview UI, shown working */
.vdemo { display: grid; gap: 12px; pointer-events: none; max-width: 460px; width: 100%; justify-self: center; padding: 16px; border-radius: 22px;
  background: linear-gradient(170deg, rgba(14,24,50,.92), rgba(9,15,32,.96)); border: 1px solid rgba(211,174,92,.22); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.vdemo .booth { height: 190px; }
.vdemo .heard { min-height: 48px; } .vdemo .heard::after { content: '▍'; color: var(--gold); animation: blink 1s steps(2) infinite; }

/* chat nudges: the slip slides out of the window slot, answers get a RECEIVED mark,
   the officer "reviews" before each question */
.mock .slip.enter { animation: slot .7s var(--spring) both; }
@keyframes slot { from { opacity: 0; transform: translateY(-28px) scaleY(.6); transform-origin: top; filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.thinking { display: inline-flex; gap: 6px; align-items: center; color: #8a7a5a; font: 600 15px/1 var(--ui); }
.thinking i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: dot 1s var(--spring) infinite; }
.thinking i:nth-child(2) { animation-delay: .15s; } .thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-5px); opacity: .4; } }
.mock .you { position: relative; }
.recv { position: absolute; right: 14px; top: 50%; padding: 6px 12px; border: 3px solid #17794a; color: #17794a; border-radius: 6px; font: 800 14px/1 var(--ui); letter-spacing: .12em; background: rgba(246,241,230,.9);
  transform: translateY(-50%) rotate(-8deg); animation: slam .6s var(--bounce) both; pointer-events: none; }
/* phones: passport gets the top ~62%, captions sit tight below */
@media (max-width: 899px) { .cap { top: 64%; padding-top: 18px; gap: 10px; } .cap h1 { font-size: 34px; } .cap h2 { font-size: 32px; } .cap p { font-size: 16px; } }

/* =====================================================================
   v6 — lanes: a contained panel, three diagonal lanes that loop
   ===================================================================== */
.lanes { position: relative; height: 440px; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.07), transparent 60%), linear-gradient(160deg, rgba(14,24,54,.75), rgba(10,16,36,.9));
  border: 1px solid rgba(211,174,92,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 40px 80px -36px rgba(0,0,0,.8); }
.lanes::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(90deg, rgba(10,16,36,.95), transparent 14%, transparent 86%, rgba(10,16,36,.95)), linear-gradient(180deg, rgba(10,16,36,.7), transparent 16%, transparent 84%, rgba(10,16,36,.7)); }
.lanes-tilt { position: absolute; left: 50%; top: 50%; width: 170%; transform: translate(-50%, -50%) rotate(-11deg); display: grid; gap: 22px; }
.lane { overflow: visible; }
.lane .track { display: flex; gap: 18px; width: max-content; animation: marquee 48s linear infinite; }
.lane.rev .track { animation-direction: reverse; animation-duration: 40s; }
.lane:nth-child(3) .track { animation-duration: 56s; }
.lanes:hover .track { animation-play-state: paused; }
/* country visa sticker */
.vz { display: flex; align-items: center; gap: 14px; min-width: 300px; padding: 14px 18px 14px 14px; border-radius: 14px; color: #1c2a4a; position: relative; overflow: hidden;
  background: repeating-radial-gradient(circle at 90% 20%, transparent 0 8px, color-mix(in srgb, var(--c) 10%, transparent) 8px 9px), linear-gradient(170deg, #f7f2e7, #e9e1cf);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 14px 28px -14px rgba(0,0,0,.7); }
.vz::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c); }
.vz-seal { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--c); border: 2.5px solid var(--c); outline: 1.5px dashed var(--c); outline-offset: -8px; font: 800 15px/1 var(--ui); transform: rotate(-10deg); }
.vz small { display: block; font: 700 10px/1 'IBM Plex Mono', monospace; letter-spacing: .16em; color: var(--c); }
.vz b { display: block; font: 600 21px/1.1 var(--display); margin: 4px 0 3px; color: #142a52; }
.vz em { display: block; font: 600 12.5px/1.2 var(--ui); font-style: normal; color: #4a5874; white-space: nowrap; }
/* visa type tile */
.vt { display: flex; align-items: center; gap: 14px; min-width: 280px; padding: 16px 20px; border-radius: 14px; color: var(--ink);
  background: linear-gradient(160deg, rgba(36,52,96,.9), rgba(20,30,60,.95)); box-shadow: inset 0 0 0 1px rgba(211,174,92,.35), inset 0 1px 0 rgba(255,255,255,.08), 0 14px 28px -14px rgba(0,0,0,.8); }
.vt svg { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 12px; color: #1c1406; background: linear-gradient(180deg, #f6dc98, #c99a42); }
.vt b { display: block; font: 600 19px/1.1 var(--display); } .vt em { display: block; font: 500 12.5px/1.3 var(--ui); font-style: normal; color: var(--gold-2); opacity: .85; white-space: nowrap; }
@media (max-width: 600px) { .lanes { height: 380px; border-radius: 20px; } .lanes-tilt { width: 260%; gap: 16px; } .vz { min-width: 250px; } .vz b { font-size: 18px; } .vt { min-width: 240px; } }
@media (prefers-reduced-motion: reduce) { .lane .track { animation: none; } }

/* =====================================================================
   v7 — hero choreography + interview screen elevation
   ===================================================================== */
/* headline: each word rises out of a mask; the gold phrase sweeps in */
.split .wm { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.split .wm > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: left bottom; transition: transform 1s var(--spring); transition-delay: calc(var(--i) * 70ms + 150ms); }
.cap.on .split .wm > span { transform: none; }
.split em { position: relative; background: linear-gradient(100deg, #f6dfa0, #d8b25e 40%, #fff1c8 50%, #d8b25e 60%, #f1d48e); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.cap.on .split em { animation: sheen 3.2s var(--spring) 1s both; }
.split em .wm > span { background: inherit; -webkit-background-clip: text; background-clip: text; }
.split em::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.04em; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #d3ae5c, transparent); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--spring) 1.1s; }
.cap.on .split em::after { transform: scaleX(1); }
/* perks: three lines slide in like stamps landing, instead of a paragraph */
.perks { list-style: none; padding: 0; display: grid; gap: 10px; margin: 4px 0 6px; }
.perks li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink-2); opacity: 0; transform: translateX(-24px); filter: blur(6px);
  transition: opacity .8s var(--spring), transform .9s var(--spring), filter .8s var(--spring); }
.perks li:nth-child(1) { transition-delay: .9s; } .perks li:nth-child(2) { transition-delay: 1.05s; } .perks li:nth-child(3) { transition-delay: 1.2s; }
.cap.on .perks li { opacity: 1; transform: none; filter: none; }
.perks b { color: var(--ink); font-weight: 600; }
.perks i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #1c1406;
  background: linear-gradient(160deg, #f8e2a6, #c99a42); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 6px 14px -6px rgba(211,174,92,.6); transform: rotate(-6deg); }
.perks i svg { width: 18px; height: 18px; }
.cap.hero .row { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--spring) 1.4s, transform .9s var(--spring) 1.4s; }
.cap.hero.on .row { opacity: 1; transform: none; }
@media (max-width: 899px) { .cap.hero h1 { font-size: 36px; } .perks li { font-size: 15px; } .perks i { width: 30px; height: 30px; } }

/* ---------- interview screen: depth, materials, light ---------- */
.mock { background:
  radial-gradient(70% 40% at 50% 0%, rgba(255,236,196,.9), transparent 70%),
  radial-gradient(60% 50% at 0% 100%, rgba(214,196,236,.45), transparent 70%),
  radial-gradient(60% 50% at 100% 70%, rgba(196,222,226,.45), transparent 70%),
  repeating-linear-gradient(176deg, transparent 0 9px, rgba(122,140,180,.05) 9px 10px),
  linear-gradient(180deg, #fbf6ec, #efe6d4) !important; }
.mock::before { content: ''; position: fixed; inset: 10px; border: 1px solid rgba(182,144,78,.28); border-radius: 22px; pointer-events: none; }
/* booth: framed window with brass ledge, glass glare and depth */
:is(.mock, .vdemo) .booth { border: 0; border-radius: 26px;
  box-shadow: 0 0 0 1.5px rgba(255,252,245,.95), 0 0 0 5px rgba(196,160,92,.35), 0 0 0 6px rgba(255,252,245,.6),
    0 2px 4px rgba(16,26,48,.2), 0 24px 48px -16px rgba(16,26,48,.55), 0 60px 90px -40px rgba(60,40,10,.45); }
:is(.mock, .vdemo) .booth::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.16) 30%, transparent 40%, transparent 62%, rgba(255,255,255,.08) 68%, transparent 74%);
  background-size: 250% 100%; animation: glare 7s ease-in-out infinite; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), inset 0 -40px 60px -30px rgba(8,14,28,.6); }
@keyframes glare { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
:is(.mock, .vdemo) .booth::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; z-index: 3;
  background: linear-gradient(180deg, #e9cf8e, #b48a35 55%, #7a5a20); box-shadow: 0 -1px 0 rgba(255,246,220,.8), 0 -8px 18px rgba(0,0,0,.35); }
:is(.mock, .vdemo) .booth .plate { z-index: 4; transform: rotate(-3deg); box-shadow: 0 10px 22px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(120,80,20,.3); }
:is(.mock, .vdemo) .booth .post { z-index: 4; }
/* mic emblem: gold coin with rotating rim and sound ripples */
.booth-center { z-index: 3; }
.booth-mic-emblem { width: 64px; height: 64px; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), rgba(18,30,56,.55) 60%); border: 0;
  box-shadow: 0 0 0 2px rgba(246,225,174,.85), 0 0 0 7px rgba(246,225,174,.14), 0 14px 30px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.45); }
.booth-mic-emblem::before { content: ''; position: absolute; inset: -9px; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(246,220,152,.9), transparent 35%, transparent 60%, rgba(246,220,152,.6), transparent); -webkit-mask: radial-gradient(circle, transparent 62%, #000 64%); mask: radial-gradient(circle, transparent 62%, #000 64%); animation: spin 6s linear infinite; }
.booth-mic-emblem::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(246,220,152,.6); opacity: 0; }
.booth.talking .booth-mic-emblem::after, .booth.listening .booth-mic-emblem::after { animation: ripple 1.6s var(--spring) infinite; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.booth.listening .booth-mic-emblem { box-shadow: 0 0 0 2px #ff9b9b, 0 0 0 7px rgba(255,120,120,.18), 0 14px 30px -8px rgba(0,0,0,.6); }
.booth-halo { width: 170px; height: 170px; background: radial-gradient(circle, rgba(255,238,200,.28), rgba(255,238,200,.06) 55%, transparent 72%); border: 0; box-shadow: inset 0 0 0 1px rgba(255,246,226,.22); }
:is(.mock, .vdemo) .booth .wave i { width: 3px; background: linear-gradient(180deg, #fff, #f3d590 60%, #d8a84a); box-shadow: 0 0 10px rgba(243,213,144,.65); }
.booth-status { font-size: 15px; letter-spacing: .01em; padding: 4px 12px; border-radius: 999px; background: rgba(10,18,36,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* progress row as a glass rail */
:is(.mock, .vdemo) .q-meta { padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 8px 20px -12px rgba(52,36,14,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.officer-chip { background: linear-gradient(180deg, #1b2f52, #101e37); color: #f8f2e4; border: 1px solid rgba(213,180,114,.6); }
/* slip: lifted parchment with a deckled top and wax seal */
:is(.mock, .vdemo) .slip { border: 0; border-radius: 4px 4px 14px 14px; padding: 22px 24px 20px;
  box-shadow: inset 0 0 0 1px rgba(176,148,102,.28), inset 0 1px 0 #fff, 0 2px 3px rgba(52,36,14,.12), 0 16px 30px -14px rgba(52,36,14,.38), 0 40px 60px -40px rgba(52,36,14,.4); transform: rotate(-.35deg); }
:is(.mock, .vdemo) .slip::before { display: block; content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: radial-gradient(circle at 5px 0, transparent 4px, rgba(176,148,102,.22) 4.5px, transparent 5.5px) 0 0 / 12px 8px repeat-x; }
:is(.mock, .vdemo) .slip::after { content: ''; position: absolute; left: 18px; top: -10px; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e0605a, #9b1f1a 70%); box-shadow: 0 3px 6px rgba(90,10,10,.4), inset 0 -2px 3px rgba(0,0,0,.25); }
/* deck: navy leather with stitching, gold coin controls */
.deck-card { border: 0; border-radius: 24px; padding: 22px 20px;
  background: radial-gradient(70% 100% at 50% 0%, rgba(235,198,126,.2), transparent 70%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(180deg, #1f335a, #0f1c36);
  box-shadow: 0 0 0 1.5px #d5b472, inset 0 1px 0 rgba(255,245,220,.3), 0 4px 6px rgba(14,24,46,.2), 0 24px 44px -18px rgba(14,24,46,.75); }
.deck-card::before { content: ''; position: absolute; inset: 7px; border-radius: 18px; border: 1.5px dashed rgba(213,180,114,.38); pointer-events: none; }
.deck-tab { border-radius: 16px 16px 0 0; box-shadow: 0 -4px 12px -6px rgba(52,36,14,.25); }
.deck-tab.active { box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 -6px 16px -6px rgba(180,130,40,.45); }
.deck-speak { grid-template-columns: 56px 1fr 48px; }
.deck-ctrl { width: 48px; height: 48px; box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 6px 14px -6px rgba(0,0,0,.6); }
#mic.deck-ctrl, .vdemo .deck-ctrl.live { width: 56px; height: 56px; color: #1a1408; background: radial-gradient(circle at 35% 30%, #fff3cf, #e8c67c 45%, #b8893a); border: 0;
  box-shadow: 0 0 0 2px rgba(255,242,204,.8), 0 0 0 8px rgba(213,180,114,.16), 0 12px 24px -8px rgba(0,0,0,.7), inset 0 -3px 6px rgba(120,80,20,.35); }
.deck-ctrl.live { position: relative; }
.deck-ctrl.live::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(243,216,150,.7); animation: ripple 1.4s var(--spring) infinite; }
.deck-wave i { width: 3px; background: linear-gradient(180deg, #fff, #e6c37a 60%, #c99a42); box-shadow: 0 0 10px rgba(230,195,122,.5); }
.deck-time { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
/* transcript: frosted card with a gold rule */
:is(.mock, .vdemo) .you { border: 0; border-radius: 16px; padding: 16px 18px 16px 20px; background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(250,244,232,.82));
  box-shadow: inset 4px 0 0 #d3ae5c, inset 0 0 0 1px rgba(168,144,106,.25), 0 12px 26px -16px rgba(52,36,14,.4); }
:is(.mock, .vdemo) .you.live { box-shadow: inset 4px 0 0 #e05a5a, inset 0 0 0 1px rgba(224,90,90,.35), 0 0 0 4px rgba(224,90,90,.08), 0 12px 26px -16px rgba(52,36,14,.4); }
/* actions */
.btn-retake, .btn-next { min-height: 52px; border-radius: 14px; }
.btn-retake { background: linear-gradient(180deg, #fff, #f4ecdc); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(168,144,106,.35), 0 10px 20px -12px rgba(52,36,14,.45); border: 0; }
.btn-next { flex: 1; background: linear-gradient(180deg, #223a66, #0f1d38); border: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 1.5px rgba(213,180,114,.7), 0 16px 30px -12px rgba(16,30,55,.7); }
.btn-next:not(:disabled):hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 1.5px #e9cf8e, 0 20px 36px -12px rgba(16,30,55,.8); }

/* =====================================================================
   v8 — captions without a box: they glow on the painted sky and build as you scroll
   ===================================================================== */
.cap { background: none !important; isolation: isolate; }
.cap::before { content: ''; position: absolute; inset: -18% -12% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 50% at 32% 50%, rgba(8,12,34,.62), rgba(8,12,34,.25) 55%, transparent 75%); filter: blur(10px); opacity: 0; transition: opacity .8s var(--spring); }
.cap.on::before { opacity: 1; }
.cap h1, .cap h2 { text-shadow: 0 2px 24px rgba(6,10,28,.75); } .cap p { text-shadow: 0 1px 14px rgba(6,10,28,.85); }
/* scroll-built pieces */
.cap.on .split.scroll .wm > span:not(.in) { transform: translateY(105%) rotate(4deg); }
.split.scroll .wm > span { transition: transform .75s var(--spring); transition-delay: 0s; }
.cap .ln { opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity .7s var(--spring), transform .8s var(--spring), filter .7s var(--spring); }
.cap .ln.in { opacity: 1; transform: none; filter: none; }
.cap .kick.ln { display: inline-block; }
.cap p .ln { display: block; margin-bottom: 8px; }
@media (max-width: 899px) { .cap { top: 62%; gap: 14px; } .cap:not(.hero) h2 { font-size: 40px; line-height: 1.04; } .cap:not(.hero) p { font-size: 18px; line-height: 1.45; } }

/* the officer: a portrait behind the glass instead of a mic */
.booth-mic-emblem.officer-av { width: 86px; height: 86px; overflow: visible; background: none; }
.officer-av svg { width: 100%; height: 100%; border-radius: 50%; display: block; }
.officer-av .av-tag { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); white-space: nowrap; padding: 3px 9px; border-radius: 999px;
  font: 700 9.5px/1.2 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: #1c1406; background: linear-gradient(180deg, #f6dc98, #c99a42); box-shadow: 0 4px 10px -4px rgba(0,0,0,.5); }
.booth.talking .av-mouth { animation: talk .28s ease-in-out infinite alternate; transform-origin: 42px 45px; }
@keyframes talk { to { transform: scaleY(2.2); } }
.booth.listening .officer-av svg { filter: saturate(1.05) brightness(1.05); }
.booth-center { gap: 16px; }

/* =====================================================================
   v9 — type: Bricolage Grotesque (engraved display) · Figtree (forms) · IBM Plex Mono (data)
   ===================================================================== */
:root { --display: 'Bricolage Grotesque', 'Didot', Georgia, serif; --ui: 'Figtree', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace; }
body { font-family: var(--ui); font-size: 16px; line-height: 1.55; font-feature-settings: 'ss02'; }
h1, h2, h3, .cap h1, .cap h2, .sec-head h2 { font-family: var(--display); font-optical-sizing: auto; font-weight: 500; letter-spacing: -.01em; }
.cap h1, .cap h2, .sec-head h2 { font-variation-settings: 'opsz' 96; line-height: 1.02; }
h3, .steps h3, .plan h3, .vz b, .vt b, .check-grid b { font-variation-settings: 'opsz' 28; font-weight: 600; letter-spacing: 0; }
em { font-weight: 500; }
.kick, .mono, .pg, .mrz, .q-count, .deck-time, .timer { font-family: var(--mono) !important; letter-spacing: .1em; }
.kick { font-weight: 600; }
.btn, .btn-next, .btn-retake, .deck-tab { font-family: var(--ui) !important; font-weight: 600; letter-spacing: .01em; }
:is(.mock, .vdemo) .slip .q { font-family: var(--display); font-weight: 600; font-variation-settings: 'opsz' 32; letter-spacing: -.005em; }
:is(.mock, .vdemo) .heard, .booth-status, .plate small, .plate b, .post, .officer-chip { font-family: var(--ui) !important; }
.plate b { font-family: var(--display) !important; font-weight: 700; }
.sheet input, .sheet select { font-family: var(--mono); font-weight: 500; }
.plan .price, .steps b, .seal { font-family: var(--display); font-variant-numeric: lining-nums tabular-nums; }
p, li { font-weight: 400; }

/* =====================================================================
   v10 — split boarding-pass header, account sheet, passport dashboard
   ===================================================================== */
.tix { display: flex; align-items: stretch; height: 46px; border-radius: 9px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
  -webkit-mask: radial-gradient(circle 6px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 6px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 6px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 6px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat; }
.tix button { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; font: 600 13.5px/1 var(--ui); white-space: nowrap; }
.tix-a { color: var(--ink); background: linear-gradient(180deg, rgba(30,44,86,.92), rgba(16,26,52,.95)); padding-left: 16px !important; }
.tix-b { position: relative; color: #1c1406; background: linear-gradient(180deg, #f8e2a6, #d9b465 50%, #b9903c); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.tix-b::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; border-left: 2px dashed rgba(28,20,6,.35); }
.tix-b i { font-style: normal; font-size: 16px; }
.tix-av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--display); color: #1c1406; background: linear-gradient(160deg, #f8e2a6, #c99a42); }
.tix-av[hidden] { display: none; }
@media (max-width: 380px) { .tix button { padding: 0 11px; font-size: 12.5px; } }

/* account sheet — a passport application */
.acct { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; padding: 16px; background: rgba(6,10,26,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: rise .5s var(--spring); }
.acct[hidden] { display: none; }
.acct-sheet { width: min(100%, 480px); max-height: calc(100svh - 32px); overflow-y: auto; }
.acct-sheet .x { position: absolute; right: 14px; top: 14px; z-index: 2; color: #1c2a4a; background: rgba(28,42,74,.06); border-color: rgba(28,42,74,.12); }
.acct-sheet .fields .fld:nth-child(-n+2) { grid-column: 1 / -1; }

/* signed-in: marketing steps aside, the dashboard takes over */
body.signed .mkt { display: none !important; }
.dash { display: grid; gap: 24px; }
.dash[hidden] { display: none; }
.dash-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dash-head h2 { font-size: clamp(36px, 5vw, 60px); margin-top: 8px; }
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.dstat { position: relative; padding: 18px 18px 16px; border-radius: 14px; display: grid; gap: 6px; color: #1c2a4a; overflow: hidden;
  background: repeating-radial-gradient(circle at 90% 10%, transparent 0 9px, rgba(79,127,174,.08) 9px 10px), linear-gradient(170deg, #f6f1e6, #e9e1cf);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 18px 36px -18px rgba(0,0,0,.7); }
.dstat b { font: 600 40px/1 var(--display); font-variant-numeric: lining-nums tabular-nums; color: #142a52; }
.dstat span { font: 600 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #6a6250; }
.dstat.ok b { color: #17794a; } .dstat.gold b { color: #9a7228; }
.log { display: grid; gap: 12px; }
.logrow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; color: #1c2a4a; position: relative; overflow: hidden; --c: #17794a;
  background: repeating-radial-gradient(circle at 92% 50%, transparent 0 9px, color-mix(in srgb, var(--c) 9%, transparent) 9px 10px), linear-gradient(170deg, #f7f2e7, #e9e1cf);
  box-shadow: inset 5px 0 0 var(--c), inset 0 0 0 1px rgba(255,255,255,.55), 0 14px 28px -14px rgba(0,0,0,.65); }
.logrow.no { --c: #b3262d; }
.logrow .vz-seal { color: var(--c); border-color: var(--c); outline-color: var(--c); width: 48px; height: 48px; }
.lg-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.lg-main small { color: #8a7a5a; font-size: 10px; } .lg-main b { font: 600 19px/1.15 var(--display); color: #142a52; } .lg-main em { font: 500 13px/1.2 var(--ui); font-style: normal; color: #4a5874; }
.lg-stamp { flex: none; padding: 6px 10px; border: 2.5px solid var(--c); outline: 1px solid var(--c); outline-offset: -6px; color: var(--c); font: 800 12px/1 var(--ui); letter-spacing: .1em; transform: rotate(-6deg); }
.logempty { display: grid; justify-items: start; gap: 8px; padding: 24px; border-radius: 16px; color: #1c2a4a; background: linear-gradient(170deg, #f6f1e6, #e9e1cf); box-shadow: 0 18px 36px -18px rgba(0,0,0,.7); }
.logempty b { font: 600 26px/1.1 var(--display); color: #142a52; } .logempty span { color: #4a5874; }
.linkish { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.dash-foot { margin-top: 4px; }
@media (max-width: 480px) { .lg-stamp { font-size: 10px; padding: 5px 7px; } .lg-main b { font-size: 17px; } }

/* hero perks v2: title line + an animated second line, no dashes */
.perks li { align-items: flex-start; }
.perks i { margin-top: 2px; }
.pk { display: grid; gap: 6px; }
.pk-t { font-size: 17px; color: var(--ink); line-height: 1.25; }
.pk-t b.ok { color: #4fd38f; } .pk-t b.no { color: #ff7a7a; }
.pk-s { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-s em { font-style: normal; }
.chip { padding: 4px 10px; border-radius: 6px; font: 600 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2);
  border: 1px solid rgba(211,174,92,.45); background: rgba(211,174,92,.1); opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .6s var(--spring), transform .7s var(--bounce); }
.why { position: relative; font: 500 14.5px/1.3 var(--ui); color: var(--ink-2); padding-left: 18px; opacity: 0; transform: translateX(-10px); transition: opacity .7s var(--spring), transform .8s var(--spring); }
.why::before { content: ''; position: absolute; left: 0; top: 50%; width: 10px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--spring); }
.cap.on .chip, .cap.on .why { opacity: 1; transform: none; }
.cap.on .why::before { transform: scaleX(1); }
.cap.on .perks li:nth-child(1) .chip:nth-child(1) { transition-delay: 1.25s; } .cap.on .perks li:nth-child(1) .chip:nth-child(2) { transition-delay: 1.38s; }
.cap.on .perks li:nth-child(2) .why, .cap.on .perks li:nth-child(2) .why::before { transition-delay: 1.45s; }
.cap.on .perks li:nth-child(3) .why, .cap.on .perks li:nth-child(3) .why::before { transition-delay: 1.6s; }
@media (max-width: 899px) { .pk-t { font-size: 16px; } }

/* hero perks v3: engraved lines instead of pills, even rhythm, clear air under the passport */
.perks { gap: 18px; margin: 8px 0 0; }
.perks li { gap: 14px; }
.pk { gap: 5px; }
.pk-t { font: 500 17px/1.25 var(--ui); }
.chip { border: 0 !important; background: none !important; padding: 0 !important; border-radius: 0; font: 600 11.5px/1.4 var(--mono); letter-spacing: .2em; color: var(--gold-2); }
.pk-s .chip + .chip::before { content: '✦'; display: inline-block; margin: 0 10px 0 2px; color: var(--gold); font-size: 9px; vertical-align: 1px; letter-spacing: 0; }
.why { font: italic 500 16px/1.3 var(--display) !important; color: rgba(243,239,230,.78); padding-left: 22px; }
.why::before { width: 14px; height: 1px; }
.pk-s:has(.chip)::before { content: ''; width: 14px; height: 1px; margin: auto 8px auto 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--spring) 1.2s; }
.cap.on .pk-s:has(.chip)::before { transform: scaleX(1); }
.pk-s { align-items: center; }
@media (max-width: 899px) {
  .cap.hero { top: 63%; gap: 16px; }
  .cap.hero h1 { font-size: 35px; line-height: 1.04; }
  .pk-t { font-size: 16px; }
}

@media (max-width: 899px) { .cap.hero { top: 57.5%; gap: 14px; } .cap.hero h1 { font-size: 30px; letter-spacing: -.015em; } .perks { gap: 14px; } }

/* hero sits on the bottom edge; the passport keeps the air above it */
@media (max-width: 899px) { .cap.hero { top: auto !important; bottom: calc(28px + env(safe-area-inset-bottom)) !important; padding-top: 0; } }

/* every caption (signed in or out) rests on the bottom edge and builds upward */
@media (max-width: 899px) { .cap { top: auto !important; bottom: calc(28px + env(safe-area-inset-bottom)) !important; padding-top: 0 !important; } }

@media (max-width: 899px) { .cap:not(.hero) h2 { font-size: 34px !important; } .cap:not(.hero) p { font-size: 16.5px !important; } .cap p .ln { margin-bottom: 4px; } }

/* =====================================================================
   v11 — Bricolage Grotesque + Figtree; snappy, blur-free motion
   ===================================================================== */
:root { --display: 'Bricolage Grotesque', system-ui, sans-serif; --ui: 'Figtree', system-ui, sans-serif; }
body { font-family: var(--ui); font-feature-settings: normal; }
h1, h2, h3, .cap h1, .cap h2, .sec-head h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; font-variation-settings: 'opsz' 96; }
h3, .steps h3, .plan h3, .vz b, .vt b, .check-grid b, .lg-main b, .dstat b, .logempty b { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; font-variation-settings: 'opsz' 32; }
/* Bricolage has no italic: emphasis is colour + weight, never a fake slant */
em, .split em, .cap em, .sec-head em, h1 em, h2 em { font-style: normal !important; font-weight: 700; }
.why { font: 500 15.5px/1.3 var(--ui) !important; font-style: normal !important; }
:is(.mock, .vdemo) .slip .q { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; font-variation-settings: 'opsz' 32; }
.pk-t, .perks li, p, li { font-family: var(--ui); }
.btn, .btn-next, .btn-retake, .deck-tab, .tix button { font-family: var(--ui) !important; font-weight: 700; }
/* motion: transform + opacity only (no blur), shorter springs */
.cap .ln { filter: none !important; transition: opacity .35s ease-out, transform .45s var(--spring) !important; transform: translateY(10px); }
.split.scroll .wm > span { transition: transform .45s var(--spring) !important; }
.split .wm > span { transition-duration: .6s !important; transition-delay: calc(var(--i) * 45ms + 80ms) !important; }
.perks li { filter: none !important; transition: opacity .45s ease-out, transform .5s var(--spring) !important; }
.perks li:nth-child(1) { transition-delay: .35s !important; } .perks li:nth-child(2) { transition-delay: .45s !important; } .perks li:nth-child(3) { transition-delay: .55s !important; }
.cap.on .perks li:nth-child(1) .chip:nth-child(1) { transition-delay: .55s !important; } .cap.on .perks li:nth-child(1) .chip:nth-child(2) { transition-delay: .62s !important; }
.cap.on .perks li:nth-child(2) .why, .cap.on .perks li:nth-child(2) .why::before { transition-delay: .65s !important; }
.cap.on .perks li:nth-child(3) .why, .cap.on .perks li:nth-child(3) .why::before { transition-delay: .75s !important; }
.cap.on .pk-s:has(.chip)::before { transition-delay: .5s !important; }
.cap.on .split em { animation-delay: .5s !important; }
.split em::after { transition-delay: .55s !important; }
.cap { transition: opacity .35s ease-out, transform .45s var(--spring) !important; }
.cap::before { filter: none !important; transition: opacity .35s ease-out !important; }
[data-reveal] { filter: none !important; transition: opacity .55s ease-out, transform .6s var(--spring) !important; transition-delay: calc(var(--d, 0) * 60ms) !important; }
.q .w { filter: none !important; animation-duration: .35s !important; animation-delay: calc(var(--i) * 30ms) !important; }

/* caption points: gold-ruled stubs instead of paragraphs */
.pts { list-style: none; padding: 0; display: grid; gap: 10px; margin: 2px 0 0; }
.pts li { display: grid; grid-template-columns: 20px 1fr; column-gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid rgba(211,174,92,.18); }
.pts li:last-child { border-bottom: 0; padding-bottom: 0; }
.pts li::before { content: '✦'; grid-row: span 2; color: var(--gold); font-size: 12px; line-height: 1.6; }
.pts b { font: 650 19px/1.15 var(--display); letter-spacing: -.015em; color: var(--ink); }
.pts span { font: 500 14.5px/1.3 var(--ui); color: rgba(243,239,230,.72); }
.cap .pts li.ln { display: grid; }
@media (max-width: 899px) { .pts { gap: 8px; } .pts li { padding-bottom: 8px; } .pts b { font-size: 18px; } .pts span { font-size: 14px; } }
@media (min-width: 900px) { .pts b { font-size: 22px; } .pts span { font-size: 16px; } }

/* brand: passport + approval-stamp mark, signature wordmark */
.brand { gap: 6px; align-items: center; }
.brand svg { width: 40px; height: 40px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.45)); transition: transform .5s var(--bounce); }
.brand:hover svg { transform: rotate(-6deg) scale(1.06); }
.brand span { font: 400 27px/1 'Yellowtail', cursive; letter-spacing: .01em; padding: 2px 4px 4px 0;
  background: linear-gradient(100deg, #fff3cf, #e9c77a 45%, #fff6da 55%, #d6ad58); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
@media (max-width: 380px) { .brand span { font-size: 23px; } .brand svg { width: 34px; height: 34px; } }

@media (max-width: 430px) { .top { padding-left: 12px; padding-right: 12px; } .brand span { font-size: 22px; } .brand svg { width: 34px; height: 34px; } .tix { height: 42px; } .tix button { padding: 0 10px; font-size: 12.5px; gap: 6px; } .tix-a { padding-left: 12px !important; } .tix-av { width: 20px; height: 20px; font-size: 11px; } }

/* =====================================================================
   v12 — headlines appear instantly; only the points animate; two-card voice demo
   ===================================================================== */
.split .wm > span, .cap.on .split.scroll .wm > span:not(.in) { transform: none !important; transition: none !important; }
.split em::after { transition: none !important; transform: scaleX(1) !important; }
.cap.on .split em { animation: none !important; }
.cap h1, .cap h2 { transition: none; }
/* voice: two overlapping cards, officer and you, trading places */
.vpair { position: relative; height: 300px; max-width: 420px; width: 100%; justify-self: center; }
.vp-card { position: absolute; width: 86%; padding: 18px 18px 16px; border-radius: 20px; display: grid; gap: 12px;
  transition: transform .7s var(--spring), opacity .6s ease, filter .6s ease, z-index 0s .3s; will-change: transform, opacity; }
.vp-officer { left: 0; top: 0; color: #1c2a4a; background: repeating-radial-gradient(circle at 90% 15%, transparent 0 9px, rgba(79,127,174,.08) 9px 10px), linear-gradient(170deg, #f8f3e8, #ebe3d1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 2px 4px rgba(0,0,0,.2), 0 28px 50px -22px rgba(0,0,0,.75); }
.vp-you { right: 0; bottom: 0; color: var(--ink); background: radial-gradient(80% 100% at 50% 0%, rgba(235,198,126,.18), transparent 70%), linear-gradient(170deg, #22375f, #0f1c38);
  box-shadow: 0 0 0 1.5px rgba(213,180,114,.6), inset 0 1px 0 rgba(255,255,255,.12), 0 28px 50px -22px rgba(0,0,0,.85); }
.vpair[data-side="officer"] .vp-officer, .vpair[data-side="you"] .vp-you { z-index: 2; opacity: 1; transform: none; filter: none; }
.vpair[data-side="officer"] .vp-you { z-index: 1; opacity: .45; transform: translate(10px, 8px) scale(.94); filter: saturate(.7); }
.vpair[data-side="you"] .vp-officer { z-index: 1; opacity: .45; transform: translate(-10px, -8px) scale(.94); filter: saturate(.7); }
.vp-card header { display: flex; align-items: center; gap: 10px; }
.vp-card header > div { flex: 1; display: grid; gap: 2px; }
.vp-card header b { font: 700 15px/1.1 var(--display); } .vp-post { font: 600 10.5px/1.2 var(--mono); letter-spacing: .08em; color: #7a6a4c; text-transform: uppercase; }
.vp-av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #d9b465; flex: none; } .vp-av svg { width: 100%; height: 100%; display: block; }
.vp-me { flex: 1; font: 700 15px/1 var(--display); color: var(--gold-2); }
.vp-live { font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #17794a; display: inline-flex; align-items: center; gap: 6px; }
.vp-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1s steps(2) infinite; }
.vp-live.red { color: #ff8a8a; }
.vp-q { font: 650 21px/1.25 var(--display); letter-spacing: -.02em; color: #111c32; }
.vp-a { font: 500 16.5px/1.4 var(--ui); color: var(--ink); }
.vp-card footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vp-wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.vp-wave i { width: 3px; height: 4px; border-radius: 2px; background: linear-gradient(180deg, #e6c37a, #b48a35); }
.vp-you .vp-wave i { background: linear-gradient(180deg, #fff, #ff9b9b); }
.vpair[data-side="officer"] .vp-officer .vp-wave i, .vpair[data-side="you"] .vp-you .vp-wave i { animation: bar .7s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes bar { to { height: calc(4px + var(--k) * 18px); } }
.vp-chip { padding: 6px 10px; border-radius: 8px; font: 600 12px/1 var(--ui); color: #8ce8b6; background: rgba(36,160,100,.16); border: 1px solid rgba(36,160,100,.4); white-space: nowrap; }
@media (max-width: 480px) { .vpair { height: 290px; } .vp-card { width: 90%; } .vp-q { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .vp-card { transition: none; } .vp-wave i { animation: none !important; } }

/* sign-in sheet: two steps (auth → issue passport) */
.acct-sheet { display: block; }
.acct-step { display: none; gap: 16px; }
.acct-sheet[data-step="auth"] .step-auth, .acct-sheet[data-step="profile"] .step-profile { display: grid; animation: rise .45s var(--spring); }
.acct-sheet:not(.no-fb) .lone-email { display: none; }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border-radius: 12px; font: 700 15px/1 var(--ui); color: #1c2a4a;
  background: #fff; box-shadow: inset 0 0 0 1px rgba(28,42,74,.18), 0 8px 18px -10px rgba(28,42,74,.45); }
.or { display: flex; align-items: center; gap: 12px; color: #8a7a5a; font-size: 10.5px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: rgba(28,42,74,.16); }
.fields.one { grid-template-columns: 1fr; }
.fields.one .fld { grid-column: auto !important; }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.auth-row .btn { min-height: 48px; padding: 0 14px; } .auth-row .btn.gold { padding-right: 52px; } .auth-row .btn.gold::after { width: 40px; }
.auth-row .btn.ghost { color: #1c2a4a; box-shadow: inset 0 0 0 1.5px rgba(28,42,74,.3); background: rgba(255,255,255,.5); }
.auth-msg { min-height: 20px; font: 500 14px/1.35 var(--ui); color: #8a2f14; }
.acct-sheet .linkish { justify-self: center; color: #6a5420; }
.acct-sheet.busy .step-auth { opacity: .6; pointer-events: none; }

/* sign-in v2: Google + Apple stacked, one Continue */
.gbtn.apple { color: #fff; background: #111; box-shadow: 0 8px 18px -10px rgba(0,0,0,.6); }
.step-auth { gap: 12px !important; }
.step-auth .btn.full { margin-top: 2px; }
.signed-as b { color: #142a52; font-weight: 700; }
/* VisaNovi brand: V-with-nova mark, Syne wordmark */
.brand { gap: 9px; }
.brand svg { width: 38px; height: 38px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.brand .wm { display: inline-flex; align-items: baseline; font: 700 23px/1 'Syne', var(--display); letter-spacing: -.02em; background: none; -webkit-background-clip: initial; background-clip: initial; color: inherit; filter: none; padding: 0; }
.brand .wm-a { color: #f6f1e4; }
.brand .wm-b { background: linear-gradient(100deg, #fff0c4, #e2bd6a 50%, #c89a45); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 430px) { .brand .wm { font-size: 20px; } .brand svg { width: 32px; height: 32px; } }
/* wordmark: clear the old script-wordmark styles from the inner spans */
.brand .wm span { padding: 0 !important; filter: none !important; font: inherit; letter-spacing: inherit; }
.brand .wm-a { background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; color: #f6f1e4 !important; }

/* touch scrolling: stable stage height, soft snaps on each story moment */
html { scroll-snap-type: none; }
.stage { height: 100svh; }
.story { position: relative; }
.snap { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; scroll-snap-align: start; top: calc((820vh - 100svh) * var(--s)); }
.mock, .acct { overscroll-behavior: contain; }
.cap, .pp3d { will-change: opacity, transform; }
@media (prefers-reduced-motion: reduce) { html { scroll-snap-type: none; } }
/* voice demo: one score badge */
.vp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: linear-gradient(180deg, rgba(36,160,100,.22), rgba(36,160,100,.12)); border: 1px solid rgba(111,224,166,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.vp-chip i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 800 12px/1 var(--ui); font-style: normal; color: #0b2a1a; background: linear-gradient(180deg, #a8f0c8, #4fd38f); }
.vp-chip b { font: 700 13px/1 var(--display); color: #e9fff3; }
.vp-chip em { font: 700 12px/1 var(--mono); font-style: normal; letter-spacing: .04em; color: #8ce8b6; padding-left: 8px; border-left: 1px solid rgba(111,224,166,.35); }.vp-card { min-width: 0; box-sizing: border-box; }
.vp-card footer { min-width: 0; }
.vp-card footer .vp-wave { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.vp-chip { flex: none; }
/* scroll performance: no full-screen blend layers; fixed backgrounds on their own GPU layer */
.bokeh { mix-blend-mode: normal !important; opacity: .7; transform: translateZ(0); }
body::before { transform: translateZ(0); }
.top { transform: translateZ(0); }
/* wordmark: all-gold signature script again */
.brand .wm { font: 400 28px/1 'Yellowtail', cursive !important; letter-spacing: .01em; padding: 2px 6px 4px 0; }
.brand .wm-a, .brand .wm-b { background: linear-gradient(100deg, #fff3cf, #e9c77a 45%, #fff6da 55%, #d6ad58) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; }
.brand .wm { filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)) !important; }
@media (max-width: 430px) { .brand .wm { font-size: 24px !important; } }
.brand .wm .wm-b { padding: 0 6px 2px 1px !important; margin-right: -4px; }
.brand .wm .wm-a { padding: 0 1px 2px 2px !important; }

.foot-brand { font: 400 22px/1 'Yellowtail', cursive; font-weight: 400; background: linear-gradient(100deg, #fff3cf, #e9c77a 45%, #d6ad58); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 4px; }
