/* Dark Angel landing — base tokens + global styles */

:root {
  /* Deck-matched palette: deep navy-indigo, pale lavender, bright yellow */
  --ink: #08051a;
  --ink-2: #0d0822;
  --ink-3: #140d30;
  --ink-4: #1c1442;
  --surface: #100a26;
  --line: rgba(236, 229, 255, 0.06);
  --line-2: rgba(236, 229, 255, 0.12);
  --line-3: rgba(236, 229, 255, 0.22);
  --light: #ece5ff;
  --dim: rgba(236, 229, 255, 0.62);
  --faint: rgba(236, 229, 255, 0.4);
  --whisper: rgba(236, 229, 255, 0.2);
  --gold: #f5d000;
  --gold-hot: #ffe24a;
  --gold-deep: #c4a700;
  --crit: #ff5a6e;
  --warn: #ffb866;
  --ok: #7be0a8;
  --info: #8ab6ff;
  --lavender: #c8b9ff;
  --sky: #8ab6ff;
  --purple-bloom: #6b3fb0;

  --container: 1440px;
  --gutter: clamp(20px, 4vw, 80px);

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Newsreader", "EB Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--ink); color: var(--light); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* Deep purple bloom in top-right + subtle scatter, page-wide grid */
.bg-wash {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1400px 900px at 92% -8%, rgba(107, 63, 176, 0.42), transparent 55%),
    radial-gradient(900px 700px at 96% 50%, rgba(80, 50, 160, 0.16), transparent 60%),
    radial-gradient(900px 700px at -5% 80%, rgba(60, 40, 120, 0.10), transparent 60%);
}
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(236,229,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(236,229,255,0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 92%, transparent 100%);
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

main, header, footer { position: relative; z-index: 2; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Type ---------------------------------------------------- */
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.mono-sm { font-size: 10px; letter-spacing: 0.18em; }
.mono-md { font-size: 12px; letter-spacing: 0.12em; }

.display {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-wrap: balance;
}
.it, em.it, .display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
/* Cool gradient for emphasized words: white → lavender → sky */
.grad {
  background: linear-gradient(95deg, #ffffff 0%, #ece5ff 32%, #c8b9ff 60%, #8ab6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h-xxl { font-size: clamp(56px, 9vw, 168px); }
.h-xl  { font-size: clamp(44px, 6.4vw, 112px); }
.h-l   { font-size: clamp(36px, 4.6vw, 80px); }
.h-m   { font-size: clamp(28px, 3.2vw, 56px); }
.h-s   { font-size: clamp(22px, 2.2vw, 36px); }

.lede { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; color: var(--dim); max-width: 60ch; }

/* tabular numerals for any number */
.num { font-feature-settings: "tnum", "ss01"; font-variant-numeric: tabular-nums; }

.amber { color: var(--gold); }
.lav { color: var(--lavender); }
.sky { color: var(--sky); }
.crit { color: var(--crit); }
.ok { color: var(--ok); }
.dim { color: var(--dim); }
.faint { color: var(--faint); }

/* Buttons ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--line-2);
  background: var(--light);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--gold); border-color: var(--gold); }
.btn .arr { transition: transform 0.2s ease; }
.btn:hover .arr { transform: translateX(3px); }

.btn-ghost {
  background: transparent; color: var(--light); border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: rgba(236,229,255,0.04); border-color: var(--line-3); }

.btn-gold {
  background: var(--gold); color: var(--ink); border: 1px solid var(--gold);
  font-weight: 600;
}
.btn-gold:hover { background: var(--gold-hot); border-color: var(--gold-hot); }

/* Section frames + dividers ------------------------------- */
section { position: relative; }
.sec-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(28px, 4vw, 64px);
  color: var(--dim);
}
.sec-hd .l, .sec-hd .r { display: flex; gap: 18px; align-items: center; }
.dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 12px rgba(245,208,0,0.9);
}
.dot.crit { background: var(--crit); box-shadow: 0 0 10px rgba(255,90,110,0.7); }
.dot.ok { background: var(--ok); box-shadow: 0 0 10px rgba(123,224,168,0.7); }
.dot.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.78); }
}

.divider { height: 1px; background: var(--line); width: 100%; }
.section-pad { padding: clamp(72px, 10vw, 144px) 0; }
.section-pad-tight { padding: clamp(48px, 6vw, 96px) 0; }

/* Cards --------------------------------------------------- */
.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.card-pad { padding: clamp(20px, 2.4vw, 36px); }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--dim);
}
.tag.gold { color: var(--light); border-color: var(--line-2); }
.tag.gold::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 8px rgba(245,208,0,0.6);
}
.tag.crit { color: var(--crit); border-color: rgba(255,90,110,0.35); }
.tag.ok { color: var(--ok); border-color: rgba(123,224,168,0.32); }

/* Top ticker --------------------------------------------- */
.ticker {
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dim);
  height: 36px; display: flex; align-items: center;
  overflow: hidden;
  position: relative;
}
.ticker-row {
  display: flex; gap: 56px; white-space: nowrap;
  animation: ticker 70s linear infinite;
}
.ticker-row > span { display: inline-flex; align-items: center; gap: 10px; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Nav ----------------------------------------------------- */
.nav {
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(10,6,18,0.7);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
}
.nav-left { display: flex; align-items: center; gap: 14px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 15px; letter-spacing: -0.005em;
}
.brand-mark { width: 28px; height: 28px; }
.brand-wordmark { display: flex; align-items: baseline; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.brand-wordmark .nm { color: var(--light); font-weight: 500; }
.brand-wordmark .slash { color: var(--faint); }
.brand-wordmark .sub { font-size: 10px; letter-spacing: 0.18em; color: var(--dim); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 13px; color: var(--dim); position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 0;
}
.nav-links a:hover { color: var(--light); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* Hero ---------------------------------------------------- */
.hero {
  padding: clamp(48px, 8vw, 112px) 0 clamp(64px, 8vw, 120px);
  position: relative;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(236,229,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(236,229,255,0.05) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dim);
  padding-bottom: clamp(32px, 5vw, 60px);
}
.hero-meta .l, .hero-meta .r { display: flex; gap: 22px; align-items: center; }
.hero-title {
  font-weight: 600;
  letter-spacing: -0.045em;
}
.hero-title .it { color: var(--light); }
.hero-pills {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.hero-bottom {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(40px, 5vw, 72px);
  align-items: end;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-foot {
  display: flex; gap: 28px; padding-top: 16px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim);
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
}
@media (max-width: 900px) {
  .hero-bottom { grid-template-columns: 1fr; }
}

/* Live scanner panel ------------------------------------- */
.scanner {
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
  position: relative;
  overflow: hidden;
}
.scanner-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
}
.scanner-hd .l, .scanner-hd .r { display: flex; gap: 14px; align-items: center; }
.scanner-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.scan-row {
  display: grid; grid-template-columns: 22px 1fr auto auto;
  gap: 14px; align-items: center;
  padding: 10px 12px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.scan-row.is-origin { border-color: rgba(123,224,168,0.18); }
.scan-row.is-clone { border-color: rgba(255,90,110,0.22); background: rgba(255,90,110,0.04); }
.scan-row.is-look { border-color: rgba(255,155,61,0.2); }
.scan-row.is-watch { border-color: rgba(122,168,255,0.18); }
.scan-row .idx { color: var(--faint); font-size: 10px; }
.scan-row .dom { color: var(--light); font-size: 14px; font-family: var(--mono); }
.scan-row .dom .alt { color: var(--gold); }
.scan-row .lbl { font-size: 10px; letter-spacing: 0.16em; }
.scan-row .scr {
  font-size: 14px; min-width: 56px; text-align: right;
  font-variant-numeric: tabular-nums;
}
.scanner-foot {
  border-top: 1px solid var(--line);
  padding: 12px 18px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--dim);
}
.scanlines::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(243,242,255,0.02) 3px, rgba(243,242,255,0.02) 4px);
}

/* Stats strip -------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: clamp(36px, 4vw, 64px) clamp(24px, 3vw, 48px); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.stat:first-child { border-left: 0; }
.stat .big { font-size: clamp(56px, 7vw, 120px); line-height: 0.9; letter-spacing: -0.04em; font-weight: 480; }
.stat .lbl { color: var(--dim); max-width: 28ch; font-size: 15px; }
.stat .src { color: var(--faint); font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr; } .stat { border-left: 0; border-top: 1px solid var(--line); } .stat:first-child { border-top: 0; }}

/* Threats ------------------------------------------------ */
.threats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.threat {
  background: var(--ink);
  padding: clamp(24px, 2.6vw, 44px);
  display: flex; flex-direction: column; gap: 22px;
  min-height: 480px;
}
.threat-hd { display: flex; justify-content: space-between; align-items: flex-start; }
.threat-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--dim); }
.threat-title { font-size: clamp(24px, 2vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
.threat-body { color: var(--dim); font-size: 15px; line-height: 1.5; }
.threat-viz { margin-top: auto; padding: 16px; background: var(--ink-2); border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 1000px) { .threats-grid { grid-template-columns: 1fr; } }

/* Reactive trap signals --------------------------------- */
.signals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.signal { background: var(--ink); padding: clamp(24px, 2.4vw, 36px); display: flex; flex-direction: column; gap: 14px; min-height: 220px; }
.signal .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--crit); text-transform: uppercase; }
.signal .q { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.25; letter-spacing: -0.01em; color: var(--light); }
.signal .src { margin-top: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--faint); text-transform: uppercase; }
@media (max-width: 900px) { .signals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .signals { grid-template-columns: 1fr; } }

/* Engine quad ------------------------------------------- */
.quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.quad-cell { background: var(--ink); padding: clamp(20px, 2vw, 32px); display: flex; flex-direction: column; gap: 16px; min-height: 280px; }
.quad-cell .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--gold); }
.quad-cell .t { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.quad-cell .d { color: var(--dim); font-size: 14px; line-height: 1.5; }
.quad-cell .icon { width: 42px; height: 42px; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; }
@media (max-width: 1000px) { .quad { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .quad { grid-template-columns: 1fr; } }

/* Modules ----------------------------------------------- */
.module {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 1px;
}
.module .copy, .module .mock { background: var(--ink); padding: clamp(28px, 3.4vw, 56px); }
.module .copy { display: flex; flex-direction: column; gap: 24px; justify-content: space-between; }
.module .mock { background: var(--ink-2); position: relative; overflow: hidden; }
.module .mod-hd { display: flex; justify-content: space-between; align-items: center; }
.module .mod-name { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--gold); }
.module h3 { font-size: clamp(28px, 3vw, 48px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.04; margin: 0; }
.module h3 em { font-family: var(--serif); font-style: italic; color: var(--lavender); font-weight: 400; letter-spacing: -0.02em; }
.module p.desc { color: var(--dim); font-size: 16px; line-height: 1.55; max-width: 48ch; margin: 0; }
.module ul.feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.module ul.feats li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: flex-start; padding-top: 14px; border-top: 1px solid var(--line); }
.module ul.feats li .n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--gold); padding-top: 2px; }
.module ul.feats li .x .h { font-size: 15px; font-weight: 500; }
.module ul.feats li .x .b { color: var(--dim); font-size: 13px; line-height: 1.5; margin-top: 2px; }
@media (max-width: 1000px) { .module { grid-template-columns: 1fr; } }

/* Mock UIs ---------------------------------------------- */
.mock-pane {
  border: 1px solid var(--line);
  background: rgba(10,6,18,0.55);
  font-family: var(--mono); font-size: 12px;
}
.mp-hd { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.mp-body { padding: 16px; }

.row { display: grid; align-items: center; gap: 14px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }

/* Leaks exposure */
.exposure {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  padding: 24px;
}
.gauge { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .v { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge .v .n { font-size: clamp(48px, 5vw, 84px); letter-spacing: -0.03em; font-weight: 500; line-height: 1; }
.gauge .v .l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--dim); text-transform: uppercase; margin-top: 8px; }
.histo { display: flex; flex-direction: column; gap: 12px; }
.histo-row { display: grid; grid-template-columns: 80px 1fr 56px; gap: 12px; align-items: center; font-family: var(--mono); font-size: 11px; }
.histo-bar { height: 8px; background: rgba(243,242,255,0.06); position: relative; overflow: hidden; }
.histo-bar > div { height: 100%; }

/* Stealer logs */
.stealers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stealer { background: var(--ink); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.stealer .nm { font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em; color: var(--gold); }
.stealer .role { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--dim); text-transform: uppercase; }
.stealer-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 14px; }
.stealer-stat { background: var(--ink); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.stealer-stat .v { font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.02em; font-weight: 500; }
.stealer-stat .l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--dim); text-transform: uppercase; }

/* Surface scan */
.surface { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.surface-row {
  display: grid; grid-template-columns: 36px 1fr auto;
  gap: 16px; align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(10,6,18,0.4);
}
.surface-row .ic {
  width: 36px; height: 36px; border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px;
}
.surface-row .h { font-size: 14px; font-weight: 500; }
.surface-row .s { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.surface-row .val {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 2px;
}
.surface-row .val.crit { color: var(--crit); border: 1px solid rgba(255,90,110,0.3); background: rgba(255,90,110,0.06); }
.surface-row .val.warn { color: var(--warn); border: 1px solid rgba(255,155,61,0.3); background: rgba(255,155,61,0.06); }
.surface-row .val.info { color: var(--info); border: 1px solid rgba(122,168,255,0.3); background: rgba(122,168,255,0.06); }

/* How it works (flow) ----------------------------------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.flow-step { background: var(--ink); padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; gap: 22px; min-height: 360px; position: relative; }
.flow-step .ix { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--gold); }
.flow-step .big { font-family: var(--sans); font-size: clamp(56px, 6vw, 96px); font-weight: 480; letter-spacing: -0.04em; line-height: 0.92; }
.flow-step .h { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.flow-step .d { color: var(--dim); font-size: 14px; line-height: 1.5; }
.flow-step + .flow-step::before {
  content: ""; position: absolute; left: -1px; top: 50%; width: 12px; height: 12px;
  border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2);
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--ink);
}
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, 1fr); } .flow-step + .flow-step::before { display: none; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* Coverage ---------------------------------------------- */
.coverage { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px, 5vw, 96px); align-items: start; }
.cov-list { display: flex; flex-direction: column; }
.cov-row {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.cov-row:last-child { border-bottom: 1px solid var(--line); }
.cov-row .nm { font-size: clamp(22px, 2vw, 36px); font-weight: 480; letter-spacing: -0.02em; }
.cov-row .st { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: 10px; }
.cov-row .st.live { color: var(--ok); }
.cov-row .st.roadmap { color: var(--faint); }
@media (max-width: 800px) { .coverage { grid-template-columns: 1fr; } }

/* Why now ----------------------------------------------- */
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tri-cell { background: var(--ink); padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; gap: 18px; min-height: 320px; }
.tri-cell .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--gold); }
.tri-cell .big { font-size: clamp(44px, 5vw, 80px); font-weight: 480; letter-spacing: -0.04em; line-height: 0.95; }
.tri-cell .d { color: var(--dim); font-size: 15px; line-height: 1.55; }
@media (max-width: 900px) { .tri { grid-template-columns: 1fr; } }

/* Final CTA --------------------------------------------- */
.final {
  border-top: 1px solid var(--line);
  padding: clamp(96px, 12vw, 192px) 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(900px 700px at 50% 100%, rgba(234,197,0,0.08), transparent 70%);
}
.final-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; }
.final h2 { font-size: clamp(56px, 9vw, 168px); line-height: 0.92; letter-spacing: -0.04em; font-weight: 460; margin: 0; max-width: 14ch; text-wrap: balance; }
.final h2 em { font-family: var(--serif); font-style: italic; color: var(--lavender); font-weight: 400; letter-spacing: -0.02em; }
.final .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Footer ------------------------------------------------ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 6vw, 96px) 0 0;
  background: var(--ink);
  position: relative;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: clamp(24px, 3vw, 56px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.foot-col h5 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin: 0 0 18px; font-weight: 500; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--dim); }
.foot-col ul a:hover { color: var(--light); }
.foot-brand { display: flex; flex-direction: column; gap: 18px; }
.foot-brand .tag-line { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; max-width: 22ch; }
.foot-brand .tag-line em { font-family: var(--serif); font-style: italic; color: var(--lavender); font-weight: 400; }

.foot-mid {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
}
.foot-mid .l, .foot-mid .r { display: flex; gap: 24px; align-items: center; }

.foot-mark {
  padding: clamp(64px, 8vw, 128px) 0 clamp(32px, 4vw, 56px);
  display: flex; flex-direction: column; gap: 24px; align-items: stretch;
}
.foot-mark .wm {
  font-size: clamp(80px, 18vw, 320px); line-height: 0.82; letter-spacing: -0.05em; font-weight: 460;
  color: var(--light);
  display: flex; gap: 0.08em; align-items: baseline; justify-content: space-between;
  text-wrap: nowrap;
}
.foot-mark .wm em { font-family: var(--serif); font-style: italic; color: var(--lavender); font-weight: 400; letter-spacing: -0.02em; }
.foot-mark .meta {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--dim); font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.powered {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.powered-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.powered-l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.powered-r { display: flex; align-items: center; gap: 18px; font-size: 15px; color: var(--light); }
.powered-r .x { color: var(--faint); margin: 0 4px; }
.powered-r strong { font-weight: 500; letter-spacing: -0.005em; }

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* Reveal animation (JS-driven; default visible) ---------- */
html.rv [data-rv]:not(.in) { opacity: 0; transform: translateY(28px); filter: blur(6px); }
html.rv [data-rv][data-rv-fade]:not(.in) { transform: none; filter: blur(4px); }
html.rv [data-rv][data-rv-up]:not(.in) { transform: translateY(64px); }
html.rv [data-rv][data-rv-right]:not(.in) { transform: translateX(-40px); }
html.rv [data-rv][data-rv-left]:not(.in) { transform: translateX(40px); }
html.rv [data-rv][data-rv-scale]:not(.in) { transform: translateY(28px) scale(0.96); }
html.rv [data-rv][data-rv-rise]:not(.in) { transform: translateY(96px); filter: blur(8px); }
[data-rv] {
  transition:
    opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1) var(--rv-d, 0ms),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) var(--rv-d, 0ms),
    filter 1.1s cubic-bezier(0.16, 1, 0.3, 1) var(--rv-d, 0ms);
  will-change: opacity, transform, filter;
}
[data-rv].in { filter: blur(0); }

/* Histogram bars and gauge: animatable widths */
.histo-bar > div { transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1) var(--rv-d, 200ms); }
html.rv .histo-bar:not(.in) > div { width: 0 !important; }

.gauge svg .gauge-fill {
  transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1) 300ms;
}
html.rv .gauge:not(.in) svg .gauge-fill { stroke-dashoffset: 437.5 !important; }

/* Scroll-driven parallax wrappers */
.parallax { will-change: transform; }
.parallax-y { transform: translate3d(0, var(--px-y, 0px), 0); }

/* Hero copy soft float on scroll */
.hero-title, .hero-pills, .hero-meta { will-change: transform; }

/* Section headers ride up slightly as they enter — handled via JS scroll progress */
.sec-hd { will-change: transform, opacity; }

/* Display headings: per-word slide-up on reveal (JS adds .w spans) */
.display .w { display: inline-block; overflow: hidden; vertical-align: top; }
.display .w > i {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) var(--wd, 0ms);
  font-style: inherit;
}
[data-rv].in .display .w > i,
.display[data-rv].in .w > i,
[data-rv].in .w > i { transform: translateY(0); }

/* Underline grow on .nav-links a */
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  height: 1px; width: 100%; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* Card hover: tilt + glow */
.threat.tilt, .quad-cell, .flow-step, .cov-row, .tri-cell, .signal {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.5s ease;
}
.threat.tilt:hover { transform: translateY(-4px); background: var(--ink-2); box-shadow: 0 24px 60px -28px rgba(107,63,176,0.45); }
.quad-cell:hover { background: var(--ink-2); }
.flow-step:hover { background: var(--ink-2); }
.tri-cell:hover { background: var(--ink-2); }
.signal:hover { background: var(--ink-2); }
.cov-row:hover { background: rgba(236,229,255,0.02); }
.cov-row .nm { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease; }
.cov-row:hover .nm { transform: translateX(8px); color: var(--gold); }
.stealer { transition: background 0.4s ease, transform 0.4s ease; }
.stealer:hover { background: var(--ink-2); transform: translateY(-2px); }

/* Module mock pane rises subtly on scroll into view */
.module .mock { transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.module[data-rv].in .mock { transform: translateY(0); }
html.rv .module[data-rv]:not(.in) .mock { transform: translateY(40px); }

/* Footer wordmark scaling on enter */
.foot-mark .wm { transition: letter-spacing 1.6s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
html.rv .foot-mark:not(.in) .wm { letter-spacing: 0; transform: translateY(28px); }
.foot-mark .wm { letter-spacing: -0.05em; }

/* CTA pill subtle pulse on hover */
@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(245,208,0,0.45); }
  100% { box-shadow: 0 0 0 14px rgba(245,208,0,0); }
}
.btn-gold:hover { animation: ctaPulse 1.6s ease-out infinite; }

/* Scroll progress bar at top */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-hot) 50%, var(--lavender) 100%);
  z-index: 100;
  box-shadow: 0 0 12px rgba(245,208,0,0.55);
  transition: width 0.06s linear;
}

/* Soft drift on the grid background */
@keyframes gridDrift {
  0% { background-position: 0 0; }
  100% { background-position: 96px 96px; }
}
.bg-grid { animation: gridDrift 90s linear infinite; }

/* Gentle floating motion on the pulse dots */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.brand-mark { animation: float 6s ease-in-out infinite; transform-origin: center; }

/* Sticky-ish hero parallax — drives via --hero-p */
.hero { --hero-p: 0; }
.hero-pills { transform: translate3d(0, calc(var(--hero-p) * -20px), 0); }
.hero-meta  { transform: translate3d(0, calc(var(--hero-p) * -12px), 0); opacity: calc(1 - var(--hero-p) * 0.6); }
.hero-title { transform: translate3d(0, calc(var(--hero-p) * -28px), 0); }
.hero-copy  { transform: translate3d(0, calc(var(--hero-p) * -16px), 0); }
.scanner    { transform: translate3d(0, calc(var(--hero-p) * 8px), 0); }

/* Final CTA glow grows with scroll proximity */
.final { --final-p: 0; }
.final::after {
  content: ""; position: absolute; inset: auto 0 -10% 0; height: 60%;
  background: radial-gradient(700px 400px at 50% 100%, rgba(234,197,0, calc(0.10 + var(--final-p) * 0.10)), transparent 70%);
  pointer-events: none; z-index: -1;
}

/* Smooth scroll handled via JS for anchor links only */
@media (prefers-reduced-motion: reduce) {
  [data-rv] { opacity: 1 !important; transform: none !important; transition: none !important; filter: none !important; }
  .bg-grid { animation: none !important; }
  .brand-mark { animation: none !important; }
  .display .w > i { transform: none !important; }
  .hero-title, .hero-pills, .hero-meta, .hero-copy, .scanner { transform: none !important; }
}

/* Background bloom parallax wrapper */
.bg-wash, .bg-grid { will-change: transform; }

/* Utility ---------------------------------------------- */
.hr { height: 1px; background: var(--line); }
.row-2 { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }

.icon-svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Cursor / scanning marker ----------------------------- */
.cursor {
  display: inline-block; width: 8px; height: 14px; background: var(--gold); vertical-align: -2px; margin-left: 4px;
  animation: blink 1.1s steps(2, end) infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

/* Hover micro for cards */
.tilt { transition: border-color 0.2s ease, background 0.2s ease; }
.tilt:hover { border-color: var(--line-2); }
