:root {
  --ink: #0a0a0b;
  --ink-2: #0e0f12;
  --ink-3: #131419;
  --line: #23242a;
  --line-soft: #1a1b20;
  --cream: #ece5d6;
  --text: #aab0bb;
  --muted: #6b7280;
  --faint: #474c56;
  --gold: #e2c275;
  --gold-2: #d8b25f;
  --gold-dim: #8a7944;
  --blue: #7c93ff;
  --teal: #41e0bf;
  --crit: #ff5d6c;
  --high: #ff9f43;
  --med: #ffd93d;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* warm atmospheric glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 78% -8%, rgba(226, 194, 117, 0.08), transparent 60%),
    radial-gradient(700px 600px at -10% 12%, rgba(124, 147, 255, 0.05), transparent 55%);
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
code, pre { font-family: var(--mono); }

/* ── Trend product ribbon ──────────────────────────────────────────────── */
.trend-ribbon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 9px 20px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: #e7d9d2;
  background: linear-gradient(90deg, rgba(215, 25, 32, 0.16), rgba(215, 25, 32, 0.07) 50%, rgba(215, 25, 32, 0.16));
  border-bottom: 1px solid rgba(215, 25, 32, 0.35);
}
.trend-ribbon strong {
  color: #ff6b6b;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.trend-ribbon .tr-mark { color: #d71920; font-size: 11px; }
.trend-ribbon .tr-sub { color: var(--muted); }
@media (max-width: 620px) { .trend-ribbon .tr-sub { display: none; } }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.logo { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--cream); letter-spacing: -0.01em; }
.logo .mark { color: var(--gold); }
.nav-links { display: flex; gap: 26px; font-size: 14px; }
.nav-links a { color: var(--muted); transition: color 0.18s; }
.nav-links a:hover { color: var(--cream); }
.ghost-btn {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--cream);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.18s, background 0.18s;
}
.ghost-btn:hover { border-color: var(--gold-dim); background: rgba(226, 194, 117, 0.06); }

/* ── Byline ────────────────────────────────────────────────────────────── */
.byline {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 40px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--muted);
}
.byline strong { color: var(--text); font-weight: 600; }
.byline-contact { font-family: var(--mono); font-size: 12px; }
.byline-contact i { color: var(--faint); font-style: normal; margin: 0 6px; }

/* ── Layout shell ──────────────────────────────────────────────────────── */
.hero, .section, .stats { position: relative; z-index: 1; }
.section { max-width: 1180px; margin: 0 auto; padding: 84px 40px; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { max-width: 1180px; margin: 0 auto; padding: 80px 40px 56px; }
.deployed-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 38px;
  animation: fade-up 0.7s 0.05s both;
}
.deployed-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(40px, 6.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin: 0 0 30px;
  max-width: 16ch;
  animation: fade-up 0.7s 0.12s both;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub {
  max-width: 64ch;
  font-size: 18px;
  color: var(--text);
  margin: 0 0 36px;
  animation: fade-up 0.7s 0.2s both;
}
.hero-sub strong { color: var(--cream); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; animation: fade-up 0.7s 0.28s both; }
.btn-primary {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: #1a1404;
  background: linear-gradient(180deg, #ecce86, var(--gold-2));
  border: none;
  border-radius: 10px;
  padding: 13px 24px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(226, 194, 117, 0.18);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(226, 194, 117, 0.28); }
.btn-ghost {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 24px;
  transition: border-color 0.15s, background 0.15s;
}
.btn-ghost:hover { border-color: var(--gold-dim); background: rgba(226, 194, 117, 0.05); }

@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── Stat strip ────────────────────────────────────────────────────────── */
.stats {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 60px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}
.stat span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.stat.models b { font-size: 26px; color: var(--cream); }

/* ── Section heads ─────────────────────────────────────────────────────── */
.sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 18px; }
.sec-num { font-family: var(--mono); font-size: 13px; color: var(--gold-dim); letter-spacing: 0.1em; }
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.015em;
  color: var(--cream);
  margin: 0;
}
.sec-lead { max-width: 72ch; font-size: 17px; margin: 0 0 40px; }
.sec-lead strong { color: var(--cream); font-weight: 600; }
.sec-lead em { color: var(--gold); font-style: italic; }
.section code, .sec-lead code, .micro code, .mini-card code, .stack-card code, .reg-ep code {
  font-size: 0.86em; color: var(--gold); background: rgba(226, 194, 117, 0.07);
  padding: 1px 6px; border-radius: 4px;
}
.micro { font-size: 13.5px; color: var(--muted); margin-top: 18px; max-width: 70ch; }
.sub-h { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--cream); margin: 48px 0 16px; }

/* ── Chips (scenarios) ─────────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 13px; color: var(--text);
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 16px; cursor: pointer;
  transition: border-color 0.16s, transform 0.12s, color 0.16s;
}
.chip:hover { border-color: var(--gold-dim); transform: translateY(-1px); }
.chip.active { border-color: var(--gold); color: var(--cream); }
.chip .cdot { width: 7px; height: 7px; border-radius: 50%; }
.chip.danger .cdot { background: var(--crit); box-shadow: 0 0 8px var(--crit); }
.chip.high .cdot { background: var(--high); }
.chip.low .cdot { background: var(--muted); }
.chip .ctag { font-size: 10px; color: var(--crit); border: 1px solid rgba(255,93,108,.4); border-radius: 4px; padding: 0 5px; }

/* ── Console (terminal) ────────────────────────────────────────────────── */
.console {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--ink-2), #0b0c0f);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.console-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.015);
}
.tl-dots { display: flex; gap: 7px; }
.tl-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.tl-dots i:nth-child(1) { background: #ff5f57; }
.tl-dots i:nth-child(2) { background: #febc2e; }
.tl-dots i:nth-child(3) { background: #28c840; }
.tl-title { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.status-pill {
  margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
.status-pill.run { color: var(--teal); border-color: rgba(65,224,191,.4); }
.status-pill.done { color: var(--gold); border-color: var(--gold-dim); }
.status-pill.err { color: var(--crit); border-color: rgba(255,93,108,.4); }

.console-body { display: grid; grid-template-columns: 1fr 360px; min-height: 440px; }
.trace-col { padding: 20px; border-right: 1px solid var(--line-soft); }
.side-col { padding: 20px; overflow-y: auto; max-height: 560px; }

.alert-head {
  font-family: var(--mono); font-size: 13px; color: var(--cream);
  background: var(--ink-3); border: 1px solid var(--line-soft);
  border-radius: 8px; padding: 11px 13px; margin-bottom: 16px;
}
.alert-head.empty { color: var(--faint); font-style: italic; }
.alert-head .meta { display: block; color: var(--muted); font-size: 11.5px; margin-top: 4px; }

.reason-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin: 18px 0 8px; }
.side-col .reason-label:first-child { margin-top: 0; }
.hint-inline { color: var(--high); text-transform: none; letter-spacing: 0; }

.trace {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7;
  white-space: pre-wrap; color: #98a1ae; max-height: 420px; overflow-y: auto;
}
.trace .think { color: #79818f; font-style: italic; }
.trace .say { color: var(--cream); }
.trace .tool { display: block; color: var(--teal); border-left: 2px solid var(--gold-dim); padding-left: 9px; margin: 8px 0; }

.verdict { border: 1px solid var(--line); border-radius: 9px; padding: 13px; background: var(--ink-3); margin-bottom: 6px; }
.verdict.hidden { display: none; }
.verdict .vline { font-size: 14px; color: var(--cream); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.verdict .mitre { font-family: var(--mono); font-size: 11px; color: var(--teal); margin-top: 6px; }
.verdict .summary { font-size: 13px; color: var(--text); margin-top: 8px; }
.badge { font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 5px; text-transform: uppercase; }
.badge.malicious { background: var(--crit); color: #1a0306; }
.badge.suspicious { background: var(--high); color: #1a0c03; }
.badge.benign { background: var(--teal); color: #04140f; }

.iocs, .approvals, .audit { list-style: none; margin: 0; padding: 0; }
.ioc { display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 8px 10px; border: 1px solid var(--line-soft); border-radius: 6px; margin-bottom: 6px;
  background: var(--ink-3); font-family: var(--mono); font-size: 11.5px; }
.ioc .val { color: var(--cream); word-break: break-all; }
.ioc .tag { font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.tag.auto_blocked { background: var(--teal); color: #04140f; }
.tag.human_approved { background: var(--blue); color: #02112b; }
.tag.queued { background: var(--med); color: #1a1503; }
.tag.rejected { background: var(--crit); color: #1a0306; }

.approval { border: 1px solid rgba(255,159,67,.45); border-radius: 8px; padding: 10px; margin-bottom: 8px; background: var(--ink-3); }
.approval .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--high); font-weight: 700; }
.approval .t { font-family: var(--mono); font-size: 12px; color: var(--cream); margin: 4px 0; word-break: break-all; }
.approval .r { font-size: 11.5px; color: var(--muted); }
.approval .acts { display: flex; gap: 7px; margin-top: 9px; }
.approval button { flex: 1; font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 7px; border: none; border-radius: 5px; cursor: pointer; }
.approval .yes { background: var(--teal); color: #04140f; }
.approval .no { background: var(--crit); color: #1a0306; }

.audit li { font-family: var(--mono); font-size: 11px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); color: var(--text); }
.audit .ts { color: var(--faint); }
.audit .a { color: var(--teal); }

/* ── Diagram ───────────────────────────────────────────────────────────── */
.diagram {
  border: 1px solid var(--line-soft); border-radius: 14px; padding: 38px 28px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(124,147,255,0.04), transparent 70%),
    var(--ink-2);
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 22px 22px;
  margin-bottom: 36px;
}
.diagram .row { display: flex; align-items: stretch; justify-content: center; gap: 10px; flex-wrap: wrap; }
.diagram .row.branch { margin-top: 26px; gap: 40px; }
.node {
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px;
  background: var(--ink-3); min-width: 150px; text-align: center;
}
.node b { display: block; font-family: var(--mono); font-size: 14px; color: var(--cream); }
.node span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.node.worker { border-color: rgba(124,147,255,.35); }
.node.worker b { color: var(--blue); }
.node.hot { border-color: var(--gold-dim); box-shadow: 0 0 30px rgba(226,194,117,.08); }
.node.hot b { color: var(--gold); }
.node.model b { color: var(--teal); }
.node.model { border-color: rgba(65,224,191,.3); }
.node.sim b { color: var(--high); }
.node.sim { border-color: rgba(255,159,67,.3); }
.conn { display: flex; align-items: center; font-family: var(--mono); font-size: 11px; color: var(--faint); padding: 0 4px; }
.conn i { color: var(--gold-dim); font-style: normal; margin-left: 6px; font-size: 14px; }
.leg { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.leg-label { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.legend { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; margin-top: 28px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.legend i { display: inline-block; width: 22px; height: 0; vertical-align: middle; margin-right: 6px; }
.legend i.solid { border-top: 2px solid var(--gold-dim); }
.legend i.dashed { border-top: 2px dashed var(--teal); }

/* ── Cards (3-up) ──────────────────────────────────────────────────────── */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards-3.tight { margin-top: 24px; }
.mini-card { border: 1px solid var(--line-soft); border-radius: 12px; padding: 22px; background: var(--ink-2); }
.mini-card.edge { border-color: var(--line); }
.mini-card .kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.mini-card h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--cream); margin: 10px 0 10px; }
.mini-card p { font-size: 14.5px; margin: 0; }
.mini-card em { color: var(--gold); font-style: italic; }

/* ── Gate table ────────────────────────────────────────────────────────── */
.gate-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.gt-head, .gt-row { display: grid; grid-template-columns: 1.6fr 1fr 2fr; gap: 16px; padding: 16px 22px; align-items: center; }
.gt-head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.015); border-bottom: 1px solid var(--line-soft); }
.gt-row { border-bottom: 1px solid var(--line-soft); }
.gt-row:last-child { border-bottom: none; }
.gt-act { color: var(--cream); font-size: 15px; }
.gt-rev { font-family: var(--mono); font-size: 13px; }
.gt-rev.yes { color: var(--teal); }
.gt-rev.no { color: var(--crit); }
.gt-gate { font-family: var(--mono); font-size: 12.5px; padding: 6px 12px; border-radius: 7px; }
.gt-gate.auto { color: var(--teal); background: rgba(65,224,191,.08); }
.gt-gate.human { color: var(--high); background: rgba(255,159,67,.08); }

/* ── Registry ──────────────────────────────────────────────────────────── */
.registry { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.reg-head, .reg-row { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: 16px; padding: 15px 22px; align-items: center; }
.reg-head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.015); border-bottom: 1px solid var(--line-soft); }
.reg-row { border-bottom: 1px solid var(--line-soft); }
.reg-row:last-child { border-bottom: none; }
.reg-tool { font-family: var(--mono); font-size: 13.5px; }
.reg-tool.read { color: var(--blue); }
.reg-tool.add { color: var(--teal); }
.reg-tool.danger { color: var(--crit); }
.reg-tool.term { color: var(--gold); }
.reg-ep { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.reg-cls i { font-family: var(--mono); font-size: 10.5px; font-style: normal; padding: 3px 9px; border-radius: 5px; border: 1px solid; }
.c-read { color: var(--blue); border-color: rgba(124,147,255,.35); }
.c-add { color: var(--teal); border-color: rgba(65,224,191,.35); }
.c-danger { color: var(--crit); border-color: rgba(255,93,108,.4); }
.c-term { color: var(--gold); border-color: var(--gold-dim); }

/* ── Stack grid ────────────────────────────────────────────────────────── */
.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stack-card { border: 1px solid var(--line-soft); border-radius: 12px; padding: 24px; background: var(--ink-2); transition: border-color 0.18s; }
.stack-card:hover { border-color: var(--line); }
.sc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.sc-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.sc-tag.gold { color: var(--gold); }
.sc-tag.teal { color: var(--teal); }
.sc-tag.red { color: var(--high); }
.sc-cat { font-family: var(--mono); font-size: 10.5px; color: var(--faint); }
.stack-card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--cream); margin: 0 0 10px; }
.stack-card p { font-size: 14px; margin: 0; }

/* ── Practice grid ─────────────────────────────────────────────────────── */
.practice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.practice-col { border: 1px solid var(--line-soft); border-radius: 14px; padding: 26px 26px 10px; background: var(--ink-2); }
.pc-head { display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--line-soft); padding-bottom: 14px; margin-bottom: 6px; }
.pc-head .pl { font-family: var(--mono); font-size: 12px; color: var(--gold); }
.pc-head h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--cream); margin: 0; }
.practice { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.practice:last-child { border-bottom: none; }
.practice .pt { display: flex; gap: 9px; align-items: baseline; font-size: 15px; color: var(--cream); font-weight: 500; }
.practice .pt .ck { color: var(--teal); }
.practice .pd { font-size: 13.5px; color: var(--muted); margin: 5px 0 0 19px; }
.practice .pd code { font-size: 0.86em; }

/* ── Spec list ─────────────────────────────────────────────────────────── */
.spec-list { border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; }
.spec { display: grid; grid-template-columns: 280px 1fr; gap: 20px; padding: 18px 24px; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.spec:last-child { border-bottom: none; }
.spec .sn { font-family: var(--mono); font-size: 13.5px; color: var(--gold); }
.spec .sn small { display: block; color: var(--faint); font-size: 11px; margin-top: 2px; }
.spec .sd { font-size: 14.5px; color: var(--text); }

/* ── Test grid ─────────────────────────────────────────────────────────── */
.test-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.test-card { border: 1px solid var(--line-soft); border-radius: 12px; padding: 22px; background: var(--ink-2); }
.test-card.flag { border-color: rgba(255,93,108,.4); background: linear-gradient(180deg, rgba(255,93,108,.04), var(--ink-2)); }
.test-card .tc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.test-card .tc-sev { font-family: var(--mono); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; }
.sev-high { background: rgba(255,159,67,.16); color: var(--high); }
.sev-critical { background: rgba(255,93,108,.16); color: var(--crit); }
.sev-low { background: rgba(107,114,128,.18); color: var(--muted); }
.test-card h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--cream); margin: 0; }
.test-card .tc-do { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.test-card .tc-do b { color: var(--text); font-weight: 600; }
.test-card .expect { font-family: var(--mono); font-size: 12.5px; color: var(--text); border-left: 2px solid var(--gold-dim); padding-left: 12px; }
.test-card .expect b { color: var(--teal); font-weight: 700; }
.test-card.flag .expect { border-left-color: var(--crit); }
.test-card.flag .expect b { color: var(--crit); }

/* ── Code block ────────────────────────────────────────────────────────── */
.code-block { border: 1px solid var(--line); border-radius: 12px; background: #08090b; overflow-x: auto; }
.code-block pre { font-size: 12.5px; line-height: 1.85; color: #aeb6c2; margin: 0; padding: 20px 22px; }
.code-block .cm { color: var(--gold-dim); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 40px auto 0; padding: 32px 40px 60px;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--muted);
}
.footer .mark { color: var(--gold); }
.foot-contact { font-family: var(--mono); font-size: 12px; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .console-body { grid-template-columns: 1fr; }
  .side-col { border-top: 1px solid var(--line-soft); max-height: none; }
  .trace-col { border-right: none; }
  .cards-3, .stack-grid, .practice-grid, .test-grid { grid-template-columns: 1fr; }
  .gt-head, .gt-row, .reg-head, .reg-row { grid-template-columns: 1fr; gap: 6px; }
  .spec { grid-template-columns: 1fr; gap: 6px; }
  .diagram .row { flex-direction: column; align-items: center; }
  .conn { transform: rotate(90deg); }
}
