/* =========================================================================
   GameAnalyzer.io — "Neon Night Highway / Arcade HUD"
   Hand-built design system. No frameworks, no build step.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --amber:        45 100% 55%;
  --orange:       25 95% 53%;
  --green:        148 78% 45%;
  --green-deep:   148 70% 32%;
  --red:          0 84% 62%;
  --cyan:         190 90% 55%;
  --bg:           224 26% 6%;
  --bg-2:         223 24% 8%;
  --surface:      222 22% 11%;
  --surface-2:    221 20% 14%;
  --line:         220 16% 22%;
  --line-soft:    220 16% 18%;
  --ink:          210 30% 96%;
  --ink-soft:     214 14% 72%;
  --ink-faint:    216 12% 52%;
  --grad-brand:   linear-gradient(135deg, hsl(var(--amber)), hsl(var(--orange)));
  --grad-safe:    linear-gradient(135deg, hsl(var(--green)), hsl(var(--cyan)));
  --grad-dark:    linear-gradient(165deg, hsl(var(--surface)), hsl(var(--bg-2)));
  --glow-amber:   0 0 0 1px hsl(var(--amber) / .25), 0 8px 30px -6px hsl(var(--amber) / .45);
  --glow-green:   0 0 0 1px hsl(var(--green) / .3), 0 8px 30px -6px hsl(var(--green) / .4);
  --shadow-card:  0 24px 60px -24px hsl(224 50% 2% / .9), 0 2px 0 0 hsl(0 0% 100% / .03) inset;
  --radius:       16px;
  --radius-sm:    10px;
  --maxw:         1180px;
  --font-display: "Chakra Petch", system-ui, sans-serif;
  --font-body:    "Manrope", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; width: 100%; }
body {
  font-family: var(--font-body);
  background: hsl(var(--bg));
  color: hsl(var(--ink));
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: hsl(var(--amber));
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker-logo {
  width: 28px; height: 28px; object-fit: contain; object-position: center 40%;
  border-radius: 8px; background: hsl(var(--surface));
  border: 1px solid hsl(38 42% 48% / .55);
  padding: 2px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }
::selection { background: hsl(var(--amber) / .85); color: hsl(var(--bg)); }

/* ---------- Atmospheric background ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx::before {
  content: ""; position: absolute; inset: -50%;
  background-image: radial-gradient(hsl(0 0% 100% / .025) 1px, transparent 1px);
  background-size: 3px 3px; opacity: .6;
}
.bg-fx .glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  animation: drift 24s ease-in-out infinite;
}
.bg-fx .g1 { width: 520px; height: 520px; top: -120px; left: -80px;
  background: radial-gradient(circle, hsl(var(--amber) / .22), transparent 70%); }
.bg-fx .g2 { width: 460px; height: 460px; top: 30%; right: -120px;
  background: radial-gradient(circle, hsl(var(--green) / .18), transparent 70%); animation-delay: -8s; }
.bg-fx .g3 { width: 600px; height: 600px; bottom: -180px; left: 30%;
  background: radial-gradient(circle, hsl(var(--orange) / .14), transparent 70%); animation-delay: -15s; }
.bg-fx .grid {
  position: absolute; left: 50%; bottom: -10%; width: 160%; height: 50%;
  transform: translateX(-50%) perspective(420px) rotateX(62deg);
  background-image:
    linear-gradient(hsl(var(--amber) / .12) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--amber) / .07) 1px, transparent 1px);
  background-size: 100% 42px, 60px 100%;
  mask-image: linear-gradient(to top, #000, transparent 75%);
  opacity: .5;
}
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(30px,-24px) scale(1.08); }
}

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
section { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: hsl(var(--amber));
  padding: 6px 12px; border: 1px solid hsl(var(--amber) / .3);
  border-radius: 100px; background: hsl(var(--amber) / .06);
}
.eyebrow.green { color: hsl(var(--green)); border-color: hsl(var(--green) / .3); background: hsl(var(--green) / .06); }
.eyebrow.engine-pill {
  color: hsl(var(--amber));
  border-color: hsl(var(--amber) / .4);
  background: linear-gradient(180deg, hsl(var(--amber) / .14), hsl(224 22% 8% / .55));
  padding: 8px 18px 8px 10px;
  gap: 10px;
  letter-spacing: .18em;
  box-shadow: 0 0 0 1px hsl(var(--amber) / .08), 0 10px 28px hsl(224 40% 4% / .45);
}
.eyebrow.engine-pill img {
  width: 22px; height: 22px; object-fit: cover; object-position: 50% 12%;
  border-radius: 6px;
  filter: drop-shadow(0 2px 6px hsl(25 95% 40% / .45));
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.05; letter-spacing: -.01em;
  margin: 18px 0 12px;
}
.section-head p { color: hsl(var(--ink-soft)); font-size: 17px; }
.center { text-align: center; margin-inline: auto; }
.section-head.center .kicker { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 14px 24px; border-radius: 12px; position: relative;
  transition: transform .15s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad-brand); color: hsl(var(--bg)); box-shadow: var(--glow-amber); }
.btn-primary:hover { box-shadow: 0 0 0 1px hsl(var(--amber)/.4), 0 14px 40px -8px hsl(var(--amber)/.6); transform: translateY(-2px); }
.hero-cta .btn-primary {
  background: linear-gradient(135deg, hsl(38 62% 46%), hsl(28 68% 42%));
  color: hsl(30 25% 10%);
  box-shadow: 0 0 0 1px hsl(38 50% 32% / .35), 0 8px 20px -10px hsl(28 70% 20% / .45);
}
.hero-cta .btn-primary:hover {
  background: linear-gradient(135deg, hsl(38 64% 50%), hsl(28 70% 45%));
  box-shadow: 0 0 0 1px hsl(38 55% 40% / .45), 0 10px 24px -10px hsl(28 70% 24% / .5);
}
.btn-safe { background: var(--grad-safe); color: hsl(var(--bg)); box-shadow: var(--glow-green); }
.btn-safe:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px hsl(var(--green)/.4), 0 14px 40px -8px hsl(var(--green)/.6); }
.btn-ghost { background: hsl(var(--surface)); color: hsl(var(--ink)); border: 1px solid hsl(var(--line)); }
.btn-ghost:hover { border-color: hsl(var(--amber) / .5); background: hsl(var(--surface-2)); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px);
  background: hsl(var(--bg) / .72);
  border-bottom: 1px solid hsl(var(--line-soft));
}
.site-header .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 66px;
  gap: 18px;
}
.header-spacer { display: block; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; justify-self: start; }
.brand .mark {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 120% at 30% 20%, hsl(25 90% 18% / .55), hsl(224 26% 7%));
  border: 1px solid hsl(var(--amber) / .22);
  box-shadow: 0 4px 14px -6px hsl(25 95% 40% / .35);
}
.brand .mark img { width: 42px; height: 42px; object-fit: cover; object-position: 50% 12%; display: block; }
.brand b { color: hsl(var(--amber)); }
.nav-links { display: flex; gap: 28px; margin: 0; justify-content: center; }
.nav-links a { font-size: 14px; color: hsl(var(--ink-soft)); font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: hsl(var(--ink)); }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: 12px; color: hsl(var(--green)); padding: 6px 11px; border-radius: 100px;
  border: 1px solid hsl(var(--green) / .25); background: hsl(var(--green) / .06);
}
.status-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--green)); box-shadow: 0 0 0 0 hsl(var(--green)/.6); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 hsl(var(--green)/.6);} 70%{ box-shadow: 0 0 0 7px hsl(var(--green)/0);} 100%{ box-shadow:0 0 0 0 hsl(var(--green)/0);} }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 40px; position: relative; overflow: visible; }
/* AI-generated ambient backdrop (Nano Banana Pro). Anchored right; left negative
   space + scrims keep the headline and live card fully legible. */
.hero-art {
  position: absolute; inset: -10% 0 0 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 88% 62%, hsl(38 90% 42% / .28), transparent 62%),
    radial-gradient(ellipse 40% 50% at 78% 80%, hsl(25 80% 28% / .22), transparent 70%),
    radial-gradient(ellipse 80% 80% at 100% 50%, hsl(224 26% 10% / .9), transparent 55%);
}
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, hsl(var(--bg)) 0%, hsl(var(--bg)/.5) 42%, hsl(var(--bg)/0) 72%),
    linear-gradient(0deg, hsl(var(--bg)) 0%, hsl(var(--bg)/.4) 22%, hsl(var(--bg)/0) 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; position: relative; z-index: 2; }
/* Peek from the right of the engine card; stay inside the viewport so the body isn't cropped */
.hero-mascot {
  position: absolute; z-index: 3; right: clamp(-64px, -5vw, -12px); bottom: -8px;
  width: clamp(210px, 24vw, 340px); height: auto; pointer-events: none;
  filter: drop-shadow(0 26px 28px hsl(var(--bg)/.9)) drop-shadow(0 4px 18px hsl(var(--amber)/.28));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-.4deg);} 50% { transform: translateY(-14px) rotate(.4deg);} }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.02em; margin: 22px 0 18px;
  overflow-wrap: break-word;
}
.hero h1 .hl { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .hl-g { color: hsl(var(--green)); }
.hero .lede { font-size: 18px; color: hsl(var(--ink-soft)); max-width: 520px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta .item { display: flex; flex-direction: column; }
.hero-meta .num { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: hsl(var(--ink)); }
.hero-meta .lbl { font-size: 12.5px; color: hsl(var(--ink-faint)); font-family: var(--font-mono); letter-spacing: .04em; }
.hero-meta .num.g { color: hsl(var(--green)); }

/* Hero card = mini live road preview */
.hero-card {
  background: var(--grad-dark); border: 1px solid hsl(var(--line)); border-radius: 20px;
  box-shadow: var(--shadow-card); padding: 20px; position: relative; overflow: hidden;
}
.hero-card .scanline { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(hsl(var(--green)/0), hsl(var(--green)/.05), hsl(var(--green)/0));
  height: 40%; animation: scan 3.4s linear infinite; }
@keyframes scan { 0% { transform: translateY(-110%);} 100%{ transform: translateY(260%);} }
.hud-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hud-top .ttl { font-family: var(--font-mono); font-size: 12px; color: hsl(var(--ink-faint)); letter-spacing: .1em; text-transform: uppercase; }
.hud-dots { display: flex; gap: 6px; }
.hud-dots i { width: 9px; height: 9px; border-radius: 50%; background: hsl(var(--line)); }
.hud-dots i:nth-child(1){ background: hsl(var(--red)/.8);} .hud-dots i:nth-child(2){ background: hsl(var(--amber)/.8);} .hud-dots i:nth-child(3){ background: hsl(var(--green)/.8);}

/* ---------- Road visualizer — live Chicken Road 2 tiles ---------- */
.road {
  --lanes: 8;
  position: relative; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, hsl(222 22% 9%), hsl(224 24% 6%));
  border: 1px solid hsl(var(--line));
  padding: 14px 12px 16px;
}
.lanes {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--lanes), 1fr);
  gap: 0;
  height: 168px;
}
.lane {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  border: none; border-right: 1px dashed hsl(var(--amber) / .12); border-radius: 0;
  background: none;
  box-shadow: none;
  transition: background .4s ease;
}
.lane:last-child { border-right: none; }

/* multiplier chip */
.lane .mult {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 3;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: -.02em;
  color: hsl(var(--ink-faint));
  background: hsl(var(--bg) / .72); padding: 2px 6px; border-radius: 6px;
  text-shadow: none; white-space: nowrap;
  transition: color .3s, transform .3s, background .3s, box-shadow .3s;
}

/* EXIT / CRASH tag */
.lane .tag {
  position: absolute; top: 32px; left: 50%; transform: translateX(-50%) translateY(-3px); z-index: 3;
  opacity: 0; pointer-events: none;
  font-family: var(--font-mono); font-size: 8px; letter-spacing: .12em; font-weight: 700;
  padding: 2px 5px; border-radius: 5px;
  transition: opacity .3s, transform .3s;
}
.lane.exit .tag, .lane.crash .tag { opacity: 1; transform: translateX(-50%) translateY(0); }
.lane.exit .tag  { color: hsl(var(--bg)); background: hsl(var(--green)); box-shadow: 0 0 12px hsl(var(--green) / .6); }
.lane.crash .tag { color: hsl(var(--bg)); background: hsl(var(--red));   box-shadow: 0 0 12px hsl(var(--red) / .55);
  animation: crashThrob 1.1s ease-in-out infinite; }

/* lane number */
.lane .no {
  position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); z-index: 3;
  font-family: var(--font-mono); font-size: 8px; color: hsl(var(--ink-faint) / .6);
  transition: color .3s;
}
.lane.safe .no, .lane.exit .no, .lane.cashed .no { color: hsl(var(--green) / .85); }
.lane.risk .no  { color: hsl(var(--amber) / .85); }
.lane.crash .no { color: hsl(var(--red) / .85); }

/* glowing floor strip */
.lane .floor {
  display: block;
  width: 70%; height: 5px; border-radius: 3px; margin-bottom: 14px;
  background: hsl(var(--line));
  transition: background .4s, box-shadow .4s;
}
/* vertical survival bar */
.lane .bar {
  display: block;
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  width: 46%; height: 16%; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, hsl(var(--ink-faint) / .45), hsl(var(--ink-faint) / .1));
  transition: height .6s cubic-bezier(.2,.8,.2,1), background .4s, box-shadow .4s;
}

/* ---- safe / cashed ---- */
.lane.safe, .lane.cashed {
  background: linear-gradient(180deg, transparent, hsl(var(--green) / .07));
}
.lane.safe .floor, .lane.cashed .floor {
  background: hsl(var(--green)); box-shadow: 0 0 12px hsl(var(--green) / .7);
}
.lane.safe .bar, .lane.cashed .bar {
  background: linear-gradient(180deg, hsl(var(--green) / .8), hsl(var(--green) / .16));
  box-shadow: 0 0 14px hsl(var(--green) / .4);
}
.lane.safe .mult, .lane.cashed .mult {
  color: hsl(var(--green)); background: hsl(var(--green) / .14);
  transform: translateX(-50%) translateY(-2px);
}

/* ---- exit (recommended cash-out) — brighter ---- */
.lane.exit { background: linear-gradient(180deg, transparent, hsl(var(--green) / .1)); }
.lane.exit .floor { background: hsl(var(--green)); box-shadow: 0 0 18px hsl(var(--green) / .9); }
.lane.exit .bar {
  background: linear-gradient(180deg, hsl(var(--green)), hsl(var(--green) / .22));
  box-shadow: 0 0 20px hsl(var(--green) / .6);
}
.lane.exit .mult {
  color: hsl(var(--bg)); background: hsl(var(--green)); font-weight: 700;
  box-shadow: 0 0 14px hsl(var(--green) / .6);
}

/* ---- risk zone — danger building between exit and crash ---- */
.lane.risk { background: linear-gradient(180deg, transparent, hsl(var(--amber) / .07)); }
.lane.risk .floor { background: hsl(var(--amber)); box-shadow: 0 0 10px hsl(var(--amber) / .55); }
.lane.risk .bar {
  background: linear-gradient(180deg, hsl(var(--amber) / .85), hsl(var(--amber) / .18));
  box-shadow: 0 0 12px hsl(var(--amber) / .4);
}
.lane.risk .mult { color: hsl(var(--amber)); background: hsl(var(--amber) / .13); }

/* ---- crash ---- */
.lane.crash { background: linear-gradient(180deg, transparent, hsl(var(--red) / .09)); }
.lane.crash .floor { background: hsl(var(--red)); box-shadow: 0 0 12px hsl(var(--red) / .7); }
.lane.crash .bar {
  background: linear-gradient(180deg, hsl(var(--red) / .9), hsl(var(--red) / .2));
  box-shadow: 0 0 14px hsl(var(--red) / .45);
  animation: crashBar 1.1s ease-in-out infinite;
}
.lane.crash .mult { color: hsl(var(--red)); background: hsl(var(--red) / .14); font-weight: 700; }

/* ---- dead zone — past the crash ---- */
.lane.dead { opacity: .5; background: none; }
.lane.dead .floor { background: hsl(var(--line) / .5); }
.lane.dead .bar { background: linear-gradient(180deg, hsl(var(--ink-faint) / .25), hsl(var(--ink-faint) / .05)); }
.lane.dead .mult { color: hsl(var(--ink-faint) / .7); }

@keyframes crashBar {
  0%,100% { box-shadow: 0 0 14px hsl(var(--red) / .45); }
  50%     { box-shadow: 0 0 26px hsl(var(--red) / .8); }
}
@keyframes crashThrob {
  0%,100% { transform: translateX(-50%) translateY(0) scale(1); }
  50%     { transform: translateX(-50%) translateY(0) scale(1.09); }
}

.lane .mark {
  position: absolute; top: 56px; left: 50%; transform: translateX(-50%) scale(.4); z-index: 3;
  opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s;
}
.lane.crash .mark { opacity: 1; transform: translateX(-50%) scale(1); }
.lane.exit .mark { opacity: 0; }
.mk-crash {
  display: block; width: 18px; height: 18px; margin: 0 auto;
  color: #fff; font-size: 18px; font-weight: 800; line-height: 18px; text-align: center;
  font-family: var(--font-display); text-shadow: 0 1px 2px hsl(0 0% 0% / .35);
}
.mk-exit { display: none; }

.runner {
  position: absolute; bottom: 20px; left: 6.25%;
  width: 56px; height: 56px; margin-left: -28px;
  object-fit: contain; max-width: none;
  z-index: 6; pointer-events: none;
  filter: drop-shadow(0 6px 8px hsl(var(--bg)/.7));
  transition: left .55s cubic-bezier(.22,.75,.28,1);
  will-change: left, transform;
}
.runner.moving { animation: bob .4s ease-in-out infinite; }
.runner.cashed { animation: none; transform: translateY(0); }
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

/* hero card live readout + legend */
.hud-readout { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 14px; }
.hud-readout .ro {
  display: flex; flex-direction: column; gap: 3px; padding: 8px 10px;
  border: 1px solid hsl(var(--line)); border-radius: 10px; background: hsl(var(--surface)/.5);
}
.hud-readout .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--ink-faint)); }
.hud-readout b { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: hsl(var(--ink)); }
.hud-readout b.g { color: hsl(var(--green)); } .hud-readout b.r { color: hsl(var(--red)); }
.hud-legend { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--font-mono); font-size: 12px; color: hsl(var(--ink-faint)); }
.hud-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.hud-legend i.dg { background: hsl(var(--green)); box-shadow: 0 0 8px hsl(var(--green)/.6); }
.hud-legend i.dr { background: hsl(var(--red)); box-shadow: 0 0 8px hsl(var(--red)/.6); }
.hud-legend .leg-chick { display: inline-flex; align-items: center; gap: 5px; }
.hud-legend .leg-chick img { width: 14px; height: 14px; object-fit: contain; }

/* ---------- Trust badges ---------- */
.trust { padding: 20px 0; border-block: 1px solid hsl(var(--line-soft)); background: hsl(var(--bg-2) / .65); position: relative; z-index: 4; }
.trust .wrap { display: flex; align-items: stretch; gap: 14px; flex-wrap: wrap; justify-content: center; }
.trust .badge { display: flex; align-items: center; gap: 11px; padding: 10px 15px;
  border: 1px solid hsl(var(--line) / .85); border-radius: 12px; background: hsl(var(--surface) / .72);
  transition: border-color .2s, transform .2s, background .2s; }
.trust a.badge:hover { border-color: hsl(var(--green)/.45); background: hsl(var(--surface-2)/.7); transform: translateY(-2px); }
.trust .badge > svg { width: 22px; height: 22px; flex-shrink: 0; opacity: .82; }
.trust .badge > span { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.trust .badge b { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: hsl(210 18% 82%); }
.trust .badge i { font-family: var(--font-mono); font-style: normal; font-size: 10.5px; color: hsl(216 10% 58%); letter-spacing: .01em; }
@media (max-width: 560px){
  .trust .wrap { gap: 8px; }
  .trust .badge { padding: 8px 12px; gap: 9px; }
  .trust .badge i { display: none; }   /* compact: just icon + label on phones */
}

/* ---------- Predictor tool ---------- */
.tool { padding: 80px 0; }
.live-ticker { display: inline-flex; align-items: center; gap: 8px; margin: 18px auto 0;
  font-family: var(--font-mono); font-size: 13px; color: hsl(var(--ink-soft));
  padding: 7px 14px; border: 1px solid hsl(var(--green)/.25); border-radius: 100px; background: hsl(var(--green)/.06); }
.live-ticker b { color: hsl(var(--green)); font-weight: 700; }
.live-ticker .ld { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--green));
  box-shadow: 0 0 0 0 hsl(var(--green)/.6); animation: ping 1.8s infinite; flex-shrink: 0; }
/* Conversion centerpiece — brand-gradient edge + warm glow so it reads as THE element */
.tool-card {
  background:
    linear-gradient(165deg, hsl(var(--surface)), hsl(var(--bg-2))) padding-box,
    linear-gradient(135deg, hsl(var(--amber)/.6), hsl(var(--green)/.45) 55%, hsl(var(--line))) border-box;
  border: 1px solid transparent; border-radius: 22px;
  box-shadow: var(--shadow-card), 0 0 80px -28px hsl(var(--amber)/.35);
  overflow: hidden; max-width: 980px; margin-inline: auto; position: relative;
}
.tool-head { padding: 26px 30px; border-bottom: 1px solid hsl(var(--line-soft));
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tool-head .t-ttl { font-family: var(--font-display); font-weight: 700; font-size: 21px; display: flex; align-items: center; gap: 10px; }
.tool-head .t-ttl .ai { font-family: var(--font-mono); font-size: 11px; padding: 3px 8px 3px 7px; border-radius: 6px;
  background: hsl(var(--green)/.12); color: hsl(var(--green)); border: 1px solid hsl(var(--green)/.3); letter-spacing: .08em;
  display: inline-flex; align-items: center; gap: 6px; }
.tool-head .t-ttl .ai::before { content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: hsl(var(--green)); box-shadow: 0 0 6px hsl(var(--green)); animation: ping 1.8s infinite; }
.credits { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px; color: hsl(var(--ink-soft)); }
.credits b { color: hsl(var(--amber)); }
.credits .pips { display: inline-flex; gap: 4px; }
.credits .pips i { width: 10px; height: 10px; border-radius: 3px; background: hsl(var(--line)); }
.credits .pips i.on { background: hsl(var(--amber)); box-shadow: 0 0 8px hsl(var(--amber)/.6); }

.tool-body { padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tool-body > div, .field, .hud { min-width: 0; }
@media (max-width: 820px){ .tool-body { grid-template-columns: 1fr; } }

.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: hsl(var(--ink-soft)); font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.field .input-row { display: flex; gap: 10px; min-width: 0; }
.field input[type=text],
.field input[type=email] {
  flex: 1; min-width: 0; padding: 14px 15px; border-radius: 12px;
  background: hsl(222 22% 11%);
  border: 1px solid hsl(var(--line));
  color: hsl(var(--ink));
  font-family: var(--font-mono); font-size: 15px;
  color-scheme: dark; -webkit-appearance: none; appearance: none;
  transition: border .2s, box-shadow .2s;
}
.field input[type=text]:focus,
.field input[type=email]:focus {
  outline: none; border-color: hsl(var(--amber)/.65);
  box-shadow: 0 0 0 3px hsl(var(--amber)/.14);
}
.field input::placeholder { color: hsl(var(--ink-faint)); }
.field input[type=text].locked,
.field input[type=email].locked {
  background: hsl(222 22% 13%); border-color: hsl(var(--amber)/.35); color: hsl(var(--ink));
  cursor: default; box-shadow: none; font-weight: 600;
}
.field input[type=text].locked:focus,
.field input[type=email].locked:focus { box-shadow: 0 0 0 3px hsl(var(--amber)/.1); }
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: hsl(var(--ink));
  caret-color: hsl(var(--ink));
  box-shadow: 0 0 0 1000px hsl(222 22% 11%) inset;
  transition: background-color 9999s ease-out;
}
.field .hint { font-size: 12.5px; color: hsl(var(--ink-faint)); margin-top: 9px; line-height: 1.5; }

.vol-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.vol-row .chip {
  flex: 1 1 calc(25% - 5px); min-width: 66px; text-align: center; padding: 9px 4px; border-radius: 10px; font-size: 12px; font-family: var(--font-mono);
  border: 1px solid hsl(var(--line)); color: hsl(var(--ink-soft)); background: hsl(var(--bg)/.4);
  transition: all .2s; position: relative;
}
.vol-row .chip.active { border-color: hsl(var(--amber)/.6); color: hsl(var(--amber)); background: hsl(var(--amber)/.08); }
.vol-row .chip.locked { opacity: .55; cursor: not-allowed; }
.vol-row .chip .lk {
  position: absolute; top: -8px; right: -7px;
  font-size: 8px; font-weight: 700; letter-spacing: .08em;
  padding: 2px 5px; border-radius: 6px;
  background: var(--grad-brand); color: hsl(var(--bg));
  box-shadow: 0 2px 8px hsl(var(--amber)/.4);
}

/* HUD readout panel */
.hud {
  background: hsl(var(--bg)/.7); border: 1px solid hsl(var(--line)); border-radius: 14px;
  padding: 18px; font-family: var(--font-mono); position: relative; overflow: hidden; min-height: 320px;
  display: flex; flex-direction: column;
}
.hud .scan { position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, hsl(var(--green)/.8), transparent);
  top: 0; animation: scanY 2.6s linear infinite; opacity: 0; }
.hud.scanning .scan { opacity: 1; }
@keyframes scanY { 0%{ top: 0;} 100%{ top: 100%;} }
.hud-line { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px dashed hsl(var(--line-soft)); font-size: 13px; }
.hud-line:last-child { border-bottom: none; }
.hud-line .k { color: hsl(var(--ink-faint)); }
.hud-line .v { color: hsl(var(--ink)); font-weight: 700; }
.hud-line .v.g { color: hsl(var(--green)); }
.hud-line .v.a { color: hsl(var(--amber)); }
.hud-line .v.r { color: hsl(var(--red)); }
.ai-scan { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 16px; min-height: 0; }
.ai-scan.idle { align-items: stretch; text-align: left; }
.ai-scan.idle b { font-family: var(--font-display); font-size: 18px; color: hsl(var(--ink)); }
.ai-scan.idle p { margin: 0; font-size: 13.5px; color: hsl(var(--ink-faint)); line-height: 1.5; }
.ai-scan-head b { display: block; font-family: var(--font-display); font-size: 16px; }
.ai-scan-head span { display: block; font-size: 13px; color: hsl(var(--ink-faint)); margin-top: 4px; }
.ai-mini-road { position: relative; }
.ai-mini-road::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, hsl(var(--green)/.12), transparent);
  height: 36%; animation: miniSweep 1.6s linear infinite; opacity: .7;
}
@keyframes miniSweep { 0% { transform: translateY(-80%); } 100% { transform: translateY(280%); } }
.ai-mini-chick {
  position: absolute; bottom: 10px; left: 6.25%;
  width: 38px; height: 38px; margin-left: -19px;
  object-fit: contain; max-width: none; z-index: 5; pointer-events: none;
  filter: drop-shadow(0 4px 6px hsl(var(--bg)/.7));
  transition: left .4s cubic-bezier(.22,.75,.28,1);
}
.ai-mini-chick.moving { animation: bob .4s ease-in-out infinite; }
.ai-mini-chick.cashed { animation: none; }
.ai-path {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; height: 108px;
  align-items: end;
}
.ai-path i {
  height: 22%;
  border-radius: 7px 7px 4px 4px; background: hsl(var(--surface-2));
  border: 1px solid hsl(var(--line)); position: relative;
  transition: background .3s, border-color .3s, box-shadow .3s, height .35s cubic-bezier(.2,.8,.2,1);
}
.ai-path.scan-live i.on,
.ai-path i.passed { height: 72%; }
.ai-path i.exit { height: 88%; }
.ai-path i.crash { height: 94%; }
.ai-scan-bar {
  height: 4px; border-radius: 4px; background: hsl(var(--line)); overflow: hidden;
}
.ai-scan-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, hsl(var(--green)), hsl(var(--amber)));
  transition: width .35s ease;
}
.ai-path i::after {
  content: attr(data-n); position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  font-size: 10px; color: hsl(var(--ink-faint)); font-family: var(--font-mono);
}
.ai-path i em {
  position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  font-size: 8px; font-style: normal; letter-spacing: -.02em;
  color: hsl(var(--ink-faint)); opacity: 0; transition: opacity .2s;
  white-space: nowrap;
}
.ai-path i.passed em, .ai-path i.on em, .ai-path i.exit em { opacity: 1; color: hsl(var(--green)); }
.ai-path i.crash em { opacity: 1; color: hsl(var(--red)); }
.ai-scan.lockin .ai-path i.exit {
  animation: lockPulse .55s ease;
}
@keyframes lockPulse {
  0%,100% { box-shadow: 0 0 14px hsl(var(--green)/.4); }
  50% { box-shadow: 0 0 28px hsl(var(--green)/.95); filter: brightness(1.25); }
}
.ai-path i.on { background: hsl(var(--amber)/.18); border-color: hsl(var(--amber)/.55); box-shadow: 0 0 12px hsl(var(--amber)/.25); }
.ai-path i.passed { background: hsl(var(--green)/.22); border-color: hsl(var(--green)/.45); }
.ai-path i.exit { background: hsl(var(--green)/.38); border-color: hsl(var(--green)/.75); box-shadow: 0 0 14px hsl(var(--green)/.4); }
.ai-path i.crash { background: hsl(var(--red)/.28); border-color: hsl(var(--red)/.7); box-shadow: 0 0 14px hsl(var(--red)/.35); }
.ai-path i.dead { opacity: .4; }
.ai-scan-meta { font-size: 11px; color: hsl(var(--ink-faint)); font-family: var(--font-mono); }
.ai-result { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ai-result-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: hsl(var(--amber)); }
.ai-result-hero { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.1; margin: 6px 0 16px; }
.ai-result-hero span { color: hsl(var(--green)); font-size: 22px; margin-left: 8px; }
.ai-result .ai-path { margin: 0 0 16px; }
.ai-result-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid hsl(var(--line-soft)); font-size: 13px; }
.ai-result-row span { color: hsl(var(--ink-faint)); }
.ai-result-row b.g { color: hsl(var(--green)); }
.ai-result-row b.r { color: hsl(var(--red)); }
.ai-result-cta {
  margin-top: auto;
  min-height: 52px;
  padding: 16px 24px;
  font-size: 16px;
  border-radius: 12px;
}
.meter { height: 7px; border-radius: 4px; background: hsl(var(--line)); overflow: hidden; margin-top: 4px; width: 110px; }
.meter > i { display: block; height: 100%; width: 0; background: var(--grad-safe); transition: width 1s ease; }
.typing::after { content: "▋"; color: hsl(var(--green)); animation: blink 1s steps(1) infinite; }
/* streaming engine log */
.hud-log { flex: 1; margin-top: 10px; display: flex; flex-direction: column; gap: 5px; overflow: hidden; }
.hud-log .log-line {
  font-family: var(--font-mono); font-size: 11.5px; line-height: 1.45; color: hsl(var(--green)/.85);
  opacity: 0; transform: translateY(4px); transition: opacity .25s ease, transform .25s ease;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 0 8px hsl(var(--green)/.3);
}
.hud-log .log-line.in { opacity: .9; transform: none; }
.hud-log .log-line:last-child::after { content: "▋"; animation: blink 1s steps(1) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }

.tool-foot { padding: 0 30px 30px; }
.road-wrap { margin-top: 8px; }
.road-wrap .road { --lanes: 8; }
.road-wrap .lanes { height: 196px; }
.disclaimer-mini { font-size: 12px; color: hsl(var(--ink-faint)); text-align: center; margin-top: 16px; font-family: var(--font-mono); }

/* ---------- Steps ---------- */
.steps { padding: 80px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step {
  background: var(--grad-dark); border: 1px solid hsl(var(--line)); border-radius: var(--radius);
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.step:hover { transform: translateY(-4px); border-color: hsl(var(--amber)/.35); }
.step .n {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: hsl(var(--amber)/.1); color: hsl(var(--amber)); border: 1px solid hsl(var(--amber)/.3); margin-bottom: 18px;
}
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin-bottom: 8px; }
.step p { color: hsl(var(--ink-soft)); font-size: 15px; }
.step .ghost-n { position: absolute; right: 14px; bottom: -18px; font-family: var(--font-display); font-weight: 700; font-size: 120px; color: hsl(var(--ink)/.03); line-height: 1; }

/* ---------- Features ---------- */
.features { padding: 80px 0; }
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feat {
  background: var(--grad-dark); border: 1px solid hsl(var(--line)); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feat:hover { transform: translateY(-4px); border-color: hsl(var(--green)/.3); box-shadow: var(--glow-green); }
.feat .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: hsl(var(--green)/.1); border: 1px solid hsl(var(--green)/.25); color: hsl(var(--green)); }
.feat .ic svg { width: 24px; height: 24px; }
/* Neon HUD line icons — bespoke SVG, draw-on as the card reveals. Each card a brand accent. */
.feat .ic.ic-hud { --ic: var(--green); width: 60px; height: 60px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: radial-gradient(120% 120% at 30% 20%, hsl(var(--ic)/.16), hsl(var(--ic)/.04));
  border: 1px solid hsl(var(--ic)/.35);
  box-shadow: 0 6px 22px -8px hsl(var(--ic)/.5), inset 0 1px 0 hsl(0 0% 100%/.06);
  color: hsl(var(--ic)); transition: transform .3s, box-shadow .3s; }
.feat-grid .feat:nth-child(1) .ic-hud { --ic: var(--amber); }
.feat-grid .feat:nth-child(2) .ic-hud { --ic: var(--cyan); }
.feat-grid .feat:nth-child(3) .ic-hud { --ic: var(--green); }
.feat .ic.ic-hud svg { width: 34px; height: 34px; fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px hsl(var(--ic)/.7)); }
.feat:hover .ic.ic-hud { transform: translateY(-3px); box-shadow: 0 10px 28px -8px hsl(var(--ic)/.7), inset 0 1px 0 hsl(0 0% 100%/.08); }
/* Icons are ALWAYS visible (resting dashoffset:0). The draw-on is a pure
   enhancement that replays on scroll-in — if the observer or animation never
   fires, the glyph still shows. (Previously offset rested at 1 = invisible.) */
.ic-hud svg [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference){
  .reveal.in .ic-hud svg [pathLength] { animation: draw 1s ease; }
  .reveal.in .ic-hud svg [pathLength]:nth-child(odd) { animation-delay: .07s; }
  .reveal.in .ic-hud svg [pathLength]:nth-child(3n) { animation-delay: .14s; }
}
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.feat h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin-bottom: 8px; }
.feat p { color: hsl(var(--ink-soft)); font-size: 15px; }

/* ---------- Methodology ---------- */
.method { padding: 30px 0 80px; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mstep {
  position: relative; background: var(--grad-dark); border: 1px solid hsl(var(--line));
  border-radius: var(--radius); padding: 26px 22px 24px; overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.mstep:hover { transform: translateY(-4px); border-color: hsl(var(--green)/.3); }
.mstep::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: var(--grad-safe); opacity: .5; }
.mstep .mnum { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: hsl(var(--green)); letter-spacing: .1em; }
.mstep h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 12px 0 8px; }
.mstep p { color: hsl(var(--ink-soft)); font-size: 14px; line-height: 1.6; }
.mstep code { font-family: var(--font-mono); font-size: 12.5px; color: hsl(var(--amber)); background: hsl(var(--amber)/.08); padding: 1px 5px; border-radius: 5px; }
.method-note { display: flex; gap: 14px; align-items: flex-start; max-width: 880px; margin: 28px auto 0;
  border: 1px solid hsl(var(--amber)/.25); background: hsl(var(--amber)/.05); border-radius: 14px; padding: 18px 22px; }
.method-note svg { width: 22px; height: 22px; color: hsl(var(--amber)); flex-shrink: 0; margin-top: 1px; }
.method-note p { font-size: 13.5px; color: hsl(var(--ink-soft)); line-height: 1.6; }
@media (max-width: 880px){ .method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .method-grid { grid-template-columns: 1fr; } }

/* ---------- Stats band ---------- */
.stats { padding: 64px 0; border-block: 1px solid hsl(var(--line-soft)); background: hsl(var(--bg-2)/.6);
  position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: -10% -5%; z-index: 0;
  background: url("/assets/stats-bg.webp") center/cover no-repeat; opacity: .22;
  animation: drift 26s ease-in-out infinite alternate; }
.stats::after { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(hsl(var(--bg-2)/.4), hsl(var(--bg-2)/.7)); }
@keyframes drift { 0% { transform: scale(1) translateX(0);} 100% { transform: scale(1.08) translateX(-2%);} }
.stats .wrap { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px,4vw,46px); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat .num.g { background: var(--grad-safe); -webkit-background-clip: text; background-clip: text; }
.stat .lbl { font-family: var(--font-mono); font-size: 12.5px; color: hsl(var(--ink-faint)); letter-spacing: .04em; margin-top: 10px; }

/* ---------- Testimonials ---------- */
.tms { padding: 80px 0; }
.tms-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.tm { background: var(--grad-dark); border: 1px solid hsl(var(--line)); border-radius: var(--radius); padding: 26px;
  position: relative; overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.tm:hover { transform: translateY(-4px); border-color: hsl(var(--amber)/.3); box-shadow: var(--glow-amber); }
.tm::before { content: "\201C"; position: absolute; top: 2px; right: 20px; z-index: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 130px; line-height: 1;
  color: hsl(var(--amber)/.07); pointer-events: none; }
.tm .top, .tm > p, .tm .stars { position: relative; z-index: 1; }
.tm .top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tm .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font-family: var(--font-display); font-weight: 700; background: var(--grad-brand); color: hsl(var(--bg));
  box-shadow: 0 0 0 3px hsl(var(--amber)/.14), 0 4px 10px -2px hsl(var(--amber)/.4); }
.tm .who { font-weight: 700; font-size: 15px; }
.tm .tag { font-family: var(--font-mono); font-size: 12px; color: hsl(var(--green)); }
.tm p { color: hsl(var(--ink-soft)); font-size: 15px; }
.tm .stars { color: hsl(var(--amber)); letter-spacing: 2px; margin-top: 12px; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { padding: 80px 0; }
.faq-list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.acc { border: 1px solid hsl(var(--line)); border-radius: 14px; background: hsl(var(--surface)/.6); overflow: hidden; transition: border-color .25s; }
.acc[open] { border-color: hsl(var(--amber)/.35); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.acc summary::-webkit-details-marker { display: none; }
.acc .chev { transition: transform .25s; color: hsl(var(--amber)); flex-shrink: 0; display: inline-flex; }
.acc[open] .chev { transform: rotate(45deg); }
.acc .body { padding: 0 22px 22px; color: hsl(var(--ink-soft)); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta { padding: 90px 0; }
.cta-card {
  background:
    radial-gradient(circle at 20% 0%, hsl(var(--amber)/.14), transparent 55%),
    radial-gradient(circle at 90% 100%, hsl(var(--green)/.12), transparent 55%),
    var(--grad-dark);
  border: 1px solid hsl(var(--line)); border-radius: 26px; padding: 52px 48px; position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 36px; text-align: left;
}
/* faint neon-road texture inside the card for depth */
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("/assets/cta-bg.webp") center 70%/cover no-repeat; opacity: .20; }
.cta-content { position: relative; z-index: 1; flex: 1; }
.cta-card h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px,4vw,42px); margin-bottom: 14px; letter-spacing: -.01em; }
.cta-card p { color: hsl(var(--ink-soft)); font-size: 17px; max-width: 520px; margin: 0 0 28px; }
.cta-card .hero-cta { justify-content: flex-start; }
.cta-mascot-wrap { position: relative; z-index: 1; flex-shrink: 0; width: clamp(180px, 22vw, 260px); align-self: flex-end; }
.cta-mascot-wrap::before { content: ""; position: absolute; z-index: -1; inset: 8% 0 0 0;
  background: radial-gradient(closest-side, hsl(var(--green)/.28), hsl(var(--amber)/.10) 60%, transparent 75%);
  filter: blur(6px); }
.cta-mascot { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 26px hsl(var(--bg)/.8));
  animation: floaty 5.5s ease-in-out infinite; }

/* ---------- Responsible gaming ---------- */
.rg { padding: 50px 0; }
.rg-card { display: flex; gap: 18px; align-items: flex-start; border: 1px solid hsl(var(--amber)/.3); background: hsl(var(--amber)/.05); border-radius: 16px; padding: 24px 26px; max-width: 900px; margin-inline: auto; }
.rg-card .ic { color: hsl(var(--amber)); flex-shrink: 0; }
.rg-card .ic svg { width: 28px; height: 28px; }
.rg-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-bottom: 6px; color: hsl(var(--amber)); }
.rg-card p { font-size: 14px; color: hsl(var(--ink-soft)); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid hsl(var(--line-soft)); padding: 50px 0 36px; background: hsl(var(--bg-2)/.5); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.site-footer .brand { margin-bottom: 14px; }
.site-footer .about { color: hsl(var(--ink-faint)); font-size: 14px; max-width: 320px; }
.foot-col h5 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--ink-faint)); margin-bottom: 14px; }
.foot-col a, .foot-col span { display: block; color: hsl(var(--ink-soft)); font-size: 14px; margin-bottom: 9px; transition: color .2s; cursor: pointer; }
.foot-col a:hover { color: hsl(var(--amber)); }
.foot-bottom { border-top: 1px solid hsl(var(--line-soft)); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot-bottom p { font-size: 12.5px; color: hsl(var(--ink-faint)); }
.badges { display: flex; gap: 10px; align-items: center; }
.badge18 { width: 34px; height: 34px; border-radius: 50%; border: 2px solid hsl(var(--red)/.7); color: hsl(var(--red)); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; }

/* ---------- Modal ---------- */
.modal-back { position: fixed; inset: 0; z-index: 100; background: hsl(var(--bg)/.8); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-back.open { display: flex; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--grad-dark); border: 1px solid hsl(var(--line)); border-radius: 22px; box-shadow: var(--shadow-card);
  max-width: 460px; width: 100%; padding: 34px 32px; text-align: center; position: relative; animation: pop .25s ease;
}
@keyframes pop { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .x { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 8px; color: hsl(var(--ink-faint)); display: grid; place-items: center; }
.modal .x:hover { background: hsl(var(--surface-2)); color: hsl(var(--ink)); }
.modal .badge-ic { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 18px;
  background: hsl(var(--amber)/.1); border: 1px solid hsl(var(--amber)/.3); overflow: hidden; }
.modal .badge-ic img { width: 44px; height: 44px; object-fit: cover; object-position: 50% 12%; }
.modal h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin-bottom: 10px; }
.modal p { color: hsl(var(--ink-soft)); font-size: 15px; margin-bottom: 22px; }
.modal .perks { text-align: left; margin: 0 auto 24px; max-width: 300px; display: flex; flex-direction: column; gap: 10px; }
.modal .perks li { list-style: none; display: flex; gap: 10px; align-items: center; font-size: 14px; color: hsl(var(--ink-soft)); }
.modal .perks li svg { width: 18px; height: 18px; color: hsl(var(--green)); flex-shrink: 0; }
.modal .reset-note { font-family: var(--font-mono); font-size: 12.5px; color: hsl(var(--ink-faint)); margin-top: 14px; }

/* Email gate form */
.gate-form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.gate-form input[type=email] {
  width: 100%; padding: 15px 16px; border-radius: 12px; background: hsl(var(--bg)/.6);
  border: 1px solid hsl(var(--line)); color: hsl(var(--ink)); font-family: var(--font-mono); font-size: 15px;
  transition: border .2s, box-shadow .2s;
}
.gate-form input[type=email]:focus { outline: none; border-color: hsl(var(--green)/.6); box-shadow: 0 0 0 3px hsl(var(--green)/.12); }
.gate-form input[type=email].err { border-color: hsl(var(--red)/.7); box-shadow: 0 0 0 3px hsl(var(--red)/.12); }
.gate-form .optin { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: hsl(var(--ink-faint)); line-height: 1.5; cursor: pointer; }
.gate-form .optin input { margin-top: 2px; width: 16px; height: 16px; accent-color: hsl(var(--green)); flex-shrink: 0; cursor: pointer; }
/* "how to use" numbered guide inside the predictor */
.use-steps { list-style: none; display: grid; gap: 9px; margin: 0 0 18px; padding: 15px 17px; border: 1px solid hsl(var(--line-soft)); border-radius: 12px; background: hsl(var(--green)/.04); }
.use-steps li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: hsl(var(--ink-soft)); line-height: 1.45; }
.use-steps li b { color: hsl(var(--ink)); font-weight: 600; }
.use-steps .us-n { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: #06210f; background: hsl(var(--green)); }
.use-steps .us-link { color: hsl(var(--green)); font-weight: 600; white-space: nowrap; cursor: pointer; }
.use-steps .us-link:hover { text-decoration: underline; }

/* start guide: full-width band (steps + the Chicken Road game tile to look for) */
.start-guide { grid-column: 1 / -1; display: grid; gap: 20px 28px; grid-template-columns: 1fr; justify-items: center; align-items: center; margin: 0; padding-bottom: 24px; border-bottom: 1px solid hsl(var(--line-soft)); }
@media (min-width: 620px){ .start-guide { grid-template-columns: 1fr auto; justify-items: stretch; } }
.start-guide .use-steps { margin: 0; width: 100%; }
.game-tile { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.gt-card {
  width: 156px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center;
  border-radius: 16px; display: block;
  box-shadow: 0 12px 30px hsl(196 90% 16% / .55), 0 0 0 1px hsl(0 0% 100% / .08);
}
.game-tile figcaption { font-size: 12.5px; color: hsl(var(--ink-faint)); text-align: center; max-width: 172px; line-height: 1.4; }
.game-tile figcaption b { color: hsl(var(--ink-soft)); }

/* inline opt-in under the account-email field */
.field-optin { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13px; color: hsl(var(--ink-soft)); line-height: 1.5; cursor: pointer; text-transform: none; font-family: var(--font-body); font-weight: 500; letter-spacing: 0; }
.field-optin input { margin-top: 2px; width: 16px; height: 16px; accent-color: hsl(var(--green)); flex-shrink: 0; cursor: pointer; }
.gate-err { font-size: 13px; color: hsl(var(--red)); font-family: var(--font-mono); }
.gate-form button[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: hsl(var(--surface-2)); border: 1px solid hsl(var(--line)); color: hsl(var(--ink));
  padding: 13px 20px; border-radius: 12px; font-size: 14px; font-family: var(--font-mono); z-index: 120;
  box-shadow: var(--shadow-card); transition: transform .35s cubic-bezier(.2,.9,.3,1.2); display: flex; gap: 10px; align-items: center; }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: hsl(var(--green)); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- Header CTA label swap ---------- */
.header-cta-short { display: none; }
.menu-btn { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1340px){
  .hero-mascot { width: 168px; right: 8px; }
}
@media (max-width: 960px){
  .hero-grid { display: flex; flex-direction: column; gap: 22px; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { order: 1; align-self: center; }
  .hero-card { order: 2; width: 100%; }
  .hero-copy h1 { order: 3; text-align: center; }
  .hero-copy .lede { order: 4; text-align: center; margin-inline: auto; }
  .hero-copy .hero-cta {
    order: 5;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 12px;
  }
  .hero-copy .hero-cta .btn { width: min(100%, 340px); }
  .hero-copy .hero-meta { order: 6; justify-content: center; }
  .hero-mascot { display: none; }
  .steps-grid, .feat-grid, .tms-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 720px){
  .cta-card { flex-direction: column; text-align: center; gap: 8px; }
  .cta-card::before { opacity: .12; background-position: center bottom; }
  .cta-card p { margin-inline: auto; }
  .cta-card .hero-cta { justify-content: center; }
  .cta-mascot-wrap { order: -1; width: clamp(160px, 44vw, 210px); align-self: center; }
}
@media (max-width: 560px){
  .site-header .status-pill { display: none; }
  .site-header .wrap { gap: 10px; }
  .brand .tld { display: none; }
  .header-right .btn { padding: 11px 15px; font-size: 13px; }
  .header-cta-full { display: none; }
  .header-cta-short { display: inline; }
  .hero { padding: 44px 0 20px; }
  .hero h1 { font-size: clamp(29px, 8.2vw, 40px); }
  .hero-art { opacity: .5; }
  .hero-meta { gap: 20px; justify-content: center; }
  .hud-legend { flex-wrap: wrap; gap: 8px 12px; justify-content: center; }
  .hero-copy .hero-cta .btn { width: 100%; }
  .tool-body { padding: 22px; }
  .tool-head { padding: 20px 22px; }
  .cta-card { padding: 40px 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .lanes { --lanes: 8; height: 118px; gap: 5px; }
  .road-wrap .lanes { height: 132px; }
  .lane .mult { font-size: 10px; top: 8px; }
  .runner { width: 40px; height: 40px; margin-left: -20px; bottom: 12px; }
  .road { padding: 10px 8px 12px; }
}
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

.diff-block { margin-top: 22px; }
.field-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: hsl(var(--ink-soft)); letter-spacing: .04em; text-transform: uppercase; }
.play-btn { margin-top: 22px; }

.how { padding: 72px 0 40px; border-top: 1px solid hsl(var(--line-soft)); }
.how-list { list-style: none; display: grid; gap: 0; max-width: 640px; }
.how-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid hsl(var(--line-soft)); }
.how-list li:last-child { border-bottom: 1px solid hsl(var(--line-soft)); }
.how-list span { font-family: var(--font-mono); font-size: 13px; color: hsl(var(--amber)); padding-top: 4px; }
.how-list h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin: 0 0 6px; }
.how-list p { color: hsl(var(--ink-soft)); font-size: 15px; margin: 0; }

.faq { padding: 48px 0 80px; }
.faq-list { max-width: 680px; margin-inline: auto; }
.acc { border-bottom: 1px solid hsl(var(--line-soft)); background: none; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.acc[open] { border-color: hsl(var(--line-soft)); }
.acc summary { font-family: var(--font-display); font-weight: 400; font-size: 22px; padding: 18px 0; }
.acc .chev { color: hsl(var(--ink-faint)); font-size: 22px; line-height: 1; }
.acc .body { padding: 0 0 18px; }

.site-footer { border-top: 1px solid hsl(var(--line-soft)); padding: 28px 0; background: transparent; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-nav { display: flex; gap: 22px; }
.foot-nav a { font-size: 14px; color: hsl(var(--ink-soft)); cursor: pointer; }
.foot-nav a:hover { color: hsl(var(--ink)); }

.tool-head .t-ttl { font-family: var(--font-body); font-weight: 600; font-size: 16px; }
.tool-head .t-ttl .ai { display: none; }

@media (max-width: 960px){
  .how-list h3 { font-size: 22px; }
}
