/*
 * The marketing site: a dark ground, one mint accent for "cleared", blue for
 * structure, coral for "refused". IBM Plex Sans and Mono are self-hosted so the
 * first paint does not wait on a font CDN. Every measured figure on the pages
 * comes from measured_data.ts; this file only sets how it looks. Motion is
 * decoration: it is off under prefers-reduced-motion. The console lines
 * animate in CSS alone, and the script hides only sections still below the
 * fold, so a page whose script fails to load is never blank.
 */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-400.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-500.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #07080c;
  --bg-raised: #0d1017;
  --bg-card: rgba(18, 22, 31, 0.72);
  --line: rgba(226, 232, 244, 0.08);
  --line-strong: rgba(226, 232, 244, 0.16);
  --text: #eef1f7;
  --text-2: #a9b1c1;
  --text-3: #6d7588;
  --mint: #6ef2c0;
  --mint-soft: rgba(110, 242, 192, 0.12);
  --blue: #7aa2ff;
  --blue-soft: rgba(122, 162, 255, 0.12);
  --coral: #ff8073;
  --coral-soft: rgba(255, 128, 115, 0.12);
  --amber: #ffc46b;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --wrap: 1160px;
  --gutter: 24px;
  --radius: 14px;
  --radius-small: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--mint);
  color: var(--bg);
}

a {
  color: inherit;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--mint);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

img,
svg {
  display: block;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.5;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 8px 14px;
  border-radius: var(--radius-small);
  background: var(--mint);
  color: var(--bg);
  font-weight: 500;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: none;
}

/* Header */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 12, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

/* The wordmark is one run of text; a flex box would gap its letters apart. */
.brand {
  display: inline-block;
  font-weight: 500;
  font-size: 21px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand-llm {
  color: var(--mint);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: var(--radius-small);
  color: var(--text-2);
  font-size: 15px;
  text-decoration: none;
  transition:
    color 150ms ease,
    background 150ms ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav a[aria-current="page"] {
  color: var(--text);
}

.nav .nav-cta {
  margin-left: 8px;
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.nav .nav-cta:hover {
  border-color: var(--mint);
  background: var(--mint-soft);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 8px;
  border: 0;
  border-radius: var(--radius-small);
  background: transparent;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}

.nav-toggle-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-close {
  display: inline;
}

.page-error {
  padding: 12px var(--gutter);
  background: var(--coral-soft);
  color: var(--coral);
}

/* Type */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.display {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.display-xl {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.grad {
  background: linear-gradient(100deg, var(--mint) 0%, #9fe7ff 45%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 640px;
  color: var(--text-2);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.note {
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.5;
}

.mono {
  font-family: var(--mono);
}

.dim {
  color: var(--text-3);
}

/* Buttons and links */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--mint);
  border-radius: 999px;
  background: var(--mint);
  color: #04110c;
  font-weight: 500;
  text-decoration: none;
  transition:
    transform 150ms ease,
    box-shadow 200ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 40px -10px rgba(110, 242, 192, 0.6);
}

.button-ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.button-ghost:hover {
  border-color: var(--text-2);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.text-link .icon {
  color: var(--mint);
  transition: transform 150ms ease;
}

.text-link:hover .icon {
  transform: translateX(3px);
}

/* Sections */

.section {
  position: relative;
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.section-tight {
  padding: 72px 0;
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head p:not(.eyebrow) {
  color: var(--text-2);
  font-size: 18px;
}

.section-head p.note {
  color: var(--text-3);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.after {
  margin-top: 56px;
}

.after-small {
  margin-top: 28px;
}

.section-head.flush {
  margin-bottom: 0;
}

.display-small {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.cards-1 {
  grid-template-columns: minmax(0, 1fr);
}

/* Hero */

.hero {
  position: relative;
  padding: 96px 0 48px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -240px;
  right: -160px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(110, 242, 192, 0.16) 0%,
    rgba(122, 162, 255, 0.1) 38%,
    transparent 68%
  );
  filter: blur(10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 28px;
}

.hero-short {
  padding: 88px 0 72px;
}

.hero-short .hero-copy > * {
  max-width: 860px;
}

/* Console */

.console {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 25, 35, 0.92), rgba(10, 12, 18, 0.96));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 40px 120px -40px rgba(110, 242, 192, 0.28),
    0 20px 60px -30px rgba(0, 0, 0, 0.8);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.75;
  overflow: hidden;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-3);
  font-size: 12px;
}

.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.console-title {
  margin-left: 8px;
}

.console-body {
  margin: 0;
  padding: 18px 18px 22px;
  white-space: pre;
  overflow-x: auto;
}

.console-line {
  display: block;
}

.console-wrap .console-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.c-dim {
  color: var(--text-3);
}

.c-ok {
  color: var(--mint);
}

.c-bad {
  color: var(--coral);
}

.c-warn {
  color: var(--amber);
}

.c-blue {
  color: var(--blue);
}

.c-strong {
  color: var(--text);
}

.console-line {
  animation: console-in 360ms ease backwards;
  animation-delay: calc(var(--i, 0) * 190ms + 200ms);
}

@keyframes console-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.console-caret {
  display: inline-block;
  width: 8px;
  height: 15px;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--mint);
  animation: caret 1s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.stat {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
}

.stat-value {
  color: var(--text);
  font-family: var(--mono);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-value .c-ok {
  color: var(--mint);
}

.stat-label {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.45;
}

.stats-note {
  margin-top: 14px;
}

/* Price ladder and bill bars */

.bars {
  display: grid;
  gap: 18px;
}

.bar-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 110px;
  gap: 16px;
  align-items: center;
}

.bar-name {
  color: var(--text-2);
  font-size: 15px;
}

.bar-name strong {
  display: block;
  color: var(--text);
  font-weight: 500;
}

.bar-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  min-width: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #9db8ff);
}

.bar-fill.is-ok {
  background: linear-gradient(90deg, var(--mint), #a8ffe0);
  box-shadow: 0 0 18px rgba(110, 242, 192, 0.6);
}

.bar-fill.is-hot {
  background: linear-gradient(90deg, #ff9d8f, var(--coral));
}

.bar-value {
  font-family: var(--mono);
  font-size: 15px;
  text-align: right;
}

.panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.panel-title {
  margin-bottom: 24px;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.panel .note {
  margin-top: 22px;
}

/* Steps */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition:
    border-color 200ms ease,
    transform 200ms ease;
}

.step:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-index {
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 13px;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--mint);
  font-size: 18px;
}

.step h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.step p {
  color: var(--text-2);
  font-size: 15.5px;
}

.step .step-fact {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
}

/* Code */

.code {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #090b10;
  overflow: hidden;
}

.code-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 12px;
}

.code pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
}

.code .k {
  color: var(--blue);
}

.code .s {
  color: var(--mint);
}

.code .n {
  color: var(--amber);
}

/* Ledger */

.table-scroll {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow-x: auto;
}

.ledger {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.ledger th,
.ledger td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.ledger thead th {
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ledger tbody tr:last-child td {
  border-bottom: 0;
}

.ledger td.num {
  font-family: var(--mono);
  font-size: 13.5px;
  text-align: right;
  white-space: nowrap;
}

.ledger th.num {
  text-align: right;
}

.ledger .model strong {
  display: block;
  font-weight: 500;
}

.ledger .model span {
  color: var(--text-3);
  font-size: 13px;
}

.ledger tr.is-assigned td {
  background: rgba(110, 242, 192, 0.07);
}

.ledger tr.is-assigned td:first-child {
  box-shadow: inset 3px 0 0 var(--mint);
}

.ledger .why {
  max-width: 300px;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.45;
}

.is-miss {
  color: var(--coral);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}

.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.chip-ok {
  border-color: rgba(110, 242, 192, 0.4);
  background: var(--mint-soft);
  color: var(--mint);
}

.chip-bad {
  border-color: rgba(255, 128, 115, 0.35);
  background: var(--coral-soft);
  color: var(--coral);
}

.chip-blue {
  border-color: rgba(122, 162, 255, 0.35);
  background: var(--blue-soft);
  color: var(--blue);
}

/* Gate chart */

.gate-chart {
  display: grid;
  gap: 26px;
}

.gate-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.gate-who strong {
  display: block;
  font-weight: 500;
}

.gate-who span {
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 12.5px;
}

.gate-track {
  position: relative;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.gate-floor {
  position: absolute;
  top: -8px;
  bottom: -8px;
  width: 0;
  border-left: 1px dashed var(--amber);
}

.gate-band {
  position: absolute;
  top: 9px;
  height: 16px;
  border-radius: 999px;
  background: var(--coral-soft);
  border: 1px solid rgba(255, 128, 115, 0.5);
}

.gate-band.is-ok {
  background: var(--mint-soft);
  border-color: rgba(110, 242, 192, 0.6);
  box-shadow: 0 0 22px rgba(110, 242, 192, 0.25);
}

.gate-point {
  position: absolute;
  top: 11px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--text);
}

.gate-axis {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 12px;
}

.gate-axis-scale {
  position: relative;
  height: 18px;
}

.gate-axis-scale span {
  position: absolute;
  transform: translateX(-50%);
}

.gate-axis-scale .is-floor {
  color: var(--amber);
}

.gate-verdict {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.card-kicker {
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.card p {
  color: var(--text-2);
  font-size: 15.5px;
}

.card .big {
  color: var(--text);
  font-family: var(--mono);
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.card .source {
  color: var(--text-3);
  font-size: 13px;
}

.card .source a {
  color: var(--text-2);
}

.quote {
  padding: 14px 16px;
  border-left: 2px solid var(--coral);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  background: var(--coral-soft);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
}

.card.is-bad {
  border-color: rgba(255, 128, 115, 0.22);
}

.card.is-ok {
  border-color: rgba(110, 242, 192, 0.28);
}

/* Market map */

.map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.map-zone {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.map-zone h3 {
  font-size: 18px;
  font-weight: 500;
}

.map-zone p {
  color: var(--text-3);
  font-size: 14px;
}

.map-zone.is-us {
  border-color: rgba(110, 242, 192, 0.5);
  background:
    radial-gradient(circle at 50% 0%, rgba(110, 242, 192, 0.14), transparent 70%), var(--bg-card);
  box-shadow: 0 30px 80px -40px rgba(110, 242, 192, 0.5);
}

.map-zone.is-us h3 {
  color: var(--mint);
}

.map-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-list li {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 13px;
}

.checks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
}

.checks li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
}

.checks.is-caveats li::before {
  background: var(--amber);
  box-shadow: 0 0 10px rgba(255, 196, 107, 0.6);
}

/* Call band */

.cta-band {
  position: relative;
  display: grid;
  gap: 24px;
  justify-items: start;
  padding: 64px;
  border: 1px solid rgba(110, 242, 192, 0.3);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(110, 242, 192, 0.2), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(122, 162, 255, 0.16), transparent 55%),
    var(--bg-raised);
  overflow: hidden;
}

.cta-band p {
  max-width: 620px;
  color: var(--text-2);
  font-size: 18px;
}

.cta-band .eyebrow {
  color: var(--mint);
  font-size: 13px;
}

/* Prose and data tables for the research page */

.prose {
  display: grid;
  gap: 18px;
  max-width: 760px;
  color: var(--text-2);
}

.prose h2 {
  margin-top: 24px;
  color: var(--text);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.prose strong {
  color: var(--text);
  font-weight: 500;
}

.data {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 15px;
}

.data th,
.data td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data thead th {
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.data tbody tr:last-child td {
  border-bottom: 0;
}

.data td:first-child {
  color: var(--text);
  font-weight: 500;
}

.data td {
  color: var(--text-2);
}

/* Contact */

.form {
  display: grid;
  gap: 22px;
  max-width: 640px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.form label {
  display: grid;
  gap: 8px;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: normal;
  text-transform: none;
}

.form textarea {
  min-height: 160px;
  resize: vertical;
}

.form .button {
  justify-self: start;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 16px;
}

.banner {
  padding: 12px 16px;
  border-radius: var(--radius-small);
  background: var(--mint-soft);
  color: var(--mint);
}

.banner[data-state="error"] {
  background: var(--coral-soft);
  color: var(--coral);
}

/* Footer */

.footer {
  padding: 56px 0 64px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-2);
  font-size: 15px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer .note {
  max-width: 560px;
  margin-top: 14px;
}

/* Reveal on scroll: the script arms only what is still below the fold. */

.reveal-armed {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-armed.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-armed,
  .console-line {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .console-caret {
    animation: none;
  }
}

/* Narrower screens */

@media (max-width: 980px) {
  .hero-grid,
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .steps,
  .cards-3,
  .map {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 16px;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gutter) 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 8, 12, 0.97);
  }

  .nav.is-open {
    display: flex;
  }

  .nav .nav-cta {
    margin: 8px 0 0;
    text-align: center;
  }

  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .bar-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
  }

  .bar-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .gate-row,
  .gate-axis {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .gate-axis > span:first-child {
    display: none;
  }

  .cta-band {
    padding: 36px 24px;
  }

  .panel,
  .form {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .stat {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat:first-child {
    border-top: 0;
  }

  .console {
    font-size: 11.5px;
  }
}
