/* =========================================================================
   The AEO Loop — design system (dark)
   A single cohesive dark theme. The accent (emerald) is the colour of being
   recommended/visible inside an AI answer. Verdict colours encode the
   five-state classification. The mono face carries data (scores, engines).
   ========================================================================= */

:root {
  /* surfaces — one dark system, gently layered for depth */
  --bg:         #080B11;   /* page base, behind everything */
  --ink:        #0A0E15;   /* darkest sections */
  --ink-soft:   #121A25;   /* raised surface / cards on dark */
  --ink-line:   #212C3A;   /* hairline on dark */
  --paper:      #0D131C;   /* alternate sections (slightly lifted) */
  --paper-2:    #111824;   /* subtle band */
  --card:       #121A25;   /* card surface */
  --card-line:  #233040;   /* card hairline */

  /* text */
  --text:       #E9EEF3;   /* primary */
  --text-2:     #93A2B2;   /* muted */
  --on-ink:     #E9EEF3;
  --on-ink-2:   #93A2B2;

  /* brand */
  --accent:     #10A87E;   /* emerald — "recommended / visible" */
  --accent-br:  #1AD6A0;   /* brighter on hover / on dark */
  --accent-deep:#0B7B5C;

  /* five-state verdict semantics (tuned for dark) */
  --v-rec:   #16B98A;  /* Recommended  */
  --v-men:   #D69A2A;  /* Mentioned    */
  --v-cit:   #4C93D6;  /* Cited        */
  --v-comp:  #D26B3D;  /* Competitor Surfaced */
  --v-exc:   #D9574F;  /* Excluded     */

  /* type */
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body:    "Inter", system-ui, -apple-system, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* scale */
  --wrap: 1140px;
  --r:    16px;       /* card radius */
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 44px -22px rgba(0,0,0,.75);
  --shadow-lg: 0 36px 90px -34px rgba(0,0,0,.9);
  --glow: 0 0 0 1px rgba(26,214,160,.18), 0 18px 50px -20px rgba(16,168,126,.45);

  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

p { margin: 0; }

::selection { background: var(--accent); color: #04130E; }

:focus-visible {
  outline: 2.5px solid var(--accent-br);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.section { padding-block: clamp(64px, 9vw, 116px); position: relative; }
.section--ink   { background: var(--ink);   color: var(--on-ink); }
.section--paper { background: var(--paper); color: var(--text); }
.section--band  { background: var(--paper-2); }
/* hairline seams between stacked sections give the dark theme structure */
.section + .section { border-top: 1px solid rgba(255,255,255,.04); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-br);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--accent-br);
  display: inline-block;
}

.h-xl { font-size: clamp(2.5rem, 6vw, 4.4rem); }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-2); line-height: 1.55; }
.section--ink .lede { color: var(--on-ink-2); }

.muted { color: var(--text-2); }
.section--ink .muted { color: var(--on-ink-2); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--accent);
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-weight: 600; font-size: 15.5px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #04130E; box-shadow: 0 10px 26px -10px rgba(16,168,126,.8); }
.btn--primary:hover { background: var(--accent-br); transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(26,214,160,.8); }
.btn--ghost { background: rgba(255,255,255,.02); color: var(--text); border-color: var(--card-line); }
.btn--ghost:hover { border-color: var(--on-ink); transform: translateY(-2px); }
.section--ink .btn--ghost { color: var(--on-ink); border-color: var(--ink-line); }
.section--ink .btn--ghost:hover { border-color: var(--on-ink); }
.btn--lg { padding: 16px 28px; font-size: 16.5px; }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--text); }
.brand__glyph { width: 27px; height: 27px; flex: none; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--text-2); transition: color .15s ease; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; transition: .25s; }

@media (max-width: 860px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
  .nav[data-open="true"] .nav__links {
    display: flex; flex-direction: column; gap: 4px; align-items: stretch;
    position: absolute; top: 66px; left: 0; right: 0;
    background: var(--ink); border-bottom: 1px solid var(--ink-line);
    padding: 14px 24px 22px;
  }
  .nav[data-open="true"] .nav__links a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--ink-line); }
  .nav[data-open="true"] .nav__cta .btn { display: inline-flex; margin-top: 12px; }
}

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(720px 480px at 86% -10%, rgba(26,214,160,.18), transparent 60%),
    radial-gradient(820px 560px at -8% 112%, rgba(76,147,214,.12), transparent 55%);
  pointer-events: none;
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(36px, 5vw, 64px); align-items: center;
  padding-block: clamp(54px, 7vw, 92px);
}
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); margin: 22px 0 0; }
.hero h1 .em { color: var(--accent-br); }
.hero__sub { margin-top: 24px; max-width: 34ch; }
.hero__cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__trust { margin-top: 28px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--on-ink-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hero__trust b { color: var(--on-ink); font-weight: 600; }

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__sub { max-width: none; }
}

/* ---------- engine verdict panel (signature element) ---------- */
.scanpanel {
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
}
.scanpanel__bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 14px; border-bottom: 1px solid var(--ink-line); }
.scanpanel__title { font-family: var(--mono); font-size: 12.5px; letter-spacing: .05em; color: var(--on-ink-2); display: flex; align-items: center; gap: 9px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-br); box-shadow: 0 0 0 0 rgba(26,214,160,.55); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(26,214,160,.5)} 70%{box-shadow:0 0 0 8px rgba(26,214,160,0)} 100%{box-shadow:0 0 0 0 rgba(26,214,160,0)} }
.scanpanel__score { font-family: var(--mono); font-size: 12.5px; color: var(--on-ink-2); }
.scanpanel__score b { color: var(--on-ink); }

.enginecard {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 15px 12px; border-bottom: 1px solid var(--ink-line);
  opacity: 0; transform: translateY(8px);
}
.enginecard:last-child { border-bottom: 0; }
.enginecard.in { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }
.enginecard__logo { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #0a121b; border: 1px solid var(--ink-line); font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--on-ink); }
.enginecard__name { font-weight: 600; font-size: 15px; color: var(--on-ink); }
.enginecard__reason { font-size: 12.5px; color: var(--on-ink-2); margin-top: 2px; }
.enginecard__demo { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--v-men); background: rgba(214,154,42,.14); border: 1px solid rgba(214,154,42,.4); padding: 1px 6px; border-radius: 999px; margin-left: 5px; vertical-align: middle; }

.badge {
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent;
}
.badge--rec  { color: #04130E; background: var(--v-rec); }
.badge--men  { color: #1f1402; background: var(--v-men); }
.badge--cit  { color: #03121f; background: var(--v-cit); }
.badge--comp { color: #1f0c04; background: var(--v-comp); }
.badge--exc  { color: #1f0504; background: var(--v-exc); }
/* outline variant for legends */
.badge.is-line { background: transparent; }
.badge.is-line.badge--rec  { color: var(--v-rec);  border-color: var(--v-rec); }
.badge.is-line.badge--men  { color: var(--v-men);  border-color: var(--v-men); }
.badge.is-line.badge--cit  { color: var(--v-cit);  border-color: var(--v-cit); }
.badge.is-line.badge--comp { color: var(--v-comp); border-color: var(--v-comp); }
.badge.is-line.badge--exc  { color: var(--v-exc);  border-color: var(--v-exc); }

/* ---------- generic grid + cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--card-line)); }
.section--ink .card { background: var(--ink-soft); border-color: var(--ink-line); }
.card h3 { font-size: 1.2rem; margin-bottom: 9px; }
.card p { font-size: 15px; color: var(--text-2); }
.section--ink .card p { color: var(--on-ink-2); }
.card__n { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--accent-br); }

.section-head { max-width: 56ch; margin-bottom: clamp(34px, 4vw, 54px); }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 16px; }
.center { text-align: center; margin-inline: auto; }

/* ---------- the loop diagram ---------- */
.loopwrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .loopwrap { grid-template-columns: 1fr; gap: 32px; } }
.loop-steps { display: grid; gap: 0; }
.loop-step { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--ink-line); }
.loop-step:last-child { border-bottom: 0; }
.loop-step__n { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--accent-br); padding-top: 3px; }
.loop-step h3 { font-size: 1.15rem; }
.loop-step p { font-size: 14.5px; color: var(--on-ink-2); margin-top: 5px; }

/* ---------- pricing ---------- */
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--card-line); border-radius: 999px; background: var(--ink-soft); }
.billing-toggle__opt { font-family: var(--body); font-weight: 600; font-size: 14px; color: var(--text-2); background: transparent; border: 0; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: background .2s ease, color .2s ease; display: inline-flex; align-items: center; gap: 8px; }
.billing-toggle__opt.is-active { background: var(--accent); color: #04130E; }
.billing-toggle__save { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: rgba(26,214,160,.16); color: var(--accent-br); }
.billing-toggle__opt.is-active .billing-toggle__save { background: rgba(4,19,14,.18); color: #04130E; }
.tier__save { font-family: var(--mono); font-size: 11.5px; color: var(--accent-br); margin: -2px 0 2px; letter-spacing: .02em; }

.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1080px) { .tiers { grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin-inline: auto; } }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; max-width: 440px; } }
.tier { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r); padding: 28px 22px; position: relative; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease; display: flex; flex-direction: column; }
.tier .btn { margin-top: auto; justify-content: center; text-align: center; }
.tier:hover { transform: translateY(-3px); }
.tier--hero { border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: var(--glow); }
.tier__flag { position: absolute; top: -12px; left: 26px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: #04130E; padding: 5px 12px; border-radius: 999px; }
.tier__name { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.tier__price { font-family: var(--display); font-weight: 800; font-size: 2.5rem; letter-spacing: -.02em; margin: 10px 0 2px; }
.tier__price span { font-size: 1rem; font-weight: 600; color: var(--text-2); font-family: var(--body); }
.tier__price span[data-price] { font-size: inherit; font-weight: inherit; color: inherit; font-family: inherit; letter-spacing: inherit; }
.tier__role { font-size: 14.5px; color: var(--text-2); min-height: 42px; }
.tier ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 11px; }
.tier li { font-size: 14.5px; padding-left: 26px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: 8px; width: 13px; height: 13px; background: var(--accent-br); -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat; }

/* feature comparison table */
.tbl-scroll { overflow-x: auto; border: 1px solid var(--card-line); border-radius: var(--r); }
table.feat { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--card); }
table.feat th, table.feat td { padding: 14px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--card-line); }
table.feat thead th { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); background: var(--paper-2); }
table.feat td:first-child { font-weight: 600; }
table.feat tr:last-child td { border-bottom: 0; }

/* ---------- scanner form ---------- */
.scanform { background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: 18px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); }
/* Invisible Turnstile leaves no visible box; collapse its spacing so there's
   no empty gap above the button. (If switched back to a visible mode, the
   button's own top margin still provides separation.) */
.cf-turnstile { max-width: 100%; overflow: hidden; margin: 0; }
.cf-turnstile:empty { display: none; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--on-ink); }
.field .hint { font-size: 12.5px; color: var(--on-ink-2); font-weight: 400; }
.field input, .field textarea {
  font-family: var(--body); font-size: 15.5px; color: var(--on-ink);
  background: #0a121b; border: 1px solid var(--ink-line); border-radius: 10px; padding: 13px 14px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #56697a; }
/* keep browser autofill on-theme (Chrome paints a light bg by default) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--on-ink) !important;
  -webkit-box-shadow: 0 0 0 1000px #0a121b inset !important;
  box-shadow: 0 0 0 1000px #0a121b inset !important;
  caret-color: var(--on-ink) !important;
  border: 1px solid var(--ink-line) !important;
  transition: background-color 600000s 0s, color 600000s 0s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-br); box-shadow: 0 0 0 3px rgba(26,214,160,.22); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--v-exc); }
.field .err { font-size: 12.5px; color: #ff9b95; min-height: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.consent { font-size: 12.5px; color: var(--on-ink-2); margin-top: 4px; }

.demo-flag {
  font-family: var(--mono); font-size: 12px; letter-spacing: .03em;
  color: var(--v-men); background: rgba(214,154,42,.12); border: 1px solid rgba(214,154,42,.4);
  padding: 9px 13px; border-radius: 9px; display: flex; gap: 9px; align-items: flex-start;
}

/* results */
.results { display: none; }
.results.show { display: block; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: 16px; padding: 24px; margin-bottom: 18px; }
@media (max-width: 560px) { .summary { grid-template-columns: 1fr; text-align: center; } }
.scorering { width: 132px; height: 132px; }
.summary__meta { display: grid; gap: 6px; }
.summary__meta .big { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--on-ink); }
.summary__meta .row { font-size: 14px; color: var(--on-ink-2); }
.summary__meta .row b { color: var(--on-ink); }
/* Calendly embed wrapper */
.cal-embed { border: 1px solid var(--ink-line); border-radius: 18px; overflow: hidden; background: var(--ink-soft); box-shadow: var(--shadow-lg); }
.cal-embed .calendly-inline-widget { border-radius: 18px; }

/* compact verdict legend shown alongside results */
.legend-mini { display: grid; gap: 8px; margin-top: 18px; }
.legend-mini__head { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); margin: 4px 2px 2px; }
.legend-mini__row { display: flex; align-items: center; gap: 14px; background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: 12px; padding: 11px 14px; }
.legend-mini__row .badge { flex: none; min-width: 118px; text-align: center; justify-content: center; display: inline-flex; }
.legend-mini__row p { font-size: 13.5px; color: var(--on-ink-2); margin: 0; }
@media (max-width: 480px) {
  .legend-mini__row { flex-direction: column; align-items: flex-start; gap: 7px; }
}

.gate { background: var(--card); border: 1px solid var(--card-line); border-radius: 16px; padding: 26px; margin-top: 18px; text-align: center; }
.gate h3 { font-size: 1.3rem; }
.gate p { color: var(--text-2); font-size: 15px; margin: 8px auto 0; max-width: 52ch; }
.gate__reco { margin: 16px auto 0; max-width: 58ch; color: var(--text); font-size: 15px; line-height: 1.55; background: rgba(26,214,160,.09); border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent); border-radius: 12px; padding: 13px 16px; }
.gate__reco b { color: var(--accent-br); font-weight: 600; }

/* ---------- stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2,1fr); } }
.stat__n { font-family: var(--display); font-weight: 800; font-size: clamp(2rem,4vw,2.8rem); letter-spacing: -.02em; color: var(--on-ink); }
.stat__l { font-size: 13.5px; color: var(--on-ink-2); margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 840px; }
.faq__item { background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--r); overflow: hidden; transition: border-color .2s ease; }
.faq__item[open] { border-color: color-mix(in srgb, var(--accent) 45%, var(--ink-line)); }
.faq__q { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-family: var(--display); font-weight: 700; font-size: 1.06rem; color: var(--on-ink); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--accent-br); }
.faq__q:focus-visible { outline: none; }
.faq__item:focus-within { border-color: var(--accent-br); }
.faq__icon { flex: none; width: 18px; height: 18px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent-br); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.faq__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a { padding: 0 20px 20px; }
.faq__a p { color: var(--on-ink-2); font-size: 15px; line-height: 1.65; }

/* ---------- old game / new game comparison ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--card-line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 720px) { .versus { grid-template-columns: 1fr; } }
.versus__col { padding: clamp(24px, 3.5vw, 40px); background: var(--card); }
.versus__col + .versus__col { border-left: 1px solid var(--card-line); }
@media (max-width: 720px) { .versus__col + .versus__col { border-left: 0; border-top: 1px solid var(--card-line); } }
.versus__col--new { background: var(--ink-soft); box-shadow: inset 0 0 70px -34px rgba(26,214,160,.5); }
.versus__tag { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.versus__col--new .versus__tag { color: var(--accent-br); }
.versus__col h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 12px 0 14px; }
.versus__col p { color: var(--text-2); font-size: 15.5px; line-height: 1.65; margin: 0; }
.versus__col--new p { color: var(--on-ink-2); }
.versus__col b { color: var(--accent-br); font-weight: 600; }

/* ---------- sample report ---------- */
.report-hero { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--r); padding: 28px 30px; box-shadow: var(--glow); margin-top: 26px; }
.report-hero__score { font-family: var(--display); font-weight: 800; font-size: clamp(3.2rem, 8vw, 4.6rem); line-height: .85; color: var(--v-exc); }
.report-hero__score small { display: block; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--v-exc); margin-top: 10px; }
.report-hero__facts { display: grid; gap: 7px; font-size: 14.5px; color: var(--on-ink-2); }
.report-hero__facts b { color: var(--on-ink); font-weight: 600; }
.report-banner { display: flex; gap: 12px; align-items: flex-start; background: rgba(26,214,160,.06); border: 1px solid rgba(26,214,160,.32); border-radius: 12px; padding: 15px 18px; font-size: 14.5px; line-height: 1.55; color: var(--on-ink-2); margin-top: 22px; }
.report-banner b { color: var(--on-ink); }
.report-banner svg { flex: none; margin-top: 1px; }

/* ---------- founder / about ---------- */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } }
.founder__card { background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--r); padding: 28px 24px; text-align: center; box-shadow: var(--glow); }
.founder__avatar { width: 132px; height: 132px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 2.7rem; color: #04130E; background: radial-gradient(circle at 30% 25%, var(--accent-br), var(--accent-deep)); box-shadow: 0 0 30px -6px rgba(26,214,160,.6); }
.founder__name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--on-ink); }
.founder__role { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-br); margin-top: 5px; }
.founder__card .btn { margin-top: 18px; }
.founder__story p { margin-bottom: 16px; font-size: 16.5px; line-height: 1.75; color: var(--on-ink-2); }
.founder__story p:last-child { margin-bottom: 0; }

.founder-strip { display: flex; align-items: center; gap: 20px; background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r); padding: 22px 26px; max-width: 760px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .founder-strip { flex-direction: column; text-align: center; } }
.founder-strip__avatar { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: #04130E; background: radial-gradient(circle at 30% 25%, var(--accent-br), var(--accent-deep)); box-shadow: 0 0 22px -6px rgba(26,214,160,.55); }
.founder-strip p { font-size: 15.5px; color: var(--text-2); line-height: 1.6; margin: 0; }
.founder-strip b { color: var(--text); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(180deg, var(--ink-soft), var(--ink)); border: 1px solid var(--ink-line); border-radius: 22px; padding: clamp(34px, 5vw, 60px); text-align: center; color: var(--on-ink); box-shadow: var(--glow); }
.cta-band h2 { margin: 0 auto; max-width: 18ch; }
.cta-band p { margin: 16px auto 0; max-width: 50ch; color: var(--on-ink-2); }
.cta-band .hero__cta { justify-content: center; margin-top: 30px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-ink-2); padding-block: 56px 38px; border-top: 1px solid rgba(255,255,255,.06); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; gap: 26px; } }
.footer h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink); margin-bottom: 14px; }
.footer a { display: block; color: var(--on-ink-2); font-size: 14.5px; padding: 5px 0; }
.footer a:hover { color: var(--on-ink); }
.footer__brand { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--on-ink); display: flex; align-items: center; gap: 10px; }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--ink-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--on-ink-2); }
.footer__bottom a { display: inline; padding: 0; color: var(--on-ink-2); }
.footer__bottom a:hover { color: var(--on-ink); }

/* ---- legal pages (privacy / terms) ---- */
.legal { max-width: 760px; }
.legal__meta { font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.legal h2 { font-size: 1.4rem; margin: 38px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--text-2); margin-bottom: 14px; line-height: 1.7; font-size: 15.5px; }
.legal ul { color: var(--text-2); margin: 0 0 16px; padding-left: 22px; display: grid; gap: 7px; font-size: 15.5px; line-height: 1.6; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--accent-br); }

/* ---------- misc content ---------- */
.prose p { margin-bottom: 18px; max-width: 66ch; }
.note { font-size: 14px; color: var(--text-2); border-left: 2px solid var(--accent); padding: 4px 0 4px 16px; margin: 22px 0; font-style: italic; }
.section--ink .note { color: var(--on-ink-2); }
.kicker-list { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.kicker-list li { padding-left: 28px; position: relative; font-size: 15.5px; }
.kicker-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; border-radius: 4px; background: var(--accent-br); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .enginecard { opacity: 1 !important; transform: none !important; }
}

.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #04130E; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.skip:focus { left: 0; }

/* ============================ neon accents ============================
   A light neon layer over the dark theme: glowing logo, accent words,
   CTAs, and card edges. Kept subtle so text stays readable. */
.brand__glyph { width: 32px; height: 32px; filter: drop-shadow(0 0 6px rgba(26,214,160,.6)); }
.brand .brand__glyph { width: 40px; height: 40px; }

/* ambient neon colour blooms behind the sections */
.section--ink   { background-image: radial-gradient(80% 65% at 85% -12%, rgba(26,214,160,.10), transparent 55%); }
.section--paper { background-image: radial-gradient(80% 65% at 12% -12%, rgba(76,147,214,.08), transparent 55%); }
.footer         { background-image: radial-gradient(60% 120% at 50% 130%, rgba(26,214,160,.08), transparent 60%); }

.eyebrow { text-shadow: 0 0 16px rgba(26,214,160,.35); }
.hero h1 .em { text-shadow: 0 0 26px rgba(26,214,160,.45), 0 0 8px rgba(26,214,160,.35); }

.btn--primary {
  box-shadow: 0 0 0 1px rgba(26,214,160,.35), 0 8px 26px -8px rgba(16,168,126,.7), 0 0 20px rgba(26,214,160,.28);
}
.btn--primary:hover {
  box-shadow: 0 0 0 1px rgba(26,214,160,.6), 0 12px 34px -8px rgba(26,214,160,.85), 0 0 30px rgba(26,214,160,.5);
}

.card:hover {
  border-color: var(--accent-br);
  box-shadow: 0 0 0 1px rgba(26,214,160,.22), 0 0 26px -6px rgba(26,214,160,.4), var(--shadow);
}

.scanform { box-shadow: var(--shadow-lg), 0 0 46px -18px rgba(26,214,160,.4); }
.scanpanel { box-shadow: var(--shadow-lg), 0 0 46px -20px rgba(26,214,160,.32); }

.tier--hero { box-shadow: var(--glow), 0 0 56px -20px rgba(26,214,160,.5); }
.cta-band { box-shadow: var(--glow), 0 0 62px -22px rgba(26,214,160,.45); }

.billing-toggle__opt.is-active, .tier__flag { box-shadow: 0 0 16px rgba(26,214,160,.45); }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgba(26,214,160,.22), 0 0 18px -2px rgba(26,214,160,.35); }

/* faint glowing hairline between stacked sections */
.section + .section { border-top: 1px solid rgba(26,214,160,.09); }

@media (prefers-reduced-motion: no-preference) {
  .dot { box-shadow: 0 0 8px rgba(26,214,160,.7); }
}
