/* FuelU home, 1.1. A scroll-told story: the plate gets read, then the app shows its work.
   Scoped to index.html; legal and account pages keep styles.css.
   Brand: #7B2FF7 → #F72F7B across the whole wordmark, never per letter. */
:root {
  --purple: #7B2FF7;
  --pink: #F72F7B;
  --grad: linear-gradient(90deg, #7B2FF7, #F72F7B);
  --grad-soft: linear-gradient(90deg, #B98BFF, #FF7FAF);
  --night: #0D0A14;
  --paper: #F3F0F7;
  --ink: #15121C;
  --mute: rgba(255, 255, 255, .64);
  --faint: rgba(255, 255, 255, .4);
  --rule: rgba(255, 255, 255, .1);
  --display: "Familjen Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: #fff; font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
main { overflow-x: clip; } /* the phone glow and tilted phone spill sideways; clip keeps sticky working, hidden would not */
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: .95; margin: 0; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.soft { background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid #B98BFF; outline-offset: 3px; border-radius: 6px; }

/* ── Header: quiet, lets the plate speak ─────────────────── */
.top { position: fixed; inset: 0 0 auto; z-index: 60; padding-top: env(safe-area-inset-top); transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(13, 10, 20, .8); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-color: var(--rule); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.logo span { font: 700 25px/1 var(--display); letter-spacing: -0.03em; }
.top nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--mute); }
.top nav a:hover { color: #fff; }
.top nav .get { color: var(--ink); background: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; -webkit-tap-highlight-color: transparent; transition: transform .15s, background .15s; }
/* A tap on a phone leaves :hover on, and the nav hover turns links white: keep the button's ink. */
.top nav .get:hover, .top nav .get:active, .top nav .get:focus { color: var(--ink); }
.top nav .get:active { transform: scale(.95); background: #ECE6F6; }
@media (max-width: 760px) { .top nav a:not(.get) { display: none; } }

/* ── Store badges: official artwork, unmodified ──────────── */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.badge-apple { height: 54px; width: auto; }
.badge-google { height: 54px; width: auto; } /* the official PNG cropped to its artwork, so the box is the badge */
/* Lift on hover, settle on press — as on the current site. box-shadow, never filter: a filter on
   this artwork leaves a halo or a box when Safari composites it. */
.badges a { display: inline-flex; border-radius: 9px; box-shadow: 0 10px 22px rgba(0,0,0,.45), 0 4px 18px rgba(185,47,185,.22); transition: transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .18s cubic-bezier(.2,.8,.3,1); }
.badges a[data-store="google_play"] { border-radius: 7px; }
.badges a:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 20px 36px rgba(0,0,0,.5), 0 10px 32px rgba(185,47,185,.45); }
.badges a:active { transform: translateY(1px); box-shadow: 0 5px 10px rgba(0,0,0,.4); transition-duration: .06s; }
.badges a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (hover: none) { .badges a:hover { transform: none; } }

/* ── 1. THE PLATE (pinned) ───────────────────────────────── */
.plate { position: relative; height: 440vh; }
.plate-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; transform: scale(calc(1 - var(--cover, 0) * .07)); transform-origin: 50% 30%; border-radius: calc(var(--cover, 0) * 36px); will-change: transform; }
/* as the app scene comes up, the plate sinks back and dims */
.plate-stage::after { content: ""; position: absolute; inset: 0; background: #000; opacity: calc(var(--cover, 0) * .65); pointer-events: none; z-index: 6; }
/* The photo box keeps the photo's own shape, so tags stay on their food at any window size. */
.plate-box { position: absolute; left: 50%; top: 0; width: max(100vw, 129.1vh); aspect-ratio: 3024 / 2343; transform: translate3d(-50%, 0, 0) scale(calc(1.42 - var(--zoom, 0) * .14)); transform-origin: 54% 8%; will-change: transform; }
.plate-box > img { width: 100%; height: 100%; object-fit: cover; }
.plate-dim { position: absolute; inset: 0; background: #0D0A14; opacity: calc(.58 - var(--lit, 0) * .52); will-change: opacity; }
.plate-out { position: absolute; inset: 0; background: var(--night); opacity: var(--fade, 0); pointer-events: none; z-index: 5; }
.plate-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,10,20,.8), rgba(13,10,20,0) 55%), linear-gradient(0deg, rgba(13,10,20,.85), rgba(13,10,20,0) 45%); opacity: calc(1 - var(--lit, 0) * .55); pointer-events: none; }

.slogan { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 11vh; opacity: calc(1 - var(--out, 0)); transform: translateY(calc(var(--out, 0) * -70px)); }
.slogan h1 { font-size: clamp(46px, 7.2vw, 116px); max-width: 10ch; }
.slogan p { font-size: clamp(18px, 1.6vw, 22px); color: rgba(255,255,255,.82); max-width: 32em; margin: 30px 0 30px; }
.cue { position: absolute; right: 28px; bottom: 32px; display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); opacity: calc(1 - var(--out, 0)); }
.cue i { width: 1px; height: 44px; background: linear-gradient(var(--faint), transparent); }

/* viewfinder */
.finder { position: absolute; inset: 15% 12% 14% 12%; opacity: var(--finder, 0); pointer-events: none; transform: scale(calc(1.06 - var(--finder, 0) * .06)); }
.finder i { position: absolute; width: 64px; height: 64px; border: 3px solid #fff; }
.finder i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 22px 0 0 0; }
.finder i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 22px 0 0; }
.finder i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 22px; }
.finder i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 22px 0; }
.scanline { position: absolute; left: 0; right: 0; height: 160px; top: calc(var(--sweep, 0) * 100% - 160px); background: linear-gradient(180deg, rgba(185,139,255,0), rgba(185,139,255,.22) 75%, rgba(255,127,175,.95) 100%); opacity: var(--sweepOn, 0); mix-blend-mode: screen; }

/* food tags, placed in the photo's own percentages */
.tag { position: absolute; left: var(--x); transform: translate(-50%, -100%) scale(calc(var(--inv, 1) * .6)); transform-origin: 50% 100%; opacity: 0; transition: opacity .3s ease, transform .55s cubic-bezier(.2, 1.5, .4, 1); }
.tag.on { opacity: 1; transform: translate(-50%, -100%) scale(var(--inv, 1)); }
.tag b { display: block; white-space: nowrap; font: 600 clamp(15px, 1.3vw, 19px)/1 var(--body); color: var(--ink); background: #fff; padding: 12px 18px; border-radius: 999px; box-shadow: 0 12px 34px rgba(0,0,0,.4); margin-bottom: 18px; }
.tag::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 7px rgba(255,255,255,.28); }

/* the answer card */
.answer { will-change: opacity, transform; position: absolute; left: max(24px, 6vw); bottom: 9vh; width: min(430px, calc(100% - 48px)); background: #fff; color: var(--ink); border-radius: 30px; padding: 26px 28px 24px; box-shadow: 0 40px 100px rgba(0,0,0,.55); opacity: 0; transform: translateY(40px); transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .9s cubic-bezier(.16, 1, .3, 1); }
.answer.on { opacity: 1; transform: none; }
.answer-name { font: 700 20px/1.2 var(--display); letter-spacing: -0.02em; }
.answer-num { font: 700 clamp(80px, 8.6vw, 112px)/.9 var(--display); letter-spacing: -0.05em; margin: 14px 0 6px; font-variant-numeric: tabular-nums; }
.answer-num small { font: 600 20px/1 var(--body); letter-spacing: 0; margin-left: 6px; color: #4A4A55; }
.answer-was { min-height: 22px; font-size: 14px; font-weight: 600; color: var(--purple); opacity: 0; transition: opacity .4s; }
.answer-was.on { opacity: 1; }
.answer-note { margin-top: 12px; border: 1.5px solid #E2DEEA; border-radius: 14px; padding: 13px 15px; font-size: 16px; min-height: 50px; }
.answer-note .ph { color: #9A97A6; }
.answer-note .caret { display: inline-block; width: 2px; height: 1.05em; vertical-align: -2px; background: var(--purple); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.plate-say { position: absolute; right: max(24px, 6vw); bottom: 11vh; max-width: 460px; text-align: right; opacity: var(--say, 0); transform: translateY(calc((1 - var(--say, 0)) * 24px)); }
.plate-say h2 { font-size: clamp(44px, 5.4vw, 84px); }
.plate-say p { color: rgba(255,255,255,.78); margin: 18px 0 0; font-size: 19px; }
@media (max-width: 860px) {
  /* Phones: the narrow screen used to keep mostly rice. Slide the photo right and down a
     little so the steak sits in view above the headline; tags use --mx and follow it. */
  /* The photo itself ends at the top of the steak: lower it a touch and fade the gap into
     the night so the whole steak shows under the header, with less plate below. */
  .plate-box { left: calc(50% + 22vw); top: 6vh; transform-origin: 54% 0%; }
  .plate-stage::before { content: ""; position: absolute; inset: 0 0 auto; height: 12vh; z-index: 1; pointer-events: none;
    background: linear-gradient(var(--night) 50%, transparent); }
  .tag[data-at=".38"] { top: 38% !important; } /* rice label stays above the answer card */
  .cue { display: none; } /* a phone already says "scroll"; the hint only clutters it */
  /* No scroll bar on phones: they show a thin one only while moving anyway. */
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }
  .tag { left: var(--mx, var(--x)); }
  .answer { left: 50%; transform: translate(-50%, 40px); bottom: 4vh; padding: 20px 22px; border-radius: 24px; }
  .answer.on { transform: translate(-50%, 0); }
  .answer-num { font-size: 76px; }
  .plate-say { left: 24px; right: 24px; top: 12vh; bottom: auto; text-align: left; }
  .finder { inset: calc(env(safe-area-inset-top) + 76px) 5% 5% 5%; } /* the whole screen, like a camera */
  /* Fast scrolling on phones: a live blur behind the header and a corner radius that changes
     every frame both make the browser repaint large areas, which stutters. Solid header, still
     corners; the sink-back scale stays. */
  .top.solid { background: rgba(13, 10, 20, .95); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .plate-stage { border-radius: 0; }
}

/* ── 2. THE APP (pinned, steps through screens) ─────────── */
/* The app scene slides up over the held "Snap. Check. Eat." — no empty gap between them. */
.show { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; background: var(--night); border-radius: 36px 36px 0 0; box-shadow: 0 -30px 80px rgba(0,0,0,.55); }
.show-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 1fr auto; gap: 7vw; align-items: center; padding-top: 68px; width: min(1200px, 100% - 48px); margin-inline: auto; }
.chapters { position: relative; height: 64vh; }
.chapter { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .9s cubic-bezier(.16, 1, .3, 1); will-change: opacity, transform; pointer-events: none; }
.chapter.on { opacity: 1; transform: translate3d(0, 0, 0); pointer-events: auto; transition-delay: .12s; }
.chapter .idx { font: 600 14px/1 var(--body); color: var(--faint); letter-spacing: .08em; font-variant-numeric: tabular-nums; margin-bottom: 28px; }
.chapter .idx b { color: #fff; font-weight: 600; }
.chapter h2 { font-size: clamp(48px, 6.4vw, 100px); max-width: 9.5ch; }
.chapter p { font-size: clamp(18px, 1.5vw, 21px); color: var(--mute); max-width: 25em; margin: 26px 0 0; }
.rail { position: absolute; left: 0; bottom: 0; display: flex; gap: 6px; }
.rail span { width: 20px; height: 3px; border-radius: 3px; background: var(--rule); transition: background .4s, width .4s; }
.rail span.on { width: 44px; background: #fff; }

.phone-col { position: relative; width: min(380px, calc((100svh - 130px) * .4613)); }
.phone { position: relative; width: 100%; border-radius: 14% / 6.5%; padding: 3.4%; background: linear-gradient(145deg, #2B2534, #0B090F); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), 0 50px 120px rgba(0,0,0,.6); }
.screen { position: relative; width: 100%; aspect-ratio: 1179 / 2556; border-radius: 11.6% / 5.4%; /* exactly the screenshot's shape, so nothing is cropped */ overflow: hidden; background: #000; }
.zoomer { position: absolute; inset: 0; }
.zoomer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .7s cubic-bezier(.4, 0, .2, 1); will-change: opacity; }
.zoomer img.on { opacity: 1; }
/* The lens: everything except the point of this step goes quiet. */
.lens { position: absolute; border-radius: 14px; box-shadow: 0 0 0 200vmax rgba(8, 6, 14, .6); outline: 2px solid #fff; outline-offset: 4px; transition: top .9s cubic-bezier(.16, 1, .3, 1), left .9s cubic-bezier(.16, 1, .3, 1), width .9s cubic-bezier(.16, 1, .3, 1), height .9s cubic-bezier(.16, 1, .3, 1), opacity .6s; pointer-events: none; }
.lens.off { opacity: 0; }
.glow { position: absolute; inset: -25% -60%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(123,47,247,.4), transparent 75%); transition: background 1s; }
.glow.usf { background: radial-gradient(closest-side, rgba(0,103,71,.55), transparent 75%); }
@media (max-width: 860px) {
  .show-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 18px; align-items: start; padding-top: 84px; }
  .phone-col { grid-row: 1; justify-self: center; width: min(56vw, 46vh); }
  .chapters { grid-row: 2; height: auto; min-height: 30vh; }
  .chapter { justify-content: flex-start; }
  .chapter .idx { margin-bottom: 10px; }
  .chapter h2 { font-size: clamp(32px, 8.6vw, 46px); max-width: none; }
  .chapter p { margin-top: 10px; font-size: 16px; }
  .rail { display: none; }
}

/* ── 3. PREMIUM ─────────────────────────────────────────── */
.premium { position: relative; padding: 18vh 0 16vh; background: radial-gradient(55% 45% at 78% 30%, rgba(123,47,247,.28), transparent 70%), radial-gradient(40% 40% at 10% 90%, rgba(247,47,123,.12), transparent 70%), var(--night); }
.prem-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 6vw; align-items: start; }
.premium h2 { font-size: clamp(52px, 6.8vw, 112px); }
.prem-lede { font-size: 20px; color: rgba(255,255,255,.78); margin: 26px 0 0; }
.prem-side { position: sticky; top: 100px; }
.prem-phone { position: relative; width: min(340px, 100%); margin-inline: auto; }

/* perks: four glass tiles */
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.perk { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 3px; align-items: center; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background .35s, border-color .35s, transform .35s cubic-bezier(.16,1,.3,1); }
.perk:hover { background: rgba(255,255,255,.07); transform: translateY(-2px); }
.perk.on { background: linear-gradient(160deg, rgba(123,47,247,.28), rgba(247,47,123,.12)); border-color: rgba(185,139,255,.55); box-shadow: 0 20px 50px rgba(123,47,247,.2); }
.perk-ic { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.perk.on .perk-ic { background: var(--grad); }
.perk-ic svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.perk b { font: 600 16px/1.25 var(--body); color: #fff; }
.perk span { font-size: 14px; line-height: 1.35; color: var(--mute); }
.perk:focus-visible, .plan:focus-visible { outline: 3px solid #B98BFF; outline-offset: 3px; }

/* plans: three cards; the chosen one gets the brand edge */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.plan { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: flex; flex-direction: column; padding: 22px 20px 20px; border-radius: 24px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); transition: transform .4s cubic-bezier(.16,1,.3,1), background .35s, box-shadow .4s; min-height: 210px; }
.plan:hover { transform: translateY(-3px); background: rgba(255,255,255,.06); }
.plan.on { background: linear-gradient(var(--night), var(--night)) padding-box, linear-gradient(140deg, #B98BFF, #F72F7B) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 70px rgba(123,47,247,.3), inset 0 0 60px rgba(123,47,247,.14); transform: translateY(-4px); }
.plan-tag { font-style: normal; align-self: flex-start; font: 700 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); margin-bottom: 14px; }
.plan.on .plan-tag { background: var(--grad); color: #fff; }
.plan b { font: 600 16px/1.2 var(--body); color: rgba(255,255,255,.85); }
.plan strong { font: 700 clamp(34px, 3.2vw, 46px)/1 var(--display); letter-spacing: -0.04em; margin-top: auto; padding-top: 14px; }
.plan.on strong { background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan span { font-size: 14px; color: var(--mute); margin-top: 6px; }
.plan small { font-size: 13px; color: rgba(255,255,255,.85); margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.tick { position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); transition: all .3s; }
.plan.on .tick { border-color: transparent; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237B2FF7' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* the button they should want to press */
.trial { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; margin-top: 28px; padding: 22px 28px; border-radius: 999px; background: var(--grad); color: #fff; font: 700 19px/1 var(--body); text-decoration: none; box-shadow: 0 20px 50px rgba(247,47,123,.32), 0 10px 30px rgba(123,47,247,.35), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s; }
.trial svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.trial:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 26px 60px rgba(247,47,123,.42), 0 14px 36px rgba(123,47,247,.45), inset 0 1px 0 rgba(255,255,255,.35); }
.trial:hover svg { transform: translateX(4px); }
.trial::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: 0; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(-150%) skewX(-20deg); animation: shine 3.6s ease-in-out infinite 1s; }
/* transform, not left: a moving `left` re-lays out and repaints the button every frame, which
   stutters phone scrolling; a transform runs on the GPU. Same path: -60% → 130% of the button. */
@keyframes shine { 0% { transform: translateX(-150%) skewX(-20deg); } 35%, 100% { transform: translateX(325%) skewX(-20deg); } }
.trial-terms { text-align: center; font-size: 15px; color: rgba(255,255,255,.82); margin: 14px 0 0; }
.free { font-size: 15px; color: var(--mute); margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--rule); }
.free strong { color: #fff; }
.fine { font-size: 12.5px; color: var(--faint); margin: 12px 0 0; }
.pop { animation: pop .5s cubic-bezier(.16,1,.3,1); }
@keyframes pop { from { opacity: .25; transform: translateY(6px); } }
@media (max-width: 960px) {
  .prem-grid { grid-template-columns: 1fr; }
  .prem-side { position: relative; top: 0; order: -1; }
  .prem-phone { width: min(240px, 62%); }
  .plans { grid-template-columns: 1fr; }
  .plan { min-height: 0; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "tag tag" "name price" "every price" "small small"; column-gap: 12px; padding: 18px 20px; }
  .plan-tag { grid-area: tag; justify-self: start; margin-bottom: 10px; }
  .plan b { grid-area: name; }
  .plan strong { grid-area: price; padding-top: 0; align-self: center; margin-right: 34px; }
  .plan span { grid-area: every; margin-top: 2px; }
  .plan small { grid-area: small; }
  .tick { top: 50%; transform: translateY(-50%); }
}
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }

/* ── 4. QUESTIONS ───────────────────────────────────────── */
.faq-sec { padding: 16vh 0 10vh; border-top: 1px solid var(--rule); }
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6vw; align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head h2 { font-size: clamp(46px, 5.4vw, 88px); }
.faq-head p { color: var(--mute); margin: 22px 0 0; }
.faq-head a { color: #fff; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; padding: 26px 0; font: 600 clamp(19px, 1.6vw, 23px)/1.3 var(--display); letter-spacing: -0.015em; color: rgba(255,255,255,.9); transition: color .3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { font: 500 13px/1 var(--body); font-style: normal; color: var(--faint); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.faq-item summary::after { content: ""; justify-self: end; width: 18px; height: 18px; background: linear-gradient(#fff, #fff) center / 18px 2px no-repeat, linear-gradient(#fff, #fff) center / 2px 18px no-repeat; transition: transform .45s cubic-bezier(.16,1,.3,1); opacity: .7; }
.faq-item[open] summary::after { transform: rotate(135deg); opacity: 1; }
.faq-item summary:hover { color: #fff; }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 40px 28px 44px; color: var(--mute); font-size: 17px; max-width: 40em; }
.faq-a a { color: #fff; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 32px; } .faq-head { position: relative; top: 0; } .faq-a p { padding-right: 0; } }

/* ── 5. YOUR SCHOOL ─────────────────────────────────────── */
.school { padding: 12vh 0 14vh; }
.school-in { position: relative; text-align: center; padding: clamp(40px, 7vw, 96px) clamp(20px, 5vw, 72px); border-radius: 40px; overflow: hidden; background: radial-gradient(80% 120% at 50% 0%, rgba(123,47,247,.35), transparent 60%), radial-gradient(60% 100% at 50% 120%, rgba(247,47,123,.2), transparent 60%), #120D1C; border: 1px solid rgba(255,255,255,.08); }
.school h2 { font-size: clamp(44px, 6vw, 96px); }
.request-sub { color: rgba(255,255,255,.78); font-size: 19px; margin: 22px auto 0; max-width: 32em; }
.request-form { margin: 40px auto 0; max-width: 760px; }
.request-fields { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.request-field { display: block; }
.request-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.request-input { all: unset; box-sizing: border-box; width: 100%; height: 56px; padding: 0 22px; border-radius: 999px; font: 400 17px/1 var(--body); color: #fff; text-align: left; cursor: text; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); transition: background .2s, box-shadow .2s; }
.request-input::placeholder { color: rgba(255,255,255,.55); }
.request-input:hover { background: rgba(255,255,255,.11); box-shadow: inset 0 0 0 1px rgba(255,255,255,.34); }
.request-input:focus { background: rgba(255,255,255,.13); box-shadow: inset 0 0 0 2px #B98BFF; }
.request-input.is-invalid { box-shadow: inset 0 0 0 1.5px #FF6B6B; }
.request-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn { all: unset; box-sizing: border-box; cursor: pointer; height: 56px; padding: 0 28px; border-radius: 999px; background: #fff; color: var(--ink); font: 600 17px/1 var(--body); display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.btn:hover { transform: scale(1.03); }
.btn:focus-visible { outline: 3px solid #B98BFF; outline-offset: 3px; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(21,18,28,.3); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.request-status { margin: 16px 0 0; font-weight: 600; min-height: 1.4em; font-size: 17px; }
.request-status.is-error { color: #FF8A8A; }
.request-status.is-success { color: #7BE3A4; }
.request-note { font-size: 13px; color: var(--faint); margin: 6px auto 0; max-width: 40em; }
.request-form.is-done .request-fields { display: none; }
@media (max-width: 760px) { .request-fields { grid-template-columns: 1fr; border-radius: 26px; } .btn { width: 100%; } }

/* ── 6. WHO MADE IT ─────────────────────────────────────── */
.story-sec { padding: 0 0 14vh; }
.story { display: flex; gap: 20px; align-items: flex-start; max-width: 760px; margin-inline: auto; padding-top: 32px; border-top: 1px solid var(--rule); }
.story img { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.story p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--mute); }
.story b { color: #fff; font-weight: 600; }

/* ── 5. THE LAST WORD ───────────────────────────────────── */
.end { position: relative; overflow: hidden; padding: 24vh 0 20vh; text-align: center; }
.end > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* A dark layer instead of filter: brightness() — a full-screen filtered photo is costly to
   redraw while a phone scrolls. Same darkness (brightness .28 ≈ 72% black). */
.end::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.72); pointer-events: none; }
.end .wrap { position: relative; z-index: 1; }
.end h2 { font-size: clamp(54px, 9.6vw, 156px); max-width: 10ch; margin-inline: auto; }
.end p { font-size: 20px; color: rgba(255,255,255,.8); margin: 28px 0 36px; }
.end .badges { justify-content: center; }
.foot { background: var(--night); color: var(--mute); padding: 48px 0 40px; font-size: 15px; border-top: 1px solid var(--rule); }
.foot-row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: #fff; }
.foot-small { margin: 28px 0 0; font-size: 13px; color: var(--faint); }

/* ── Reduced motion: no pinning, no movement; JS shows every step's end state ── */
.still .plate { height: auto; }
.still .show { margin-top: 0; border-radius: 0; }
.still .plate-stage { position: relative; }
.still .show { height: auto !important; }
.still .show-stage { position: relative; height: auto; padding: 12vh 0; }
.still *, .still *::before, .still *::after { transition: none !important; animation: none !important; }
@media (max-width: 600px) { .wrap, .show-stage { width: calc(100% - 32px); } body { font-size: 16px; } }

/* Link jumps: a quick dark veil while the page moves underneath, so long jumps never flash through the story */
.veil { position: fixed; inset: 0; z-index: 70; background: var(--night); opacity: 0; pointer-events: none; transition: opacity .28s cubic-bezier(.4,0,.2,1); }
.veil.on { opacity: 1; }

/* Hidden layers of the plate scene must never sit on top of the hero's store buttons. */
.answer:not(.on), .plate-say, .finder, .tag:not(.on), .plate-shade, .plate-dim, .cue { pointer-events: none; }
.free.webbuy { margin-top: 22px; }
.free.webbuy + .free { margin-top: 14px; padding-top: 0; border-top: 0; }
.free a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
