:root {
  --paper: #f5f2ea;
  --paper-2: #ebe7dc;
  --paper-3: #e0dccf;
  --ink: #0a0a0a;
  --ink-2: #1f1d18;
  --ink-3: #5a5648;
  --ink-4: #8a8472;
  --ink-5: #b8b2a0;
  --rule: #0a0a0a;
  --accent: #2dff5c;
  --accent-deep: #0ea83b;
  --accent-soft: #d6f5dd;
  --fail: #d73838;
  --fail-soft: #f8dada;
  --warn: #c89124;
  --info: #2a5fb8;
  --judge: #7a4ec6;
  --radius: 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Geist', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  font-size: 15px;
  font-feature-settings: "ss01", "ss02", "cv11";
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--accent); }

/* paper texture */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(rgba(10,10,10,0.018) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 0;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* mono labels */
.mono {
  font-family: 'Geist Mono', monospace;
  font-feature-settings: "ss02";
}
.micro {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 500;
}

/* TOP UTILITY BAR */
.util-bar {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  height: 28px;
  display: flex; align-items: center;
  position: relative; z-index: 60;
}
.util-bar .container {
  display: flex; justify-content: center; align-items: center;
  height: 100%;
}
.util-bar .left { display: flex; align-items: center; justify-content: center; color: var(--paper); text-align: center; }

/* NAV */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,242,234,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
nav.top .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-weight: 700; letter-spacing: -0.02em;
  font-size: 17px;
}
.brand-mark {
  width: 22px; height: 22px;
  background: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-mark::after {
  content: ""; width: 10px; height: 10px;
  background: var(--accent);
}
.brand-mark::before {
  content: ""; position: absolute;
  inset: -3px;
  border: 1px solid var(--ink);
  pointer-events: none;
}
.nav-links { display: flex; gap: 26px; font-size: 13.5px; color: var(--ink-2); align-items: center; }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
}
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 880px) { .nav-links { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 38px; padding: 0 16px;
  font-family: 'Geist', sans-serif;
  font-size: 13.5px; font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 140ms cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
  text-transform: none;
  letter-spacing: -0.005em;
}
.btn.ghost { color: var(--ink-2); }
.btn.ghost:hover { color: var(--ink); }
.btn.outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.outline:hover {
  background: var(--ink); color: var(--paper);
}
.btn.primary {
  background: var(--ink); color: var(--paper);
  border-color: var(--ink);
  position: relative;
}
.btn.primary:hover { background: #1a1a1a; }
.btn .arrow { font-size: 14px; transition: transform 160ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* HERO */
.hero {
  padding: 80px 0 60px;
  position: relative;
}
.hero > .container { max-width: 1280px; }
.hero-grid {
  display: grid;
  grid-template-columns: 520px 820px;
  gap: 40px;
  align-items: start;
  position: relative;
  top: 32px;
}
.hero-right { position: relative; top: -48px; }
@media (max-width: 1280px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; top: 0; }
  .hero-right { top: 0; }
}

.hero-meta {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 28px;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-meta .tag-num {
  background: var(--ink); color: var(--paper);
  padding: 4px 8px;
}
.hero-meta .tag-status {
  color: var(--ink-3);
  display: flex; gap: 8px; align-items: center;
}

h1 {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 76px;
  line-height: 0.92;
  letter-spacing: -0.052em;
  margin-bottom: 0;
}
h1 .line-1 { display: block; color: var(--ink); }
h1 .line-2 {
  display: block; color: var(--ink);
  position: relative;
}
h1 .strike {
  position: relative;
  color: var(--ink);
}
h1 .strike::after {
  content: ""; position: absolute;
  left: -2%; right: -2%;
  top: 53%;
  height: 12px;
  background: var(--accent);
  z-index: -1;
  transform: skew(-2deg);
}
@media (max-width: 1100px) { h1 { font-size: 68px; } }
@media (max-width: 600px) { h1 { font-size: 48px; } }

.lede {
  font-size: 16.5px;
  color: var(--ink-2);
  max-width: 500px;
  margin-top: 26px;
  line-height: 1.5;
  font-weight: 400;
}

/* CLI box */
.cli {
  margin-top: 32px;
  border: 1px solid var(--rule);
  background: var(--ink);
  color: var(--paper);
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  max-width: 460px;
  position: relative;
}
.cli-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid #232323;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245,242,234,0.5);
}
.cli-header .copy-btn {
  cursor: pointer;
  color: rgba(245,242,234,0.5);
  transition: color 120ms;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}
.cli-header .copy-btn:hover { color: var(--accent); }
.cli-body { padding: 16px 14px; line-height: 1.6; }
.cli-body .prompt { color: var(--accent); margin-right: 10px; }
.cli-body .cmd { color: var(--paper); }
.cli-body .arg { color: rgba(245,242,234,0.65); }
.cli-body .next { color: rgba(245,242,234,0.4); margin-top: 6px; display: block; }

.hero-cta {
  margin-top: 28px;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.hero-cta .meta {
  margin-left: 4px;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* DASHBOARD MOCKUP */
.dash-wrap { position: relative; width: 820px; transform: translateX(96px); }
.fig-caption {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.fig-caption .right {
  display: flex; gap: 14px; align-items: center;
}
.fig-caption .lozenge {
  border: 1px solid var(--ink-4);
  padding: 2px 7px;
  color: var(--ink-3);
}
.dashboard {
  --dash-border: #dedede;
  --dash-muted: #6f7178;
  --dash-soft: #f8f8f7;
  --dash-green: #237a4b;
  --dash-red: #eb2f26;
  --dash-orange: #f4a33b;
  --dash-blue: #2d76df;
  --dash-purple: #7a4ce2;
  border: 1px solid #d2d2d0;
  border-radius: 10px;
  background: #fbfbfa;
  box-shadow: 0 24px 60px rgba(10,10,10,0.14);
  position: relative;
  overflow: hidden;
  color: #111;
  width: 820px;
  height: 695px;
  max-width: 100%;
}
.dashboard button { font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; }
.dash-shell {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  width: 1080px;
  min-height: 740px;
  transform: scale(0.7593);
  transform-origin: top left;
}
.dash-sidebar {
  border-right: 1px solid var(--dash-border);
  background: #fbfbfa;
}
.dash-logo {
  height: 64px;
  border-bottom: 1px solid var(--dash-border);
  display: flex;
  align-items: center;
  padding-left: 24px;
}
.dash-logo img { display: block; width: 24px; height: 24px; }
.dash-nav {
  padding: 14px 8px;
  display: grid;
  gap: 8px;
}
.dash-nav button {
  height: 38px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 500;
}
.dash-nav button.active { background: #f1efed; }
.dash-ico {
  width: 16px;
  height: 16px;
  border: 1.7px solid #111;
  border-radius: 3px;
  position: relative;
  flex: 0 0 16px;
}
.dash-ico.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border: 0; }
.dash-ico.grid::before,
.dash-ico.grid::after,
.dash-ico.grid span::before,
.dash-ico.grid span::after {
  content: "";
  border: 1.7px solid #111;
  border-radius: 2px;
}
.dash-ico.grid span { display: contents; }
.dash-ico.play::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  border-left: 6px solid #111;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.dash-ico.shield { border-radius: 5px 5px 7px 7px; }
.dash-ico.case::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: -4px;
  height: 4px;
  border: 1.7px solid #111;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}
.dash-ico.sliders { border: 0; border-radius: 0; }
.dash-ico.sliders::before,
.dash-ico.sliders::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #111;
  box-shadow: 0 6px 0 #111, 0 12px 0 #111;
}
.dash-ico.sliders::after {
  left: 3px;
  right: auto;
  top: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #111;
  box-shadow: 7px 6px 0 #111, 2px 12px 0 #111;
}
.dash-ico.gear { border-radius: 50%; }
.dash-ico.gear::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1.7px solid #111;
  border-radius: 50%;
}
.dash-main { min-width: 0; }
.dash-topbar {
  height: 64px;
  border-bottom: 1px solid var(--dash-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.dash-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.dash-title h4 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.dash-title .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #eef0ef;
  position: relative;
}
.dash-title .dot::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #adb2b0;
}
.dash-badge {
  border: 1px solid var(--dash-border);
  border-radius: 5px;
  padding: 4px 10px;
  color: #34363a;
  background: #f7f7f6;
  font-size: 12px;
}
.dash-account {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.dash-account .chev {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #111;
  border-bottom: 1.5px solid #111;
  transform: rotate(45deg) translateY(-2px);
}
.dash-account .gear { margin-left: 14px; }
.dash-body { padding: 24px; background: #fbfbfa; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.metric-card,
.dash-panel {
  border: 1px solid var(--dash-border);
  border-radius: 6px;
  background: #fff;
}
.metric-card {
  min-height: 148px;
  padding: 18px;
  overflow: hidden;
}
.metric-card .label,
.dash-table th,
.failure-table th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  color: var(--dash-muted);
  font-weight: 650;
}
.metric-card .value {
  margin-top: 16px;
  font-size: 28px;
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.04em;
}
.metric-card .value.green { color: var(--dash-green); }
.metric-card .value.red { color: var(--dash-red); }
.metric-card .sub {
  margin-top: 9px;
  color: #45484f;
  font-size: 12px;
}
.metric-card .sub .up { color: var(--dash-green); font-weight: 650; }
.sparkline {
  width: 100%;
  height: 34px;
  margin-top: 14px;
  display: block;
}
.sparkline path {
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sparkline .green { stroke: #2d745f; }
.sparkline .red { stroke: var(--dash-red); }
.sparkline .gray { stroke: #607077; }
.panel-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  margin-top: 18px;
}
.dash-panel {
  padding: 18px;
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.panel-head h5 {
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.015em;
}
.panel-head a {
  color: #4b4e55;
  font-size: 12px;
}
.category-list { display: grid; gap: 18px; }
.category-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px 42px;
  gap: 14px;
  align-items: center;
  font-size: 13px;
}
.category-row .name {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.category-row .swatch {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
}
.swatch.happy { background: var(--dash-green); }
.swatch.edge { background: var(--dash-orange); }
.swatch.adv { background: var(--dash-red); }
.swatch.policy { background: var(--dash-blue); }
.swatch.amb { background: var(--dash-purple); }
.category-row .count { color: #424650; text-align: right; }
.category-row .score { color: var(--dash-green); font-weight: 560; text-align: right; }
.category-row .score.red { color: var(--dash-red); }
.dash-table,
.failure-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.dash-table th:first-child,
.dash-table td:first-child { width: 45%; }
.dash-table th:nth-child(2),
.dash-table td:nth-child(2) { width: 22%; }
.dash-table th,
.dash-table td,
.failure-table th,
.failure-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid #e6e6e3;
  vertical-align: middle;
}
.dash-table tr:last-child td,
.failure-table tr:last-child td { border-bottom: 0; }
.dash-table th:nth-child(3),
.dash-table td:nth-child(3),
.dash-table th:nth-child(4),
.dash-table td:nth-child(4) { text-align: right; }
.dash-table .run-id,
.dash-table .strong,
.failure-table .strong { font-weight: 620; }
.dash-table .time,
.failure-table .muted { color: #4f535b; }
.status-pill,
.failure-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  border-radius: 5px;
  height: 24px;
  padding: 0 8px;
  font-size: 11px;
  line-height: 1;
  font-weight: 650;
  text-transform: uppercase;
}
.status-pill.pass {
  color: var(--dash-green);
  background: #f0f8f3;
  border-color: #b9d7c4;
}
.status-pill.fail,
.failure-pill.adv {
  color: var(--dash-red);
  background: #fff4f2;
  border-color: #ffb9b4;
}
.failure-pill.policy {
  color: var(--dash-blue);
  background: #f3f8ff;
  border-color: #b8d3ff;
}
.failures-panel {
  margin-top: 18px;
  padding: 18px;
}
.failure-table {
  table-layout: fixed;
}
.failure-table th:nth-child(1) { width: 32%; }
.failure-table th:nth-child(2) { width: 13%; }
.failure-table th:nth-child(3) { width: 7%; }
.failure-table th:nth-child(4) { width: 23%; }
.failure-table th:nth-child(5) { width: 10%; }
.failure-table th:nth-child(6) { width: 15%; }
.failure-table .action {
  font-weight: 620;
  white-space: nowrap;
}
@media (max-width: 1280px) {
  .dash-wrap { width: 100%; transform: none; }
  .dashboard { width: 100%; height: auto; }
  .dash-shell { width: auto; min-height: 0; transform: none; }
}

/* Logo strip */
.logos {
  margin-top: 48px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.logos .label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  flex-shrink: 0;
  max-width: 220px;
}
.logos .row {
  display: flex; gap: 44px; align-items: center;
  flex-wrap: wrap;
  flex: 1; justify-content: flex-end;
}
.logos .lg {
  color: var(--ink-2);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 18px;
  opacity: 0.65;
  transition: opacity 200ms;
}
.logos .lg:hover { opacity: 1; }
.lg-1 { font-style: italic; font-weight: 700; }
.lg-2 { font-family: 'Geist Mono', monospace; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
.lg-3 { font-weight: 800; letter-spacing: -0.04em; font-size: 21px; }
.lg-4 { font-weight: 300; letter-spacing: 0.15em; text-transform: uppercase; font-size: 13px; }
.lg-5 { font-weight: 500; }
.lg-6 { font-weight: 700; font-style: italic; letter-spacing: -0.01em; }
.beta-line {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.beta-line b { color: var(--ink); font-weight: 600; }
.beta-cta {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  margin-left: 6px;
  transition: color 140ms;
}
.beta-cta:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }

/* SECTION HEADER (instrument-style) */
.section-head {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 32px;
  align-items: end;
  padding-top: 100px;
  padding-bottom: 50px;
  position: relative;
}
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: 18px; } .section-head .right-meta { display: none; } }
.section-num {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  display: flex; flex-direction: column; gap: 2px;
}
.section-num b { color: var(--ink); font-weight: 600; }
.section-num .crosshair {
  width: 14px; height: 14px;
  position: relative;
  margin-bottom: 10px;
}
.section-num .crosshair::before, .section-num .crosshair::after {
  content: ""; position: absolute;
  background: var(--ink);
}
.section-num .crosshair::before { left: 6px; top: 0; bottom: 0; width: 1px; }
.section-num .crosshair::after { top: 6px; left: 0; right: 0; height: 1px; }

h2 {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink);
  max-width: 760px;
}
h2 .accent { color: var(--ink-4); }
h2 .hl {
  background: linear-gradient(
    to bottom,
    transparent 0,
    transparent 16%,
    var(--accent) 16%,
    var(--accent) 90%,
    transparent 90%,
    transparent 100%
  );
  padding: 0 6px;
  margin: 0 -2px;
  color: var(--ink);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (max-width: 600px) { h2 { font-size: 36px; } }

.right-meta {
  text-align: right;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.7;
}
.right-meta b { color: var(--ink); font-weight: 500; }

/* Tick rule */
.tick-rule {
  display: flex; align-items: center; gap: 0;
  margin-top: 0;
  border-top: 1px solid var(--rule);
  padding-top: 0;
  height: 18px;
  position: relative;
}
.tick-rule::before {
  content: ""; position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px; background: var(--rule);
}
.ticks {
  display: flex; flex: 1;
  height: 100%;
}
.ticks span {
  flex: 1;
  border-right: 1px solid rgba(10,10,10,0.15);
  height: 6px;
}
.ticks span:nth-child(5n) {
  height: 12px; border-right-color: var(--rule);
}

section { padding-bottom: 30px; }

/* PROBLEM */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  margin-top: 30px;
}
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  padding: 30px 28px 36px;
  border-right: 1px solid var(--rule);
  background: var(--paper);
  position: relative;
}
.problem-card:last-child { border-right: 0; }
@media (max-width: 900px) {
  .problem-card { border-right: 0; border-bottom: 1px solid var(--rule); }
  .problem-card:last-child { border-bottom: 0; }
}
.problem-card .head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 26px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.problem-card .head .num {
  background: var(--ink); color: var(--paper);
  padding: 3px 8px;
}
.problem-card .head .label { color: var(--ink-3); }
.problem-card h3 {
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.problem-card p { color: var(--ink-3); font-size: 14px; line-height: 1.55; }
.problem-card .fig {
  margin-top: 24px;
  height: 60px;
  border: 1px solid var(--paper-3);
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.problem-card .fig.f1::before {
  content: ""; position: absolute;
  inset: 12px;
  background: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 7px,
    var(--ink-5) 7px,
    var(--ink-5) 8px
  );
}
.problem-card .fig.f2 {
  display: flex; align-items: flex-end;
  padding: 8px;
  gap: 4px;
}
.problem-card .fig.f2 i {
  flex: 1;
  background: var(--ink);
  display: block;
}
.problem-card .fig.f2 i:nth-child(1) { height: 28%; }
.problem-card .fig.f2 i:nth-child(2) { height: 48%; }
.problem-card .fig.f2 i:nth-child(3) { height: 22%; background: var(--fail); }
.problem-card .fig.f2 i:nth-child(4) { height: 64%; }
.problem-card .fig.f2 i:nth-child(5) { height: 36%; background: var(--fail); }
.problem-card .fig.f2 i:nth-child(6) { height: 88%; }
.problem-card .fig.f2 i:nth-child(7) { height: 56%; }
.problem-card .fig.f2 i:nth-child(8) { height: 18%; background: var(--fail); }
.problem-card .fig.f2 i:nth-child(9) { height: 72%; }
.problem-card .fig.f3 {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Geist Mono', monospace;
  font-size: 32px; font-weight: 700;
  color: var(--fail);
  letter-spacing: -0.02em;
}

/* PILLARS */
.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 70px 0;
  border-top: 1px solid var(--rule);
  align-items: center;
}
.pillar:last-of-type { border-bottom: 1px solid var(--rule); }
.pillar.flip { direction: rtl; }
.pillar.flip > * { direction: ltr; }
@media (max-width: 1100px) {
  .pillar { grid-template-columns: 1fr; gap: 50px; padding: 50px 0; }
  .pillar.flip { direction: ltr; }
}

.pillar-text .num-tag {
  display: inline-flex; gap: 10px; align-items: center;
  margin-bottom: 22px;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pillar-text .num-tag .n {
  background: var(--ink); color: var(--paper);
  padding: 4px 9px;
}
.pillar-text .num-tag .lbl { color: var(--ink-3); }
.pillar-text h3 {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.pillar-text h3 .hl {
  background: linear-gradient(
    to bottom,
    transparent 0,
    transparent 16%,
    var(--accent) 16%,
    var(--accent) 90%,
    transparent 90%,
    transparent 100%
  );
  padding: 0 6px;
  margin: 0 -2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.pillar-text > p {
  font-size: 16px;
  color: var(--ink-2);
  margin-bottom: 26px;
  max-width: 480px;
}
.pillar-text ul {
  list-style: none;
  border-top: 1px solid var(--rule);
}
.pillar-text li {
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-3);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  font-size: 14.5px;
}
.pillar-text li:last-child { border-bottom: 1px solid var(--rule); }
.pillar-text li .lnum {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px; color: var(--ink-4);
  padding-top: 2px;
}
.pillar-text li b { font-weight: 600; color: var(--ink); }
.pillar-text li span.t { color: var(--ink-3); }

/* PILLAR 1 visual: category bento */
.vis {
  border: 1px solid var(--rule);
  background: var(--paper);
  box-shadow: 6px 6px 0 0 var(--ink);
  position: relative;
}
.vis-head {
  padding: 9px 14px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.vis-head b { color: var(--ink); font-weight: 600; }

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
}
.cat-cell {
  padding: 18px 18px 22px;
  border-right: 1px solid var(--paper-3);
  border-bottom: 1px solid var(--paper-3);
  position: relative;
}
.cat-cell:nth-child(2n) { border-right: 0; }
.cat-cell.span2 { grid-column: span 2; border-right: 0; }
.cat-cell .top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.cat-cell .top .name {
  display: flex; gap: 9px; align-items: center;
  font-size: 12.5px; font-weight: 500;
}
.cat-cell .top .name .dot { width: 8px; height: 8px; }
.cat-cell .top .ix {
  font-family: 'Geist Mono', monospace;
  font-size: 9.5px; color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cat-cell .n {
  font-size: 38px; font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.cat-cell .desc {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-top: 8px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* PILLAR 2 visual: trace */
.trace {
  padding: 8px 0;
}
.trace-row {
  display: grid;
  grid-template-columns: 24px 80px 1fr;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--paper-3);
  font-size: 13px;
  align-items: flex-start;
}
.trace-row:last-child { border-bottom: 0; }
.trace-row.fail-row { background: var(--fail-soft); }
.trace-row .pin-wrap {
  display: flex; flex-direction: column; align-items: center;
  padding-top: 4px;
  position: relative;
}
.trace-row .pin {
  width: 10px; height: 10px;
  flex-shrink: 0;
}
.pin.user { background: var(--ink); }
.pin.agent { background: var(--accent); border: 1px solid var(--ink); }
.pin.tool { background: var(--warn); }
.pin.judge { background: var(--judge); }
.trace-row .role {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  padding-top: 2px;
}
.trace-row .text { color: var(--ink); line-height: 1.5; }
.trace-row .text .mono-i {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-3);
  background: var(--paper-2);
  padding: 1px 5px;
  border: 1px solid var(--paper-3);
}
.trace-row .text .green { color: var(--accent-deep); font-weight: 500; }
.trace-row .text .red { color: var(--fail); font-weight: 600; }
.trace-row .text .injected {
  background: var(--fail-soft);
  border: 1px dashed var(--fail);
  padding: 2px 6px;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: #8a1818;
}
.judge-card {
  margin-top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 16px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  border-top: 1px solid var(--rule);
}
.judge-card .pin-j {
  width: 12px; height: 12px;
  background: var(--judge);
  margin-top: 4px;
}
.judge-card .body { font-size: 13px; line-height: 1.5; }
.judge-card .body .v {
  color: var(--fail); font-weight: 700;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  margin-right: 8px;
  background: rgba(215,56,56,0.15);
  padding: 1px 7px;
  letter-spacing: 0.05em;
}
.judge-card .body .reason { color: rgba(245,242,234,0.8); }
.judge-card .body .meta {
  margin-top: 10px;
  display: flex; gap: 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: rgba(245,242,234,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.judge-card .body .meta b { color: var(--accent); font-weight: 500; }

/* PILLAR 3 visual: rubric */
.rubric {
  padding: 0;
}
.rubric-row {
  display: grid;
  grid-template-columns: 1fr 90px 70px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--paper-3);
  align-items: center;
  gap: 14px;
}
.rubric-row:last-child { border-bottom: 0; }
.rubric-row .name { font-size: 13.5px; }
.rubric-row .name .req {
  font-family: 'Geist Mono', monospace;
  font-size: 9.5px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: 8px;
}
.rubric-row .meter {
  height: 6px;
  background: var(--paper-3);
  position: relative;
}
.rubric-row .meter::after {
  content: ""; position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--accent-deep);
}
.rubric-row.r1 .meter::after { width: 100%; }
.rubric-row.r2 .meter::after { width: 92%; }
.rubric-row.r3 .meter::after { width: 78%; }
.rubric-row.r4 .meter::after { width: 100%; }
.rubric-row.r5 .meter::after { width: 0%; background: var(--fail); }
.rubric-row.r5 .meter { background: var(--fail-soft); }
.rubric-row .v {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  text-align: right;
  font-weight: 600;
}
.rubric-row.r5 .v { color: var(--fail); }
.rubric-row.r1 .v, .rubric-row.r4 .v { color: var(--accent-deep); }

.rubric-summary {
  padding: 14px 18px;
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
}
.rubric-summary .lbl {
  font-family: 'Geist Mono', monospace;
  font-size: 11px; color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.rubric-summary .score {
  font-size: 28px; font-weight: 700;
  letter-spacing: -0.03em;
}
.rubric-summary .score .denom {
  font-size: 14px; color: var(--ink-4); font-weight: 500;
}
.rubric-summary .verd {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  background: var(--fail);
  color: var(--paper);
  padding: 4px 10px;
  font-weight: 600;
}

/* HOW IT WORKS */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  margin-top: 30px;
}
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }
.how-card {
  padding: 32px 28px 32px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.how-card:last-child { border-right: 0; }
@media (max-width: 900px) {
  .how-card { border-right: 0; border-bottom: 1px solid var(--rule); }
  .how-card:last-child { border-bottom: 0; }
}
.how-card .step-mark {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.how-card .step-mark .n {
  font-size: 60px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.06em;
  font-family: 'Geist', sans-serif;
  line-height: 0.9;
}
.how-card h4 {
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  line-height: 1.15;
}
.how-card > p { color: var(--ink-3); font-size: 14px; margin-bottom: 22px; }
.how-card .cmd {
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 14px;
  border: 1px solid var(--rule);
  line-height: 1.7;
}
.how-card .cmd .p { color: var(--accent); }
.how-card .cmd .a { color: rgba(245,242,234,0.6); }
.how-card .cmd .c { color: rgba(245,242,234,0.4); }

/* TRACE FEATURE */
.feature-trace {
  margin-top: 30px;
  border: 1px solid var(--rule);
  background: var(--paper);
  box-shadow: 8px 8px 0 0 var(--ink);
  overflow: hidden;
}
.feature-trace-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  gap: 20px;
}
.feature-trace-head .left { color: var(--ink); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.feature-trace-head .meta {
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10.5px;
}
.feature-trace-head .verdict-tag {
  background: var(--fail);
  color: var(--paper);
  padding: 4px 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.feature-trace-body { padding: 0; }

/* QUOTE */
.quote-section {
  padding: 110px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  position: relative;
  overflow: hidden;
}
.quote-section::before, .quote-section::after {
  content: ""; position: absolute;
  width: 240px; height: 240px;
  border: 1px solid rgba(10,10,10,0.08);
  pointer-events: none;
}
.quote-section::before { top: -120px; left: -120px; transform: rotate(45deg); }
.quote-section::after { bottom: -120px; right: -120px; transform: rotate(45deg); }
.quote-grid {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } .quote-grid > .right-col { display: none; } }
.quote-mark {
  font-size: 100px; line-height: 0.7;
  color: var(--accent);
  font-weight: 800;
  height: 50px;
  -webkit-text-stroke: 2px var(--ink);
}
blockquote {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink);
}
blockquote .accent { color: var(--ink-4); }
@media (max-width: 600px) { blockquote { font-size: 26px; } }
.who {
  margin-top: 36px;
  display: flex; gap: 14px; align-items: center;
  font-size: 13px;
}
.who .av {
  width: 38px; height: 38px;
  background: var(--ink);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 600;
}
.who .meta {
  line-height: 1.3;
}
.who .meta b { font-weight: 600; }
.who .meta span { color: var(--ink-3); display: block; font-family: 'Geist Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

.quote-grid .right-col {
  text-align: right;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 2;
}
.quote-grid .right-col b { color: var(--ink); font-weight: 600; }

/* PRICING */
.pricing {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
}
@media (max-width: 1000px) { .pricing { grid-template-columns: 1fr; } }
.price {
  padding: 32px 28px 32px;
  border-right: 1px solid var(--rule);
  background: var(--paper);
  display: flex; flex-direction: column;
  position: relative;
}
.price:last-child { border-right: 0; }
@media (max-width: 1000px) {
  .price { border-right: 0; border-bottom: 1px solid var(--rule); }
  .price:last-child { border-bottom: 0; }
}
.price.featured {
  background: var(--ink);
  color: var(--paper);
}
.price .head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 26px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price .head .num {
  background: var(--ink); color: var(--paper);
  padding: 3px 8px;
}
.price.featured .head .num { background: var(--accent); color: var(--ink); }
.price .head .label { color: var(--ink-3); }
.price.featured .head .label { color: rgba(245,242,234,0.6); }
.price .name {
  font-size: 26px; font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.price .tagline {
  font-size: 13px; color: var(--ink-3);
  margin-bottom: 28px;
  line-height: 1.45;
}
.price.featured .tagline { color: rgba(245,242,234,0.7); }
.price .amt {
  font-size: 56px; font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 4px;
}
.price .amt small {
  font-size: 14px; font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}
.price.featured .amt small { color: rgba(245,242,234,0.55); }
.price .feat-tag {
  margin-top: 10px;
  margin-bottom: 18px;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price.featured .feat-tag { color: var(--accent); }
.price ul {
  list-style: none;
  margin: 0 0 28px;
  border-top: 1px solid var(--paper-3);
}
.price.featured ul { border-top-color: rgba(245,242,234,0.15); }
.price li {
  padding: 11px 0;
  border-bottom: 1px solid var(--paper-3);
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 13.5px;
}
.price.featured li { border-bottom-color: rgba(245,242,234,0.1); }
.price li::before {
  content: "→";
  color: var(--accent-deep);
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
}
.price.featured li::before { color: var(--accent); }
.price .price-cta {
  margin-top: auto;
}
.price .price-cta .btn { width: 100%; justify-content: center; }
.price.featured .price-cta .btn.primary {
  background: var(--accent); color: var(--ink); border-color: var(--accent);
}
.price.featured .price-cta .btn.primary:hover { background: #5cff80; }
.price-note {
  margin-top: 20px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-align: center;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-note b { color: var(--ink); font-weight: 600; }

/* CTA BAND */
.cta-band {
  margin-top: 100px;
  padding: 90px 0 100px;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45,255,92,0.1), transparent 60%);
  pointer-events: none;
}
.cta-band .grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: end;
  position: relative;
}
@media (max-width: 900px) { .cta-band .grid { grid-template-columns: 1fr; gap: 40px; } }
.cta-band h2 {
  color: var(--paper);
  font-size: 72px;
  line-height: 1.06;
  letter-spacing: -0.045em;
  max-width: 100%;
}
.cta-band h2 .accent { color: var(--ink-4); }
.cta-band h2 .hl {
  background: linear-gradient(
    to bottom,
    transparent 0,
    transparent 16%,
    var(--accent) 16%,
    var(--accent) 90%,
    transparent 90%,
    transparent 100%
  );
  color: var(--ink);
  padding: 0 8px;
  margin: 0 -2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* WAITLIST FORM */
.waitlist-form { margin-top: 8px; }
.waitlist-form .form-row {
  display: flex; gap: 8px;
  flex-wrap: wrap;
}
.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  background: rgba(245,242,234,0.06);
  border: 1px solid rgba(245,242,234,0.18);
  color: var(--paper);
  outline: none;
  transition: border-color 140ms, background 140ms;
  border-radius: 0;
}
.waitlist-form input[type="email"]:focus {
  border-color: var(--accent);
  background: rgba(245,242,234,0.1);
}
.waitlist-form input[type="email"]::placeholder {
  color: rgba(245,242,234,0.4);
}
.waitlist-form button[type="submit"] {
  height: 44px;
  flex-shrink: 0;
}
.waitlist-form .form-meta {
  margin-top: 14px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: rgba(245,242,234,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.waitlist-form .form-success {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(45,255,92,0.08);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
  display: flex; gap: 10px; align-items: center;
}
.waitlist-form .form-success[hidden] { display: none; }
.waitlist-form .form-success .check {
  font-weight: 700;
  background: var(--accent);
  color: var(--ink);
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
}
.waitlist-form .form-error {
  margin-top: 12px;
  color: #ff8a8a;
  font-size: 13px;
  font-family: 'Geist Mono', monospace;
}
.waitlist-form .form-error[hidden] { display: none; }
.waitlist-form[data-submitted="true"] .form-row,
.waitlist-form[data-submitted="true"] .form-meta { display: none; }
.waitlist-form button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* SIMPLIFIED FOOTER */
footer .grid-min {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 40px;
  align-items: start;
}
@media (max-width: 720px) {
  footer .grid-min { grid-template-columns: 1fr; }
}
footer .brand-col p {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 14px; line-height: 1.55;
  max-width: 380px;
}
footer .links-col {
  display: flex; gap: 26px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 6px;
}
footer .links-col a {
  color: var(--ink-3);
  font-size: 14px;
  transition: color 140ms;
}
footer .links-col a:hover { color: var(--ink); }
@media (max-width: 600px) { .cta-band h2 { font-size: 44px; } }
.cta-band .right-col { display: flex; flex-direction: column; gap: 20px; }
.cta-band .right-col p {
  color: rgba(245,242,234,0.7);
  font-size: 16px; line-height: 1.5;
}
.cta-band .right-col .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-band .btn.primary {
  background: var(--accent); color: var(--ink); border-color: var(--accent);
}
.cta-band .btn.primary:hover { background: #5cff80; }
.cta-band .btn.outline {
  border-color: rgba(245,242,234,0.25);
  color: var(--paper);
}
.cta-band .btn.outline:hover { border-color: var(--paper); background: transparent; color: var(--paper); }

.cta-spec {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(245,242,234,0.1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .cta-spec { grid-template-columns: repeat(2, 1fr); } }
.cta-spec .item .k {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245,242,234,0.45);
  margin-bottom: 6px;
}
.cta-spec .item .v {
  font-size: 17px;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -0.015em;
}
.cta-spec .item .v.accent { color: var(--accent); }

/* FOOTER */
footer {
  padding: 70px 0 40px;
  background: var(--paper);
  color: var(--ink-3);
  font-size: 13px;
  border-top: 1px solid var(--rule);
}
footer .grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}
@media (max-width: 900px) { footer .grid { grid-template-columns: 1fr 1fr; } }
footer h5 {
  color: var(--ink); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 14px; font-weight: 600;
  font-family: 'Geist Mono', monospace;
}
footer .col a {
  display: block; padding: 5px 0;
  color: var(--ink-3); font-size: 13.5px;
}
footer .col a:hover { color: var(--ink); }
footer .brand-col p {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 14px; line-height: 1.55;
  max-width: 280px;
}
footer .bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--paper-3);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
footer .bottom span b { color: var(--ink); font-weight: 600; }

/* big text mark in footer */
.footer-mark {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--paper-3);
  font-size: clamp(52px, 14vw, 200px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--ink);
  text-align: left;
  display: flex; align-items: center; gap: 0.05em;
  overflow: hidden;
  max-width: 100%;
}
.footer-mark .pip {
  width: 0.5em; height: 0.5em;
  background: var(--accent);
  border: 4px solid var(--ink);
  flex-shrink: 0;
}

/* page-load entrance */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise 600ms cubic-bezier(.2,.7,.2,1) both; }
.rise.d1 { animation-delay: 60ms; }
.rise.d2 { animation-delay: 130ms; }
.rise.d3 { animation-delay: 200ms; }
.rise.d4 { animation-delay: 280ms; }
.rise.d5 { animation-delay: 360ms; }
.rise.d6 { animation-delay: 460ms; }

/* inline pill wrapping (keeps bg + border on every wrapped line) */
.trace-row .text .mono-i,
.trace-row .text .injected {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* responsive trace cleanup */
@media (max-width: 600px) {
  .trace-row { grid-template-columns: 18px 56px 1fr; gap: 10px; padding: 11px 12px; }
  .trace-row .text { font-size: 12.5px; word-break: break-word; }
  .trace-row .text .mono-i { font-size: 11px; }

  .dash-shell { grid-template-columns: 1fr; min-height: 0; }
  .dash-sidebar { display: none; }
  .dash-topbar { height: auto; padding: 14px; align-items: flex-start; gap: 12px; }
  .dash-title { flex-wrap: wrap; }
  .dash-title h4 { font-size: 16px; }
  .dash-account { display: none; }
  .dash-body { padding: 14px; }
  .metric-grid,
  .panel-grid { grid-template-columns: 1fr; gap: 12px; }
  .metric-card { min-height: 122px; padding: 14px; }
  .metric-card .value { font-size: 24px; margin-top: 10px; }
  .category-row { grid-template-columns: minmax(0, 1fr) 64px 38px; font-size: 12px; }
  .dash-table,
  .failure-table { font-size: 11.5px; }
  .failure-table { table-layout: auto; }
  .failure-table th:nth-child(2),
  .failure-table td:nth-child(2),
  .failure-table th:nth-child(3),
  .failure-table td:nth-child(3),
  .failure-table th:nth-child(5),
  .failure-table td:nth-child(5) { display: none; }
  .failure-table th:nth-child(1),
  .failure-table th:nth-child(4),
  .failure-table th:nth-child(6) { width: auto; }

  .cat-grid { grid-template-columns: 1fr; }
  .cat-cell { border-right: 0 !important; }
  .cat-cell.span2 { grid-column: span 1; }

  /* fig captions: stack so long titles don't wrap mid-line */
  .fig-caption { flex-direction: column; align-items: flex-start; gap: 8px; }
  .fig-caption .right { width: 100%; justify-content: space-between; }

  /* rubric: meter drops to its own row so the name + verdict get full width */
  .rubric-row {
    grid-template-columns: 1fr auto;
    column-gap: 12px;
    row-gap: 8px;
    padding: 12px 14px;
  }
  .rubric-row .name { grid-column: 1; grid-row: 1; }
  .rubric-row .v    { grid-column: 2; grid-row: 1; }
  .rubric-row .meter { grid-column: 1 / -1; grid-row: 2; }
  .rubric-row .name .req { display: inline-block; margin-left: 0; margin-top: 2px; }
}
