:root {
  --bg: #f4f3ef;
  --ink: #0e0f13;
  --ink-2: rgba(14, 15, 19, 0.66);
  --ink-3: rgba(14, 15, 19, 0.46);
  --line: rgba(14, 15, 19, 0.08);
  --line-2: rgba(14, 15, 19, 0.14);
  --surface: rgba(255, 255, 255, 0.72);
  --surface-2: rgba(14, 15, 19, 0.035);
  --glass: rgba(255, 255, 255, 0.6);

  --electric: oklch(0.86 0.17 92);
  --amber: oklch(0.62 0.15 68);
  --red: oklch(0.58 0.21 27);
  --blue: oklch(0.58 0.17 255);
  --safe: oklch(0.6 0.16 155);
  --caution: oklch(0.68 0.16 70);
  --risk: oklch(0.58 0.21 27);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(20, 20, 40, 0.04), 0 24px 60px -28px rgba(20, 20, 50, 0.22);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font: 500 0.86em var(--mono); background: var(--surface-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
em { font-style: normal; color: var(--amber); font-weight: 600; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); letter-spacing: -0.03em; font-weight: 700; }
p { margin: 0; }
::selection { background: oklch(0.9 0.15 95); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

/* ---------- Stage layers ---------- */
.backdrop {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60vw 55vh at 78% 30%, rgba(255, 205, 70, 0.32), transparent 70%),
    radial-gradient(55vw 60vh at 8% 92%, rgba(120, 165, 255, 0.26), transparent 70%),
    radial-gradient(45vw 45vh at 2% 2%, rgba(255, 150, 170, 0.18), transparent 70%),
    var(--bg);
}
#stage {
  position: fixed; inset: 0; z-index: 1;
  width: 100%; height: 100vh; height: 100lvh;
  pointer-events: none; display: block;
  opacity: 0; transition: opacity 0.9s var(--ease);
}
.stage-ready #stage { opacity: 1; }
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer { position: relative; z-index: 3; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 1px var(--line), var(--shadow);
}

/* ---------- Dock ---------- */
.dock {
  position: fixed; z-index: 10; top: 16px; left: 50%; translate: -50% 0;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px var(--line), 0 10px 30px -12px rgba(20, 20, 50, 0.2);
  transition: background 0.4s var(--ease);
  width: max-content; max-width: calc(100vw - 32px);
}
.dock.scrolled { background: rgba(255, 255, 255, 0.78); }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 800 18px var(--font-display); letter-spacing: -0.02em; }
.dock-links { display: flex; gap: 2px; margin: 0 8px 0 18px; }
.dock-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color 0.2s, background 0.2s; }
.dock-links a:hover { color: var(--ink); background: var(--surface-2); }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font: 600 16px var(--font); letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.3s;
}
.btn:active { transform: scale(0.96); transition-duration: 0.1s; }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 17px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #2a2b31, #0e0f13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 26px -10px rgba(14, 15, 19, 0.55);
}
.btn-primary svg { color: var(--electric); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 34px -10px rgba(14, 15, 19, 0.6); }
.btn-ghost { background: rgba(255, 255, 255, 0.7); box-shadow: 0 0 0 1px var(--line-2), 0 4px 14px -8px rgba(20, 20, 50, 0.25); }
.btn-ghost:hover { background: #fff; }

/* ---------- Waitlist ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.waitlist {
  display: flex; gap: 6px; padding: 6px; margin-top: 34px; max-width: 500px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 0 1px var(--line-2), 0 14px 34px -18px rgba(20, 20, 50, 0.35);
  transition: box-shadow 0.3s var(--ease);
}
.waitlist:focus-within { box-shadow: 0 0 0 2px var(--ink), 0 14px 34px -18px rgba(20, 20, 50, 0.35); }
.waitlist input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none;
  padding: 0 6px 0 18px; font: 500 16px var(--font); color: var(--ink);
}
.waitlist input::placeholder { color: var(--ink-3); }
.waitlist .btn { --h: 46px; flex: none; }
.waitlist.invalid { animation: shake 0.42s var(--ease); box-shadow: 0 0 0 2px var(--risk), 0 14px 34px -18px rgba(20, 20, 50, 0.35); }
.waitlist.busy .btn { opacity: 0.7; pointer-events: none; }
.waitlist.done { box-shadow: 0 0 0 2px var(--safe), 0 14px 34px -18px rgba(20, 20, 50, 0.35); }
.waitlist.done .btn { background: linear-gradient(180deg, oklch(0.66 0.16 155), oklch(0.56 0.16 155)); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.wl-note { margin-top: 12px; padding-left: 20px; font-size: 13.5px; color: var(--ink-3); }
.wl-note.ok { color: oklch(0.45 0.13 155); }
.wl-note.err { color: var(--risk); }
.fine a, .inline-link, .footer-mail { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.fine a:hover, .inline-link:hover, .footer-mail:hover { text-decoration-color: currentColor; }
.footer-mail { font-size: 14px; white-space: nowrap; }

/* ---------- Type ---------- */
.display { font-size: clamp(44px, 6vw, 96px); line-height: 0.96; font-weight: 800; letter-spacing: -0.045em; }
.title { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.04em; }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 54ch; }
.kicker { font: 700 12.5px var(--font); text-transform: uppercase; letter-spacing: 0.14em; color: var(--amber); margin-bottom: 14px; }
.center { text-wrap: balance; text-align: center; margin-left: auto; margin-right: auto; justify-content: center; }
.holo-text {
  background: linear-gradient(100deg, #e9a100 0%, #ff7a2f 16%, #ff4f8b 32%, #9b5cff 50%, #4f7dff 62%, #9b5cff 74%, #ff4f8b 88%, #e9a100 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: holo 9s linear infinite;
}
@keyframes holo { to { background-position: -220% 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px; margin-bottom: 28px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  background: rgba(255, 255, 255, 0.7); box-shadow: 0 0 0 1px var(--line);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: oklch(0.78 0.17 85); box-shadow: 0 0 0 3px oklch(0.86 0.17 92 / 0.35); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px oklch(0.86 0.17 92 / 0); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; touch-action: pan-y; cursor: grab; }
.hero:active { cursor: grabbing; }
.hero-inner { padding-top: 110px; padding-bottom: 80px; }
.hero-copy { max-width: 680px; cursor: auto; }
.hero h1 { margin-bottom: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 48px); margin: 52px 0 0; padding-top: 26px; border-top: 1px solid var(--line-2); }
.hero-stats dt { font: 700 30px var(--font-display); letter-spacing: -0.03em; }
.hero-stats dt small { font-size: 16px; margin-left: 2px; color: var(--ink-2); }
.hero-stats dd { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-3); }

/* Grader switcher (under the slab) */
.grader-switch {
  position: absolute; left: 72%; bottom: 30px; translate: -50% 0;
  display: grid; justify-items: center; gap: 10px; cursor: auto;
}
.grader-tabs { display: flex; gap: 4px; padding: 5px; border-radius: 999px; }
.grader-tabs button {
  position: relative; display: grid; gap: 1px; text-align: left;
  padding: 7px 16px 8px; border-radius: 999px; overflow: hidden;
  transition: background 0.4s var(--ease), color 0.3s;
}
.grader-tabs b { font: 800 13px var(--font); letter-spacing: 0.02em; white-space: nowrap; }
.grader-tabs small { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.grader-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.grader-tabs button[aria-selected="true"] small { color: rgba(255, 255, 255, 0.65); }
.grader-tabs button::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--electric); transform: scaleX(0); transform-origin: left;
}
.autoplay .grader-tabs button[aria-selected="true"]::after { animation: progress var(--cycle, 6s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.drag-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--line-2); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--ink-2); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0;
  background: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 700 18px var(--font-display); color: var(--ink-3); letter-spacing: -0.01em; white-space: nowrap; }
.marquee i { width: 6px; height: 6px; border-radius: 50%; background: oklch(0.78 0.17 85); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Story ---------- */
.step { min-height: 110vh; display: flex; align-items: center; }
.step-card { position: relative; max-width: 470px; padding: clamp(26px, 3vw, 38px); border-radius: var(--r-xl); }
.step-right .step-card { margin-left: auto; }
.step-no { position: absolute; top: 26px; right: 30px; font: 500 13px var(--mono); color: var(--ink-3); }
.step h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.04; margin-bottom: 16px; text-wrap: balance; }
.step p:not(.kicker) { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { font: 500 13px var(--mono); padding: 6px 11px; border-radius: 8px; border: 1px solid; }
.chip-risk { color: oklch(0.5 0.19 27); border-color: oklch(0.58 0.21 27 / 0.3); background: oklch(0.58 0.21 27 / 0.07); }
.chip-caution { color: oklch(0.52 0.13 65); border-color: oklch(0.68 0.16 70 / 0.35); background: oklch(0.8 0.15 80 / 0.12); }
.strike { text-decoration: line-through; text-decoration-thickness: 1.5px; }

.cert-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 24px; padding: 16px 18px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.7); box-shadow: 0 0 0 1px var(--line);
}
.cert-label { display: block; font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; }
.cert-id { font: 700 22px var(--mono); letter-spacing: 0.04em; }
.cert-row a { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cert-row a:hover { color: var(--ink); }
.cert-side { display: grid; justify-items: end; gap: 6px; }
.pill { font: 600 12px var(--font); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.pill-safe { color: oklch(0.45 0.13 155); background: oklch(0.6 0.16 155 / 0.12); border: 1px solid oklch(0.6 0.16 155 / 0.3); }
.pill-risk { color: oklch(0.5 0.19 27); background: oklch(0.58 0.21 27 / 0.08); border: 1px solid oklch(0.58 0.21 27 / 0.3); font-family: var(--mono); }

.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px var(--line); font-size: 15px; }
.checks span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 800; flex: none; color: #fff; }
.ok { background: var(--safe); }
.bad { background: var(--risk); }

.meters { display: grid; gap: 14px; margin-top: 22px; }
.meter { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14px; color: var(--ink-2); }
.meter b { font: 700 14px var(--mono); color: var(--ink); }
.meter i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--surface-2); position: relative; overflow: hidden; }
.meter i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--blue); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) 0.3s; }
.meter i.warn::after { background: linear-gradient(90deg, var(--caution), var(--risk)); }
.in .meter i::after { transform: scaleX(1); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.score-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.score-copy .lede { margin-top: 20px; }
.tiers { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; color: var(--ink-2); font-size: 15px; }
.tiers li { display: flex; align-items: baseline; gap: 10px; }
.tiers b { color: var(--ink); font: 700 15px var(--mono); min-width: 62px; }
.tier-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; transform: translateY(-1px); }
.tier-dot.safe { background: var(--safe); box-shadow: 0 0 0 3px oklch(0.6 0.16 155 / .18); }
.tier-dot.caution { background: var(--caution); box-shadow: 0 0 0 3px oklch(0.68 0.16 70 / .2); }
.tier-dot.risk { background: var(--risk); box-shadow: 0 0 0 3px oklch(0.58 0.21 27 / .18); }

/* Demo window */
.demo { border-radius: var(--r-xl); padding: 8px; }
.demo-chrome { display: flex; align-items: center; gap: 7px; padding: 10px 12px 14px; }
.demo-chrome > span { width: 11px; height: 11px; border-radius: 50%; background: rgba(14,15,19,.12); }
.demo-chrome > span:nth-child(1) { background: #ff5f57; }
.demo-chrome > span:nth-child(2) { background: #febc2e; }
.demo-chrome > span:nth-child(3) { background: #28c840; }
.ext-icon { display: grid; place-items: center; width: 28px; height: 28px; margin-left: 2px; border-radius: 8px; background: var(--ink); color: var(--electric); box-shadow: 0 0 0 3px oklch(0.86 0.17 92 / 0.4); }
.demo-url { margin-left: 12px; flex: 1; font: 500 12.5px var(--mono); color: var(--ink-3); padding: 7px 12px; border-radius: 10px; background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px var(--line); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.demo-url b { color: var(--ink-2); font-weight: 500; }
.demo-tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; margin: 0 8px 8px; border-radius: 14px; background: var(--surface-2); }
.demo-tabs button { position: relative; z-index: 1; padding: 9px 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); border-radius: 10px; transition: color .3s; }
.demo-tabs button[aria-selected="true"] { color: var(--ink); }
.tab-glider { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(20,20,40,.1), 0 0 0 1px var(--line); transition: transform .6s var(--ease); }

.listing { display: grid; grid-template-columns: 132px 1fr; gap: 20px; padding: 18px 16px 8px; }
.thumb {
  aspect-ratio: 3.31 / 5.38; border-radius: 12px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #fdfdfd, #e9ecf2); box-shadow: 0 0 0 1px var(--line-2), 0 10px 24px -14px rgba(20,20,50,.35);
}
.thumb::before, .thumb::after { content: ""; position: absolute; transition: all .5s var(--ease); }
.thumb.slab::before { left: 8%; right: 8%; top: 5%; height: 15%; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 2px #c8102e; content: "PSA · 10"; display: flex; align-items: center; justify-content: center; font: italic 900 10px var(--font); color: #c8102e; }
.thumb.slab::after { left: 12%; right: 12%; top: 24%; bottom: 6%; border-radius: 4px; background: var(--card) center / cover no-repeat; }
.thumb.pack { background: linear-gradient(135deg, #6b2fd6, #2fb0d6 40%, #ffd23f 70%, #e2552b); }
.thumb.pack::before { inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 2px, transparent 2px 8px); height: 7%; }
.thumb.pack::after { left: 25%; right: 25%; top: 35%; height: 24%; border-radius: 50%; background: radial-gradient(#fff9, transparent 70%); }
.thumb.cgc::before { left: 8%; right: 8%; top: 5%; height: 15%; border-radius: 4px; background: #0b2a5b; box-shadow: 0 0 0 1px var(--line); content: "CGC · 10"; display: flex; align-items: center; justify-content: center; font: 900 10px var(--font); color: #fff; }
.thumb.cgc::after { left: 12%; right: 12%; top: 24%; bottom: 6%; border-radius: 4px; background: var(--card) center / cover no-repeat; }
.crumbs { font-size: 12.5px; color: var(--ink-3); margin-bottom: 8px; line-height: 1.4; }
.crumbs b { font-weight: 600; color: var(--ink-2); }
.crumbs b.warn { color: var(--risk); }
.listing h3 { font: 600 18px/1.3 var(--font); letter-spacing: -0.01em; }
.price { font: 700 24px var(--font-display); margin: 10px 0 16px; letter-spacing: -0.02em; }

.pf-banner {
  --c: var(--risk);
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 10px 14px 10px 10px; border-radius: 14px;
  background: color-mix(in oklch, var(--c) 9%, white);
  border: 1px solid color-mix(in oklch, var(--c) 32%, transparent);
  transition: background .5s, border-color .5s, transform .4s var(--ease);
}
.pf-banner:active { transform: scale(.985); }
.pf-banner[data-tier="safe"] { --c: var(--safe); }
.pf-banner[data-tier="caution"] { --c: var(--caution); }
.ring { width: 38px; height: 38px; flex: none; rotate: -90deg; }
.ring circle { fill: none; stroke-width: 4; }
.ring-bg { stroke: rgba(14,15,19,.08); }
.ring-fg { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 100.53; stroke-dashoffset: 100.53; transition: stroke-dashoffset 1.1s var(--ease), stroke .5s; }
.pf-banner-text { flex: 1; display: grid; font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.pf-banner-text > b { font-size: 14.5px; color: color-mix(in oklch, var(--c) 85%, black); font-weight: 700; transition: color .5s; }
.pf-banner-text span b { color: var(--ink); font-family: var(--mono); }
.chev { color: var(--ink-3); transition: rotate .5s var(--ease); }
.pf-banner[aria-expanded="true"] .chev { rotate: 180deg; }

.drawer { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease); }
.drawer.closed { grid-template-rows: 0fr; }
.drawer-inner { overflow: hidden; min-height: 0; padding: 0 16px; }
.drawer:not(.closed) .drawer-inner { padding-bottom: 16px; }
.deductions { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.deductions li {
  display: grid; grid-template-columns: 66px 1fr; gap: 12px; align-items: baseline;
  padding: 11px 14px; border-radius: 12px; font-size: 14px; color: var(--ink-2);
  background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px var(--line);
  animation: rise .6s var(--ease) backwards;
}
.deductions li b { font: 700 14px var(--mono); color: var(--risk); white-space: nowrap; }
.deductions li.minor b { color: var(--caution); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.ai-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 10px; padding: 12px 14px; border-radius: 12px; font-size: 14px; color: var(--ink); background: linear-gradient(120deg, oklch(0.93 0.05 290), oklch(0.95 0.04 230)); box-shadow: 0 0 0 1px oklch(0.6 0.12 270 / .18); }
.ai-badge { flex: none; font: 700 10.5px var(--mono); padding: 3px 7px; border-radius: 6px; background: linear-gradient(120deg, #8b5cf6, #3b82f6); color: #fff; margin-top: 1px; }
.cert-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 10px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-2); font-size: 13.5px; color: var(--ink-2); }
.cert-card .cert-id { font-size: 16px; color: var(--ink); }
.cert-card a { font-weight: 700; color: var(--ink); white-space: nowrap; }
.cert-card a:hover { text-decoration: underline; }

/* ---------- Roadmap ---------- */
.roadmap .lede { margin-top: 18px; }
.road { position: relative; margin-top: clamp(44px, 6vw, 80px); --p: 0; }
.road ol { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(28px, 4vw, 48px); }
.road-line { position: absolute; left: 11px; top: var(--line-top, 16px); height: var(--line-h, 0);  width: 2px; border-radius: 2px; background: var(--line-2); }
.road-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, #ffb703, #ff4f8b 60%, #9b5cff); transform-origin: top; transform: scaleY(var(--p)); }

.phase { position: relative; display: grid; grid-template-columns: minmax(200px, 0.7fr) minmax(0, 1.3fr); gap: 20px clamp(24px, 4vw, 56px); align-items: start; padding-left: 56px; }
.node {
  position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); box-shadow: 0 0 0 2px var(--line-2); transition: box-shadow .6s var(--ease), background .6s var(--ease), transform .6s var(--ease);
}
.node::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--ink-3); transition: background .6s, transform .6s var(--ease); }
.phase.reached .node { box-shadow: 0 0 0 2px var(--ink); background: #fff; }
.phase.reached .node::after { background: var(--ink); }
.phase[data-state="now"] .node::after { background: oklch(0.78 0.17 85); animation: pulse 2s var(--ease) infinite; }
.phase[data-state="now"].reached .node { box-shadow: 0 0 0 2px oklch(0.78 0.17 85), 0 0 0 7px oklch(0.86 0.17 92 / 0.3); }

.phase-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, 0.75); box-shadow: 0 0 0 1px var(--line); }
.phase-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.phase[data-state="now"] .phase-pill { color: oklch(0.45 0.13 65); background: oklch(0.95 0.07 95); box-shadow: 0 0 0 1px oklch(0.78 0.17 85 / 0.5); }
.phase[data-state="now"] .phase-pill i { background: oklch(0.72 0.17 80); animation: pulse 2s var(--ease) infinite; }
.phase-meta h3, .phase-meta p { text-wrap: balance; }
.phase-meta h3 { margin-top: 14px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.08; }
.phase-meta p { margin-top: 10px; color: var(--ink-2); max-width: 34ch; }

.phase-card { list-style: none; margin: 0; padding: 8px; border-radius: var(--r-xl); display: grid; }
.phase-card li { display: flex; gap: 14px; align-items: center; padding: 14px 18px; font-size: 16px; line-height: 1.4; border-radius: var(--r-md); }
.phase-card li + li { box-shadow: 0 -1px 0 var(--line); }
.phase-card svg { flex: none; color: var(--ink-3); }
.phase[data-state="now"] .phase-card svg { color: oklch(0.7 0.17 80); }
.phase-card li:hover { background: rgba(255, 255, 255, 0.7); }

.steer {
  display: grid; grid-template-columns: 1fr auto auto; gap: 20px clamp(20px, 3vw, 40px); align-items: center;
  margin-top: clamp(48px, 7vw, 88px); padding: 22px 22px 22px 32px; border-radius: 999px;
}
.steer h3 { font-size: 20px; }
.steer p { margin-top: 2px; font-size: 14px; color: var(--ink-3); }
.steer-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.steer-chips button {
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  background: rgba(255, 255, 255, 0.8); box-shadow: 0 0 0 1px var(--line-2);
  transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.steer-chips button:hover { background: #fff; color: var(--ink); }
.steer-chips button:active { transform: scale(0.95); }
.steer-chips button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: 0 0 0 1px var(--ink), 0 8px 18px -8px rgba(14, 15, 19, .6); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq .title { margin-bottom: 40px; }
.faq-list { display: grid; gap: 10px; }
details { border-radius: var(--r-lg); padding: 0 24px; }
summary { list-style: none; cursor: pointer; padding: 22px 0; font: 600 18px var(--font); letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 24px/1 var(--font); color: var(--ink-3); transition: rotate .4s var(--ease); }
details[open] summary::after { rotate: 45deg; }
details p { color: var(--ink-2); padding-bottom: 22px; max-width: 68ch; }

/* ---------- CTA ---------- */
.cta { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.cta-inner { padding-top: 100px; padding-bottom: 100px; }
.cta-copy { max-width: 640px; }
.fine { color: var(--ink-3); font-size: 14px; margin-top: 18px; }

.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; background: rgba(250, 249, 246, .96); }
.footer-inner { display: flex; gap: 32px; align-items: flex-start; justify-content: space-between; }
.legal { color: var(--ink-3); font-size: 12.5px; max-width: 760px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }
.hero .reveal:nth-child(5) { transition-delay: .32s; }

.no-webgl #stage, .no-webgl .grader-switch { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .score-grid { grid-template-columns: 1fr; }
  .steer { grid-template-columns: 1fr; border-radius: var(--r-xl); padding: 26px; }
  .steer .btn { justify-self: start; }
}
@media (max-width: 820px) {
  .dock-links { display: none; }
  .dock { gap: 14px; }
  .hero { align-items: flex-start; }
  .hero-inner { padding-top: 96px; }
  .hero-inner { padding-bottom: 0; }
  .hero-stats, .hero .btn-ghost, .scroll-cue, .drag-hint { display: none; }
  .lede { font-size: 16px; }
  .grader-switch { left: 50%; bottom: 18px; }
  .grader-tabs button { padding: 7px 12px 8px; }
  .grader-tabs small { display: none; }
  .step { align-items: flex-end; padding-bottom: 7vh; min-height: 120vh; }
  .step-card, .step-right .step-card { margin: 0 auto; }
  .listing { grid-template-columns: 92px 1fr; gap: 14px; }
  .phase { grid-template-columns: 1fr; padding-left: 44px; }
  .phase-card li { padding: 12px 10px; font-size: 15px; }
  .footer-inner { flex-direction: column; }
  .cta { align-items: flex-start; }
  .cta-copy { padding-bottom: 48vh; }
  .waitlist .btn { padding: 0 18px; font-size: 15px; }
  .waitlist input { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
