/*
 * Shared design system for the static marketing site (public/*.html).
 * Every marketing page links this file instead of duplicating its own
 * <style> block — previously index.html/risk-fraud.html/kyb-compliance.html
 * each carried an almost byte-identical ~600-line stylesheet. Page-specific
 * markup only needs page-specific CSS now, if any.
 *
 * Light is the structural default (`:root { ... }`, no attribute needed) —
 * dark lives under `:root[data-theme="dark"]`. public/theme.js sets
 * data-theme synchronously before first paint and defaults to 'light';
 * flipping the attribute is what the toggle button does.
 */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg:      #f6f8fc;
  --ink:     #eef1f8;
  --ink2:    #ffffff;
  --rule:    rgba(16,23,43,0.06);
  --rule2:   rgba(16,23,43,0.12);

  /* Signal palette — one hue per pillar */
  --fuse:    #0090ba;   /* data fusion — electric blue */
  --grow:    #7c5cd6;   /* enrichment / diligence — deep violet */
  --pulse:   #12946a;   /* monitoring — bioluminescent green */
  --flag:    #d6423d;   /* risk / fraud — signal red */
  --warn:    #c9821f;

  --fuse-d:  rgba(0,144,186,0.08);
  --grow-d:  rgba(124,92,214,0.08);
  --pulse-d: rgba(18,148,106,0.08);
  --flag-d:  rgba(214,66,61,0.08);

  --text:    #151d33;
  --muted:   #5b6478;
  --muted2:  #7b8598;

  --accent-hover-bg: #151d33;
  --quote-mark: rgba(16,23,43,0.05);
  --logo-underscore: rgba(16,23,43,0.3);
  --nav-bg: rgba(246,248,252,0.85);
  --shadow: rgba(16,23,43,0.12);
}

:root[data-theme="dark"] {
  --bg:      #10172b;
  --ink:     #151d33;
  --ink2:    #1d2743;
  --rule:    rgba(255,255,255,0.08);
  --rule2:   rgba(255,255,255,0.14);

  --fuse:    #33ccff;
  --grow:    #b39bfb;
  --pulse:   #3fe6b4;
  --flag:    #ff6b68;
  --warn:    #ffc266;

  --fuse-d:  rgba(51,204,255,0.10);
  --grow-d:  rgba(179,155,251,0.10);
  --pulse-d: rgba(63,230,180,0.10);
  --flag-d:  rgba(255,107,104,0.10);

  --text:    #e4e9f4;
  --muted:   #a6afc4;
  --muted2:  #868fa6;

  --accent-hover-bg: #fff;
  --quote-mark: rgba(255,255,255,0.04);
  --logo-underscore: rgba(255,255,255,0.3);
  --nav-bg: rgba(16,23,43,0.85);
  --shadow: rgba(0,0,0,0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }

/* ─── NAV ─── */
nav.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 48px; gap: 20px;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}
.nav-logo {
  font-family: 'Space Mono', monospace;
  font-size: 16px; font-weight: 700;
  color: var(--fuse); letter-spacing: 3px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo span { color: var(--logo-underscore); }

.nav-menu { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  font-family: 'Space Mono', monospace;
  font-size: 17px; letter-spacing: 1px;
  background: transparent; border: none; cursor: pointer;
  color: var(--muted2); padding: 10px 14px;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-item.open > .nav-link { color: var(--fuse); background: var(--fuse-d); }
.nav-link:focus-visible { outline: 2px solid var(--fuse); outline-offset: 2px; }
.nav-caret { font-size: 12px; transition: transform .2s; display: inline-block; }
.nav-item.open .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--ink2); border: 1px solid var(--rule2);
  border-radius: 12px; box-shadow: 0 20px 50px var(--shadow);
  padding: 10px; min-width: 250px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 200;
}
.nav-item.open .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.drop-link {
  display: block; padding: 11px 12px; border-radius: 8px;
  font-size: 18px; font-weight: 500; color: var(--text); text-decoration: none;
}
.drop-link:hover { background: var(--fuse-d); color: var(--fuse); }
.drop-link:focus-visible { outline: 2px solid var(--fuse); outline-offset: -2px; }

.nav-dropdown--mega { min-width: 580px; padding: 20px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mega-card {
  display: block; padding: 16px; border-radius: 10px;
  border: 1px solid var(--rule); text-decoration: none;
  transition: border-color .2s, background .2s;
}
.mega-card:hover { border-color: var(--rule2); background: var(--ink); }
.mega-card:focus-visible { outline: 2px solid var(--fuse); outline-offset: 2px; }
.mega-tag {
  font-family: 'Space Mono', monospace; font-size: 16px; font-weight: 700;
  letter-spacing: .3px; margin-bottom: 7px;
  display: flex; align-items: center; gap: 7px;
}
.mega-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.mega-tag.fuse  { color: var(--fuse); }
.mega-tag.flag  { color: var(--flag); }
.mega-tag.grow  { color: var(--grow); }
.mega-tag.pulse { color: var(--pulse); }
.mega-desc { font-size: 17px; color: var(--muted2); line-height: 1.5; }
.mega-foot {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule);
  font-family: 'Space Mono', monospace; font-size: 12px;
}
.mega-foot a { color: var(--fuse); text-decoration: none; }
.mega-foot a:hover { text-decoration: underline; }

.nav-link--plain { text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
.nav-icon-btn {
  background: transparent; border: 1px solid var(--rule2); border-radius: 20px;
  cursor: pointer; font-size: 13px; line-height: 1; padding: 6px 9px;
}
.nav-icon-btn:focus-visible { outline: 2px solid var(--fuse); outline-offset: 2px; }
/* Compact pill — deliberately much smaller than the (now larger) nav links,
   the standard SaaS "prominent links, tidy CTA" balance. */
.nav-cta { padding: 7px 14px; font-size: 10.5px; letter-spacing: 1px; }

.nav-hamburger {
  display: none; background: transparent; border: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 4px;
  width: 34px; height: 34px; flex-shrink: 0;
}
.nav-hamburger span { display: block; width: 100%; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 48px 60px;
  gap: 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(0,144,186,0.08) 0%,
    rgba(124,92,214,0.05) 40%,
    transparent 70%);
  top: 50%; right: -100px;
  transform: translateY(-50%);
  pointer-events: none;
}
:root[data-theme="dark"] .hero::before {
  background: radial-gradient(circle,
    rgba(0,194,255,0.06) 0%,
    rgba(159,122,250,0.04) 40%,
    transparent 70%);
}
.hero.flag-glow::before {
  background: radial-gradient(circle, rgba(214,66,61,0.08) 0%, rgba(124,92,214,0.05) 40%, transparent 70%);
}
:root[data-theme="dark"] .hero.flag-glow::before {
  background: radial-gradient(circle, rgba(239,83,80,0.06) 0%, rgba(159,122,250,0.04) 40%, transparent 70%);
}
.hero.pulse-glow::before {
  background: radial-gradient(circle, rgba(18,148,106,0.08) 0%, rgba(0,144,186,0.05) 40%, transparent 70%);
}
:root[data-theme="dark"] .hero.pulse-glow::before {
  background: radial-gradient(circle, rgba(0,229,160,0.06) 0%, rgba(0,194,255,0.04) 40%, transparent 70%);
}
.hero.grow-glow::before {
  background: radial-gradient(circle, rgba(124,92,214,0.08) 0%, rgba(0,144,186,0.05) 40%, transparent 70%);
}
:root[data-theme="dark"] .hero.grow-glow::before {
  background: radial-gradient(circle, rgba(159,122,250,0.06) 0%, rgba(0,194,255,0.04) 40%, transparent 70%);
}
.hero-copy { position: relative; z-index: 2; container-type: inline-size; }
.hero-kicker {
  font-family: 'Space Mono', monospace;
  font-size: 12px; letter-spacing: 3px;
  color: var(--fuse); text-transform: uppercase;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.hero-kicker::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: currentColor;
}
.hero-kicker.flag  { color: var(--flag); }
.hero-kicker.pulse { color: var(--pulse); }
.hero-kicker.grow  { color: var(--grow); }
h1 {
  font-size: clamp(36px, 8.6cqw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
h1 em { font-style: normal; color: var(--fuse); }
h1 .g { color: var(--grow); }
h1 .p { color: var(--pulse); }
h1 .r { color: var(--flag); }
.hero-lead {
  font-size: 19px; font-weight: 400;
  color: var(--muted2);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-lead strong { color: var(--text); font-weight: 600; }
.hero-metrics { display: flex; gap: 28px; margin-bottom: 40px; flex-wrap: wrap; }
.metric-n {
  font-family: 'Space Mono', monospace;
  font-size: 26px; font-weight: 700;
  line-height: 1; margin-bottom: 4px;
}
.metric-n.f { color: var(--fuse); }
.metric-n.g { color: var(--grow); }
.metric-n.p { color: var(--pulse); }
.metric-n.r { color: var(--flag); }
.metric-l { font-size: 12.5px; color: var(--muted); font-weight: 500; letter-spacing: 0.3px; }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 13px; letter-spacing: 1.5px; font-weight: 700;
  padding: 13px 26px; border-radius: 8px;
  text-decoration: none;
  background: var(--fuse); color: #fff;
  border: 1px solid var(--fuse);
  transition: all .2s;
}
:root[data-theme="dark"] .btn { color: var(--bg); }
.btn:hover { background: var(--accent-hover-bg); border-color: var(--accent-hover-bg); color: #fff; }
:root[data-theme="dark"] .btn:hover { color: var(--bg); }
.btn.ghost { background: transparent; color: var(--fuse); }
.btn.ghost:hover { background: var(--fuse-d); color: var(--fuse); border-color: var(--fuse); }
/* Outrank `:root[data-theme="dark"] .btn { color: var(--bg) }` (which is for
   the solid fill) — a ghost button keeps its accent text/border in dark. */
:root[data-theme="dark"] .btn.ghost { color: var(--fuse); }
:root[data-theme="dark"] .btn.ghost:hover { color: var(--fuse); }
.btn:focus-visible { outline: 2px solid var(--fuse); outline-offset: 3px; }

/* ─── GRAPH / CANVAS WRAP ─── */
.graph-wrap { position: relative; width: 100%; aspect-ratio: 1; max-width: 520px; justify-self: center; }
.graph-wrap canvas { width: 100%; height: 100%; display: block; }
.graph-legend { position: absolute; bottom: 0; left: 0; display: flex; flex-direction: column; gap: 6px; }
.gl-item {
  display: flex; align-items: center; gap: 7px;
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 1px; color: var(--muted2);
}
.gl-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ─── SECTION BASE ─── */
section { padding: 100px 48px; position: relative; }
section.ink { background: var(--ink); }
.sec-kicker {
  font-family: 'Space Mono', monospace;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.sec-kicker::before { content: ''; width: 20px; height: 1px; display: inline-block; background: currentColor; }
.sec-kicker.fuse  { color: var(--fuse); }
.sec-kicker.grow  { color: var(--grow); }
.sec-kicker.pulse { color: var(--pulse); }
.sec-kicker.flag  { color: var(--flag); }
h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; letter-spacing: -1px;
  line-height: 1.1; margin-bottom: 16px;
}
h2 em { font-style: normal; }
h2 em.f { color: var(--fuse); } h2 em.g { color: var(--grow); }
h2 em.p { color: var(--pulse); } h2 em.r { color: var(--flag); }
.sec-lead {
  font-size: 18px; color: var(--muted2);
  line-height: 1.7; max-width: 620px;
  margin-bottom: 52px;
}
.sec-lead a { color: var(--fuse); }
.sec-lead strong { color: var(--text); }

/* ─── STAT STRIP (reusable metrics row, e.g. mid-page recap of hero metrics) ─── */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: var(--rule); border: 1px solid var(--rule); border-radius: 12px;
  overflow: hidden; margin-bottom: 52px;
}
.stat-cell { background: var(--ink2); padding: 26px 22px; text-align: center; }
.stat-cell .metric-n { font-size: 30px; }
.stat-cell .metric-l { display: block; }

/* ─── SYN CARDS (hue-topped, used for engines + comparison table) ─── */
.syn-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 12px;
  overflow: hidden;
}
.syn-card { background: var(--ink2); padding: 32px 28px; position: relative; overflow: hidden; }
.syn-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.syn-card.f::before { background: var(--fuse); }
.syn-card.g::before { background: var(--grow); }
.syn-card.p::before { background: var(--pulse); }
.syn-card.r::before { background: var(--flag); }
.syn-card.featured { box-shadow: inset 0 0 0 1px var(--fuse); }
.syn-num {
  font-family: 'Space Mono', monospace;
  font-size: 58px; font-weight: 700;
  line-height: 1; margin-bottom: 10px;
}
.syn-num.f { color: var(--fuse); } .syn-num.g { color: var(--grow); }
.syn-num.p { color: var(--pulse); } .syn-num.r { color: var(--flag); }
.syn-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px;
}
.syn-tag.f { color: var(--fuse); } .syn-tag.g { color: var(--grow); }
.syn-tag.p { color: var(--pulse); } .syn-tag.r { color: var(--flag); }
.syn-label { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.syn-body  { font-size: 15px; color: var(--muted2); line-height: 1.6; }
.syn-list { list-style: none; margin-top: 6px; }
.syn-list li { font-size: 14px; color: var(--muted2); line-height: 1.9; padding-left: 16px; position: relative; }
.syn-list li::before { content: '–'; position: absolute; left: 0; color: var(--muted); }
.syn-card.featured .syn-list li::before { content: '✓'; color: var(--fuse); }

/* ─── STEP ROWS (numbered process walkthrough) ─── */
.step-rows { border-top: 1px solid var(--rule); }
.step-row {
  display: grid; grid-template-columns: 48px 1fr; gap: 20px;
  padding: 26px 0; border-bottom: 1px solid var(--rule);
  align-items: flex-start;
}
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Mono', monospace; font-size: 14px; font-weight: 700;
  background: var(--fuse-d); color: var(--fuse); border: 1px solid rgba(0,144,186,0.3);
}
:root[data-theme="dark"] .step-num { border-color: rgba(0,194,255,0.3); }
.step-title { font-size: 16.5px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.step-body { font-size: 14.5px; color: var(--muted2); line-height: 1.6; }

/* ─── SOLUTION CARDS ─── */
.sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
a.sol-card {
  display: block; text-decoration: none;
  background: var(--ink2); border: 1px solid var(--rule);
  border-radius: 12px; padding: 34px 30px;
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .2s;
}
a.sol-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
a.sol-card.flag::before  { background: var(--flag); }
a.sol-card.fuse::before  { background: var(--fuse); }
a.sol-card.grow::before  { background: var(--grow); }
a.sol-card.pulse::before { background: var(--pulse); }
a.sol-card:hover { transform: translateY(-3px); }
a.sol-card.flag:hover  { border-color: rgba(214,66,61,0.4); }
a.sol-card.fuse:hover  { border-color: rgba(0,144,186,0.4); }
a.sol-card.grow:hover  { border-color: rgba(124,92,214,0.4); }
a.sol-card.pulse:hover { border-color: rgba(18,148,106,0.4); }
a.sol-card:focus-visible { outline: 2px solid var(--fuse); outline-offset: 3px; }
.sol-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 14px;
}
.sol-card.flag .sol-tag  { color: var(--flag); }
.sol-card.fuse .sol-tag  { color: var(--fuse); }
.sol-card.grow .sol-tag  { color: var(--grow); }
.sol-card.pulse .sol-tag { color: var(--pulse); }
.sol-title { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.sol-body { font-size: 15px; color: var(--muted2); line-height: 1.65; margin-bottom: 18px; }
.sol-go { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 1px; }
.sol-card.flag .sol-go  { color: var(--flag); }
.sol-card.fuse .sol-go  { color: var(--fuse); }
.sol-card.grow .sol-go  { color: var(--grow); }
.sol-card.pulse .sol-go { color: var(--pulse); }

/* ─── FEATURE ROWS ─── */
.frows { border-top: 1px solid var(--rule); }
.frow {
  display: grid; grid-template-columns: 250px 1fr; gap: 32px;
  padding: 28px 0; border-bottom: 1px solid var(--rule);
}
.frow h3 { font-size: 17px; font-weight: 600; }
.frow h3.f { color: var(--fuse); } .frow h3.g { color: var(--grow); }
.frow h3.p { color: var(--pulse); } .frow h3.r { color: var(--flag); }
.frow p { font-size: 15.5px; color: var(--muted2); line-height: 1.65; }
.frow p strong { color: var(--text); }
.frow .ep-tag {
  display: inline-block; margin-top: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 11px; padding: 2px 8px;
  border-radius: 3px; letter-spacing: 0.5px;
  background: var(--grow-d);
  border: 1px solid rgba(124,92,214,0.25);
  color: var(--grow);
}

/* ─── ENTITY TRUTH RECORD ─── */
.truth-record {
  background: var(--ink2);
  border: 1px solid rgba(0,144,186,0.25);
  border-radius: 12px; padding: 20px;
  box-shadow: 0 0 40px rgba(0,144,186,0.06);
}
.tr-header {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px; border-bottom: 1px solid var(--rule);
  margin-bottom: 14px; flex-wrap: wrap;
}
.tr-badge {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 1.5px;
  padding: 3px 8px; border-radius: 3px;
  background: var(--fuse-d);
  border: 1px solid rgba(0,144,186,0.3);
  color: var(--fuse);
}
.tr-name { font-size: 16px; font-weight: 700; color: var(--text); }
.tr-rows { display: flex; flex-direction: column; gap: 8px; }
.tr-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tr-key {
  font-family: 'Space Mono', monospace;
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.5px; flex-shrink: 0; padding-top: 1px;
}
.tr-val { font-size: 13px; color: var(--text); text-align: right; line-height: 1.4; }
.tr-val.fuse { color: var(--fuse); }
.tr-val.warn { color: var(--warn); }
.tr-val.flag { color: var(--flag); font-weight: 600; }

/* ─── INGEST LANES ─── */
.stream-wrap {
  position: relative;
  background: var(--ink2);
  border: 1px solid var(--rule);
  border-radius: 12px; padding: 24px;
  overflow: hidden;
}
.stream-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 100% 50%, rgba(0,144,186,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.stream-title {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 2px; color: var(--muted);
  margin-bottom: 18px;
}
.source-lanes { display: flex; flex-direction: column; gap: 10px; }
.lane {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px; background: var(--ink);
  border-radius: 6px; border: 1px solid var(--rule);
  position: relative; overflow: hidden;
}
.lane-icon { font-size: 16px; flex-shrink: 0; }
.lane-label { font-size: 14px; font-weight: 500; color: var(--text); flex: 1; min-width: 0; }
.lane-type { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.5px; }
.lane-particle {
  position: absolute;
  top: 50%; width: 3px; height: 3px; border-radius: 50%;
  background: var(--fuse);
  box-shadow: 0 0 6px var(--fuse);
  transform: translateY(-50%);
  animation: travel var(--speed, 2.4s) var(--delay, 0s) linear infinite;
}
@keyframes travel {
  0%   { left: -4px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { left: calc(100% + 4px); opacity: 0; }
}

/* ─── LIVE TIMELINE ─── */
.timeline-wrap {
  background: var(--ink2);
  border: 1px solid var(--rule);
  border-radius: 12px; padding: 24px;
  position: relative; overflow: hidden;
}
.timeline-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(18,148,106,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.tl-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tl-title { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 2px; }
.tl-live { display: flex; align-items: center; gap: 5px; font-family: 'Space Mono', monospace; font-size: 11px; color: var(--pulse); }
.tl-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pulse); animation: livePulse 1.5s infinite; }
@keyframes livePulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(18,148,106,0.4); }
  50%     { opacity: 0.7; box-shadow: 0 0 0 5px rgba(18,148,106,0); }
}
.tl-events { display: flex; flex-direction: column; position: relative; }
.tl-events::before {
  content: '';
  position: absolute; left: 10px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(to bottom, var(--pulse), rgba(18,148,106,0.1));
}
.tl-event { display: flex; gap: 18px; align-items: flex-start; padding: 10px 0; position: relative; }
.tl-dot {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; border: 1px solid;
  background: var(--ink);
  position: relative; z-index: 1; margin-top: 1px;
}
.tl-dot.c { border-color: rgba(214,66,61,0.5); color: var(--flag); background: rgba(214,66,61,0.1); }
.tl-dot.w { border-color: rgba(201,130,31,0.5); color: var(--warn); background: rgba(201,130,31,0.1); }
.tl-dot.i { border-color: rgba(18,148,106,0.3);  color: var(--pulse); background: var(--pulse-d); }
.tl-dot.new { border-color: var(--pulse); box-shadow: 0 0 0 3px rgba(18,148,106,0.15); }
.tl-content { flex: 1; }
.tl-age { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.tl-desc { font-size: 14px; color: var(--text); line-height: 1.45; margin-bottom: 3px; }
.tl-source { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--muted2); letter-spacing: 0.5px; }
.tl-newtag { color: var(--pulse); font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: 1px; margin-left: 6px; }

/* ─── REG TIMELINE ─── */
.reg-timeline { display: flex; flex-direction: column; }
.rt-item { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.rt-item:last-child { border-bottom: none; }
.rt-year { font-family: 'Space Mono', monospace; font-size: 12px; font-weight: 700; color: var(--fuse); width: 66px; flex-shrink: 0; padding-top: 2px; }
.rt-content { flex: 1; }
.rt-law { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.rt-desc { font-size: 14px; color: var(--muted2); line-height: 1.5; }
.rt-tag {
  display: inline-block; margin-top: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 11px; padding: 2px 7px;
  border-radius: 3px; border: 1px solid var(--rule2);
  color: var(--muted2);
}
.rt-tag.new { color: var(--pulse); border-color: rgba(18,148,106,0.3); background: var(--pulse-d); }

/* ─── THREAT / SEGMENT CARDS ─── */
.threat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.threat-card {
  background: var(--ink2); border: 1px solid var(--rule);
  border-radius: 8px; padding: 20px 18px;
  position: relative; overflow: hidden;
  transition: border-color 0.2s;
}
.threat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--t-color, rgba(214,66,61,0.5)); }
.threat-card:hover { border-color: rgba(214,66,61,0.3); }
.threat-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 5px; line-height: 1.3; }
.threat-body  { font-size: 13.5px; color: var(--muted2); line-height: 1.55; }
.threat-stat  {
  display: inline-block; margin-top: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 11px; padding: 2px 7px; border-radius: 3px;
  background: var(--flag-d); border: 1px solid rgba(214,66,61,0.2); color: var(--flag);
}
.threat-stat.pulse { background: var(--pulse-d); border-color: rgba(18,148,106,0.2); color: var(--pulse); }
.threat-stat.fuse  { background: var(--fuse-d);  border-color: rgba(0,144,186,0.2);  color: var(--fuse); }
.threat-stat.grow  { background: var(--grow-d);  border-color: rgba(124,92,214,0.2); color: var(--grow); }

/* ─── QUOTE CARDS ─── */
.quote-card {
  background: var(--ink2); border: 1px solid var(--rule);
  border-radius: 10px; padding: 26px 28px;
  position: relative; overflow: hidden;
  max-width: 820px;
}
.quote-card::before {
  content: '"';
  position: absolute; top: -12px; left: 16px;
  font-size: 100px; font-family: Georgia, serif; font-weight: 700;
  color: var(--quote-mark); line-height: 1;
  pointer-events: none; user-select: none;
}
.quote-card.red-accent  { border-left: 3px solid rgba(214,66,61,0.6); }
.quote-card.fuse-accent { border-left: 3px solid rgba(0,144,186,0.4); }
.quote-text { font-size: 15px; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 16px; position: relative; z-index: 1; }
.quote-role { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--muted2); letter-spacing: 0.3px; line-height: 1.5; }
.quote-source-link {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 10px; color: var(--fuse); opacity: 0.75;
  text-decoration: none; letter-spacing: 0.5px;
}
.quote-source-link:hover { opacity: 1; }

/* ─── RESOURCE CARDS ─── */
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.res-card {
  background: var(--ink2); border: 1px solid var(--rule);
  border-radius: 12px; padding: 32px 30px;
  position: relative; overflow: hidden;
}
.res-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grow); }
a.res-card { display: block; text-decoration: none; transition: border-color .2s, transform .2s; }
a.res-card:hover { border-color: rgba(124,92,214,0.4); transform: translateY(-3px); }
a.res-card:focus-visible { outline: 2px solid var(--grow); outline-offset: 3px; }
.res-tag { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--grow); margin-bottom: 14px; }
.res-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.res-body { font-size: 14.5px; color: var(--muted2); line-height: 1.65; }
.res-body a { color: var(--fuse); text-decoration: none; }
.res-body a:hover { text-decoration: underline; }
.res-go { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 1px; color: var(--grow); margin-top: 18px; display: inline-block; }

/* ─── PRICING CARDS ─── */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.price-card {
  background: var(--ink2); border: 1px solid var(--rule);
  border-radius: 14px; padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.price-card.featured { border-color: var(--fuse); box-shadow: 0 0 0 1px var(--fuse), 0 20px 50px var(--shadow); }
.price-badge {
  position: absolute; top: 18px; right: 18px;
  font-family: 'Space Mono', monospace; font-size: 10.5px; letter-spacing: 1px;
  padding: 3px 9px; border-radius: 20px;
  background: var(--fuse-d); border: 1px solid rgba(0,144,186,0.3); color: var(--fuse);
}
.price-tier { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.price-amount { font-size: 38px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.price-amount span { font-size: 15px; font-weight: 500; color: var(--muted2); }
.price-caption {
  font-family: 'Space Mono', monospace; font-size: 11px; color: var(--muted);
  margin-bottom: 22px; letter-spacing: 0.3px;
}
.price-features { list-style: none; margin-bottom: 26px; flex: 1; }
.price-features li {
  font-size: 14px; color: var(--muted2); line-height: 1.5;
  padding: 8px 0 8px 22px; border-top: 1px solid var(--rule); position: relative;
}
.price-features li:first-child { border-top: none; }
.price-features li::before { content: '✓'; position: absolute; left: 0; color: var(--fuse); font-weight: 700; }
.price-card .btn { text-align: center; }
.price-foot {
  text-align: center; font-size: 13px; color: var(--muted2); margin-top: 28px;
}

/* ─── CTA ─── */
.cta-sec { text-align: center; background: var(--ink); position: relative; overflow: hidden; }
.cta-sec::before {
  content: '';
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,214,0.08) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-sec h2, .cta-sec .sec-lead { margin-left: auto; margin-right: auto; }
.cta-sec .sec-kicker { justify-content: center; }
.cta-sec .sec-lead { margin-bottom: 36px; }
.access-form { max-width: 420px; margin: 0 auto; text-align: left; }
.access-form .af-row { display: flex; gap: 12px; }
.access-form input {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--ink2);
  border: 1px solid var(--rule2);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color .2s;
}
.access-form input::placeholder { color: var(--muted2); }
.access-form input:focus { border-color: var(--fuse); }
.access-form select {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--ink2);
  border: 1px solid var(--rule2);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color .2s;
}
.access-form select:invalid { color: var(--muted2); }
.access-form select:focus { border-color: var(--fuse); }
.access-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.access-form button[type="submit"] { cursor: pointer; }
.access-form button[type="submit"]:disabled { opacity: .6; cursor: default; }
.af-status { margin-top: 12px; font-size: 13px; min-height: 18px; }
.af-status.ok  { color: var(--pulse); }
.af-status.err { color: var(--flag); }
@media (max-width: 480px) { .access-form .af-row { flex-direction: column; gap: 0; } }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--rule);
  padding: 36px 48px 52px;
  font-family: 'Space Mono', monospace;
  font-size: 11.5px; letter-spacing: 1px; color: var(--muted2);
}
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-copy { margin-top: 18px; opacity: 0.6; }
footer a { color: var(--muted2); text-decoration: none; }
footer a:hover { color: var(--fuse); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ─── TWO-COL LAYOUT ─── */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }

/* ─── RESPONSIVE: NAV (mega-menu → hamburger/accordion) ─── */
@media (max-width: 900px) {
  /* backdrop-filter makes nav.site the containing block for its position:fixed
     children, which would size the panel below against the ~58px bar instead
     of the viewport (collapsing it). Drop the blur on mobile — the full-screen
     opaque panel doesn't need it. */
  nav.site { backdrop-filter: none; }
  .nav-hamburger { display: flex; position: relative; z-index: 2; }
  .nav-menu {
    position: fixed; top: 58px; left: 0; right: 0;
    height: 100vh;
    height: calc(100dvh - 58px);
    z-index: 1;
    background: var(--bg); border-top: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 24px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-menu.mobile-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .nav-item, .nav-link--plain { width: 100%; }
  .nav-link {
    width: 100%; justify-content: space-between; padding: 16px 4px;
    border-bottom: 1px solid var(--rule); border-radius: 0; font-size: 18px;
  }
  .nav-link--plain { display: block; padding: 16px 4px; border-bottom: 1px solid var(--rule); color: var(--text); font-size: 18px; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent;
    padding: 6px 4px 14px; display: none; min-width: 0;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-dropdown--mega { padding: 6px 4px 14px; }
  .mega-grid { grid-template-columns: 1fr; }
  .nav-actions {
    border-top: 1px solid var(--rule2); padding-top: 18px; margin-top: 10px;
    margin-left: 0; justify-content: space-between;
  }
  .nav-cta { flex: 1; text-align: center; font-size: 12px; padding: 11px 14px; }
}
@media (min-width: 901px) {
  .nav-menu { position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important; pointer-events: auto !important; }
}

/* ─── RESPONSIVE: CONTENT ─── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: unset; padding-top: 100px; }
  .graph-wrap { max-width: 400px; }
  .split, .res-grid { grid-template-columns: 1fr; }
  .sol-grid, .syn-grid, .threat-grid, .stat-strip, .price-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 24px; }
  nav.site { padding: 12px 20px; }
  footer { padding: 32px 24px 44px; }
  .frow { grid-template-columns: 1fr; gap: 8px; }
  .nav-dropdown--mega { min-width: 440px; }
}
@media (max-width: 640px) {
  .sol-grid, .syn-grid, .threat-grid, .stat-strip, .price-grid { grid-template-columns: 1fr; }
  .hero-metrics { gap: 22px; }
  .step-row { grid-template-columns: 36px 1fr; gap: 14px; }
}
