:root {
  color-scheme: dark;
  --bg: oklch(0.14 0.005 260);
  --bg-2: oklch(0.16 0.007 260);
  --panel: oklch(0.185 0.008 260);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: oklch(0.93 0.004 260);
  --muted: oklch(0.64 0.014 260);
  --dim: oklch(0.56 0.012 260);
  --cyan: oklch(0.8 0.15 182);
  --cyan-dim: oklch(0.62 0.12 182);
  --danger: oklch(0.64 0.21 25);
  --amber: oklch(0.78 0.15 72);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

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

.mono, .num, td, .counter .num, .stat .v, .price {
  font-variant-numeric: tabular-nums;
}

.mono, .num, code, pre, .ltr-code {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(41, 224, 200, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 224, 200, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 10, 15, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .wordmark { font-family: var(--mono); font-weight: 700; letter-spacing: .2em; font-size: 13.5px; }
.brand .wordmark em { color: var(--cyan); font-style: normal; }
.brand .mark { display: inline-flex; width: 30px; height: 30px; }
.brand .mark svg { width: 100%; height: 100%; overflow: visible; }
.brand .mark .hex { fill: url(#lvx); }
.brand .mark .x { fill: none; stroke: #04211c; stroke-width: 2.8; stroke-linecap: round; }
.brand .mark .node { fill: #04211c; }
.brand .mark .sweep { transform-origin: 20px 20px; animation: spin 3.2s linear infinite; }
.brand:hover .mark .sweep { animation-duration: .9s; }
.brand:hover .mark { opacity: .88; }

/* ── Live banner ─────────────────────────────────────────────────── */
.live-banner {
  position: relative;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(41,224,200,.08), rgba(41,224,200,0) 30%, rgba(41,224,200,0) 70%, rgba(41,224,200,.08));
  background-size: 220% 100%;
  animation: bannerslide 12s ease-in-out infinite;
  overflow: hidden;
}
.live-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 60px at 12% 50%, rgba(41,224,200,.14), transparent 70%);
  pointer-events: none;
}
.live-inner { display: flex; align-items: center; gap: 18px; min-height: 48px; height: auto; padding: 8px 0; flex-wrap: wrap; }
.live-banner::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -180px; width: 180px;
  background: linear-gradient(90deg, transparent, rgba(41,224,200,.16), transparent);
  animation: bannerSweep 7s linear infinite;
  pointer-events: none;
}
@keyframes bannerSweep { to { left: 100%; } }
.live-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--cyan); }
.live-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulse 1.8s ease-in-out infinite; }
.live-stats { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.live-stats b { color: var(--text); font-weight: 600; }
.live-scan { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.live-scan input { width: 210px; padding: 7px 12px; font-size: 13px; }
.live-scan .btn { padding: 7px 14px; font-size: 13px; animation: none; }
@media (max-width: 720px) {
  .live-scan { margin-left: 0; width: 100%; }
  .live-scan input { flex: 1; width: auto; }
  .live-stats { display: none; }
}
@keyframes bannerslide { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 13.5px; display: inline-flex; align-items: center; min-height: 24px; padding: 4px 2px; }
.nav-links a:hover { color: var(--text); }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 6px; font-weight: 600; font-size: 14px;
  border: 1px solid var(--border-2); background: transparent; color: var(--text);
  cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease;
  font-family: var(--sans);
}
.btn:hover { text-decoration: none; border-color: var(--cyan); color: var(--cyan); }
.btn-primary { background: var(--cyan); color: #04211c; border-color: var(--cyan); }
.btn-primary:hover { background: #4ff0da; color: #04211c; }
.btn-ghost { background: transparent; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn { transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease; }
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(0) scale(.98); }
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { padding: 84px 0 72px; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--cyan-dim); display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--cyan-dim); display: inline-block; }
h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; margin: 20px 0 22px; letter-spacing: -.035em; font-weight: 800; }
h1 em { font-style: normal; color: var(--cyan); }
.lede { color: var(--muted); font-size: 16.5px; max-width: 52ch; margin: 0; }
.cta-row { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; align-items: center; }

/* ── Live console ────────────────────────────────────────────────── */
.console {
  border: 1px solid var(--border-2); border-radius: 8px; background: var(--panel);
  overflow: hidden; box-shadow: 0 24px 60px -30px rgba(0,0,0,.9);
}
.console-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.console-head .live { display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); }
.console-head .live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: pulse 2.6s ease-in-out infinite; }
.console-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.console-row:last-child { border-bottom: none; }
.console-row .cid { font-family: var(--mono); font-size: 12.5px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.console-row .desc { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-row .meta { font-family: var(--mono); font-size: 11.5px; color: var(--dim); display: flex; align-items: center; gap: 10px; }
.kev-tag { color: var(--danger); border: 1px solid rgba(255,93,93,.35); border-radius: 3px; padding: 1px 5px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; }
.prio { font-family: var(--mono); font-size: 13px; color: var(--cyan); }
.console-foot { padding: 10px 14px; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 11px; color: var(--dim); display: flex; justify-content: space-between; }
.epss { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; width: 54px; display: inline-block; vertical-align: middle; }
.epss > i { display: block; height: 100%; background: var(--cyan); }

/* ── Sections ────────────────────────────────────────────────────── */
section { padding: 68px 0; border-bottom: 1px solid var(--border); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 34px; gap: 20px; }
.section-title { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0; }
.section-note { color: var(--dim); font-size: 13px; font-family: var(--mono); }

/* Scoring formula */
.formula { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 30px; }
.chip {
  font-family: var(--mono); font-size: 13px; border: 1px solid var(--border-2);
  border-radius: 5px; padding: 8px 13px; color: var(--text); background: var(--bg-2);
}
.chip b { color: var(--cyan); font-weight: 600; }
.formula .plus { color: var(--dim); font-family: var(--mono); }
.formula .eq { color: var(--cyan); font-family: var(--mono); }

/* Metric cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
  border: 1px solid var(--border); border-radius: 8px; padding: 18px;
  background: var(--panel);
}
.card .eyebrow { margin-bottom: 8px; }
.card .price { line-height: 1.1; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Inline triage actions */
.btn-mini {
  font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 4px;
  border: 1px solid var(--border-2); background: var(--bg-2); color: var(--muted);
  cursor: pointer; transition: color .15s, border-color .15s;
}
.btn-mini:hover { color: var(--text); border-color: var(--cyan-dim); }
.btn-mini:disabled { opacity: .5; cursor: default; }

/* Run list (editorial numbered rows) */
.run { border-top: 1px solid var(--border); }
.run-row { display: grid; grid-template-columns: 64px 220px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.run-row .n { font-family: var(--mono); font-size: 13px; color: var(--cyan-dim); }
.run-row h3 { margin: 0; font-size: 17px; font-weight: 650; }
.run-row p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Dense evidence table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border-2); border-radius: 8px; background: var(--panel); }
/* Live-updating table: fixed height so SSE row changes never shift the page
   (layout shift was making taps miss the buy buttons on mobile). */
#evidence .table-wrap { height: 560px; overflow-y: auto; }
@media (max-width: 700px) { #evidence .table-wrap { height: 420px; } }
/* Keep interactive controls above any live content that overlaps during scroll. */
.pricing .price-cell { position: relative; z-index: 2; }
section { scroll-margin-top: 72px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 680px; }
th, td { text-align: left; padding: 11px 15px; border-bottom: 1px solid var(--border); }
th { color: var(--dim); font-family: var(--mono); font-weight: 500; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; }
td.mono, .mono { font-family: var(--mono); }
tr:last-child td { border-bottom: none; }

/* Pricing strip */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border-2); border-radius: 8px; overflow: hidden; background: var(--panel); }
.price-cell { padding: 30px 26px; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.price-cell:last-child { border-right: none; }
.price-cell.featured { background: linear-gradient(180deg, rgba(41,224,200,.06), transparent); }
.price-cell .tier { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.price { font-size: 44px; font-weight: 800; letter-spacing: -.03em; margin: 14px 0 2px; }
.price small { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-cell ul { list-style: none; padding: 0; margin: 18px 0 24px; color: var(--muted); font-size: 13.5px; }
.price-cell li { padding: 5px 0 5px 16px; position: relative; }
.price-cell li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border: 1px solid var(--cyan-dim); border-radius: 50%; }
.price-cell .btn { margin-top: auto; justify-content: center; }

/* ── Footer ──────────────────────────────────────────────────────── */
footer { padding: 44px 0; color: var(--muted); font-size: 13px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-grid a { color: var(--muted); display: inline-flex; align-items: center; min-height: 24px; padding: 4px 0; }
.footer-grid a:hover { color: var(--text); }
.footer-brand { font-family: var(--mono); letter-spacing: .12em; color: var(--text); font-size: 12.5px; }

/* ── Auth / forms ────────────────────────────────────────────────── */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; position: relative; z-index: 1; }
.auth-card { width: 100%; max-width: 380px; background: var(--panel); border: 1px solid var(--border-2); border-radius: 8px; padding: 32px; }
.auth-card h1 { font-size: 20px; margin: 0 0 4px; letter-spacing: -.01em; }
.auth-card p.sub { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 15px 0 6px; }
input {
  width: 100%; padding: 11px 13px; border-radius: 6px; border: 1px solid var(--border-2);
  background: var(--bg); color: var(--text); font-size: 14px; font-family: var(--sans);
}
input:focus { outline: none; border-color: var(--cyan); }
.form-error { color: var(--danger); font-size: 13px; margin-top: 14px; font-family: var(--mono); }

/* ── Motion ──────────────────────────────────────────────────────── */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip {
  0%, 55% { opacity: 0; }
  60% { opacity: 1; }
  85% { opacity: .35; }
  100% { opacity: 0; }
}
@keyframes scan {
  0% { transform: translateY(-45%); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateY(255%); opacity: 0; }
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 rgba(41,224,200,0); }
  50% { box-shadow: 0 0 22px -6px rgba(41,224,200,.55); }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.wave {
  height: 2px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  background-size: 28% 100%; background-repeat: no-repeat;
  animation: wave 4.5s linear infinite;
}
@keyframes wave { from { background-position: -30% 0; } to { background-position: 130% 0; } }
@keyframes drift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50px,26px,0); }
}
/* Scroll reveal — additive only. Content is NEVER hidden, so a blocked or
   cached script can't blank a section. Motion is a subtle transform. */
.js [data-reveal] { opacity: 1; }
.js [data-reveal].reveal { animation: slideUp .5s cubic-bezier(.22,.61,.36,1); }
@keyframes slideUp { from { transform: translateY(14px); } to { transform: none; } }

/* Hero entrance — pure CSS, added only when JS runs, so it can never hide
   content (no JS = no class = fully visible). */
.hero-in > * { animation: heroRise .65s cubic-bezier(.22,.61,.36,1) both; }
.hero-in > *:nth-child(2) { animation-delay: .09s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

body::after {
  content: "";
  position: fixed;
  inset: -20% -10%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(620px 320px at 78% -6%, rgba(41,224,200,.09), transparent 70%);
  animation: drift 16s ease-in-out infinite alternate;
}

.console { position: relative; }
.console::after, .mockup::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0; width: 2px;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 14px var(--cyan);
  opacity: 0;
  animation: beam 5s ease-in-out infinite;
  pointer-events: none;
}
.mockup { position: relative; }
@keyframes beam {
  0% { left: 0; opacity: 0; }
  12% { opacity: .55; }
  88% { opacity: .55; }
  100% { left: 100%; opacity: 0; }
}
.btn-primary { animation: none; }

.signals { border-bottom: 1px solid var(--border); overflow: hidden; background: var(--bg-2); position: relative; z-index: 1; }
.signals::before, .signals::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.signals::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.signals::after { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }
.signals .track {
  display: flex; flex-wrap: nowrap; width: max-content;
  gap: 40px; padding: 10px 0; white-space: nowrap;
  font-family: var(--mono); font-size: 11.5px; color: var(--dim);
  animation: marquee 26s linear infinite;
}
.signals .track.rev { animation-direction: reverse; animation-duration: 34s; padding-top: 0; border-top: 1px solid var(--border); }
.signals .track:hover { animation-play-state: paused; }
.signals .track b { color: var(--cyan); font-weight: 500; }
.signals .track .kev { color: var(--danger); }
.signals .track span { display: inline-flex; gap: 8px; align-items: center; }
.signals .track .sep { color: var(--border-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .m-row { opacity: 1; }
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing { grid-template-columns: 1fr; }
  .price-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .run-row { grid-template-columns: 40px 1fr; gap: 12px; }
  .run-row p { grid-column: 1 / -1; }
  .nav-links a:not(.btn) { display: none; }
}

/* ── Hero scan + big counter ─────────────────────────────────────── */
.scan-form { display: flex; gap: 10px; margin: 28px 0 14px; max-width: 520px; }
.scan-form input {
  flex: 1; padding: 14px 16px; font-size: 15px; border-radius: 7px;
  border: 1px solid var(--border-2); background: var(--bg-2); color: var(--text);
}
.scan-form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(41,224,200,.12); }
.scan-form .btn { padding: 14px 22px; font-size: 15px; }
.scan-hint { font-family: var(--mono); font-size: 11.5px; color: var(--dim); }

.counter-row { display: flex; gap: 34px; margin-top: 30px; flex-wrap: wrap; }
.counter { display: flex; flex-direction: column; }
.counter .num { font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.counter .num.hot { color: var(--cyan); }
.counter .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 3px; }

/* ── Surface map (signature hero visual) ─────────────────────────── */
.surface { border: 1px solid var(--border-2); border-radius: 10px; background: radial-gradient(circle at 50% 45%, #0c1620, var(--panel) 70%); overflow: hidden; box-shadow: 0 40px 90px -50px rgba(0,0,0,1); }
.surface-head { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.surface-head .live { display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); }
.surface-head .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulse 1.8s ease-in-out infinite; }
.surface-svg { display: block; width: 100%; height: auto; }
.surface-svg .ring { fill: none; stroke: var(--border); stroke-width: 1; }
.surface-svg .cross { stroke: var(--border); stroke-width: 1; }
.surface-svg .sweep { transform-origin: 200px 150px; animation: spin 4.5s linear infinite; }
.surface-svg .link { stroke: var(--border-2); stroke-width: 1; stroke-dasharray: 4 5; animation: dash 1.4s linear infinite; }
.surface-svg .node { fill: var(--cyan); }
.surface-svg .node-ring { fill: none; stroke: var(--cyan); stroke-width: 1; opacity: .5; transform-box: fill-box; transform-origin: center; animation: ping 3s ease-out infinite; }
.surface-svg .hub { fill: var(--cyan); }
.surface-svg .hub-ring { fill: none; stroke: var(--cyan); stroke-width: 1.4; opacity: .7; transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }
.surface-svg .lbl { fill: var(--dim); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
@keyframes dash { to { stroke-dashoffset: -18; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 80%, 100% { transform: scale(2.4); opacity: 0; } }

/* ── Product mockup (secondary) ──────────────────────────────────── */
.mockup { border: 1px solid var(--border-2); border-radius: 10px; background: var(--panel); overflow: hidden; box-shadow: 0 1px 0 0 rgba(255,255,255,0.04), 0 12px 32px -16px rgba(0,0,0,0.6); }

/* ── Live scan terminal demo ─────────────────────────────────────── */
.term { border: 1px solid var(--border-2); border-radius: 10px; background: oklch(0.13 0.004 260); overflow: hidden; font-family: var(--mono); box-shadow: 0 1px 0 0 rgba(255,255,255,0.04), 0 12px 32px -16px rgba(0,0,0,0.6); }
.term-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.term-bar .dots { display: flex; gap: 5px; }
.term-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-2); }
.term-bar .title { font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.term-bar .live { margin-left: auto; font-size: 10px; letter-spacing: .14em; color: var(--cyan); display: inline-flex; align-items: center; gap: 6px; }
.term-bar .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: pulse 1.8s ease-in-out infinite; }
.term-body { padding: 14px 16px; height: 350px; overflow-y: auto; font-size: 12.5px; line-height: 1.75; }
.term-body .line { white-space: pre-wrap; word-break: break-word; }
.term-body .cmd { color: var(--cyan); }
.term-body .d { color: var(--dim); }
.term-body .ok { color: var(--cyan); }
.term-body .warn { color: var(--amber); }
.term-body .kv { color: var(--danger); }
.term-body .cursor { display: inline-block; width: 8px; height: 14px; background: var(--cyan); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mockup-bar { display: flex; align-items: center; gap: 8px; padding: 10px 13px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.mockup-bar .dots { display: flex; gap: 5px; }
.mockup-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-2); }
.mockup-bar .title { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.mockup-body { padding: 6px 0; }
.m-row { display: grid; grid-template-columns: 60px 1fr 90px 46px; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--border); opacity: 0; animation: rowIn .5s ease forwards; }
.m-row:last-child { border-bottom: none; }
.m-row .sev { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; padding: 2px 6px; border-radius: 3px; text-align: center; }
.sev-crit { color: #ff8f8f; background: rgba(255,93,93,.12); border: 1px solid rgba(255,93,93,.3); }
.sev-high { color: var(--amber); background: rgba(255,181,71,.1); border: 1px solid rgba(255,181,71,.28); }
.sev-med { color: var(--cyan); background: rgba(41,224,200,.08); border: 1px solid rgba(41,224,200,.25); }
.m-row .what { font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-row .what small { display: block; color: var(--dim); font-family: var(--mono); font-size: 11px; }
.m-row .asset { font-family: var(--mono); font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-row .bar { height: 5px; border-radius: 3px; background: var(--border); overflow: hidden; }
.m-row .bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan-dim), var(--cyan)); width: 0; animation: barFill 1.1s ease forwards; }

/* ── Feature grid ────────────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { border: 1px solid var(--border); border-radius: 10px; padding: 22px; background: var(--panel); transition: border-color .18s ease, transform .18s ease; }
.feature:hover { border-color: var(--border-2); transform: translateY(-2px); }
.feature .ic { width: 30px; height: 30px; margin-bottom: 14px; color: var(--cyan); }
.feature .ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 6px; font-size: 15px; }
.feature p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* ── Stats band ──────────────────────────────────────────────────── */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat { padding: 30px 24px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat .v { font-family: var(--mono); font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.stat .v.hot { color: var(--cyan); }
.stat .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 5px; }

/* ── CTA band ────────────────────────────────────────────────────── */
.cta-band { text-align: center; padding: 80px 0; }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; margin: 0 0 12px; font-weight: 800; }
.cta-band p { color: var(--muted); margin: 0 0 26px; }

@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes barFill { to { width: var(--w, 60%); } }

@media (max-width: 940px) {
  .feature-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .m-row { grid-template-columns: 52px 1fr 44px; }
  .m-row .asset { display: none; }
}

/* Brave/Firefox reduce-motion fingerprint resistance: force ticker + wave animations */
@media (prefers-reduced-motion: reduce) {
  .signals .track { animation: marquee 26s linear infinite !important; animation-play-state: running !important; }
  .wave { animation: wave 4.5s linear infinite !important; animation-play-state: running !important; }
  .signals::before, .signals::after { display: block !important; }
}
