/* 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: 'Newsreader', Georgia, serif; --ui: 'Instrument Sans', 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 'Courier New', 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 'Courier New', 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 'Courier New', 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; }
