/* ==========================================================================
   Priors — "Ink & Acid" design system
   Warm near-black, bone off-white type, one acid accent. No neon gradients.
   ========================================================================== */

:root {
  /* surfaces */
  --ink:        #0A0A0C;
  --ink-1:      #101014;
  --ink-2:      #16161B;
  --ink-3:      #1E1E25;
  --hairline:   #26262E;
  --hairline-2: #33333D;

  /* type */
  --bone:       #F2F0EA;
  --bone-dim:   #C9C7C1;
  --mute:       #83838F;
  --mute-2:     #5C5C68;

  /* accents */
  --acid:       #D4FF3F;
  --acid-dim:   #A8CC2F;
  --lilac:      #B9A6FF;
  --coral:      #FF6B57;

  --up:   var(--acid);
  --down: var(--coral);

  /* type scale */
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* geometry */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --gut:  clamp(20px, 5vw, 56px);
  --maxw: 1240px;

  /* elevation — surfaces are lit and raised, never flat fills on flat ground */
  --lift-1: 0 1px 2px rgba(0,0,0,.5), 0 2px 6px -2px rgba(0,0,0,.45);
  --lift-2: 0 1px 2px rgba(0,0,0,.55), 0 14px 34px -14px rgba(0,0,0,.8);
  --lift-3: 0 2px 4px rgba(0,0,0,.6), 0 28px 60px -22px rgba(0,0,0,.9);
  --glass:  linear-gradient(180deg, #16161D 0%, #101015 100%);
  --glass-2:linear-gradient(180deg, #1B1B23 0%, #141419 100%);
  --edge:   inset 0 1px 0 rgba(255,255,255,.055);

  /* motion */
  --ease:     cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur:      .5s;
}

/* --------------------------------------------------------------- base --- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--acid);
  color: var(--ink);
  border-radius: var(--r-sm);
  font-weight: 700;
}
.skip:focus { left: 16px; }

.sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

/* Ledger ruling — the brand's background texture, matching the banner and OG
   card. Ruled record lines rather than the dot grid every dark site uses. */
.ledger {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom, transparent 0 33px, rgba(242,240,234,.045) 33px 34px);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
}

.rule { height: 1px; background: var(--hairline); border: 0; margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(212,255,63,.14);
}

.mono { font-family: var(--mono); }
.acid { color: var(--acid); }
.mute { color: var(--mute); }
.num  { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* acid marker-highlight, drawn on scroll */
.mark {
  position: relative;
  display: inline-block;
  color: var(--ink);
  padding: 0 .12em;
  isolation: isolate;
}
.mark::before {
  content: "";
  position: absolute;
  inset: .06em -.02em .04em;
  background: var(--acid);
  border-radius: .08em;
  z-index: -1;
  transform: scaleX(var(--mk, 1));
  transform-origin: left center;
  transition: transform .75s var(--ease-out);
}
.mark.pre { color: var(--bone); }
.mark.pre::before { --mk: 0; }

/* ------------------------------------------------------------- buttons --- */
.btn {
  --bg: var(--acid);
  --fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s;
  will-change: transform;
}
.btn::after {                       /* sheen sweep on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}
.btn:hover { box-shadow: 0 10px 34px -10px rgba(212,255,63,.55); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(.97); }

.btn-ghost {
  --bg: transparent;
  --fg: var(--bone);
  border: 1px solid var(--hairline-2);
}
.btn-ghost:hover {
  background: var(--ink-2);
  border-color: var(--mute-2);
  box-shadow: none;
}
.btn-ghost::after { display: none; }

.btn-sm { padding: 10px 18px; font-size: 14px; }

.arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ----------------------------------------------------------------- nav --- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.stuck {
  background: rgba(10,10,12,.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--hairline);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand svg { width: 30px; height: 30px; transition: transform .5s var(--ease); }
.brand:hover svg { transform: rotate(-8deg) scale(1.08); }
.brand span { font-weight: 700; font-size: 19px; letter-spacing: -.03em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 14.5px;
  color: var(--mute);
  border-radius: var(--r-sm);
  transition: color .25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; padding: 8px; border-radius: var(--r-sm); }

/* ---------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  padding-top: 138px;
  padding-bottom: 64px;
  overflow: hidden;
}
/* Cinematic hero scene: three depth layers of live market data, drifting and
   tracking the cursor. Depth built from the product's own subject rather than
   stock photography. */
.hero-scene {
  position: absolute;
  inset: -8% -6% auto;
  width: 112%;
  height: 118%;
  pointer-events: none;
  opacity: 1;
}
/* Protects headline legibility without flattening the scene: a soft wash under
   the copy column, and a gentle fade into the page at the edges. */
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, var(--ink) 4%, rgba(10,10,12,.86) 30%, rgba(10,10,12,.28) 54%, transparent 76%),
    linear-gradient(180deg, rgba(10,10,12,.7) 0%, transparent 22%, transparent 68%, var(--ink) 100%);
}

.hero-glow {                        /* soft acid wash, one only — not a blob field */
  position: absolute;
  top: -280px; left: 50%;
  width: 1100px; height: 620px;
  translate: -50% 0;
  background: radial-gradient(ellipse at center, rgba(212,255,63,.10), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
}
.hero h1 {
  /* sized so "Update your" holds one line in the hero column; the forced
     break then puts the highlighted word on its own line */
  font-size: clamp(42px, 5.9vw, 78px);
  letter-spacing: -.045em;
  margin: 22px 0 0;
}
.hero-sub {
  max-width: 34ch;
  margin-top: 24px;
  font-size: clamp(16px, 1.35vw, 18.5px);
  color: var(--mute);
  line-height: 1.62;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note {
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 8px 16px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--mute-2);
}
.hero-note b { color: var(--bone-dim); font-weight: 500; }

/* -------------------------------------------------------------- ticker --- */
.ticker {
  position: relative;
  border-block: 1px solid var(--hairline);
  background: var(--ink-1);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: slide 48s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

.tick {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-right: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
}
.tick b { font-weight: 700; letter-spacing: -.01em; }
.tick .act { font-size: 11px; letter-spacing: .1em; color: var(--mute); }
.tick .pl.up   { color: var(--up); }
.tick .pl.down { color: var(--down); }

/* ------------------------------------------------------------ sections --- */
.sec { position: relative; padding-block: clamp(56px, 6vw, 86px); }
/* Editorial two-column head: heading left, supporting text set against it on
   the right. Left-aligned copy over a 60ch measure stranded ~45% of the row. */
.sec-head {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: end;
  margin-bottom: clamp(30px, 3.4vw, 46px);
}
.sec-head > .eyebrow { grid-column: 1 / -1; }
/* a head with no supporting text must not strand an empty second column */
.sec-head:not(:has(p)) { grid-template-columns: 1fr; }
.sec-head h2 { grid-column: 1; }
.sec-head p {
  grid-column: 2;
  margin-top: 0;
  padding-bottom: .35em;
  max-width: 46ch;
}
.sec-head h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  margin-top: 18px;
}
.sec-head p {
  margin-top: 20px;
  font-size: clamp(15.5px, 1.3vw, 18px);
  color: var(--mute);
  max-width: 56ch;
}

/* ----------------------------------------------------------- card base --- */
.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--lift-2), var(--edge);
  transition: border-color .35s var(--ease), box-shadow .45s var(--ease),
              transform .45s var(--ease);
}
.card::before {                     /* cursor-tracking spotlight */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
              rgba(212,255,63,.08), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.card:hover {
  border-color: var(--hairline-2);
  box-shadow: var(--lift-3), var(--edge), 0 0 0 1px rgba(212,255,63,.06);
}
.card:hover::before { opacity: 1; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* ---------------------------------------------------------- black box --- */
.gap-card .k {
  font-family: var(--mono);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--acid);
  line-height: 1;
}
.gap-card h3 { margin: 16px 0 10px; font-size: 19px; letter-spacing: -.02em; }
.gap-card p { color: var(--mute); font-size: 14.8px; }

/* ------------------------------------------------------------- feed UI --- */
.feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* the explainer column tracks the taller feed instead of stranding whitespace */
.feed-side { position: sticky; top: 96px; display: grid; gap: 16px; }

/* hero feed reads as an endless stream: fixed height, faded tail */
.feed-stream {
  max-height: 590px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
}
.post {
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  flex: none;
  box-shadow: var(--lift-2), var(--edge);
  transition: border-color .3s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post:hover {
  border-color: var(--hairline-2);
  transform: translateY(-2px);
  box-shadow: var(--lift-3), var(--edge);
}
.post.enter { animation: postIn .62s var(--ease-out) both; }
@keyframes postIn {
  from { opacity: 0; transform: translateY(-14px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

.post-top { display: flex; align-items: center; gap: 11px; }
.ava {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 11px;
  background: var(--acid);
  flex: none;
}
.ava svg { width: 20px; height: 20px; }
.ava.lilac { background: var(--lilac); }
.ava.coral { background: var(--coral); }

.who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.who b { font-family: var(--mono); font-size: 14.5px; font-weight: 700; letter-spacing: -.02em; }
.who span { font-family: var(--mono); font-size: 11.5px; color: var(--mute-2); }

.badge {
  margin-left: auto;
  padding: 5px 11px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  background: var(--acid);
  color: var(--ink);
  flex: none;
}
.badge.sell  { background: var(--coral); color: #2A0A05; }
.badge.watch { background: var(--ink-3); color: var(--mute); }

.post-pos {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.post-pos b { font-size: 26px; letter-spacing: -.035em; }
.post-pos span { font-family: var(--mono); font-size: 13px; color: var(--mute); }

.post-why {
  margin-top: 12px;
  font-size: 14.6px;
  line-height: 1.66;
  color: var(--bone-dim);
}
.post-why em { color: var(--acid); font-style: normal; }

.conv {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--mute-2);
}
.segs { display: flex; gap: 4px; margin-right: auto; }
.seg {
  width: 15px; height: 8px;
  border-radius: 3px;
  background: var(--ink-3);
  transition: background .3s var(--ease);
}
.seg.on { background: var(--acid); }
.conv b { color: var(--acid); font-size: 12.5px; letter-spacing: 0; }

/* ------------------------------------------------------------- builder --- */
.builder { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }

.term {
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--lift-3), var(--edge);
  overflow: hidden;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--hairline);
  background: var(--glass-2);
}
.dot3 { display: flex; gap: 6px; }
.dot3 i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.term-bar span { font-family: var(--mono); font-size: 12px; color: var(--mute-2); margin-left: 6px; }

.term-body {
  padding: 22px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.75;
  min-height: 230px;
}
.prompt-line { color: var(--mute); }
.prompt-line::before { content: "› "; color: var(--acid); }
#typed { color: var(--bone); }
.caret {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  translate: 0 .18em;
  background: var(--acid);
  animation: blink 1.05s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.caret.done { animation: none; opacity: 0; transition: opacity .3s; }

.compiled { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.crow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--mute);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.crow.in { opacity: 1; transform: none; }
.crow i {
  display: grid; place-items: center;
  width: 17px; height: 17px;
  border-radius: 5px;
  background: rgba(212,255,63,.14);
  color: var(--acid);
  font-size: 11px;
  font-style: normal;
  flex: none;
}
.crow b { color: var(--bone-dim); font-weight: 500; }

/* ------------------------------------------------------------- ladder --- */
.board {
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--glass);
  box-shadow: var(--lift-3), var(--edge);
}
.board table { width: 100%; border-collapse: collapse; }
.board th {
  padding: 15px 20px;
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--mute-2);
  background: var(--glass-2);
  border-bottom: 1px solid var(--hairline);
  white-space: nowrap;
}
.board td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--hairline);
  font-size: 14.5px;
  vertical-align: middle;
}
.board tbody tr { transition: background .25s; cursor: pointer; }
.board tbody tr:hover { background: var(--ink-1); }
.board tbody tr:last-child td { border-bottom: 0; }
.board tbody tr:hover .rank { color: var(--acid); }
.rank { font-family: var(--mono); color: var(--mute-2); transition: color .25s; width: 40px; }
.agent { display: flex; align-items: center; gap: 11px; }
.agent b { font-family: var(--mono); font-size: 14px; letter-spacing: -.02em; }
.ret { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 700; }
.ret.up { color: var(--up); } .ret.down { color: var(--down); }
.spark { width: 88px; height: 26px; }
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 7px;
  border: 1px solid var(--hairline-2);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
}

/* ---------------------------------------------------------------- rail --- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
/* Column count follows the available width instead of being fixed. An inline
   grid-template-columns outranks the mobile media query, which is how four
   102px columns shipped to phones. */
.steps-fit { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .steps-fit { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps-fit { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 30px; }
.step::before {
  counter-increment: s;
  content: "0" counter(s);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--acid);
}
.step::after {
  content: "";
  position: absolute;
  top: 7px; left: 34px; right: 0;
  height: 1px;
  background: var(--hairline);
}
.step h3 { font-size: 21px; margin: 0 0 10px; letter-spacing: -.025em; }
.step p { color: var(--mute); font-size: 15px; }

/* ----------------------------------------------------------------- faq --- */
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 4px;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 600;
  letter-spacing: -.02em;
  cursor: pointer;
  list-style: none;
  transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--acid); }
.faq summary .pm {
  margin-left: auto;
  position: relative;
  width: 16px; height: 16px;
  flex: none;
}
.faq summary .pm::before,
.faq summary .pm::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1.5px;
  background: currentColor;
  transition: transform .4s var(--ease);
}
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans {
  padding: 0 60px 26px 4px;
  color: var(--mute);
  font-size: 15.5px;
  line-height: 1.7;
}
.faq details[open] .ans { animation: fadeUp .45s var(--ease-out) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------- closer --- */
.closer {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  background: var(--glass);
  box-shadow: var(--lift-3), var(--edge);
  padding: clamp(40px, 6vw, 76px);
  text-align: center;
  overflow: hidden;
}
.closer h2 { font-size: clamp(32px, 5vw, 62px); }
.closer p { margin: 20px auto 0; max-width: 46ch; color: var(--mute); }
.closer .hero-cta { justify-content: center; }

/* -------------------------------------------------------------- footer --- */
.foot { border-top: 1px solid var(--hairline); padding-block: 52px 40px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px 24px;
}
.foot h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin-bottom: 14px;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { font-size: 14.5px; color: var(--mute); transition: color .25s; }
.foot ul a:hover { color: var(--acid); }
.foot-bot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  font-size: 12.5px;
  color: var(--mute-2);
}
.disc {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--mute-2);
  max-width: 92ch;
}

/* ------------------------------------------------------------- reveals --- */
[data-rise] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-rise].in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- responsive --- */
@media (max-width: 980px) {
  .hero-grid, .builder { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .sec-head h2, .sec-head p { grid-column: 1; }
  .sec-head p { margin-top: 16px; padding-bottom: 0; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 118px; }
  .hero-sub { max-width: 46ch; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gut) 22px;
    background: rgba(10,10,12,.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hairline);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--hairline); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav .btn { display: none; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .board { overflow-x: auto; }
  .board table { min-width: 620px; }
  .faq .ans { padding-right: 12px; }
  .step::after { display: none; }
}

/* ----------------------------------------------------- reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-rise] { opacity: 1; transform: none; }
  .mark.pre::before { --mk: 1; }
  .crow { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

/* ------------------------------------------------- control panel (real UI) --
   Replaces a six-box feature grid. Showing the actual controls is both more
   convincing and less generic than describing them in cards.               */
.panel-wrap { position: relative; }

.panel {
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  background: var(--glass);
  box-shadow: var(--lift-3), var(--edge);
  overflow: hidden;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  background: var(--glass-2);
  border-bottom: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--mute);
}

.pill {
  margin-left: auto;
  padding: 5px 11px;
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
}
.pill.live { background: rgba(212,255,63,.14); color: var(--acid); }
.pill.ok   { background: rgba(212,255,63,.1);  color: var(--acid); white-space: nowrap; }

.panel-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--hairline);
  transition: background .3s var(--ease);
}
.panel-row:hover { background: rgba(255,255,255,.018); }

.pl { flex: 1 1 auto; min-width: 0; }
.pl b {
  display: block;
  font-size: 16px;
  letter-spacing: -.02em;
  margin-bottom: 5px;
}
.pl span { font-size: 14px; color: var(--mute); line-height: 1.55; }

/* toggle */
.sw {
  flex: none;
  width: 50px; height: 28px;
  border-radius: 999px;
  background: var(--ink-3);
  border: 1px solid var(--hairline-2);
  padding: 0;
  position: relative;
  transition: background .3s var(--ease), border-color .3s;
}
.sw i {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--mute);
  transition: transform .34s var(--ease), background .3s;
}
.sw.on { background: var(--acid); border-color: var(--acid); }
.sw.on i { transform: translateX(22px); background: var(--ink); }

/* capacity meters — fill on reveal */
.meter {
  flex: none;
  width: 230px;
  max-width: 42vw;
}
.meter .bar {
  height: 8px;
  border-radius: 999px;
  background: var(--ink-3);
  overflow: hidden;
  position: relative;
}
.meter .bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 0%);
  border-radius: 999px;
  background: var(--acid);
  transition: width 1.1s var(--ease-out);
}
.meter.coral .bar::after { background: var(--coral); }
.meter .num {
  display: block;
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  text-align: right;
}

/* allow-list chips */
.chips { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; max-width: 420px; }
.chip {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--hairline-2);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute-2);
  transition: all .25s var(--ease);
}
.chip.on {
  border-color: rgba(212,255,63,.42);
  background: rgba(212,255,63,.09);
  color: var(--acid);
}
.chip:hover { border-color: var(--mute-2); color: var(--bone); }

.panel-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 26px;
  background: var(--glass-2);
}
.kill {
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,107,87,.45);
  color: var(--coral);
  font-weight: 600;
  font-size: 14.5px;
  transition: all .28s var(--ease);
}
.kill:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #2A0A05;
  box-shadow: 0 10px 30px -12px rgba(255,107,87,.6);
}
.panel-foot .mono { font-size: 12.5px; }

@media (max-width: 760px) {
  .panel-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .meter { width: 100%; max-width: none; }
  .chips { justify-content: flex-start; max-width: none; }
}

/* ------------------------------------------------------------- builder lab --
   The live demo: input on the left, compiled rules on the right, results below. */
.lab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.ta {
  width: 100%;
  min-height: 116px;
  padding: 14px 16px;
  border-radius: var(--r);
  border: 1px solid var(--hairline);
  background: var(--ink);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  resize: vertical;
  transition: border-color .25s, box-shadow .25s;
}
.ta::placeholder { color: var(--mute-2); }
.ta:focus {
  outline: none;
  border-color: rgba(212,255,63,.5);
  box-shadow: 0 0 0 3px rgba(212,255,63,.09);
}

.lab-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ex {
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px solid var(--hairline-2);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--mute);
  transition: all .24s var(--ease);
}
.ex:hover {
  border-color: rgba(212,255,63,.45);
  color: var(--acid);
  background: rgba(212,255,63,.07);
  transform: translateY(-1px);
}

.pill.warn { background: rgba(255,107,87,.14); color: var(--coral); }

.note {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: var(--r);
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.02);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mute);
}
.note b { color: var(--bone-dim); }
.note.warn { border-color: rgba(255,107,87,.35); background: rgba(255,107,87,.06); }
.vocab {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 12px;
  margin-top: 11px;
  align-items: baseline;
}
.vocab span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.vocab code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--acid);
  line-height: 1.55;
}
@media (max-width: 620px) { .vocab { grid-template-columns: 1fr; gap: 3px 0; } }
.note.warn b { color: var(--coral); }

.srcbar {
  margin-top: 30px;
  padding: 12px 18px;
  border-radius: var(--r);
  border: 1px solid var(--hairline);
  background: var(--ink-1);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--mute);
}
.srcbar b { color: var(--bone-dim); }
.srcbar.real { border-color: rgba(212,255,63,.35); background: rgba(212,255,63,.05); }
.srcbar.real b { color: var(--acid); }

.statbar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin-top: 14px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--lift-2);
}
.stat { padding: 18px 20px; background: var(--ink-1); }
.stat span {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin-bottom: 8px;
}
.stat b {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 21px;
  letter-spacing: -.02em;
}
.stat b.up { color: var(--acid); }
.stat b.down { color: var(--coral); }
.stat b.acid { color: var(--acid); }

#results { scroll-margin-top: 88px; }
.conv b.down { color: var(--coral); }
.lab-h { font-size: 21px; letter-spacing: -.025em; margin-bottom: 6px; }

@media (max-width: 980px) {
  .lab { grid-template-columns: 1fr; }
  .statbar { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .statbar { grid-template-columns: repeat(2, 1fr); }
}

/* ------------------------------------------------------- architecture chain */
.chain {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr auto 1fr;
  gap: 14px;
  align-items: stretch;
}
.chain-node {
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--glass);
  box-shadow: var(--lift-2), var(--edge);
}
.chain-node.acid {
  border-color: rgba(212,255,63,.4);
  box-shadow: var(--lift-3), var(--edge), 0 0 0 1px rgba(212,255,63,.12);
}
.chain-node b {
  display: block;
  margin: 14px 0 8px;
  font-size: 17px;
  letter-spacing: -.02em;
}
.chain-node p { font-size: 14px; color: var(--mute); line-height: 1.6; }
.chain-arrow { display: grid; place-items: center; color: var(--mute-2); }
.chain-arrow svg { width: 40px; }

.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 11px; }
.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--mute);
  line-height: 1.55;
}
.ticks li b { color: var(--bone); font-weight: 600; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .45em;
  width: 13px; height: 8px;
  border-left: 1.8px solid var(--acid);
  border-bottom: 1.8px solid var(--acid);
  transform: rotate(-45deg);
}
.ticks.gap li::before {
  width: 12px; height: 12px;
  top: .3em;
  border: 0;
  transform: none;
  background:
    linear-gradient(currentColor, currentColor) center/12px 1.8px no-repeat;
  color: var(--coral);
}

@media (max-width: 900px) {
  .chain { grid-template-columns: 1fr; }
  .chain-arrow { transform: rotate(90deg); padding: 2px 0; }
}

/* ---------------------------------------------------------- instrument icons
   Real vendored logos. No tile or background — the marks carry their own
   brand colour and a coloured plate behind them just muddies it. */
.tick-ico {
  display: inline-block;
  flex: none;
  vertical-align: middle;
  border-radius: 50%;
}
/* the ticker strip runs small, so lift the marks slightly off the dark ground */
.tick .tick-ico { filter: saturate(1.05); }

/* symbol + icon pairing inside a prior card */
.post-pos .sym { display: inline-flex; align-items: center; gap: 9px; }
.tick .tick-ico { margin-right: 2px; }
.agent .tick-ico { margin-right: 2px; }

/* ------------------------------------------------------------- top banner */
.topbar {
  display: block;
  background: var(--acid);
  color: var(--ink);
  text-align: center;
  font-size: 13.5px;
  transition: filter .25s var(--ease);
}
.topbar:hover { filter: brightness(1.06); }
.topbar-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 16px;
}
.topbar .tg { width: 16px; height: 16px; flex: none; }
.topbar b { font-weight: 700; }
.topbar span:not(.topbar-in):not(.topbar-go) { opacity: .78; }
.topbar-go { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* the nav is fixed, so push it clear of the banner */
.nav { top: 38px; }
@media (max-width: 640px) {
  .topbar span:not(.topbar-in):not(.topbar-go) { display: none; }
  .nav { top: 34px; }
}

/* ---------------------------------------------------------- whitelist page */
.wl-head { text-align: center; }
.wl-h1 {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -.045em;
  margin: 18px 0 0;
}
.wl-sub {
  max-width: 52ch;
  margin: 20px auto 30px;
  font-size: clamp(16px, 1.4vw, 18.5px);
  color: var(--mute);
}
.btn-tg { --bg: #229ED9; --fg: #fff; font-size: 16px; padding: 15px 28px; }
.btn-tg:hover { box-shadow: 0 12px 36px -10px rgba(34,158,217,.6); }

.wl-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 54px;
}
.wl-step {
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--glass);
  box-shadow: var(--lift-2), var(--edge);
}
.wl-step span {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 9px;
  background: rgba(212,255,63,.14);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}
.wl-step b { display: block; margin: 14px 0 7px; font-size: 17px; letter-spacing: -.02em; }
.wl-step p { font-size: 14px; color: var(--mute); line-height: 1.6; }

.wl-demo {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
}
.wl-you, .wl-bot {
  padding: 12px 15px;
  border-radius: 13px;
  line-height: 1.6;
}
.wl-you { background: #229ED9; color: #fff; justify-self: end; max-width: 82%; border-bottom-right-radius: 4px; }
.wl-bot { background: var(--ink-3); color: var(--bone-dim); justify-self: start; max-width: 82%; border-bottom-left-radius: 4px; }

@media (max-width: 760px) { .wl-steps { grid-template-columns: 1fr; } }

/* whitelist: honest state while the bot has no handle yet */
.wl-soon {
  display: grid;
  justify-items: center;
  gap: 9px;
  max-width: 52ch;
  margin: 0 auto 26px;
  padding: 22px 26px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--glass);
  box-shadow: var(--lift-2), var(--edge);
}
.wl-soon b { font-size: 16.5px; letter-spacing: -.02em; }
.wl-soon span { font-size: 14.5px; color: var(--mute); line-height: 1.6; text-align: center; }
/* Same panel, open rather than waiting: the acid rim is the only thing that
   changes state, so the two versions sit at the same weight on the page. */
.wl-soon.live { border-color: color-mix(in srgb, var(--acid) 34%, var(--hairline)); }
.wl-soon.live b { color: var(--acid); }
