:root {
  --bg: #06070a;
  --bg-2: #0b0d11;
  --panel: #0e1116;
  --panel-2: #131720;
  --line: #1e232c;
  --line-2: #2a313c;
  --ink: #eef1ec;
  --muted: #8b939e;
  --dim: #5b636e;
  --ember: #ff4a1c;
  --ember-soft: rgba(255, 74, 28, 0.14);
  --acid: #c6ff3a;
  --acid-soft: rgba(198, 255, 58, 0.12);
  --bob: #4aa8ff;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html { overflow-x: clip; }
img, svg { display: block; }
a { color: inherit; }
code { font-family: var(--mono); font-size: 0.9em; color: var(--acid); }
em { font-style: normal; color: var(--acid); }
::selection { background: var(--acid); color: #000; }

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

/* Background texture */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 100%);
}
.bg-glow {
  position: fixed; inset: -20% -10% auto auto; width: 70vw; height: 70vw; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 74, 28, 0.16), transparent 60%);
  filter: blur(20px);
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter);
  background: rgba(6, 7, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 125%; letter-spacing: 0.06em; font-size: 18px; }
.brand b { color: var(--ember); font-weight: 900; }
.brand-mark { width: 28px; height: 28px; }
.brand-mark rect { fill: var(--ink); }
.brand-mark rect.hot { fill: var(--ember); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.02em; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s; }

/* Buttons */
.btn {
  --c: var(--acid);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  background: var(--c); color: #050505;
  font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--c); cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -10px var(--c); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); clip-path: none; }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-sm { padding: 10px 16px; font-size: 12px; }

/* Shared type */
.eyebrow, .kicker, .tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.02); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 12px var(--acid); animation: pulse 1.6s infinite; display: inline-block; }
@keyframes pulse { 50% { opacity: 0.35; } }
.kicker { color: var(--ember); margin: 0 0 18px; }

.display {
  font-weight: 900; font-stretch: 112%;
  font-size: clamp(56px, 10vw, 148px);
  line-height: 0.86; letter-spacing: -0.035em; text-transform: uppercase;
  margin: 26px 0 0;
}
.display .line { display: block; }
.h2 {
  font-weight: 850; font-stretch: 108%;
  font-size: clamp(38px, 5.6vw, 80px);
  line-height: 0.95; letter-spacing: -0.03em;
  margin: 0; max-width: 18ch;
}
.lede { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 36rem; margin: 28px 0 0; line-height: 1.5; }
.lede strong { color: var(--ink); font-weight: 650; }
.sub { color: var(--muted); max-width: 44rem; font-size: 18px; margin: 22px 0 0; }
.fine { font-family: var(--mono); font-size: 12px; color: var(--dim); margin: 20px 0 0; line-height: 1.6; }

/* Glitch */
.glitch { position: relative; color: var(--ember); }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; overflow: hidden;
}
.glitch::before { color: var(--acid); clip-path: inset(0 0 60% 0); transform: translate(-3px, 0); animation: glitch 3.2s infinite steps(1); opacity: .9; }
.glitch::after { color: var(--bob); clip-path: inset(55% 0 0 0); transform: translate(3px, 0); animation: glitch 2.7s infinite steps(1) reverse; opacity: .8; }
@keyframes glitch {
  0%, 86%, 100% { transform: translate(0); clip-path: inset(100% 0 0 0); }
  88% { transform: translate(-5px, 2px); clip-path: inset(10% 0 55% 0); }
  91% { transform: translate(4px, -2px); clip-path: inset(60% 0 8% 0); }
  94% { transform: translate(-2px, 1px); clip-path: inset(35% 0 40% 0); }
}

/* Hero */
.hero { padding: clamp(48px, 7vw, 88px) 0 0; position: relative; overflow-x: clip; }
.hero .display { font-size: clamp(44px, 5vw, 72px); line-height: 0.92; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 52px 0 0; border-top: 1px solid var(--line); }
.hero-stats > div { padding: 20px 18px 0 0; }
.hero-stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-stats dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.hero-stats dd { margin: 6px 0 0; font-weight: 900; font-stretch: 112%; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.03em; }
.hero-stats dd small { font-size: 0.45em; color: var(--muted); margin-left: 2px; }
.hero-stats p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.bad { color: var(--ember); }
.good { color: var(--acid); }

/* Console */
.console {
  background: linear-gradient(180deg, rgba(14,17,22,0.95), rgba(8,10,13,0.95));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -40px rgba(255, 74, 28, 0.35), inset 0 1px 0 rgba(255,255,255,0.04);
  font-family: var(--mono); font-size: 12.5px;
  position: relative; overflow: hidden;
}
.console::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px);
}
.console-bar, .console-foot {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  color: var(--muted); border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.console-foot { border-bottom: 0; border-top: 1px solid var(--line); justify-content: space-between; }
.console-foot b { color: var(--ink); font-weight: 500; }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.lights i:first-child { background: var(--ember); }
.live { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--acid); }
.console-body { mask-image: linear-gradient(to bottom, transparent, #000 18%); list-style: none; margin: 0; padding: 12px 14px; height: 380px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; }
.console-body li { display: grid; grid-template-columns: 62px 88px 1fr; gap: 10px; align-items: baseline; animation: line-in .35s ease-out both; color: #c4cad2; }
.console-body li .t { color: var(--dim); }
.console-body li .s { font-weight: 700; font-size: 10.5px; letter-spacing: 0.08em; padding: 2px 6px; text-align: center; }
.s.allow { color: #0b0d11; background: #6f7a86; }
.s.contain { color: #0b0d11; background: var(--acid); }
.s.block { color: #fff; background: var(--ember); }
.console-body li .x { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-body li .x i { font-style: normal; color: var(--ember); }
@keyframes line-in { from { opacity: 0; transform: translateY(8px); } }

/* Marquee */
.marquee {
  margin-top: clamp(56px, 8vw, 96px);
  border-block: 1px solid var(--line);
  background: rgba(11, 13, 17, 0.6);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee span {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; color: var(--dim);
  padding: 18px 0; white-space: nowrap; display: inline-flex; align-items: center;
}
.marquee span::after { content: ""; width: 4px; height: 4px; background: var(--ember); margin: 0 32px; opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-head { margin-bottom: clamp(40px, 5vw, 72px); }

/* Overview */
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 96px); }
.overview-copy p { color: var(--muted); max-width: 42rem; margin: 0 0 20px; }
.overview-copy p.big { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; color: var(--ink); font-weight: 450; letter-spacing: -0.01em; }
.overview-copy strong { color: var(--acid); font-weight: 600; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.facts li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); padding-top: 3px; }
.facts b { font-weight: 500; }

/* Threat */
.section-threat { background: linear-gradient(180deg, transparent, var(--bg-2) 20%, var(--bg-2) 80%, transparent); }
.threat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.threat-card { background: var(--bg-2); padding: 34px 30px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; position: relative; }
.threat-card h3 { font-size: 24px; line-height: 1.1; margin: 8px 0 0; font-weight: 800; font-stretch: 105%; letter-spacing: -0.02em; }
.threat-card p { margin: 0; color: var(--muted); }
.threat-card-win { background: linear-gradient(160deg, rgba(198,255,58,0.1), var(--bg-2) 60%); }
.threat-card-win .tag { color: var(--acid); }
.verdict { margin-top: auto; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.verdict.bad::before { content: "✕ "; }
.verdict.good::before { content: "✓ "; }
.threat-quote { margin-top: clamp(56px, 7vw, 100px); text-align: center; }
.threat-quote p { font-weight: 850; font-stretch: 110%; font-size: clamp(30px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 auto; max-width: 20ch; }
.strike { position: relative; color: var(--ember); }
.strike::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: 0.09em; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .8s .4s cubic-bezier(.7,0,.2,1); }
.threat-quote.in .strike::after { transform: scaleX(1); }

/* Demo */
.demo { border: 1px solid var(--line-2); background: rgba(11,13,17,0.85); padding: clamp(16px, 2.4vw, 28px); }
.demo-controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.seg, .attacks { display: inline-flex; border: 1px solid var(--line-2); flex-wrap: wrap; }
.seg button, .attacks button {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  background: transparent; color: var(--muted); border: 0; padding: 11px 14px; cursor: pointer; transition: background .2s, color .2s;
}
.seg button + button, .attacks button + button { border-left: 1px solid var(--line-2); }
.seg button.on[data-mode="direct"] { background: var(--ember); color: #fff; }
.seg button.on[data-mode="tenwall"] { background: var(--acid); color: #000; }
.attacks button.on { background: var(--ink); color: #000; }
.btn-run { margin-left: auto; }
.btn-run[disabled] { opacity: .5; pointer-events: none; }

.demo-stage { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 18px; margin-top: 22px; min-height: 360px; }
.pane { border: 1px solid var(--line); background: var(--panel); padding: 16px; position: relative; display: flex; flex-direction: column; }
.pane-title { font-family: var(--mono); font-size: 12px; color: var(--ink); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pane-title small { color: var(--dim); margin-left: auto; }
.who { width: 22px; height: 22px; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #000; }
.who.alice { background: var(--acid); }
.chat { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.msg { padding: 10px 12px; font-size: 14px; max-width: 92%; line-height: 1.45; animation: line-in .3s ease-out both; }
.msg.user { background: var(--panel-2); border: 1px solid var(--line-2); align-self: flex-end; }
.msg.bot { background: rgba(255,255,255,0.03); border-left: 2px solid var(--muted); }
.msg.bot.leak { border-left-color: var(--ember); background: var(--ember-soft); }
.msg.bot.safe { border-left-color: var(--acid); background: var(--acid-soft); }
.msg .bobtxt { color: var(--ember); font-weight: 600; }
.req { margin: 14px 0 0; font-family: var(--mono); font-size: 11.5px; color: var(--muted); background: #07090c; border: 1px solid var(--line); padding: 10px 12px; white-space: pre-wrap; min-height: 64px; }
.req .kw { color: var(--ember); }

.pane-wall { padding: 0; border: 0; background: transparent; align-items: center; justify-content: center; overflow: hidden; }
.wall-bricks {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(to bottom, transparent 0 22px, #06070a 22px 26px),
    repeating-linear-gradient(to right, var(--line-2) 0 28px, #06070a 28px 32px);
  opacity: 0.35; transition: opacity .4s, filter .4s;
}
.wall-label { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--mono); font-weight: 700; letter-spacing: 0.4em; font-size: 11px; color: var(--dim); position: relative; background: var(--bg); padding: 10px 4px; transition: color .3s; }
.mode-tenwall .wall-bricks {
  background:
    repeating-linear-gradient(to bottom, transparent 0 22px, #06070a 22px 26px),
    repeating-linear-gradient(to right, var(--acid) 0 28px, #06070a 28px 32px);
  opacity: 0.85; filter: drop-shadow(0 0 14px rgba(198,255,58,0.5));
}
.mode-tenwall .wall-label { color: var(--acid); }
.mode-direct .wall-bricks { opacity: 0.12; }
.pane-wall.hit .wall-bricks { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.packet { position: absolute; top: 50%; width: 14px; height: 14px; background: var(--ember); box-shadow: 0 0 18px var(--ember); z-index: 3; pointer-events: none; }

.cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; flex: 1; align-content: start; }
.cell { aspect-ratio: 1.3; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 10px; display: grid; place-items: center; color: var(--dim); transition: all .25s; position: relative; }
.cell.alice { border-color: rgba(198,255,58,0.45); color: var(--acid); background: rgba(198,255,58,0.05); }
.cell.bob { border-color: rgba(74,168,255,0.45); color: var(--bob); background: rgba(74,168,255,0.05); }
.cell.lit { background: var(--ember); color: #fff; border-color: var(--ember); box-shadow: 0 0 16px rgba(255,74,28,0.6); }
.cell.held { background: var(--acid); color: #000; border-color: var(--acid); }
.cell.gone { opacity: 0.12; border-style: dashed; }
.cell.poison { background: repeating-linear-gradient(45deg, var(--ember) 0 4px, transparent 4px 8px); color: #fff; }
.legend { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.legend .k { width: 10px; height: 10px; display: inline-block; }
.legend .k.alice { background: var(--acid); }
.legend .k.bob { background: var(--bob); margin-left: 10px; }

.demo-out { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.verdict-box { border: 1px solid var(--line-2); padding: 18px; display: flex; flex-direction: column; gap: 8px; justify-content: center; min-height: 120px; transition: all .3s; }
.v-label { font-weight: 900; font-stretch: 120%; font-size: clamp(28px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.02em; color: var(--muted); }
.v-text { color: var(--muted); font-size: 14px; }
.verdict-box.leaked { border-color: var(--ember); background: var(--ember-soft); }
.verdict-box.leaked .v-label { color: var(--ember); }
.verdict-box.held { border-color: var(--acid); background: var(--acid-soft); }
.verdict-box.held .v-label { color: var(--acid); }
.audit { list-style: none; margin: 0; padding: 12px 14px; border: 1px solid var(--line); background: #07090c; font-family: var(--mono); font-size: 11.5px; max-height: 160px; min-height: 120px; overflow: auto; display: flex; flex-direction: column; gap: 6px; }
.audit li { animation: line-in .3s both; }
.audit li b { color: var(--acid); }
.audit li .h { color: var(--dim); }

/* Platform */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { border: 1px solid var(--line); background: var(--panel); padding: 34px 30px; position: relative; overflow: hidden; transition: border-color .3s, transform .3s; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--ember); transform: scaleX(0.18); transform-origin: left; transition: transform .5s cubic-bezier(.7,0,.2,1); }
.pillar:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pillar:hover::before { transform: scaleX(1); }
.pillar-n { font-family: var(--mono); color: var(--ember); font-size: 13px; }
.pillar h3 { font-weight: 900; font-stretch: 120%; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.03em; margin: 18px 0 16px; text-transform: uppercase; }
.pillar p { color: var(--muted); margin: 0; }
.pillar ul { list-style: none; padding: 0; margin: 26px 0 0; font-family: var(--mono); font-size: 13px; }
.pillar li { padding: 10px 0; border-top: 1px solid var(--line); }
.pillar li::before { content: "▸ "; color: var(--acid); }

.flow { margin-top: 56px; display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr; align-items: stretch; }
.flow-step { border: 1px solid var(--line); padding: 20px; background: rgba(14,17,22,0.6); }
.flow-step span { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.flow-step b { display: block; font-size: 20px; margin: 8px 0 6px; font-weight: 800; }
.flow-step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.flow-step-hot { border-color: var(--acid); background: var(--acid-soft); box-shadow: 0 0 60px -20px var(--acid); }
.flow-step-hot b { color: var(--acid); }
.flow-arrow { position: relative; }
.flow-arrow::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 1px; background: repeating-linear-gradient(to right, var(--muted) 0 4px, transparent 4px 8px); background-size: 16px 1px; animation: dash 0.8s linear infinite; }
.flow-arrow::after { content: ""; position: absolute; right: 4px; top: calc(50% - 4px); border: 4px solid transparent; border-left: 6px solid var(--muted); }
@keyframes dash { to { background-position: 16px 0; } }

/* Proof */
.section-proof { background: var(--bg-2); border-block: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.proof-card { background: var(--bg-2); padding: 30px 26px 34px; display: flex; flex-direction: column; gap: 10px; }
.proof-card .num { font-weight: 900; font-stretch: 112%; font-size: clamp(64px, 7.4vw, 112px); line-height: 0.9; letter-spacing: -0.05em; margin-top: 18px; }
.proof-card .num small { font-size: 0.38em; color: var(--muted); letter-spacing: -0.02em; margin-left: 4px; }
.proof-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.proof-card.bad .num { color: var(--ember); }
.proof-card.good { background: linear-gradient(180deg, rgba(198,255,58,0.08), var(--bg-2)); }
.proof-card.good .num { color: var(--acid); }

/* Who */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.who-card { border-top: 3px solid var(--ink); padding: 26px 4px 0; }
.who-card h3 { font-size: 26px; margin: 0 0 12px; font-weight: 800; letter-spacing: -0.01em; }
.who-card p { margin: 0; color: var(--muted); }

/* Mission */
.section-mission { background: var(--acid); color: #070807; }
.section-mission .kicker { color: #070807; opacity: 0.7; }
.section-mission em { color: #070807; background: linear-gradient(transparent 62%, rgba(255,74,28,0.55) 62%); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: 20px; }
.mv-label { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; background: #070807; color: var(--acid); padding: 6px 12px; }
.mv-text { font-weight: 900; font-stretch: 108%; font-size: clamp(32px, 4vw, 58px); line-height: 1; letter-spacing: -0.035em; margin: 22px 0 0; }
.mv-sub { font-size: 18px; margin: 22px 0 0; max-width: 34rem; opacity: 0.78; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(56px, 7vw, 96px); border-top: 2px solid #070807; }
.principle { padding: 22px 22px 0 0; }
.principle + .principle { padding-left: 22px; border-left: 1px solid rgba(7,8,7,0.25); }
.principle b { display: block; font-size: 19px; font-weight: 850; }
.principle p { margin: 8px 0 0; font-size: 15px; opacity: 0.75; }

/* Road */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--acid), var(--line-2) 40%); }
.road-step { padding: 34px 28px 0 0; position: relative; }
.road-step::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; background: var(--bg); border: 2px solid var(--line-2); }
.road-step.now::before { background: var(--acid); border-color: var(--acid); box-shadow: 0 0 20px var(--acid); }
.road-step span { font-family: var(--mono); font-size: 12px; color: var(--ember); letter-spacing: 0.14em; text-transform: uppercase; }
.road-step h3 { font-size: 32px; font-weight: 850; letter-spacing: -0.02em; margin: 8px 0 10px; }
.road-step p { color: var(--muted); margin: 0; max-width: 24rem; }

/* CTA */
.section-cta { overflow: hidden; border-top: 1px solid var(--line); }
.section-cta::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(ellipse at 50% 100%, rgba(255,74,28,0.32), transparent 60%); pointer-events: none; }
.cta { position: relative; text-align: left; }
.cta-title { font-size: clamp(48px, 8.4vw, 128px); max-width: 13ch; margin: 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; }
.footer-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-row p { margin: 0; color: var(--muted); }
.footer-row .muted { margin-left: auto; font-family: var(--mono); font-size: 12px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid, .overview-grid { grid-template-columns: 1fr; }
  .proof-grid, .threat-grid { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(3) { padding-left: 0; border-left: 0; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-arrow { height: 28px; }
  .flow-arrow::before { left: 50%; right: auto; top: 4px; bottom: 4px; width: 1px; height: auto; background: var(--muted); }
  .flow-arrow::after { right: auto; left: calc(50% - 4px); top: auto; bottom: 0; border: 4px solid transparent; border-top: 6px solid var(--muted); }
}
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav-links a { padding: 16px var(--gutter); border-top: 1px solid var(--line); }
  .nav.open .nav-links { display: flex; }
  .nav > .btn-sm { display: none; }
  .nav-toggle { display: block; }
  .threat-grid, .pillars, .who-grid, .road, .mv, .demo-out { grid-template-columns: 1fr; }
  .road::before { display: none; }
  .road-step { padding-bottom: 28px; }
  .demo-stage { grid-template-columns: 1fr; }
  .pane-wall { min-height: 56px; }
  .wall-label { writing-mode: horizontal-tb; transform: none; }
  .btn-run { margin-left: 0; width: 100%; justify-content: center; }
  .seg, .attacks { width: 100%; }
  .seg button, .attacks button { flex: 1 1 auto; }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 16px; }
  .proof-grid, .principles { grid-template-columns: 1fr; }
  .principle + .principle { padding-left: 0; border-left: 0; }
  .console-body { height: 300px; }
  .console-body li { grid-template-columns: 74px 1fr; }
  .console-body li .t { display: none; }
  .cells { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Problem steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { border: 1px solid var(--line); background: var(--panel); padding: 30px 28px; position: relative; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); font-family: var(--mono); font-weight: 700; color: var(--ink); }
.step h3 { font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; margin: 20px 0 10px; }
.step p { margin: 0; color: var(--muted); }
.step-bad { border-color: rgba(255, 74, 28, 0.55); background: linear-gradient(160deg, var(--ember-soft), var(--panel) 60%); }
.step-bad .step-n { background: var(--ember); border-color: var(--ember); color: #fff; }
.fix { margin-top: 18px; border: 1px solid rgba(198, 255, 58, 0.5); background: linear-gradient(160deg, var(--acid-soft), var(--panel) 70%); padding: 30px 28px; display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline; }
.fix-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acid); }
.fix p { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; }
.fix strong { color: var(--acid); font-weight: 650; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .fix { grid-template-columns: 1fr; gap: 10px; }
}

/* Hero chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; }
.chips li { font-family: var(--mono); font-size: 12px; color: var(--ink); border: 1px solid var(--line-2); padding: 7px 11px; background: rgba(255,255,255,0.02); }
.chips li::before { content: "✓ "; color: var(--acid); }
.console-foot b.good { color: var(--acid); }

/* Walkthrough */
.walk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.walk-steps { list-style: none; counter-reset: w; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.walk-steps li { counter-increment: w; position: relative; padding: 18px 0 18px 56px; border-top: 1px solid var(--line); color: var(--muted); }
.walk-steps li::before { content: counter(w); position: absolute; left: 0; top: 16px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 13px; color: var(--ink); }
.walk-steps li b { color: var(--ink); }
.walk-steps code { color: var(--acid); font-size: 0.85em; }
.mock { border: 1px solid var(--line-2); background: var(--panel); box-shadow: 0 40px 100px -50px rgba(198,255,58,0.35); }
.mock-bar { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; }
.mock-bar small { color: var(--dim); }
.mock-draft { margin: 0; padding: 18px 16px 6px; font-size: 15px; line-height: 1.55; }
.mock-src { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 16px 16px; }
.mock-src span { font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line-2); padding: 4px 8px; }
.mock-withheld { margin: 0 16px 14px; border: 1px solid rgba(255,74,28,0.5); background: var(--ember-soft); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.mock-withheld b { color: var(--ember); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.mock-withheld div { display: flex; flex-direction: column; }
.mock-withheld span { font-weight: 600; font-size: 14px; }
.mock-withheld small { color: var(--muted); font-size: 12.5px; }
.mock-tag { margin: 0; padding: 0 16px 14px; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.glass { margin-top: 28px; border: 1px solid var(--line-2); padding: 24px 26px; display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: baseline; }
.glass p { margin: 0; color: var(--muted); }

/* Walls */
.walls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.wall-row { background: var(--bg); padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.wall-row b { font-size: 20px; font-weight: 800; }
.wall-row p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.wall-row small { font-family: var(--mono); font-size: 11px; color: var(--ember); letter-spacing: 0.04em; }

/* Flow note */
.flow-note { margin: 22px 0 56px; color: var(--muted); max-width: 52rem; }
.flow-note b { color: var(--acid); font-weight: 600; }
#platform .pillar h3 { font-size: clamp(32px, 3.4vw, 46px); }

/* Built vs pilot */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.split-col, .pilot-col, .limits { border: 1px solid var(--line-2); padding: 26px; background: var(--bg); }
.split-next { border-style: dashed; }
.split ul, .pilot ul, .limits ul { list-style: none; padding: 0; margin: 14px 0 0; }
.split li, .pilot li, .limits li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.split-col li::before { content: "✓ "; color: var(--acid); }
.split-next li::before { content: "+ "; color: var(--muted); }
.pilot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pilot li::before { content: "▸ "; color: var(--acid); }
.limits { margin-top: 18px; border-color: rgba(255,74,28,0.4); }
.limits .fix-label { color: var(--ember); }
.limits li::before { content: "✕ "; color: var(--ember); }
.footer-row .muted { max-width: 34rem; text-align: right; }

@media (max-width: 1080px) {
  .walls { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .walk, .split, .pilot, .walls { grid-template-columns: 1fr; }
  .glass { grid-template-columns: 1fr; gap: 10px; }
  .footer-row .muted { text-align: left; margin-left: 0; }
}

/* Three-beat demo */
.beats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.beat { border: 1px solid var(--line); background: var(--panel); padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 420px; opacity: 0.45; transition: opacity .4s, border-color .4s, box-shadow .4s; }
.beat.on { opacity: 1; }
.beat[data-beat="1"].on { border-color: rgba(255,74,28,0.6); box-shadow: 0 30px 80px -50px var(--ember); }
.beat[data-beat="2"].on, .beat[data-beat="3"].on { border-color: rgba(198,255,58,0.5); box-shadow: 0 30px 80px -50px var(--acid); }
.beat header { display: flex; align-items: center; gap: 10px; }
.beat header b { font-size: 22px; font-weight: 850; letter-spacing: -0.01em; }
.beat header small { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.1em; }
.beat-n { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; }
.beat[data-beat="1"].on .beat-n { background: var(--ember); border-color: var(--ember); color: #fff; }
.beat[data-beat="2"].on .beat-n, .beat[data-beat="3"].on .beat-n { background: var(--acid); border-color: var(--acid); color: #000; }
.bubble { align-self: flex-end; max-width: 92%; background: var(--panel-2); border: 1px solid var(--line-2); padding: 10px 12px; font-size: 14px; }
.summary { margin: 0; font-size: 15px; line-height: 1.6; min-height: 72px; }
.summary mark { background: var(--ember-soft); color: var(--ember); font-weight: 650; padding: 0 2px; box-shadow: inset 0 -2px 0 var(--ember); }
.beat-cap { margin: auto 0 0; font-size: 14px; color: var(--muted); min-height: 2.8em; }
.beat-cap.bad { color: var(--ember); }
.beat-cap.good { color: var(--acid); }
.beat-cap b { color: var(--ember); }
.withheld { border: 1px solid rgba(198,255,58,0.45); background: var(--acid-soft); padding: 10px 12px; display: none; flex-direction: column; gap: 6px; }
.withheld.show { display: flex; animation: line-in .35s both; }
.withheld b { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acid); }
.withheld div { display: flex; flex-direction: column; }
.withheld span { font-size: 14px; font-weight: 600; }
.withheld small { font-size: 12.5px; color: var(--muted); }
.ledger { list-style: none; margin: 0; padding: 10px 12px; background: #07090c; border: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; display: flex; flex-direction: column; gap: 6px; min-height: 96px; }
.ledger li { display: grid; grid-template-columns: 62px 1fr auto; gap: 8px; animation: line-in .3s both; transition: opacity .5s, transform .5s; }
.ledger .t, .ledger .h { color: var(--dim); }
.ledger li.cut { opacity: 0; transform: translateX(30px); text-decoration: line-through; color: var(--ember); }
.check { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; padding: 12px 14px; border: 1px solid var(--line-2); color: var(--muted); transition: all .3s; }
.check-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dim); }
.check.valid { color: var(--acid); border-color: var(--acid); background: var(--acid-soft); }
.check.valid .check-dot { background: var(--acid); box-shadow: 0 0 10px var(--acid); }
.check.invalid { color: #fff; border-color: var(--ember); background: var(--ember); animation: shake .35s; }
.check.invalid .check-dot { background: #fff; }
.btn-erase { --c: var(--ember); color: #fff; align-self: flex-start; }
.btn-erase[disabled] { opacity: .35; pointer-events: none; }
.beat-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 18px; font-size: 14px; }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--ink); font: inherit; font-family: var(--mono); font-size: 13px; cursor: pointer; border-bottom: 1px dashed var(--line-2); }
.linkbtn:hover { color: var(--acid); border-color: var(--acid); }

/* Scope card */
.scope { margin: 0; padding: 8px 16px 12px; }
.scope div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.scope dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); padding-top: 2px; }
.scope dd { margin: 0; font-size: 14.5px; }
.mock .scope + .mock-tag { padding-top: 6px; }

/* Proof comparison */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.vs-col { border: 1px solid var(--line-2); padding: 26px; }
.vs-col ul { list-style: none; padding: 0; margin: 14px 0 0; }
.vs-col li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.vs-col li::before { content: "– "; }
.vs-us { border-color: rgba(198,255,58,0.5); background: linear-gradient(160deg, var(--acid-soft), transparent 70%); }
.vs-us li { color: var(--ink); }
.vs-us li::before { content: "✓ "; color: var(--acid); }

/* Beyond hospitals */
.beyond { border-top: 1px solid var(--line); padding: 36px 0; }
.beyond p { margin: 0; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap; }

@media (max-width: 960px) {
  .beats, .versus { grid-template-columns: 1fr; }
  .beat { min-height: 0; opacity: 1; }
}

/* Agents band, dashboard link, assessment */
.agents { margin-top: 40px; border: 1px solid rgba(198,255,58,0.45); background: linear-gradient(160deg, var(--acid-soft), transparent 70%); padding: 28px; display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline; }
.agents h3 { margin: 0 0 8px; font-size: 24px; font-weight: 850; letter-spacing: -0.01em; }
.agents p { margin: 0; color: var(--muted); }
.dash-link { margin-top: 18px; display: grid; grid-template-columns: 200px 1fr; gap: 6px 24px; padding: 24px 26px; border: 1px solid var(--line-2); text-decoration: none; transition: border-color .2s, background .2s; }
.dash-link:hover { border-color: var(--acid); background: var(--acid-soft); }
.dash-link b { font-size: 20px; font-weight: 800; }
.dash-link small { grid-column: 2; color: var(--muted); font-size: 15px; }
.assess { margin: 0 0 18px; }
@media (max-width: 860px) {
  .agents, .dash-link { grid-template-columns: 1fr; gap: 8px; }
  .dash-link small { grid-column: 1; }
}
.flow-note.quote { margin: -36px 0 56px; font-size: clamp(20px, 2vw, 26px); font-weight: 750; color: var(--ink); letter-spacing: -0.01em; max-width: 46rem; }

/* Results board */
.results { border: 1px solid var(--line); background: var(--bg-2); }
.r-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; border-top: 1px solid var(--line); }
.r-row > * { padding: 20px 24px; }
.r-row > * + * { border-left: 1px solid var(--line); }
.r-head { border-top: 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.r-head > * { padding-top: 14px; padding-bottom: 14px; }
.r-head span:nth-child(2) { color: var(--ember); }
.r-head span:nth-child(3) { color: var(--acid); }
.r-row > div { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.r-test b { font-size: 18px; font-weight: 750; }
.r-test small, .r-val small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.r-val b { font-weight: 900; font-stretch: 112%; font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.r-val.bad b { color: var(--ember); }
.r-val.good b { color: var(--acid); }
.sub-h { margin: 56px 0 18px; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.sub-h + .split { margin-top: 0; }

/* Get started */
.gs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.gs-col { border: 1px solid var(--line-2); background: var(--panel); padding: 30px; display: flex; flex-direction: column; }
.gs-install { border-color: rgba(198,255,58,0.45); }
.gs-col h3 { margin: 14px 0 10px; font-size: 24px; line-height: 1.2; font-weight: 850; letter-spacing: -0.01em; }
.gs-lede { margin: 0 0 6px; color: var(--muted); }
.gs-steps { list-style: none; counter-reset: g; margin: 12px 0 0; padding: 0; }
.gs-steps li { counter-increment: g; position: relative; padding: 14px 0 14px 46px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.gs-steps li::before { content: counter(g); position: absolute; left: 0; top: 13px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; color: var(--ink); }
.gs-steps b { color: var(--ink); }
.code { margin: 10px 0 0; padding: 12px 14px; background: #07090c; border: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; color: var(--muted); }
.code .del { color: var(--ember); }
.code .add { color: var(--acid); }
.gs-col .fine { margin-top: auto; padding-top: 18px; }

@media (max-width: 860px) {
  .gs { grid-template-columns: 1fr; }
  .r-head { display: none; }
  .r-row { grid-template-columns: 1fr 1fr; }
  .r-row > * { padding: 16px 18px; }
  .r-test { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .r-row > .r-val:nth-child(2) { border-left: 0; }
  .r-val.bad::before, .r-val.good::before, .r-row > .r-val:nth-child(2)::before, .r-row > .r-val:nth-child(3)::before { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; }
  .r-row > .r-val:nth-child(2)::before { content: "Without TenWall"; color: var(--ember); }
  .r-row > .r-val:nth-child(3)::before { content: "With TenWall"; color: var(--acid); }
}

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; position: relative; font-size: clamp(18px, 1.7vw, 22px); font-weight: 750; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-family: var(--mono); font-size: 24px; color: var(--acid); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; max-width: 52rem; }
.faq details p { margin: 0 0 12px; color: var(--muted); }

/* Who it's for tabs */
.tabs { border: 1px solid var(--line-2); background: var(--panel); }
.tab-list { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line-2); }
.tab-list button { flex: 1 1 0; min-width: 0; background: transparent; border: 0; border-right: 1px solid var(--line); color: var(--muted); font: inherit; font-size: 16px; font-weight: 700; text-align: left; padding: 18px 22px; cursor: pointer; position: relative; transition: color .2s, background .2s; }
.tab-list button:last-child { border-right: 0; }
.tab-list button small { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acid); margin-top: 3px; }
.tab-list button:hover { color: var(--ink); }
.tab-list button[aria-selected="true"] { color: var(--ink); background: var(--acid-soft); }
.tab-list button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--acid); }
.tab-list button:focus-visible { outline: 2px solid var(--acid); outline-offset: -2px; }
.tab-panel { padding: 8px 26px 14px; }
.who-dl { margin: 0; }
.who-dl div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.who-dl div:last-child { border-bottom: 0; }
.who-dl dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); padding-top: 4px; }
.who-dl dd { margin: 0; font-size: 17px; line-height: 1.5; }
.who-dl a { color: var(--acid); text-decoration: none; border-bottom: 1px dashed var(--acid); white-space: nowrap; }
.st { display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 7px; margin-right: 6px; vertical-align: 2px; }
.st.built { background: var(--acid); color: #000; }
.st.planned { border: 1px dashed var(--line-2); color: var(--muted); margin-left: 6px; }
.who-note { margin: 22px 0 0; font-size: clamp(19px, 1.8vw, 24px); font-weight: 750; letter-spacing: -0.01em; }
@media (max-width: 760px) {
  .tab-list button { flex: 1 1 50%; border-bottom: 1px solid var(--line); padding: 14px 16px; font-size: 15px; }
  .tab-list button:nth-child(2n) { border-right: 0; }
  .tab-panel { padding: 4px 18px 10px; }
  .who-dl div { grid-template-columns: 1fr; gap: 4px; }
  .who-dl dd { font-size: 16px; }
}

/* Demo industry switch + clip */
.vert { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-2); margin: 0 0 18px; }
.vert button { background: transparent; border: 0; color: var(--muted); font-family: var(--mono); font-size: 13px; letter-spacing: 0.03em; padding: 11px 16px; cursor: pointer; transition: background .2s, color .2s; }
.vert button + button { border-left: 1px solid var(--line-2); }
.vert button:hover { color: var(--ink); }
.vert button[aria-checked="true"] { background: var(--acid); color: #000; }
.vert button:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; }
.vert-status { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); }
[data-healthonly][hidden] { display: none !important; }
.clip { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; border: 1px solid var(--line-2); background: var(--panel); padding: 26px; }
.clip h3 { margin: 12px 0 10px; font-size: 24px; line-height: 1.2; font-weight: 850; letter-spacing: -0.01em; }
.clip p { margin: 0; color: var(--muted); }
.clip-video { width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); display: block; }
@media (max-width: 860px) {
  .vert { display: flex; }
  .vert button { flex: 1 1 50%; }
  .vert button:nth-child(3) { border-left: 0; }
  .vert button:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .clip { grid-template-columns: 1fr; padding: 18px; }
}

/* Results chart (HTML bars; one visible series, TenWall shown as a 0 marker) */
.chart { margin: 0 0 28px; border: 1px solid var(--line); background: var(--bg-2); padding: 22px 24px 16px; }
.chart figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: baseline; margin-bottom: 18px; }
.chart figcaption b { font-size: 18px; font-weight: 750; }
.ch-legend { font-family: var(--mono); font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.ch-legend .k { width: 12px; height: 12px; display: inline-block; border-radius: 2px; }
.ch-legend .k.raw { background: var(--ember); }
.ch-legend .k.tw { background: var(--acid); margin-left: 10px; width: 3px; }
.ch-row, .ch-axis { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; }
.ch-row { padding: 10px 0; border-top: 1px solid var(--line); }
.ch-row:first-child { border-top: 0; }
.ch-model { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.ch-bars { display: flex; flex-direction: column; gap: 4px; position: relative; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px); background-size: 25% 100%; }
.ch-line { display: flex; align-items: center; gap: 8px; height: 18px; }
.ch-bar { display: block; height: 14px; border-radius: 0 4px 4px 0; }
.ch-bar.raw { background: var(--ember); }
.ch-bar.tw { width: 3px; height: 14px; border-radius: 0; background: var(--acid); }
.w53 { width: calc(53% - 30px); } .w80 { width: calc(80% - 30px); } .w22 { width: calc(22% - 30px); }
.ch-val { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--ink); }
.ch-val.tw-val { color: var(--muted); }
.ch-axis { margin-top: 6px; }
.ch-axis div { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.chart .fine { margin-top: 12px; }

/* Role strip, trust line, inline status chip */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.roles > div { border-top: 2px solid var(--line-2); padding-top: 14px; }
.roles p { margin: 8px 0 0; font-size: 16px; }
.trust { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.trust a { color: var(--acid); text-decoration: none; border-bottom: 1px dashed var(--acid); white-space: nowrap; }
.fix-label .st { margin-left: 8px; vertical-align: 1px; }
@media (max-width: 760px) {
  .roles { grid-template-columns: 1fr; }
  .ch-row, .ch-axis { grid-template-columns: 78px 1fr; gap: 10px; }
  .ch-model { font-size: 12px; }
}
/* exact bar lengths; labels sit after the bar */
.ch-line { position: relative; }
.w53 { width: 53%; } .w80 { width: 80%; } .w22 { width: 22%; }
.ch-val { position: absolute; top: 50%; transform: translateY(-50%); }
.ch-bar.w53 + .ch-val { left: calc(53% + 8px); }
.ch-bar.w80 + .ch-val { left: calc(80% + 8px); }
.ch-bar.w22 + .ch-val { left: calc(22% + 8px); }
.ch-bar.tw + .ch-val { left: 11px; }

/* Integrations */
.int-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.int-key .st { margin-left: 14px; }
.int-key .st:first-child { margin-left: 0; }
.int-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.int-card { border: 1px solid var(--line-2); background: var(--panel); padding: 24px; }
.int-card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 850; letter-spacing: -0.01em; }
.int-card ul { list-style: none; margin: 0; padding: 0; }
.int-card li { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.int-card li:first-child { border-top: 0; }
.int-card li b { font-size: 15.5px; font-weight: 700; }
.int-card li p { margin: 4px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.int-card li .st { align-self: flex-start; margin-left: 0; }
.st.local { border: 1px solid var(--acid); color: var(--acid); }
@media (max-width: 1080px) { .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .int-grid { grid-template-columns: 1fr; } }

/* Multi-page: intro + current nav */
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--acid); padding-bottom: 2px; }
.page-intro { padding: clamp(56px, 8vw, 104px) 0 clamp(8px, 2vw, 24px); }
.page-title { font-weight: 900; font-stretch: 112%; font-size: clamp(44px, 6.4vw, 92px); line-height: 0.92; letter-spacing: -0.035em; text-transform: uppercase; margin: 22px 0 0; max-width: 16ch; }
.page-intro .lede { max-width: 44rem; }

/* Home: at a glance */
.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.g-stat { border: 1px solid var(--line); background: var(--bg); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.g-stat b { font-weight: 900; font-stretch: 112%; font-size: clamp(30px, 3.2vw, 46px); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.g-stat p { margin: 0; color: var(--muted); font-size: 15px; }
.go-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.go { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line-2); padding: 22px; text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.go:hover { border-color: var(--acid); background: var(--acid-soft); transform: translateY(-2px); }
.go b { font-size: 18px; font-weight: 750; line-height: 1.3; }
.go small { color: var(--muted); font-size: 14px; }

/* Product: running in your systems */
.scene { border: 1px solid var(--line-2); background: var(--panel); padding: clamp(16px, 2.4vw, 26px); display: grid; gap: 22px; }
.lanes { display: grid; gap: 10px; }
.lane-head, .lane { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 0.8fr); gap: 16px; align-items: center; }
.lane-head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.lane-head span:nth-child(2) { text-align: center; color: var(--acid); }
.lane-head span:nth-child(3) { text-align: right; }
.lane { border: 1px solid var(--line); background: var(--bg-2); padding: 12px 14px; transition: border-color .3s; }
.lane.busy { border-color: var(--line-2); }
.lane.hit-kb { border-color: rgba(198,255,58,0.6); }
.lane.hit-rf { border-color: var(--ember); }
.src b { display: block; font-size: 15px; }
.src small { color: var(--muted); font-family: var(--mono); font-size: 11.5px; }
.dst { text-align: right; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.track { position: relative; height: 28px; background: linear-gradient(to right, var(--line-2) 50%, transparent 50%) center / 10px 1px repeat-x; }
.gate { position: absolute; left: 50%; top: -6px; bottom: -6px; width: 4px; margin-left: -2px; background: var(--acid); box-shadow: 0 0 14px rgba(198,255,58,0.5); }
.hit-rf .gate { background: var(--ember); box-shadow: 0 0 16px var(--ember); }
.packet { position: absolute; top: 7px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.packet.ok { background: var(--acid); }
.packet.kb { background: #f5c542; }
.packet.rf { background: var(--ember); }
.console-live { border: 1px solid var(--line-2); background: #07090c; font-family: var(--mono); font-size: 12.5px; }
.cl-bar { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.cl-bar b { color: var(--ink); }
.cl-org { color: var(--dim); }
.cl-stop { margin-left: auto; }
.cl-stop b { color: var(--ember); }
.cl-agents { width: 100%; border-collapse: collapse; }
.cl-agents th, .cl-agents td { text-align: left; padding: 8px 14px; border-bottom: 1px solid var(--line); font-weight: 400; }
.cl-agents th { color: var(--dim); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.cl-agents th:not(:first-child), .cl-agents td:not(:first-child) { text-align: right; width: 14%; }
.cl-agents td b { color: var(--ink); font-weight: 500; margin-right: 8px; }
.cl-agents td small { color: var(--dim); }
.cl-agents td.kb { color: #f5c542; }
.cl-agents td.rf { color: var(--ember); }
.cl-rows { list-style: none; margin: 0; padding: 6px 0; min-height: 260px; }
.cl-row { display: grid; grid-template-columns: 66px 84px 1fr; gap: 10px; padding: 8px 14px; align-items: baseline; animation: line-in .35s both; }
.cl-row + .cl-row { border-top: 1px solid var(--line); }
.cl-row .t { color: var(--dim); }
.cl-row .o { font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.cl-row.ok .o { color: var(--acid); }
.cl-row.kb .o { color: #f5c542; }
.cl-row.rf .o { color: var(--ember); }
.cl-row b { color: var(--ink); font-weight: 500; font-family: var(--display); font-size: 14.5px; }
.cl-row small { display: block; color: var(--dim); margin-top: 3px; }
#live .fine a { color: var(--acid); }

@media (max-width: 860px) {
  .glance, .go-cards { grid-template-columns: 1fr; }
  .lane-head { display: none; }
  .lane { grid-template-columns: 1fr; gap: 8px; }
  .dst { text-align: left; }
  .dst::before { content: "→ "; color: var(--dim); }
  .cl-row { grid-template-columns: 1fr; gap: 2px; }
  .cl-row .t { display: none; }
  .cl-stop { margin-left: 0; }
  .cl-agents th:nth-child(2), .cl-agents td:nth-child(2) { display: none; }
}
.page-intro + .section { padding-top: clamp(36px, 5vw, 72px); }
