/* ============ Salesy — visual system (premium monochrome) ============ */
:root {
  --bg: #050507;
  --bg-2: #0b0b11;
  --ink: #f4f3f7;
  --muted: #8a8a95;
  --faint: rgba(244, 243, 247, 0.4);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  /* aurora hues — reserved for the finale / reel / sanctioned moments only */
  --magenta: #ff3dbb;
  --violet: #9d5cff;
  --cyan: #3fd9e0;
  --grad: linear-gradient(100deg, var(--magenta), var(--violet) 45%, var(--cyan));
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(20px, 5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.has-lenis { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--bg); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
em { font-style: italic; }

/* ---------- background layers ---------- */
/* The colour lives in the aurora. A veil keeps it dim up top and lets it
   bloom toward the finale — so the palette reads calm, not "all over the place". */
.aurora-fallback {
  position: fixed;
  inset: -20%;
  z-index: -3;
  background:
    radial-gradient(38% 32% at 30% 42%, rgba(157, 92, 255, 0.14), transparent 70%),
    radial-gradient(42% 36% at 66% 32%, rgba(63, 217, 224, 0.09), transparent 70%),
    radial-gradient(40% 40% at 50% 60%, rgba(255, 61, 187, 0.11), transparent 70%),
    var(--bg);
  animation: fallbackDrift 28s ease-in-out infinite alternate;
}
@keyframes fallbackDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .aurora-fallback { animation: none; } }

#aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.6s ease;
}
#aurora.on { opacity: 1; }

/* black veil over the aurora — opacity driven by scroll in main.js */
.aurora-veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  opacity: 0.68;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: overlay;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
/* emphasised words: clean off-white italic serif (no rainbow) */
.section-title em, .hero-title em, .manifesto-text em, .finale-title em {
  font-style: italic;
  color: var(--ink);
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-top: 18px;
}
.section-head { padding: 0 var(--pad); max-width: 1200px; margin: 0 auto 8px; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--pad);
  background: linear-gradient(rgba(5, 5, 7, 0.66), rgba(5, 5, 7, 0.66));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transform: translateY(0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header.hidden { transform: translateY(-110%); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { border-radius: 8px; }
.brand-name { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: 0.01em; }

.site-nav { display: flex; gap: 28px; }
.site-nav a {
  font-size: 13.5px; font-weight: 500; color: var(--muted);
  text-decoration: none; letter-spacing: 0.02em; transition: color 0.25s;
}
.site-nav a:hover { color: var(--ink); }

/* ---------- CTA (premium: solid off-white pill, dark ink text) ---------- */
.cta-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  will-change: transform;
  transition: border-color 0.3s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s;
}
.cta-pill:hover { border-color: var(--ink); transform: translateY(-1px); }
.cta-solid {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  box-shadow: 0 0 0 rgba(157, 92, 255, 0);
}
.cta-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -12px rgba(157, 92, 255, 0.55);
}
.cta-big { padding: 16px 34px; font-size: 15px; }
.cta-ghost { font-size: 14px; color: var(--muted); text-decoration: none; padding: 16px 8px; transition: color 0.25s; }
.cta-ghost:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: 130px var(--pad) 90px;
}
/* subtle aurora glow behind the phone — the one sanctioned bloom up top */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 46% at 80% 42%, rgba(157, 92, 255, 0.20), transparent 70%),
    radial-gradient(30% 40% at 92% 62%, rgba(63, 217, 224, 0.12), transparent 72%),
    radial-gradient(28% 34% at 66% 30%, rgba(255, 61, 187, 0.14), transparent 72%);
  filter: blur(6px);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(66% 60% at 20% 46%, rgba(5, 5, 7, 0.9), transparent 72%);
}
.hero-inner { max-width: 640px; position: relative; z-index: 3; }
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(52px, 8vw, 118px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 22px 0 26px;
  text-shadow: 0 2px 40px rgba(5, 5, 7, 0.7);
}
.hero-title .line { display: block; }
.hero-sub { max-width: 560px; color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); }
.hero-sub em { color: var(--ink); font-style: italic; }
.hero-sub, .hero-rating { text-shadow: 0 1px 20px rgba(5, 5, 7, 0.6); }
.hero-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 36px; }
.hero-rating {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted);
}
.hero-rating .stars {
  font-size: 15px; letter-spacing: 2px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-phone {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: clamp(260px, 32vw, 384px);
  margin: 0 auto;
  justify-self: center;
  transform: rotate(4deg);
  will-change: transform;
}
.hero-phone img { filter: drop-shadow(0 40px 90px rgba(0, 0, 0, 0.7)); }
.hero-call-badge {
  position: absolute;
  top: 9%; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
  background: rgba(5, 5, 7, 0.72);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 8px 14px; border-radius: 999px; white-space: nowrap;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto;
  background: #34e07c; box-shadow: 0 0 10px rgba(52, 224, 124, 0.9);
  animation: blink 2s ease-in-out infinite;
}

/* ---------- objection graveyard ---------- */
.graveyard { padding: clamp(70px, 10vw, 140px) 0; overflow: hidden; }
.graveyard-label, .graveyard-tail {
  text-align: center; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
}
.graveyard-label { margin-bottom: 34px; }
.graveyard-tail {
  margin-top: 38px; text-transform: none; letter-spacing: 0.04em;
  font-family: var(--sans); font-size: 15px;
}
.graveyard-tail strong { color: var(--ink); font-weight: 600; }

.marquee { display: flex; overflow: hidden; padding: 10px 0; }
.marquee-track {
  display: flex; flex-shrink: 0;
  gap: clamp(28px, 4vw, 64px);
  padding-right: clamp(28px, 4vw, 64px);
  will-change: transform;
  animation: marquee 38s linear infinite;
}
.m2 .marquee-track { animation-direction: reverse; animation-duration: 46s; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.marquee-track span {
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 400; font-style: italic; white-space: nowrap;
  color: rgba(244, 243, 247, 0.22);
  transition: color 0.4s;
}
.marquee-track span:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { flex-wrap: wrap; justify-content: center; }
}

/* ---------- the drill ---------- */
.drill { padding: clamp(60px, 8vw, 120px) 0; }
.drill-row {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(50px, 7vw, 110px) var(--pad);
}
.drill-row.rev .drill-copy { order: 2; }
.drill-row.rev .drill-media { order: 1; }
/* Playbook (first row) gets the widest, most legible media */
.drill .drill-row:first-of-type { grid-template-columns: 0.82fr 1.18fr; }

.drill-index {
  font-family: var(--mono);
  letter-spacing: 0.3em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
  display: block;
  margin-bottom: 14px;
  font-size: clamp(40px, 5vw, 64px);
  will-change: transform;
}
.drill-copy h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 16px; }
.drill-copy p { color: var(--muted); max-width: 460px; }
.drill-copy em { color: var(--ink); }
.drill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.drill-list li {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
}

.drill-media { will-change: transform; }
.media-card { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--bg-2); }
.phone-float { max-width: 460px; margin: 0 auto; }
.phone-float img { filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.6)); }

/* ---------- inside / product tour ---------- */
.tour { position: relative; }
.tour-pin {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 10vh, 130px) var(--pad);
  overflow: hidden;
}
.tour-head { text-align: center; margin: 0 auto clamp(30px, 5vh, 64px); }
.tour-stage {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(20px, 4vw, 64px);
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}
.tour-phone {
  position: relative;
  flex: 0 0 auto;
  width: clamp(200px, 22vw, 300px);
  will-change: transform;
}
.tour-phone img { filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.7)); }
.tour-phone figcaption {
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 260px;
  margin-inline: auto;
  text-align: center;
}
.tour-phone figcaption strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 4px; }
.tour-b { margin-top: clamp(28px, 5vw, 70px); }

/* ---------- interactive rep (quiz) ---------- */
.quiz { padding: clamp(70px, 9vw, 130px) var(--pad) clamp(40px, 6vw, 90px); }
.quiz .section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 58px); }
.quiz-card {
  max-width: 720px; margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 8, 13, 0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: clamp(24px, 4vw, 42px);
}
.quiz-scene { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 26px; }
.quiz-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.quiz-prompt { font-family: var(--serif); font-size: clamp(22px, 3vw, 31px); line-height: 1.3; }
.quiz-prompt em { color: var(--ink); font-style: italic; }
.quiz-q {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-opt {
  text-align: left; font-family: var(--sans); font-size: 15.5px; line-height: 1.45; color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-2); border-radius: 14px;
  padding: 16px 18px; cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.25s, opacity 0.25s;
}
.quiz-opt:hover { border-color: var(--ink); transform: translateY(-1px); }
.quiz-opt:disabled { cursor: default; }
.quiz-opt.is-correct { border-color: #34e07c; background: rgba(52, 224, 124, 0.08); box-shadow: 0 0 34px rgba(52, 224, 124, 0.14); }
.quiz-opt.is-wrong { border-color: rgba(255, 61, 187, 0.7); background: rgba(255, 61, 187, 0.06); }
.quiz-opt.dimmed { opacity: 0.4; }
.quiz-feedback { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 22px; }
.quiz-verdict { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.6vw, 27px); margin-bottom: 8px; }
.quiz-feedback.good .quiz-verdict { color: #6ff0a6; }
.quiz-feedback.bad .quiz-verdict { color: #ff7bd0; }
.quiz-explain { color: var(--muted); font-size: 15px; max-width: 620px; }
.quiz-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.quiz-exp { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.quiz-retry {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); background: none; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 9px 16px; cursor: pointer; transition: color 0.25s, border-color 0.25s;
}
.quiz-retry:hover { color: var(--ink); border-color: var(--ink); }
.reel-cap { text-align: center; color: var(--muted); font-size: 14px; margin-top: 40px; }

/* ---------- discovery scroll scene ---------- */
.discovery { position: relative; }
.discovery-pin { padding: clamp(70px, 9vw, 130px) var(--pad); }
.discovery .section-head { text-align: center; margin-bottom: clamp(30px, 5vh, 62px); padding: 0; }
.discovery-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: start;
  gap: clamp(30px, 5vw, 80px);
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}
/* phone rides along beside the transcript so it stays legible while you scroll */
.discovery-phone {
  justify-self: center;
  max-width: clamp(320px, 34vw, 460px);
  position: sticky;
  top: 16vh;
  will-change: transform;
}
.discovery-phone img { filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.6)); }

.call-window {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 8, 13, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.call-top { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.call-dot { width: 8px; height: 8px; border-radius: 50%; background: #34e07c; box-shadow: 0 0 10px rgba(52, 224, 124, 0.8); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.call-id { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.call-lines { padding: 26px 26px 8px; display: flex; flex-direction: column; gap: 14px; }
.call-line { font-size: 15.5px; line-height: 1.55; max-width: 92%; will-change: transform, opacity; }
.call-line .who {
  display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.call-line.them { color: var(--muted); }
.call-line.you { align-self: flex-end; text-align: right; color: var(--ink); }
.call-line.wrong { align-self: flex-end; text-align: right; color: rgba(244, 243, 247, 0.3); }
.call-line.wrong s { text-decoration-color: rgba(255, 61, 187, 0.7); text-decoration-thickness: 1.5px; }
.call-line.right {
  align-self: flex-end; text-align: right; color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 16px 16px 4px 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 34px rgba(255, 255, 255, 0.05);
}
.call-toast {
  margin: 18px 26px 26px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em;
  will-change: transform, opacity;
}
.toast-exp { font-family: var(--mono); color: var(--ink); }

/* ---------- ranks ---------- */
.ranks { position: relative; }
.ranks-pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: clamp(80px, 10vh, 140px) var(--pad); }
.ranks-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 100px); align-items: center;
  max-width: 1200px; margin: 0 auto; width: 100%;
}
.ranks-sub { color: var(--muted); max-width: 440px; margin-top: 18px; }
.exp-meter { margin: 34px 0 30px; }
.exp-count { font-family: var(--mono); font-size: clamp(40px, 5vw, 64px); font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.exp-unit { font-family: var(--mono); font-size: 14px; letter-spacing: 0.3em; color: var(--muted); margin-left: 12px; }
.exp-bar { height: 2px; background: var(--line); margin-top: 16px; border-radius: 2px; overflow: hidden; }
.exp-fill { height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; will-change: transform; transition: background 0.4s; }
/* completion flourish when the ladder is maxed to Elite */
.exp-meter.maxed .exp-fill { background: var(--grad); }
.exp-meter.maxed .exp-count { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.exp-meter.maxed .exp-bar { animation: barPulse 1.5s ease-in-out; }
@keyframes barPulse {
  0% { box-shadow: 0 0 0 rgba(157, 92, 255, 0); }
  45% { box-shadow: 0 0 32px rgba(157, 92, 255, 0.8); }
  100% { box-shadow: 0 0 0 rgba(157, 92, 255, 0); }
}

.rank-list { list-style: none; }
.rank {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  opacity: 0.26; transition: opacity 0.5s;
}
.rank-name { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; }
.rank-exp { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.rank.lit { opacity: 1; }
.rank.lit .rank-name { color: var(--ink); }
.ranks-phone { max-width: 360px; justify-self: center; }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(110px, 16vw, 220px) var(--pad); max-width: 1000px; margin: 0 auto; text-align: center; }
.manifesto-text { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4.4vw, 56px); line-height: 1.22; margin-bottom: 48px; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(60px, 8vw, 120px) var(--pad); max-width: 860px; margin: 0 auto; }
.faq .section-head { padding: 0; margin-bottom: 42px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; padding: 24px 4px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 27px); font-weight: 500; transition: color 0.3s; }
.faq-item summary:hover h3 { color: var(--ink); }
.faq-x { position: relative; flex: 0 0 16px; height: 16px; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-x::before, .faq-x::after { content: ""; position: absolute; inset: 50% 0 auto 0; height: 1.5px; background: var(--muted); }
.faq-x::after { transform: rotate(90deg); }
.faq-item[open] .faq-x { transform: rotate(45deg); }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--muted); padding: 0 4px 26px; max-width: 660px; }
.faq-body a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- finale (the sanctioned colour moment) ---------- */
.finale {
  position: relative;
  min-height: 90svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px var(--pad); overflow: hidden;
}
.finale-burst {
  position: absolute; inset: -10%; z-index: -1;
  background:
    radial-gradient(34% 30% at 44% 62%, rgba(255, 61, 187, 0.34), transparent 70%),
    radial-gradient(38% 34% at 60% 44%, rgba(63, 217, 224, 0.26), transparent 70%),
    radial-gradient(44% 42% at 50% 55%, rgba(157, 92, 255, 0.3), transparent 70%);
  filter: blur(30px); opacity: 0; will-change: opacity, transform;
}
.finale-title { font-family: var(--serif); font-weight: 500; font-size: clamp(72px, 16vw, 220px); line-height: 0.95; letter-spacing: -0.02em; margin-bottom: 22px; }
.finale-sub { color: var(--muted); font-size: clamp(15px, 1.8vw, 19px); margin-bottom: 40px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(50px, 6vw, 80px) var(--pad) 34px; background: rgba(5, 5, 7, 0.6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto 56px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 260px; }
.footer-head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.25s; width: fit-content; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 1200px; margin: 0 auto; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.scholar-credit { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); text-decoration: none; transition: color 0.25s; }
.scholar-credit:hover { color: var(--ink); }
.scholar-credit img { opacity: 0.85; }

/* ---------- inner pages (legal + articles) ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 150px var(--pad) 100px; }
.page h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 6vw, 64px); line-height: 1.05; margin-bottom: 10px; }
.page .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 46px; }
.page h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3vw, 34px); margin: 52px 0 16px; }
.page h3 { font-size: 17px; font-weight: 600; margin: 32px 0 10px; }
.page p, .page li { color: var(--muted); font-size: 15.5px; }
.page p { margin-bottom: 16px; }
.page ul, .page ol { padding-left: 22px; margin-bottom: 16px; }
.page li { margin-bottom: 6px; }
.page a { color: var(--ink); text-underline-offset: 3px; }
.page strong { color: var(--ink); font-weight: 600; }
.page .lead { font-size: 18px; color: var(--ink); }
.page table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 14.5px; }
.page th, .page td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.page th { color: var(--ink); font-weight: 600; font-size: 13px; }
.page blockquote { border-left: 2px solid var(--line-2); padding: 6px 0 6px 22px; margin: 26px 0; }
.page blockquote p { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink); margin: 0; }
.page .toc { border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; margin: 30px 0 10px; }
.page .toc p { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 12px; }
.page .answer-box { border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); border-radius: 16px; padding: 22px 26px; margin: 24px 0 30px; }
.page .answer-box p { color: var(--ink); margin: 0; font-size: 16px; }
.page .meta-row { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; }
.article-cta { border: 1px solid var(--line); border-radius: 20px; padding: 34px; margin-top: 60px; text-align: center; }
.article-cta h2 { margin-top: 0 !important; }
.article-cta p { margin-bottom: 24px; }

/* ---------- reveal defaults (JS enhances) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .hero-title { opacity: 0; }
.js .drill-copy, .js .drill-media { opacity: 0; }
.js .call-line, .js .call-toast { opacity: 0; transform: translateY(18px); }
.js .section-head { opacity: 0; transform: translateY(30px); }
.js .manifesto .cta-big { opacity: 0; transform: translateY(20px); }
.js .tour-phone { opacity: 0; }
.js .quiz-card { opacity: 0; transform: translateY(28px); }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .hero { grid-template-columns: 1fr; }
  .hero-phone { max-width: min(56vw, 320px); margin: 8px auto 0; }
}
@media (max-width: 860px) {
  .site-nav { display: none; }
  .grain { display: none; } /* blend-mode compositing is costly on low-end mobile GPUs */
  .hero { grid-template-columns: 1fr; padding-top: 110px; }
  .hero-scrim { background: radial-gradient(120% 70% at 50% 40%, rgba(5,5,7,0.82), transparent 75%); }
  .hero-phone { transform: rotate(4deg); width: min(66vw, 320px); max-width: none; margin: 44px auto 0; }
  .drill-row, .drill .drill-row:first-of-type { grid-template-columns: 1fr; gap: 40px; }
  .drill-row.rev .drill-copy { order: 1; }
  .drill-row.rev .drill-media { order: 2; }
  /* tour stacks into a vertical rhythm on mobile */
  .tour-pin { min-height: auto; }
  .tour-stage { flex-direction: column; align-items: center; gap: 56px; }
  .tour-phone { width: min(66vw, 300px); }
  .tour-b { margin-top: 0; }
  .discovery-grid { grid-template-columns: 1fr; }
  .discovery-phone { display: none; }
  .ranks-pin { min-height: auto; }
  .ranks-grid { grid-template-columns: 1fr; }
  .ranks-phone { max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .cta-pill { padding: 10px 16px; font-size: 12.5px; }
  .cta-big { padding: 15px 28px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-ctas { gap: 10px; }
  .call-lines { padding: 20px 16px 6px; }
  .call-toast { margin: 14px 16px 20px; }
}
@media (hover: none) {
  .marquee-track span { color: rgba(244, 243, 247, 0.3); }
}
