/* SolSec — design system. Dark, editorial, dot-matrix. */
@font-face { font-family: 'SG'; src: url(/fonts/space-grotesk-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'SG'; src: url(/fonts/space-grotesk-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'SG'; src: url(/fonts/space-grotesk-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'SG'; src: url(/fonts/space-grotesk-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JBM'; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-21FF, U+2212; }
@font-face { font-family: 'JBM'; src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-21FF, U+2212; }

:root {
  --bg: #07080a;
  --bg-2: #0c0e11;
  --surface: #111318;
  --surface-2: #171a20;
  --line: rgba(238, 240, 236, 0.08);
  --line-2: rgba(238, 240, 236, 0.14);
  --text: #eef0ec;
  --muted: #9aa59f;
  --dim: #5b6560;
  --accent: #ff5a1f;
  --accent-soft: rgba(255, 90, 31, 0.14);
  --sol: #14f195;
  --violet: #9945ff;
  --danger: #ff4d4f;
  --warn: #ffb020;
  --ok: #2bd67b;
  --info: #5aa9ff;
  --paper: #fafaf7;
  --ink: #0d1012;
  --radius: 18px;
  --radius-sm: 12px;
  --font: 'SG', 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'JBM', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1280px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 1; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.accent { color: var(--accent); }
.nowrap { white-space: nowrap; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.grid-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
main#app { position: relative; z-index: 1; min-height: 100vh; padding-bottom: 140px; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.eyebrow.plain::before { display: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.045em; line-height: 1.04; }
.display { font-size: clamp(44px, 7.6vw, 112px); letter-spacing: -0.06em; line-height: 0.96; }
.h1 { font-size: clamp(38px, 5.6vw, 76px); }
.h2 { font-size: clamp(30px, 4.2vw, 56px); }
.h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); max-width: 62ch; line-height: 1.5; letter-spacing: -0.01em; }
.split-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.split-line > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 500; font-size: 15px; letter-spacing: -0.01em; transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; white-space: nowrap; position: relative; isolation: isolate; overflow: hidden; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 30px -10px rgba(255, 90, 31, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(255, 90, 31, .9); }
.btn-primary .arrow { transition: transform .35s var(--ease); }
.btn-primary:hover .arrow { transform: translate(3px, -3px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: rgba(238,240,236,.35); background: rgba(255,255,255,.05); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-xs { height: 28px; padding: 0 10px; font-size: 12px; gap: 6px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); color: var(--muted); transition: color .2s, border-color .2s, background .2s; position: relative; }
.icon-btn:hover { color: var(--text); border-color: var(--line-2); background: rgba(255,255,255,.04); }
.icon-btn svg { width: 18px; height: 18px; }
.link { color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color .2s, color .2s; }
.link:hover { color: var(--accent); border-color: var(--accent); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 13px; transition: all .2s; white-space: nowrap; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.active { background: var(--text); color: var(--ink); border-color: var(--text); }
.chip .count { font-family: var(--mono); font-size: 11px; opacity: .7; }

/* ---------- status pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid currentColor; white-space: nowrap; line-height: 1.6; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.confirmed { color: var(--danger); }
.pill.investigating { color: var(--warn); }
.pill.investigating::before { animation: blink 1.2s infinite; }
.pill.suspected { color: var(--info); }
.pill.signal { color: var(--violet); }
.pill.advisory { color: var(--sol); }
.pill.critical { color: var(--danger); } .pill.high { color: #ff7a45; } .pill.medium { color: var(--warn); } .pill.low { color: var(--info); } .pill.info { color: var(--muted); } .pill.notice { color: var(--info); } .pill.warning { color: var(--warn); } .pill.moderate { color: var(--warn); }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- header ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); transition: background .35s, border-color .35s, transform .45s var(--ease); border-bottom: 1px solid transparent; }
.topbar.scrolled { background: rgba(7, 8, 10, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.topbar.hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.04em; font-size: 19px; }
.brand-mark { width: 30px; height: 30px; }
.brand small { font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: .12em; color: var(--dim); text-transform: uppercase; margin-left: 2px; }
.topnav { display: flex; gap: 2px; }
.topnav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: 14px; transition: color .2s, background .2s; }
.topnav a:hover { color: var(--text); }
.topnav a.active { color: var(--text); background: rgba(255,255,255,.06); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.ticker { display: flex; gap: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted); align-items: center; }
.ticker b { color: var(--text); font-weight: 500; }
.up { color: var(--ok) !important; } .down { color: var(--danger) !important; }
.badge-dot { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 10px; font-family: var(--mono); display: grid; place-items: center; line-height: 1; }
.badge-dot:empty, .badge-dot[data-n="0"] { display: none; }

/* ---------- floating dock (mobile + desktop) ---------- */
.dock { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 45; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(17, 19, 24, .78); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border: 1px solid var(--line-2); box-shadow: 0 20px 60px -20px rgba(0,0,0,.8); }
.dock a { display: inline-flex; flex: none; white-space: nowrap; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; color: var(--muted); font-size: 13.5px; transition: color .2s, background .3s var(--ease); }
.dock a svg { width: 18px; height: 18px; flex: none; }
.dock a:hover { color: var(--text); }
.dock a.active { color: var(--text); background: rgba(255,255,255,.08); }
.dock a.dock-cta { background: var(--accent); color: #fff; padding: 0 16px; }
.dock a.dock-cta:hover { filter: brightness(1.08); }
.dock .sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 4px; }

/* ---------- loader (fingerprint) ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(120% 90% at 20% 10%, #21142b 0%, transparent 55%), radial-gradient(110% 80% at 85% 90%, #2a1220 0%, transparent 55%), linear-gradient(160deg, #141529 0%, #120f1d 55%, #1b1020 100%); clip-path: circle(150% at 50% 50%); }
.loader canvas.stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader-inner { position: relative; display: grid; place-items: center; gap: 28px; text-align: center; }
.fp-wrap { position: relative; width: 210px; height: 210px; display: grid; place-items: center; }
.fp-halo { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 55%, transparent 70%); border: 1px solid rgba(255,255,255,.06); }
.fp-ring { position: absolute; inset: -14px; }
.fp-ring circle { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1; }
.fp-ring .prog { stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.fingerprint { width: 132px; height: 150px; overflow: visible; }
.fingerprint path { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 2.4; stroke-linecap: round; }
.fingerprint .lit path { stroke: #f4f1ff; filter: drop-shadow(0 0 3px rgba(255,255,255,.75)) drop-shadow(0 0 9px rgba(190,170,255,.35)); }
.fingerprint.granted .lit path { stroke: #ffd9c9; filter: drop-shadow(0 0 3px rgba(255,140,90,.9)) drop-shadow(0 0 12px rgba(255,90,31,.55)); transition: stroke .4s; }
.fp-scan { position: absolute; left: 18%; right: 18%; height: 2px; top: 10%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent); box-shadow: 0 0 14px rgba(255,255,255,.7); border-radius: 2px; opacity: .85; }
.loader-label { font-family: var(--mono); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: rgba(238,232,255,.62); min-height: 1.6em; }
.loader-label b { color: #fff; font-weight: 500; }
.loader-skip { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(238,232,255,.4); }
.loader-skip:hover { color: #fff; }

/* ---------- page shell ---------- */
.page { padding-top: 120px; }
.page-head { display: grid; gap: 18px; margin-bottom: 40px; }
.page-head .lead { margin-top: 4px; }
.section { padding: clamp(72px, 11vw, 160px) 0; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- cards ---------- */
.card { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.card.hover { transition: border-color .3s, transform .45s var(--ease), background .3s; }
.card.hover:hover { border-color: var(--line-2); transform: translateY(-3px); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); }
.card-title { font-size: 13px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stat-num { font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.05em; font-weight: 500; line-height: 1; }
.stat-sub { font-size: 13px; color: var(--muted); margin-top: 8px; font-family: var(--mono); }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }

/* ---------- incident row ---------- */
.inc-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.inc-row { display: grid; grid-template-columns: 120px minmax(0, 1.6fr) minmax(0, 1fr) 130px 130px 32px; gap: 20px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--line); position: relative; transition: background .3s; }
.inc-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.inc-row:hover { background: rgba(255,255,255,.025); }
.inc-row:hover::before { transform: scaleY(1); }
.inc-time { font-family: var(--mono); font-size: 12px; color: var(--muted); line-height: 1.4; }
.inc-time b { display: block; color: var(--text); font-weight: 500; font-size: 13px; }
.inc-title { font-size: 18px; letter-spacing: -0.025em; line-height: 1.25; font-weight: 500; }
.inc-meta { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; color: var(--muted); }
.inc-meta .mono { font-size: 12px; }
.inc-proto { font-size: 14px; color: var(--muted); display: grid; gap: 4px; }
.inc-proto b { color: var(--text); font-weight: 500; }
.inc-loss { font-size: 20px; letter-spacing: -0.03em; text-align: right; font-weight: 500; }
.inc-loss small { display: block; font-size: 11px; font-family: var(--mono); color: var(--dim); letter-spacing: .04em; }
.inc-arrow { color: var(--dim); transition: transform .35s var(--ease), color .2s; }
.inc-row:hover .inc-arrow { color: var(--accent); transform: translate(3px, -3px); }
.kind-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.src-tag { font-family: var(--mono); font-size: 11px; color: var(--dim); }

/* ---------- forms ---------- */
.field { position: relative; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 6px 6px 20px; transition: border-color .25s, background .25s, box-shadow .25s; }
.field:focus-within { border-color: rgba(255, 90, 31, .7); background: rgba(255,255,255,.05); box-shadow: 0 0 0 6px rgba(255, 90, 31, .08); }
.field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; height: 44px; font-size: 16px; }
.field input::placeholder { color: var(--dim); }
.field.lg { padding: 8px 8px 8px 24px; }
.field.lg input { height: 54px; font-size: 17px; font-family: var(--mono); letter-spacing: -0.01em; }
.input { width: 100%; height: 44px; padding: 0 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 12px; outline: 0; transition: border-color .2s; }
.input:focus { border-color: var(--accent); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
select.input option { background: var(--surface); }
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--muted); user-select: none; }
.toggle input { display: none; }
.toggle .knob { width: 38px; height: 22px; border-radius: 99px; background: rgba(255,255,255,.12); position: relative; transition: background .25s; flex: none; }
.toggle .knob::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.toggle input:checked + .knob { background: var(--accent); }
.toggle input:checked + .knob::after { transform: translateX(16px); }
.form-error { color: var(--danger); font-size: 14px; margin-top: 10px; min-height: 1.4em; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
.t th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.t td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr { transition: background .2s; }
.t tbody tr:hover { background: rgba(255,255,255,.025); }
.t .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.addr { font-family: var(--mono); font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.copy { color: var(--dim); transition: color .2s; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; }
.copy:hover { color: var(--text); background: rgba(255,255,255,.06); }
.copy svg { width: 14px; height: 14px; }
.ext { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.ext a { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); transition: all .2s; white-space: nowrap; }
.ext a:hover { color: var(--text); border-color: var(--line-2); }
.role { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.role.attacker { background: rgba(255,77,79,.14); color: #ff7b7d; }
.role.victim { background: rgba(255,176,32,.14); color: var(--warn); }
.role.program { background: rgba(153,69,255,.16); color: #b98aff; }
.role.intermediary, .role.unknown { background: rgba(90,169,255,.12); color: var(--info); }
.role.cex { background: rgba(43,214,123,.12); color: var(--ok); }

/* ---------- incident page ---------- */
.inc-hero { display: grid; gap: 22px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.inc-hero-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.kv > div { background: var(--bg-2); padding: 18px 20px; }
.kv dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.kv dd { margin: 0; font-size: 17px; letter-spacing: -0.02em; }
.kv dd small { display: block; font-size: 12px; color: var(--muted); font-family: var(--mono); letter-spacing: 0; margin-top: 2px; }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.layout-2 > *, .stack > * { min-width: 0; max-width: 100%; }
.sticky { position: sticky; top: 92px; }
.graph-card { padding: 0; overflow: hidden; }
.graph-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.graph { position: relative; height: 520px; background: radial-gradient(circle at 50% 50%, rgba(255,90,31,.05), transparent 60%); cursor: grab; touch-action: none; }
.graph:active { cursor: grabbing; }
.graph svg { width: 100%; height: 100%; }
.graph .edge { stroke: rgba(238,240,236,.22); stroke-width: 1.2; fill: none; }
.graph .edge.reported { stroke: rgba(255,90,31,.55); stroke-dasharray: 5 5; animation: dash 1.4s linear infinite; }
.graph .edge.onchain { stroke: rgba(238,240,236,.3); }
@keyframes dash { to { stroke-dashoffset: -20; } }
.graph .node circle { stroke: var(--bg); stroke-width: 2; cursor: pointer; transition: r .2s; }
.graph .node text { font-family: var(--mono); font-size: 10px; fill: var(--muted); pointer-events: none; paint-order: stroke; stroke: var(--bg); stroke-width: 3px; }
.graph .node.selected circle { stroke: #fff; stroke-width: 2.5; }
.graph .edge-label { font-family: var(--mono); font-size: 9.5px; fill: var(--dim); pointer-events: none; paint-order: stroke; stroke: var(--bg); stroke-width: 3px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); font-family: var(--mono); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.graph-note { position: absolute; left: 16px; bottom: 14px; right: 16px; font-size: 12px; color: var(--dim); font-family: var(--mono); pointer-events: none; }
.timeline { position: relative; display: grid; gap: 22px; padding-left: 22px; }
.timeline::before { content: ''; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--line-2); }
.timeline .ev { position: relative; }
.timeline .ev::before { content: ''; position: absolute; left: -22px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline time { font-family: var(--mono); font-size: 12px; color: var(--muted); display: block; margin-bottom: 4px; }
.sources a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; transition: color .2s; }
.sources a:last-child { border-bottom: 0; }
.sources a:hover { color: var(--accent); }
.sources a span:last-child { font-family: var(--mono); font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.affected-cta { background: radial-gradient(120% 140% at 100% 0%, rgba(255,90,31,.22), transparent 60%), var(--surface); border-color: rgba(255,90,31,.3); }

/* ---------- drawer / modal ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(4,5,6,.6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(520px, 100vw); background: var(--bg-2); border-left: 1px solid var(--line-2); transform: translateX(100%); transition: transform .55s var(--ease); display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-body { padding: 22px; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.modal { position: fixed; z-index: 62; left: 50%; top: 50%; width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 64px); transform: translate(-50%, -46%) scale(.98); opacity: 0; pointer-events: none; transition: opacity .3s, transform .45s var(--ease); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 22px; display: flex; flex-direction: column; overflow: hidden; }
.modal.open { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.logs { font-family: var(--mono); font-size: 11.5px; color: var(--muted); background: rgba(0,0,0,.3); border-radius: 12px; padding: 14px; max-height: 260px; overflow: auto; white-space: pre-wrap; word-break: break-all; }
details.fold summary { cursor: pointer; color: var(--muted); font-size: 14px; list-style: none; display: flex; align-items: center; gap: 8px; }
details.fold summary::before { content: '+'; font-family: var(--mono); color: var(--accent); }
details.fold[open] summary::before { content: '−'; }
details.fold summary::-webkit-details-marker { display: none; }

/* ---------- toasts / palette ---------- */
.toasts { position: fixed; z-index: 90; left: 50%; bottom: 92px; transform: translateX(-50%); display: grid; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--text); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: 0 14px 40px -10px rgba(0,0,0,.6); animation: toast-in .45s var(--ease); text-align: center; }
.toast.err { background: var(--danger); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.palette { position: fixed; z-index: 80; left: 50%; top: 14vh; width: min(640px, calc(100vw - 32px)); transform: translateX(-50%) translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease); background: rgba(17,19,24,.96); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 40px 120px -20px rgba(0,0,0,.9); overflow: hidden; backdrop-filter: blur(20px); }
.palette.open { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
.palette input { width: 100%; height: 60px; padding: 0 22px; background: none; border: 0; border-bottom: 1px solid var(--line); outline: 0; font-size: 17px; }
.palette-list { max-height: 50vh; overflow-y: auto; padding: 8px; }
.palette-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; cursor: pointer; }
.palette-item small { color: var(--dim); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; flex: none; }
.palette-item.sel, .palette-item:hover { background: rgba(255,255,255,.06); }
kbd { font-family: var(--mono); font-size: 11px; padding: 2px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; color: var(--muted); }

/* ---------- home ---------- */
.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; position: relative; padding: 104px 0 120px; overflow: hidden; }
.hero-beam { position: absolute; left: 50%; top: 0; width: 2px; height: 15%; transform: translateX(-50%); background: linear-gradient(180deg, transparent, rgba(255,140,90,.95) 60%, rgba(255,200,170,.9)); filter: blur(.5px); box-shadow: 0 0 40px 8px rgba(255,90,31,.25); opacity: .85; pointer-events: none; }
.hero-beam::after { content: ''; position: absolute; left: 50%; top: 100%; width: 520px; height: 420px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255,90,31,.18), transparent 65%); }
.hero-inner { position: relative; width: 100%; box-sizing: border-box; z-index: 1; text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 22px; }
.hero .display em { font-style: normal; color: var(--accent); }
.hero-form { width: min(640px, 100%); margin-top: 8px; }
.hero-hint { font-size: 13px; color: var(--dim); font-family: var(--mono); margin-top: 12px; }
.hero-hint button { color: var(--muted); border-bottom: 1px dashed var(--dim); }
.hero-hint button:hover { color: var(--text); }
.hero-stats { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(980px, 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-stats > div { padding: 22px 16px; text-align: left; border-right: 1px solid var(--line); }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats .v { font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -0.04em; font-weight: 500; }
.hero-stats .l { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }
.scroll-cue { position: absolute; bottom: 110px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--dim); text-transform: uppercase; display: grid; justify-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--dim), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.questions { position: relative; }
.q-pin { height: 100svh; display: grid; place-items: center; position: relative; overflow: hidden; }
.q-stage { position: relative; width: 100%; max-width: var(--maxw); padding: 0 var(--gutter); text-align: center; }
.q-item { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 22px; opacity: 0; }
.q-item:first-child { position: relative; opacity: 1; }
.q-num { font-family: var(--mono); color: var(--accent); font-size: 13px; letter-spacing: .2em; }
.q-item h2 { font-size: clamp(40px, 7vw, 104px); letter-spacing: -0.06em; line-height: .98; }
.q-item p { color: var(--muted); max-width: 52ch; margin: 0 auto; font-size: clamp(16px, 1.4vw, 20px); }
.q-progress { position: absolute; bottom: 120px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.q-progress i { width: 34px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; position: relative; }
.q-progress i b { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.q-box { position: absolute; width: 140px; height: 140px; border: 1px solid var(--line); border-radius: 26px; pointer-events: none; }

.light { background: var(--paper); color: var(--ink); border-radius: 40px 40px 0 0; margin-top: -40px; position: relative; z-index: 2; }
.light + .after-light { background: var(--paper); }
.light .lead, .light .muted { color: #5b6560; }
.light .eyebrow { color: #5b6560; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(13,16,18,.12); }
.step { padding: 32px 28px 40px 0; border-bottom: 1px solid rgba(13,16,18,.12); display: grid; gap: 14px; align-content: start; position: relative; }
.step:not(:nth-child(3n)) { border-right: 1px solid rgba(13,16,18,.12); }
.step:nth-child(3n+2), .step:nth-child(3n) { padding-left: 28px; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .14em; }
.step h3 { font-size: 24px; letter-spacing: -0.035em; }
.step p { margin: 0; color: #5b6560; font-size: 15px; }
.step a { font-size: 14px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; }
.step a:hover { color: var(--accent); }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; white-space: nowrap; position: relative; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 60s linear infinite; padding-left: 48px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--mono); font-size: 13px; color: var(--muted); display: inline-flex; gap: 12px; align-items: center; }
.marquee span b { color: var(--text); font-weight: 500; }
.marquee span i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 90px; gap: 14px; align-items: center; font-size: 14px; }
.bar-row .track { height: 10px; background: rgba(255,255,255,.05); border-radius: 99px; overflow: hidden; }
.bar-row .fill { height: 100%; background: linear-gradient(90deg, var(--accent), #ff9a6b); border-radius: 99px; transform-origin: left; }
.bar-row .v { text-align: right; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.cols { display: flex; align-items: end; gap: 10px; height: 240px; padding-top: 20px; }
.cols .col { flex: 1; display: grid; justify-items: center; gap: 8px; height: 100%; align-content: end; min-width: 0; }
.cols .col .b { width: 100%; max-width: 64px; background: linear-gradient(180deg, var(--accent), rgba(255,90,31,.25)); border-radius: 10px 10px 2px 2px; transform-origin: bottom; min-height: 2px; position: relative; }
.cols .col .b span { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.cols .col small { font-family: var(--mono); font-size: 11px; color: var(--dim); }

.cta-final { text-align: center; display: grid; justify-items: center; gap: 26px; padding: clamp(100px, 14vw, 200px) 0; }

/* ---------- wallet ---------- */
.scan-box { display: grid; justify-items: center; gap: 22px; padding: 40px 0; text-align: center; }
.scan-box .fp-wrap { width: 180px; height: 180px; }
.scan-box .fingerprint { width: 110px; height: 126px; }
.scan-steps { display: grid; gap: 6px; font-family: var(--mono); font-size: 12.5px; color: var(--dim); text-align: left; }
.scan-steps .on { color: var(--text); }
.scan-steps .done { color: var(--ok); }
.risk { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.gauge { width: 170px; height: 170px; position: relative; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; }
.gauge .bg { stroke: rgba(255,255,255,.07); }
.gauge .fg { stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.gauge .val { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; text-align: center; }
.gauge .val b { font-size: 44px; letter-spacing: -0.05em; font-weight: 500; line-height: 1; }
.gauge .val small { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-top: 6px; }
.level-clean { color: var(--ok); } .level-low { color: var(--info); } .level-elevated { color: var(--warn); } .level-high { color: var(--danger); }
.finding { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.finding:last-child { border-bottom: 0; }
.finding .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.05); }
.finding .ico svg { width: 20px; height: 20px; }
.finding h4 { font-size: 17px; letter-spacing: -0.02em; margin-bottom: 6px; line-height: 1.3; }
.finding p { margin: 0 0 10px; color: var(--muted); font-size: 14.5px; }
.finding .txs { display: flex; flex-wrap: wrap; gap: 6px; }
.selfcheck { display: grid; gap: 10px; }
.selfcheck .q { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; }
.selfcheck .q p { margin: 0; font-size: 14px; }
.selfcheck .q small { color: var(--dim); font-family: var(--mono); font-size: 11px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; color: var(--muted); }
.seg button.on { background: var(--text); color: var(--ink); }
.seg button.on.yes { background: var(--danger); color: #fff; }
.seg button.on.no { background: var(--ok); color: var(--ink); }
.empty { text-align: center; color: var(--muted); padding: 48px 16px; display: grid; justify-items: center; gap: 14px; }
.empty svg { width: 40px; height: 40px; color: var(--dim); }
.ok-banner { border-color: rgba(43,214,123,.3); background: radial-gradient(120% 140% at 0% 0%, rgba(43,214,123,.12), transparent 60%), var(--surface); }

/* ---------- watchlist ---------- */
.proto-row { display: grid; grid-template-columns: 40px minmax(0, 1.4fr) 110px 90px 90px 90px auto; gap: 14px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.proto-row:hover { background: rgba(255,255,255,.02); }
.logo { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); overflow: hidden; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--muted); flex: none; }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.star { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--dim); border: 1px solid var(--line); transition: all .25s var(--ease); }
.star svg { width: 16px; height: 16px; }
.star:hover { color: var(--text); border-color: var(--line-2); }
.star.on { color: var(--accent); border-color: rgba(255,90,31,.5); background: var(--accent-soft); }
.star.on svg { fill: currentColor; }
.watch-card { display: grid; gap: 12px; }
.watch-card .head { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.notif { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.notif.unread { background: linear-gradient(90deg, rgba(255,90,31,.08), transparent 70%); }
.notif .dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; background: var(--dim); }
.notif.unread .dot { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.notif time { font-family: var(--mono); font-size: 11px; color: var(--dim); display: block; margin-top: 4px; }

/* ---------- market ---------- */
.price-big { font-size: clamp(48px, 7vw, 96px); letter-spacing: -0.06em; font-weight: 500; line-height: 1; }
.chart { height: 300px; position: relative; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .area { fill: url(#chartGrad); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2; }
.chart .hover-line { stroke: var(--line-2); stroke-dasharray: 3 3; }
.chart-tip { position: absolute; pointer-events: none; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 12px; font-family: var(--mono); font-size: 12px; transform: translate(-50%, -120%); white-space: nowrap; opacity: 0; transition: opacity .15s; }
.spark { width: 100px; height: 30px; }
.spark path { fill: none; stroke-width: 1.5; }
.converter { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: end; }
.converter label { font-size: 12px; color: var(--muted); font-family: var(--mono); display: block; margin-bottom: 6px; }
.conv-row { display: flex; gap: 8px; }
.conv-row .input:first-child { flex: 1; min-width: 0; }
.conv-row select { width: 110px; flex: none; }
.swap { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); transition: transform .45s var(--ease), color .2s; }
.swap:hover { transform: rotate(180deg); color: var(--text); }
.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fx-grid > div { background: var(--bg-2); padding: 14px 16px; }
.fx-grid .c { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.fx-grid .v { font-size: 18px; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.seg-tabs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.seg-tabs button { height: 30px; padding: 0 12px; border-radius: 999px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.seg-tabs button.on { background: var(--text); color: var(--ink); }
.progress { height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; margin-top: 12px; }
.progress b { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--sol)); border-radius: 99px; }

/* ---------- insights / docs ---------- */
.vector { display: grid; gap: 10px; }
.vector h3 { font-size: 20px; letter-spacing: -0.03em; }
.vector p { margin: 0; color: var(--muted); font-size: 14.5px; }
.vector ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 4px; }
.check-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; align-items: start; }
.check-item input { display: none; }
.check-item .box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: all .25s var(--ease); margin-top: 1px; }
.check-item .box svg { width: 14px; height: 14px; opacity: 0; transform: scale(.5); transition: all .25s var(--ease); color: #fff; }
.check-item input:checked + .box { background: var(--accent); border-color: var(--accent); }
.check-item input:checked + .box svg { opacity: 1; transform: none; }
.check-item b { font-weight: 500; display: block; }
.check-item span.d { color: var(--muted); font-size: 14px; }
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 2px; font-size: 14px; }
.toc a { padding: 7px 12px; border-radius: 10px; color: var(--muted); border-left: 2px solid transparent; transition: all .2s; }
.toc a:hover { color: var(--text); }
.toc a.on { color: var(--text); background: rgba(255,255,255,.04); border-left-color: var(--accent); }
.prose { max-width: 78ch; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin: 64px 0 18px; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; letter-spacing: -0.025em; margin: 32px 0 10px; }
.prose p, .prose li { color: #c4cbc6; font-size: 16px; }
.prose ul, .prose ol { padding-left: 20px; display: grid; gap: 6px; }
.prose code { font-family: var(--mono); font-size: .88em; background: rgba(255,255,255,.06); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--text); }
.prose pre { background: #0a0b0d; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: #d7dcd8; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.prose a { color: var(--text); border-bottom: 1px solid var(--accent); }
.callout { border: 1px solid rgba(255,90,31,.3); background: var(--accent-soft); border-radius: 14px; padding: 14px 18px; font-size: 14.5px; color: #f1d6cb; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 64px 0 140px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 400; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.footer ul a { color: var(--muted); transition: color .2s; }
.footer ul a:hover { color: var(--text); }
.footer-big { font-size: clamp(60px, 16vw, 240px); letter-spacing: -0.075em; line-height: .8; font-weight: 600; color: transparent; -webkit-text-stroke: 1px rgba(238,240,236,.14); margin-top: 60px; user-select: none; white-space: nowrap; }
.disclaimer { font-size: 12.5px; color: var(--dim); margin-top: 28px; max-width: 90ch; line-height: 1.6; }

/* ---------- skeleton / misc ---------- */
.skel { background: linear-gradient(90deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.09) 40%, rgba(255,255,255,.04) 80%); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 8px; min-height: 14px; }
@keyframes sk { to { background-position: -200% 0; } }
.err-box { border: 1px solid rgba(255,77,79,.3); background: rgba(255,77,79,.06); border-radius: 14px; padding: 16px 18px; color: #ffb3b4; font-size: 14px; display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap; }
.reveal { opacity: 0; transform: translateY(28px); }
.no-js .reveal, .reduced .reveal { opacity: 1; transform: none; }
.curtain { position: fixed; inset: 0; z-index: 70; background: var(--accent); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }
.cursor-glow { position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(255,90,31,.07), transparent 60%); transform: translate(-50%, -50%); left: -500px; top: -500px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.stack { display: grid; gap: 16px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-64 { margin-top: 64px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.filters .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.search { min-width: 260px; flex: 1; max-width: 380px; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; gap: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .topnav { display: none; }
  .layout-2 { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .inc-row { grid-template-columns: 100px minmax(0, 1fr) 120px 120px 24px; }
  .inc-row .inc-proto { display: none; }
}
@media (max-width: 900px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: minmax(0, 1fr); }
  .g2 { grid-template-columns: minmax(0, 1fr); }
  .span2 { grid-column: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step:nth-child(3n+2), .step:nth-child(3n) { padding: 28px 0; border-right: 0 !important; }
  .docs { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .toc a { white-space: nowrap; border-left: 0; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .proto-row { grid-template-columns: 36px minmax(0, 1fr) 90px auto; }
  .proto-row .hide-m { display: none; }
  .ticker .hide-m { display: none; }
  .risk { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .converter { grid-template-columns: minmax(0, 1fr); }
  .swap { justify-self: center; transform: rotate(90deg); }
  .swap:hover { transform: rotate(270deg); }
}
@media (max-width: 720px) {
  .topbar { height: 60px; }
  .ticker { display: none; }
  .brand small { display: none; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats > div:nth-child(2) { border-right: 0; }
  .hero-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .inc-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; padding: 18px 4px; }
  .inc-row .inc-time { grid-column: 1 / -1; display: flex; gap: 10px; align-items: baseline; }
  .inc-row .inc-time b { display: inline; }
  .inc-row .inc-arrow { display: none; }
  .inc-row .inc-status { grid-column: 1; grid-row: 3; }
  .inc-row .inc-loss { grid-column: 2; grid-row: 2 / 4; align-self: center; font-size: 17px; }
  .inc-title { font-size: 16.5px; }
  .dock { bottom: 12px; gap: 0; padding: 5px; max-width: calc(100vw - 16px); }
  .dock a { padding: 0 11px; height: 40px; }
  .dock a .lbl { display: none; }
  .dock a.dock-cta .lbl { display: inline; }
  .dock .sep { display: none; }
  .graph { height: 420px; }
  .bar-row { grid-template-columns: 110px minmax(0, 1fr) 70px; font-size: 13px; }
  .field.lg { padding: 6px 6px 6px 16px; }
  .field.lg input { height: 46px; font-size: 14px; }
  .field .btn { padding: 0 16px; }
  .search { min-width: 0; max-width: none; width: 100%; }
  .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .light { border-radius: 26px 26px 0 0; }
  .page { padding-top: 96px; }
  .card { padding: 18px; }
  .q-box { display: none; }
  .footer-big { white-space: normal; }
}
@media (max-width: 420px) {
  .g4 > .card { padding: 14px; }
  .g4 .stat-num { font-size: 24px; }
  .g4 .card-title { font-size: 10px; }
  .dock a { padding: 0 9px; }
  .hero-stats .v { font-size: 20px; }
  .kv dd { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.graph .edge.context { stroke: rgba(238,240,236,.16); stroke-dasharray: 2 5; }
.suggest-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.suggest { display:grid; grid-template-columns:36px minmax(0,1fr) auto; gap:10px; align-items:center; padding:10px 12px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.015); transition:border-color .2s, background .2s; }
.suggest:hover { border-color:var(--line-2, rgba(255,255,255,.18)); background:rgba(255,255,255,.03); }
@media (max-width:620px){ .suggest-grid { grid-template-columns:minmax(0,1fr); } }
.cover-card { position:relative; overflow:hidden; min-height:150px; }
.cover-card b { display:block; margin-top:14px; font-weight:500; }
.cover-ic { display:inline-grid; place-items:center; width:36px; height:36px; border-radius:50%; background:var(--accent-soft); color:var(--accent); }
.cover-ic svg { width:18px; height:18px; }
.cover-n { position:absolute; top:16px; right:18px; font-size:11px; color:var(--dim); }
.known-list { display:grid; gap:2px; }
.known { display:grid; grid-template-columns:10px 150px minmax(0,1fr) auto auto; gap:14px; align-items:center; padding:12px 10px; border-radius:12px; transition:background .2s; font-size:14px; }
.known:hover { background:rgba(255,255,255,.035); }
.known .dot { width:8px; height:8px; border-radius:50%; }
.known-go { display:inline-flex; gap:6px; align-items:center; color:var(--accent); font-size:13px; }
.known-go svg { width:14px; height:14px; }
@media (max-width:620px){ .known { grid-template-columns:10px minmax(0,1fr) auto; } .known .muted, .known-go { display:none; } }

/* ---------- v2: interactive loader ---------- */
.loader-top { position:absolute; top:24px; left:28px; right:28px; display:flex; justify-content:space-between; align-items:center; z-index:2; }
.loader-brand { font-weight:600; letter-spacing:-.04em; font-size:18px; color:#fff; display:inline-flex; gap:10px; align-items:center; }
.loader-meta { font-size:10.5px; letter-spacing:.22em; text-transform:uppercase; color:rgba(238,232,255,.45); display:inline-flex; gap:8px; align-items:center; }
.loader-meta::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--accent); box-shadow:0 0 10px var(--accent); animation:blink 1.4s steps(2) infinite; }
.loader.granted .loader-meta::before { background:var(--ok); box-shadow:0 0 10px var(--ok); }
@keyframes blink { 50% { opacity:.2; } }
.loader-inner { gap:22px; }
.loader-led { width:min(520px, 84vw); aspect-ratio: 86 / 9; display:block; }
.fp-touch { cursor:pointer; border-radius:50%; touch-action:none; -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; -webkit-tap-highlight-color:transparent; outline:none; }
.fp-touch:focus-visible .fp-halo { box-shadow:0 0 0 2px var(--accent); }
.fp-touch .fp-halo { transition:background .4s, border-color .4s, transform .6s var(--ease); }
.fp-touch.active .fp-halo { background:radial-gradient(circle, rgba(255,90,31,.16) 0%, rgba(255,90,31,.05) 55%, transparent 72%); border-color:rgba(255,90,31,.35); transform:scale(1.04); }
.fp-touch.active .fingerprint .lit path { stroke:#fff3ec; filter:drop-shadow(0 0 3px rgba(255,170,130,.9)) drop-shadow(0 0 10px rgba(255,90,31,.45)); }
.fp-pulse { position:absolute; inset:0; border-radius:50%; border:1px solid rgba(255,255,255,.22); animation:fpPulse 2.6s var(--ease) infinite; pointer-events:none; }
.fp-pulse.d2 { animation-delay:1.3s; }
.fp-touch.active .fp-pulse, .loader.granted .fp-pulse { animation:none; opacity:0; }
@keyframes fpPulse { 0% { transform:scale(.92); opacity:.8; } 100% { transform:scale(1.55); opacity:0; } }
.loader.granted .fp-ring .prog { stroke:var(--ok); }
.loader.granted .fingerprint.granted .lit path { stroke:#d8ffe9; filter:drop-shadow(0 0 3px rgba(43,214,123,.9)) drop-shadow(0 0 12px rgba(43,214,123,.55)); }
.loader.granted .loader-label b { color:var(--ok); }
.loader-hint { font-family:var(--mono); font-size:10.5px; letter-spacing:.18em; text-transform:uppercase; color:rgba(238,232,255,.35); min-height:1.4em; margin-top:-10px; }
.fp-scan { transition:opacity .3s; }
@media (max-width:620px){ .loader-top { top:16px; left:16px; right:16px; } .loader-meta { display:none; } }

/* ---------- v2: brand ---------- */
.brand-mark .frame { fill: rgba(255,90,31,.06); stroke: var(--accent); stroke-width: 1.3; }
.brand-mark circle.on { fill: var(--accent); }
.brand-mark circle.off { fill: rgba(238,240,236,.16); }
.brand:hover .brand-mark circle.on, .loader-brand .brand-mark circle.on { animation: dotWave 1.6s var(--ease) infinite; animation-delay: calc(var(--i) * 45ms); }
@keyframes dotWave { 0%, 100% { fill: var(--accent); } 40% { fill: #fff; } }
.brand span { display:inline-flex; align-items:baseline; }

/* pill buttons with a dot-matrix badge */
.btn .dm { width: 13px; height: 13px; }
.btn-primary { padding-right: 7px; padding-left: 22px; }
.btn-primary.btn-sm { padding-right: 5px; padding-left: 14px; }
.btn-primary .dm { box-sizing: content-box; width: 13px; height: 13px; padding: 10px; border-radius: 50%; background: rgba(7,8,10,.28); }
.btn-primary.btn-sm .dm { padding: 6.5px; width: 11px; height: 11px; }
.btn-primary:not(:has(.dm)) { padding-right: 22px; }
.btn-primary.btn-sm:not(:has(.dm)) { padding-right: 14px; }
.btn-primary:hover .arrow { transform: none; }
.btn-primary:hover .dm circle, .btn-ghost:hover .dm circle { animation: dotShift .9s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes dotShift { 0% { opacity: 1; transform: translate(0,0); } 35% { opacity: 0; transform: translate(4px,-4px); } 36% { opacity: 0; transform: translate(-4px,4px); } 100% { opacity: 1; transform: translate(0,0); } }
.btn-primary::before { content:''; position:absolute; inset:0; z-index:-1; background: radial-gradient(circle at var(--bx,50%) var(--by,50%), rgba(255,255,255,.35), transparent 55%); opacity:0; transition: opacity .3s; }
.btn-primary:hover::before { opacity: .55; }

/* spotlight cards */
.card::after, .spot::after { content:''; position:absolute; inset:-1px; border-radius:inherit; pointer-events:none; padding:1px; background: radial-gradient(260px circle at var(--mx,-300px) var(--my,-300px), rgba(255,90,31,.55), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity:0; transition: opacity .35s; }
.card:hover::after, .spot:hover::after { opacity: 1; }

/* live pill */
.live-pill { display:inline-flex; align-items:center; gap:10px; padding:7px 14px 7px 10px; border-radius:999px; border:1px solid var(--line-2); background:rgba(255,255,255,.03); font-family:var(--mono); font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); backdrop-filter: blur(8px); }
.live-pill i { width:8px; height:8px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 0 rgba(43,214,123,.6); animation: livePing 1.8s infinite; }
@keyframes livePing { 0% { box-shadow:0 0 0 0 rgba(43,214,123,.55); } 100% { box-shadow:0 0 0 10px rgba(43,214,123,0); } }
.footer-led { display:block; width:100%; aspect-ratio: 39 / 9; margin-top: 48px; }

/* ---------- v2: home ---------- */
.hero-v2 { padding-top: 120px; }
.hero-tunnel { position:absolute; inset:0; width:100%; height:100%; z-index:0; transform-origin:50% 46%; }
.hero-vignette { position:absolute; inset:0; z-index:0; pointer-events:none; background: radial-gradient(60% 50% at 50% 46%, rgba(255,90,31,.10), transparent 70%), radial-gradient(120% 80% at 50% 50%, transparent 40%, var(--bg) 92%); }
.hero-v2 .hero-inner { gap: 26px; justify-items: center; }
.hero-v2 .display { text-shadow: 0 10px 60px rgba(7,8,10,.8); }
.led-panel { width: min(680px, 100%); border:1px solid var(--line-2); border-radius: 18px; background: linear-gradient(180deg, rgba(12,13,16,.86), rgba(7,8,10,.86)); backdrop-filter: blur(10px); padding: 10px 16px 14px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05); }
.led-head { display:flex; justify-content:space-between; font-family:var(--mono); font-size:10.5px; letter-spacing:.18em; color:var(--dim); margin-bottom:8px; }
.led-head span:first-child::before { content:''; display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--danger); margin-right:8px; vertical-align:1px; animation: blink 1.2s steps(2) infinite; }
.led-canvas { display:block; width:100%; aspect-ratio: 104 / 9; }
.glow-field { box-shadow: 0 20px 60px -30px rgba(255,90,31,.45); backdrop-filter: blur(10px); background: rgba(12,13,16,.7); }
.scroll-cue { position:absolute; bottom:28px; left:50%; transform:translateX(-50%); display:grid; justify-items:center; gap:6px; z-index:1; font-family:var(--mono); font-size:10.5px; letter-spacing:.24em; text-transform:uppercase; color:var(--dim); }
.scroll-cue i { width:4px; height:4px; border-radius:50%; background:var(--accent); animation: cue 1.6s infinite; }
.scroll-cue i:nth-of-type(2) { animation-delay:.2s; } .scroll-cue i:nth-of-type(3) { animation-delay:.4s; }
@keyframes cue { 0%, 100% { opacity:.15; transform:translateY(-3px); } 50% { opacity:1; transform:translateY(3px); } }

.story-pin { min-height:100svh; display:grid; align-items:center; position:relative; }
.story-grid { display:grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px; align-items:center; width:100%; }
.story-text { position:relative; min-height: 360px; display:grid; align-content:center; }
.story-item { grid-area:1/1; display:grid; gap:20px; align-content:center; }
.story-item h2 { font-size: clamp(40px, 5.6vw, 88px); letter-spacing:-.06em; line-height:.98; }
.story-item p { color:var(--muted); max-width:44ch; font-size: clamp(16px, 1.3vw, 19px); margin:0; }
.story-progress { display:flex; gap:8px; margin-top:36px; grid-area:2/1; }
.story-progress i { width:44px; height:2px; background:var(--line-2); border-radius:2px; overflow:hidden; position:relative; }
.story-progress b { position:absolute; inset:0; background:var(--accent); transform:scaleX(0); transform-origin:left; }
.story-stage { position:relative; aspect-ratio: 1 / .9; display:grid; place-items:center; }
.story-stage::before { content:''; position:absolute; inset:6%; border-radius:50%; background: radial-gradient(circle, rgba(255,90,31,.10), transparent 65%); }
.story-stage::after { content:''; position:absolute; inset:0; border-radius:28px; background-image: radial-gradient(rgba(238,240,236,.13) 1px, transparent 1.4px); background-size: 16px 16px; -webkit-mask: radial-gradient(circle, #000 30%, transparent 72%); mask: radial-gradient(circle, #000 30%, transparent 72%); }
.vis { grid-area:1/1; position:relative; z-index:1; width:100%; display:grid; place-items:center; }
.vis-1 { display:grid; gap:0; justify-items:center; }
.vcard { width:min(360px, 90%); border:1px solid var(--line-2); border-radius:18px; background: linear-gradient(180deg, #15171c, #0e1013); padding:16px 18px; display:grid; gap:8px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.9); transform: translateX(calc((var(--k,0) - 1) * 26px)) rotate(calc((var(--k,0) - 1) * -3deg)); margin-top: -14px; position:relative; }
.vcard:nth-child(1) { z-index:3; } .vcard:nth-child(2) { z-index:2; opacity:.9; } .vcard:nth-child(3) { z-index:1; opacity:.75; }
.vcard b { font-size:22px; font-weight:500; letter-spacing:-.03em; }
.vcard .vloss { color:var(--danger); font-family:var(--mono); }
.skel-card { height:110px; background:var(--surface); }
.gvis { width:min(460px, 100%); overflow:visible; }
.gvis .ge { fill:none; stroke: rgba(238,240,236,.22); stroke-width:1.4; stroke-dasharray: 3 6; animation: flow 1.6s linear infinite; animation-delay: var(--d); }
.gvis .ge.hot { stroke: var(--accent); stroke-width:2; stroke-dasharray: 6 6; }
@keyframes flow { to { stroke-dashoffset: -36; } }
.gvis .gn circle { fill:#101216; stroke: rgba(238,240,236,.5); stroke-width:1.4; }
.gvis .gn .halo { fill:none; stroke: rgba(255,90,31,.0); animation: halo 2.4s ease-out infinite; animation-delay: var(--d); transform-box: fill-box; transform-origin: center; }
.gvis .gn-c circle:first-child { fill: var(--accent); stroke:none; }
.gvis .gn-a circle:first-child { fill: var(--danger); stroke:none; }
.gvis .gn-p circle:first-child { stroke: var(--sol); }
@keyframes halo { 0% { stroke: rgba(255,90,31,.6); transform:scale(.6); } 100% { stroke: rgba(255,90,31,0); transform:scale(1.4); } }
.gvis text { fill: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing:.08em; text-transform:uppercase; }
.vverdict { width:min(380px, 92%); border:1px solid var(--line-2); border-radius:22px; background: linear-gradient(180deg, #15171c, #0e1013); padding:24px; display:grid; gap:18px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.9); }
.vv-ring { position:relative; width:130px; height:130px; justify-self:center; }
.vv-ring svg { width:100%; height:100%; transform: rotate(-90deg); }
.vv-ring circle { fill:none; stroke: var(--line-2); stroke-width:8; }
.vv-ring .p { stroke: var(--ok); stroke-linecap: round; }
.vv-ring div { position:absolute; inset:0; display:grid; place-items:center; align-content:center; }
.vv-ring b { font-size:40px; font-weight:500; letter-spacing:-.04em; line-height:1; }
.vv-ring small { color:var(--dim); font-family:var(--mono); font-size:11px; }
.vv-lines { display:grid; gap:10px; font-size:14px; }
.vv-lines span { display:inline-grid; place-items:center; width:20px; height:20px; border-radius:50%; margin-right:10px; font-size:11px; }
.vv-lines .ok { background: rgba(43,214,123,.14); color: var(--ok); }
.vv-lines .warn { background: rgba(255,176,32,.14); color: var(--warn); }
.vv-foot { font-size:11px; color:var(--dim); letter-spacing:.1em; text-transform:uppercase; border-top:1px solid var(--line); padding-top:14px; }
.vv-foot b { color: var(--ok); font-weight:500; }
.story.static .story-item, .story.static .vis { position:relative; grid-area:auto; }
.story.static .story-text { display:grid; gap:56px; }
.story.static .story-progress { display:none; }
.story.static .story-stage { display:none; }
.story.static .story-pin { padding: 80px 0; min-height:0; }

.led-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.led-tile { position:relative; border:1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #0f1114, #0a0b0d); padding: 22px 20px 18px; display:grid; gap:14px; overflow:hidden; }
.led-tile canvas { display:block; width:100%; aspect-ratio: 38 / 9; }
.led-tile span { font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--dim); }

.chat-grid { display:grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 60px; align-items:center; }
.chat-card { border:1px solid var(--line-2); border-radius: 26px; background: linear-gradient(180deg, rgba(21,23,28,.92), rgba(12,13,16,.92)); box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,90,31,.04); overflow:hidden; }
.chat-top { display:flex; align-items:center; gap:12px; padding:16px 18px; border-bottom:1px solid var(--line); }
.chat-top b { display:block; font-weight:500; font-size:15px; }
.chat-top small { display:inline-flex; gap:6px; align-items:center; color:var(--dim); font-size:12px; }
.chat-top small i { width:6px; height:6px; border-radius:50%; background:var(--ok); }
.chat-av .brand-mark { width:34px; height:34px; display:block; }
.chat-tag { margin-left:auto; font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--dim); border:1px solid var(--line); border-radius:999px; padding:5px 10px; }
.chat-body { min-height: 300px; padding: 20px 18px; display:flex; flex-direction:column; gap:12px; }
.msg { max-width: 86%; padding: 12px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; }
.msg.me { align-self:flex-end; background: var(--accent); color:#fff; border-bottom-right-radius: 6px; }
.msg.bot { align-self:flex-start; background: rgba(255,255,255,.05); border:1px solid var(--line); border-bottom-left-radius: 6px; color: var(--text); }
.msg.bot .link { color: var(--accent); }
.msg .t-danger { color: var(--danger); font-weight:500; }
.msg.typing { display:inline-flex; gap:5px; padding: 14px 16px; }
.msg.typing i { width:6px; height:6px; border-radius:50%; background: var(--muted); animation: cue 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay:.15s; } .msg.typing i:nth-child(3) { animation-delay:.3s; }
.chat-compose { display:flex; gap:8px; align-items:center; margin: 0 12px 12px; padding: 6px 6px 6px 16px; border:1px solid var(--line-2); border-radius: 999px; background: rgba(0,0,0,.25); }
.chat-compose input { flex:1; min-width:0; background:none; border:0; color:var(--text); font-size:14.5px; outline:none; height:36px; }
.chat-compose .btn-primary { padding-left: 5px; }

.timeline-sec { position:relative; overflow:hidden; }
.halftone { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; opacity:.55; }
.timeline-sec .halftone { -webkit-mask: linear-gradient(90deg, transparent, #000 40%, #000 80%, transparent); mask: linear-gradient(90deg, transparent, #000 40%, #000 80%, transparent); opacity:.35; }
.dtl { position:relative; padding-left: 8px; max-width: 860px; }
.dtl-line { position:absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background-image: radial-gradient(circle, rgba(238,240,236,.25) 1px, transparent 1.5px); background-size: 2px 10px; }
.dtl-line b { position:absolute; inset:0; background-image: radial-gradient(circle, var(--accent) 1.2px, transparent 1.6px); background-size: 2px 10px; transform-origin: top; filter: drop-shadow(0 0 4px rgba(255,90,31,.8)); }
.dtl-item { position:relative; display:grid; grid-template-columns: 90px minmax(0,1fr); gap: 20px; padding: 0 0 28px 40px; align-items:start; }
.dtl-dot { position:absolute; left: 1px; top: 12px; width: 16px; height: 16px; border-radius:50%; background: var(--bg); border: 2px solid var(--line-2); transition: border-color .4s, box-shadow .4s, background .4s; }
.dtl-item.on .dtl-dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px rgba(255,90,31,.15), 0 0 18px rgba(255,90,31,.7); }
.dtl-year { font-family:var(--mono); font-size: 28px; letter-spacing:-.02em; color: var(--dim); transition: color .4s; padding-top:2px; }
.dtl-item.on .dtl-year { color: var(--text); }
.dtl-card { position:relative; display:grid; gap:6px; padding: 18px 20px; border:1px solid var(--line); border-radius: 18px; background: rgba(12,13,16,.8); backdrop-filter: blur(6px); transition: transform .4s var(--ease), border-color .3s; }
.dtl-card:hover { transform: translateX(6px); border-color: var(--line-2); }
.dtl-card b { font-size: 24px; font-weight:500; letter-spacing:-.03em; }
.dtl-loss { font-family: var(--mono); color: var(--danger); font-size: 15px; }

.cta-v2 { position:relative; overflow:hidden; }
.cta-v2 .halftone { opacity:.6; -webkit-mask: radial-gradient(ellipse 46% 40% at 50% 50%, transparent 35%, #000 80%); mask: radial-gradient(ellipse 46% 40% at 50% 50%, transparent 35%, #000 80%); }

.live-alert { position:fixed; left: 20px; bottom: 20px; z-index: 60; width: min(360px, calc(100vw - 40px)); border:1px solid var(--line-2); border-radius: 20px; padding: 16px 18px 18px; background: rgba(14,15,19,.94); backdrop-filter: blur(14px); box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,77,79,.08); display:grid; gap:10px; transform: translateY(30px) scale(.96); opacity:0; transition: transform .6s var(--ease), opacity .4s; }
.live-alert.in { transform:none; opacity:1; }
.live-alert .la-head { display:flex; justify-content:space-between; align-items:center; }
.live-alert .la-tag { display:inline-flex; gap:8px; align-items:center; font-family:var(--mono); font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color: var(--danger); }
.live-alert .la-tag i { width:7px; height:7px; border-radius:50%; background: var(--danger); animation: blink 1s steps(2) infinite; }
.live-alert b { font-weight:500; font-size:16px; line-height:1.3; }
.live-alert .la-meta { display:flex; gap:10px; align-items:center; flex-wrap:wrap; font-size:13px; color:var(--muted); }
.live-alert .btn { justify-self:start; }

@media (max-width: 860px) {
  .story-grid, .chat-grid { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .led-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dtl-item { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .dtl-year { font-size: 20px; }
}
@media (max-width: 620px) {
  .hero-v2 { padding-top: 96px; }
  .led-panel { padding: 8px 10px 10px; border-radius: 14px; }
  .led-head { font-size: 9px; }
  .led-tile { padding: 14px 12px 12px; border-radius: 16px; }
  .chat-body { min-height: 260px; }
  .live-alert { left: 12px; bottom: 84px; width: calc(100vw - 24px); }
  .scroll-cue { display:none; }
}
.counters { padding-top: clamp(40px, 6vw, 80px); }
