:root {
  color-scheme: light;

  /* ---- color tokens (DESIGN.md) ---- */
  --canvas: #f6e3df;        /* blush page canvas */
  --canvas-alt: #eed9d3;    /* alternating band */
  --surface: #ffffff;       /* white cards */
  --surface-dark: #14120f;  /* terminal / primary button / logo square */
  --ink: #14120f;           /* headings, strong type */
  --body: #37322b;          /* paragraph body on light */
  --muted: #625d54;         /* secondary / caption / nav */
  --accent: #a3342a;        /* wax red — the one decorative accent */
  --verified: #1c6b47;      /* semantic: signed / verified / today */
  --warn: #b7791f;          /* semantic: caution / roadmap (fill/border) */
  --warn-text: #8a5a14;     /* AA amber for small text on light */
  --hairline: #d6cdbf;      /* 1px borders, dividers, grid gaps */
  --on-dark: #f6e3df;       /* text on the ink terminal/footer */

  /* legacy aliases (keep existing var(--x) references working) */
  --paper: var(--canvas);
  --panel: var(--surface);
  --red: var(--accent);
  --green: var(--verified);
  --amber: var(--warn);
  --line: var(--hairline);
  --black: var(--ink);
  --amber-text: var(--warn-text);

  /* ---- type ---- */
  --font-sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---- spacing / measure ---- */
  --gutter: clamp(18px, 4vw, 56px);     /* main side padding */
  --section-pad: clamp(64px, 8vw, 104px);/* band vertical padding */
  --head-gap: clamp(28px, 4vw, 44px);   /* gap below a section head */
  --card-pad: clamp(24px, 3vw, 30px);   /* card interior */
  --measure: 66ch;                       /* readable body width */
  --card-title-min: 2.5em;               /* card title height for alignment */

  /* ---- radius ---- */
  --r-sm: 6px;   /* terminal */
  --r-md: 12px;  /* logo square */
}

* { box-sizing: border-box; }

html, body { overflow-x: hidden; }
/* Responsive safety: grid/flex items default to min-width:auto (min-content)
   and overflow on narrow screens; let them shrink. Break long tokens too. */
.hero-minimal > *,
.surface-grid > li,
.capsule > article,
.ledger > article,
.tiers > .tier,
.punch-list > li { min-width: 0; }
body {
  margin: 0;
  overflow-wrap: break-word;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font: 16px/1.55 var(--font-sans);
}

a { color: inherit; }

.preview-banner {
  background: var(--red);
  color: var(--paper);
  text-align: left;
  padding: 8px 16px;
  font: 700 12.5px/1.3 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(246, 227, 223, 0.94); /* blush, translucent */
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--paper);
  border-radius: 7px;
  overflow: hidden;
  font: 700 15px/1 var(--font-mono);
}
.brand-mark img { width: 90%; height: 90%; display: block; }
/* larger logo lockup in the header */
.topbar .brand { gap: 13px; }
.topbar .brand-mark { width: 54px; height: 54px; border-radius: 12px; }
.topbar .brand > span:last-child { font-size: 25px; }
@media (max-width: 520px) {
  .topbar { gap: 12px; padding: 12px 16px; }
  .topbar .brand-mark { width: 40px; height: 40px; }
  .topbar .brand > span:last-child { font-size: 20px; }
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a { text-decoration: none; }
.nav a:hover { color: var(--ink); }

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero {
  padding: clamp(48px, 7vw, 88px) 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

/* ---- Stacked hero: full-width copy on top, animation below ---- */
.hero-minimal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  column-gap: clamp(32px, 5vw, 64px);
  row-gap: clamp(20px, 2.5vw, 32px);
  padding: clamp(56px, 8vw, 120px) 0 clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
@media (max-width: 900px) {
  .hero-minimal { grid-template-columns: 1fr; }
}
/* Title spans both columns on one line; paragraph + terminal share the row below. */
.hero-minimal > h1 {
  grid-column: 1 / -1;
  margin: 0;
  font: 800 clamp(22px, 3.3vw, 44px)/1.08 var(--font-sans);
  letter-spacing: -0.02em;
  text-align: center;
}
/* Single horizontal line only on wide screens; wraps on tablet/mobile so it
   never forces the grid (and the page) wider than the viewport. */
@media (min-width: 821px) {
  .hero-minimal > h1 { white-space: nowrap; }
}
.hero-minimal > h1 em {
  color: var(--red);
  font-style: italic;
  font-weight: 800;
}
.hero-minimal-copy {
  max-width: none;
  width: 100%;
}
.hero-minimal-copy .lead {
  margin: 0 0 28px;
  max-width: var(--measure);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.55;
  color: var(--body);
}
.hero-minimal-copy .hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* ---- Hero terminal mock: synthetic Reeve CLI scan ---- */
/* Dark panel that reuses the .terminal idiom (--black + monospace) with
   a macOS-style window chrome bar. Sits in the stacked hero below the
   copy. Scrolls horizontally on small screens instead of overflowing. */
.hero-term-fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

/* ===== Debug outline view: visit /?debug or /#debug to see every box edge ===== */
body.debug main { outline: 2px solid #2b6cb0; outline-offset: -1px; }
body.debug section,
body.debug .urgent-strip { outline: 1px solid #d53f8c; }
body.debug .section-head { outline: 1px dashed #2f855a; }
body.debug .capsule,
body.debug .pillars-teaser,
body.debug .std-grid,
body.debug .ledger,
body.debug .tiers,
body.debug .punch-list { outline: 1px solid #b7791f; }
body.debug .capsule article,
body.debug .pillar,
body.debug .std-box,
body.debug .ledger > article,
body.debug .tier,
body.debug .punch-list li,
body.debug .hero-minimal-copy,
body.debug .hero-term { outline: 1px solid rgba(20,18,15,0.4); }
.hero-term {
  width: 100%;
  max-width: 560px;
  margin: 0;
  text-align: left;
  background: var(--black);
  border: 1px solid #3c3831;
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: 0 5px 13px -10px rgba(20, 18, 15, 0.45);
}
.hero-term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #1f1c18;
  border-bottom: 1px solid #3c3831;
}
.hero-term-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #4a443c;
}
.hero-term-bar .dot:nth-child(1) { background: #a3342a; }
.hero-term-bar .dot:nth-child(2) { background: #b7791f; }
.hero-term-bar .dot:nth-child(3) { background: #1c6b47; }
.hero-term-title {
  margin-left: 8px;
  color: #8a8378;
  font: 600 11.5px/1 var(--font-mono);
  letter-spacing: 0.06em;
}
.hero-term-body {
  margin: 0;
  padding: 16px clamp(14px, 2vw, 18px);
  color: #c8bda9;
  font: 11.5px/1.65 var(--font-mono);
  white-space: pre;
  overflow-x: auto;
}
.hero-term-body .t-prompt { color: #8a8378; }
.hero-term-body .t-cmd    { color: var(--paper); font-weight: 600; }
.hero-term-body .t-app    { color: var(--paper); }
.hero-term-body .t-dim    { color: #8a8378; }
.hero-term-body .t-ok     { color: #8fe0a5; }
.hero-term-body .t-warn   { color: var(--amber); }
.hero-term-body .t-bad    { color: #e0796f; }
.hero-term-cap {
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.5;
  max-width: 560px;
  margin: 0;
}

/* ---- Hero exposure board: every endpoint is its own attack surface ---- */
.hero-surface {
  margin: 0;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.surface-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 700 11px/1.3 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.surface-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(163, 52, 42, 0.18);
}
.surface-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #2a2723;
  border: 1px solid #2a2723;
  border-radius: var(--r-sm);
  overflow: hidden;
}
.endpoint {
  background: var(--black);
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ep-dept {
  font: 700 9.5px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8378;
}
.ep-agent {
  color: var(--paper);
  font-weight: 650;
  font-size: 13.5px;
}
.ep-reach {
  color: #c8bda9;
  font-size: 12px;
}
.ep-flag {
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 9.5px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e0796f;
}
.ep-flag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e0796f;
  box-shadow: 0 0 6px rgba(224, 121, 111, 0.7);
}
.hero-surface-cap {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 600px) {
  .surface-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-term-body { font-size: 11.5px; }
}


.hero .eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font: 800 12px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 0 auto;
  max-width: 1000px;
  font: 800 clamp(36px, 5.5vw, 72px)/1.05 var(--font-sans);
}

.hero .lead {
  max-width: 800px;
  margin: 22px auto 0;
  color: var(--body);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.5;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 13px 20px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--paper);
  text-decoration: none;
  font-weight: 750;
}

.button.secondary {
  background: transparent;
  color: var(--black);
}

.platform-note {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.band {
  padding: var(--section-pad) clamp(16px, 2.5vw, 32px);
  border-bottom: 1px solid var(--line);
}

.band.alt { background: var(--canvas-alt); } /* darker blush for alternating bands */

.section-head {
  text-align: left;
  margin: 0 0 var(--head-gap);
  max-width: none;
}
.section-head::before {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin: 0 0 20px;
  background: var(--accent);
  border-radius: 2px;
}

.section-head h2 {
  margin: 0 0 16px;
  font: 800 clamp(30px, 4.4vw, 52px)/1.08 var(--font-sans);
  letter-spacing: -0.015em;
}

.section-head p {
  max-width: var(--measure);
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
}

/* Left-aligned section head (e.g. The Risk) — heading + intro flush left,
   aligned with the list/cards below instead of centered. */
/* (left-align is now the default for .section-head; no modifier needed) */

/* Section header inside non-band sections (e.g., on sub-pages) */
.page-head {
  text-align: left;
  margin: 0 auto 36px;
  max-width: 880px;
  padding: clamp(48px, 7vw, 76px) 0 24px;
  border-bottom: 1px solid var(--line);
}
.page-head .eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font: 800 12px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.page-head h1 {
  margin: 0 0 16px;
  font: 800 clamp(32px, 4.5vw, 56px)/1.1 var(--font-sans);
}
.page-head .lead {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
  color: var(--body);
}

/* Trust footer band — small Verify callout */
.trust-band {
  background: var(--black);
  color: var(--paper);
  padding: 28px clamp(18px, 4vw, 56px);
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.trust-band .eyebrow { color: var(--red); margin: 0 0 8px; }
.trust-band p {
  margin: 0 auto;
  max-width: 76ch;
  color: #c8bda9;
  font-size: 14.5px;
  line-height: 1.55;
}
.trust-band a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Plain-language 4-step capsule for landing */
.capsule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 28px 0 0;
}
.capsule article {
  background: var(--panel);
  padding: 22px;
  text-align: left;
}
.capsule .num {
  display: block;
  font: 800 12px/1 var(--font-mono);
  letter-spacing: 0.18em;
  color: var(--red);
  margin: 0 0 10px;
}
.capsule h3 {
  margin: 0 0 8px;
  font: 800 clamp(18px, 2vw, 22px)/1.2 var(--font-sans);
}
.capsule p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
/* 3-up cards skip the awkward 2-up of three; stack straight to 1 column at
   the same breakpoint as every other card grid (standard: single col <=900). */
@media (max-width: 900px) {
  .capsule { grid-template-columns: 1fr; }
}

/* Persona-card link state */
.persona-grid article a.deep {
  display: inline-block;
  margin-top: 12px;
  font: 700 13px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}
.persona-grid article a.deep:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Pricing-tier with no prices — clarify */
.tier-price.tier-price-soft {
  color: var(--muted);
  font-style: italic;
  letter-spacing: 0;
  font-weight: 500;
}

/* --- two-column ledger comparison --- */
.ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 12px;
}
.ledger > article { background: var(--panel); padding: 28px; }
.ledger .col-label {
  font: 800 11px/1 var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--muted);
}
.ledger ul { margin: 0; padding: 0; list-style: none; }
.ledger li { padding: 7px 0 7px 22px; position: relative; line-height: 1.5; font-size: 14.5px; }
.ledger li::before { position: absolute; left: 0; top: 7px; font-weight: 800; }
.ledger ul.check li::before { content: "✓"; color: var(--green); }
.ledger ul.cross li::before { content: "✕"; color: var(--red); }
.ledger .col-missing .col-label { color: var(--red); }

@media (max-width: 900px) {
  .ledger { grid-template-columns: 1fr; }
}

/* --- shift-left flow --- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 10px;
  overflow-x: auto;
  margin-top: 28px;
}

.flow div {
  position: relative;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.flow div:not(:last-child)::after {
  content: ">";
  position: absolute;
  right: -10px;
  top: 42%;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--paper);
  font: 800 12px/1 var(--font-mono);
  z-index: 1;
}

.flow .watched {
  border-color: var(--green);
  box-shadow: inset 0 -4px 0 var(--green);
}

.flow strong, .flow span { display: block; }
.flow span { margin-top: 8px; color: var(--muted); font-size: 13px; }

/* --- three layers --- */
.tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 28px;
}

.tier {
  background: var(--panel);
  padding: clamp(22px, 3vw, 32px);
}

.tier-tag {
  margin: 0;
  color: var(--red);
  font: 800 12px/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tier-price {
  margin: 4px 0 16px;
  color: var(--muted);
  font: 600 13px/1.3 var(--font-mono);
  letter-spacing: 0.04em;
}

.tier h3 {
  margin: 0 0 14px;
  font: 800 clamp(20px, 2.4vw, 28px)/1.2 var(--font-sans);
}

.tier ul { margin: 0; padding: 0; list-style: none; }
.tier li {
  position: relative;
  padding: 7px 0 7px 22px;
  border-top: 1px dashed var(--line);
  font-size: 14.5px;
  line-height: 1.5;
}
.tier li:first-child { border-top: none; padding-top: 0; }
.tier li:first-child::before { top: 0; }
.tier li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 7px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}
/* roadmap tier (Fleet): amber arrow = coming, not shipped */
.tier.roadmap li::before {
  content: "→";
  color: var(--amber-text);
}

@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }

/* --- personas grid --- */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 28px;
}

.persona-grid article {
  background: var(--panel);
  padding: 24px;
}

.persona-grid h3 { margin: 0 0 10px; }
.persona-grid p { margin: 0; color: var(--muted); }

.persona-lead {
  background: #f7e4d6 !important;
}

@media (max-width: 1000px) { .persona-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .persona-grid { grid-template-columns: 1fr; } }

/* --- terminal mockup --- */
.terminal {
  background: var(--black);
  color: var(--paper);
  padding: 18px;
  font: 13px/1.55 var(--font-mono);
  overflow-x: auto;
  border: 1px solid #3c3831;
  margin-top: 28px;
}
.terminal span { color: #8fe0a5; }

/* --- how-it-works steps --- */
.steps { list-style: none; padding: 0; margin: 0; }
.step {
  margin: 0 0 36px;
  padding: 32px clamp(24px, 4vw, 40px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
}
.step:last-child { margin-bottom: 0; }
.step .step-tag {
  margin: 0 0 8px;
  color: var(--red);
  font: 800 12px/1 var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.step h2 {
  margin: 0 0 12px;
  font: 800 clamp(26px, 3.4vw, 36px)/1.1 var(--font-sans);
}
.step .step-lead {
  margin: 0 0 24px;
  color: var(--body);
  font-size: 17px;
  line-height: 1.5;
  max-width: 76ch;
}

.discover-list, .verify-list, .aggregate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.aggregate-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.discover-list article, .verify-list article, .aggregate-grid article {
  background: var(--paper);
  padding: 22px;
}
.discover-list h3, .verify-list h3, .aggregate-grid h3 {
  margin: 0 0 10px;
  font: 700 17px/1.3 var(--font-sans);
}
.discover-list p, .verify-list p, .aggregate-grid p {
  margin: 0;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .discover-list, .verify-list, .aggregate-grid { grid-template-columns: 1fr; }
}

.normalize-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.normalize-grid article {
  background: var(--paper);
  padding: 22px;
}
.normalize-grid .norm-mark {
  margin: 0 0 8px;
  color: var(--red);
  font: 800 11.5px/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.normalize-grid p:not(.norm-mark) {
  margin: 0;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.55;
}
.normalize-grid em { font-style: italic; color: var(--red); }

@media (max-width: 900px) { .normalize-grid { grid-template-columns: 1fr; } }

/* --- callout --- */
.callout {
  padding: 32px clamp(24px, 4vw, 40px);
  background: var(--black);
  color: var(--paper);
  margin: 36px 0;
}
.callout .eyebrow { color: var(--red); }
.callout h2 {
  margin: 8px 0 14px;
  font: 800 clamp(24px, 3vw, 36px)/1.15 var(--font-sans);
  color: var(--paper);
}
.callout p {
  margin: 0;
  max-width: 76ch;
  color: #c8bda9;
  font-size: 16px;
  line-height: 1.6;
}

/* --- footer --- */
.footer {
  padding: 30px clamp(18px, 4vw, 56px);
  background: var(--paper);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* --- cumulative-punch list (gap indictment) --- */
.punch-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.punch-list li {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: clamp(16px, 3vw, 32px);
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.punch-who {
  font: 800 clamp(17px, 1.7vw, 20px)/1.25 var(--font-sans);
  color: var(--red);
  letter-spacing: -0.005em;
}
.punch-what {
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.55;
}
.punch-conclusion {
  margin: 32px 0 0;
  max-width: 64ch;
  text-align: left;
  font: 600 clamp(17px, 1.8vw, 21px)/1.45 var(--font-sans);
  font-style: italic;
  color: var(--ink);
}
@media (max-width: 900px) {
  .punch-list li { grid-template-columns: 1fr; gap: 6px; }
  .punch-who { font-size: 17px; }
}

/* --- compliance grid (today vs coming) --- */
.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 28px;
}
.compliance-grid > article {
  background: var(--panel);
  padding: clamp(22px, 3vw, 32px);
}
.compliance-tag {
  margin: 0 0 16px;
  color: var(--red);
  font: 800 12px/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.compliance-tag-coming {
  color: var(--amber-text);
}
.compliance-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.compliance-grid li {
  padding: 10px 0;
  border-top: 1px dashed var(--line);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--body);
}
.compliance-grid li:first-child { border-top: none; padding-top: 0; }
.compliance-grid strong { color: var(--ink); }
.compliance-close {
  margin: 32px 0 0;
  max-width: 68ch;
  text-align: left;
  font-style: italic;
  color: var(--ink);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
}
@media (max-width: 800px) {
  .compliance-grid { grid-template-columns: 1fr; }
}

/* --- supply-chain grid (3 columns) --- */
.supply-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 28px;
}
.supply-grid > article {
  background: var(--panel);
  padding: clamp(22px, 3vw, 28px);
}
.supply-grid h3 {
  margin: 0 0 12px;
  font: 800 clamp(18px, 2vw, 22px)/1.2 var(--font-sans);
}
.supply-grid p {
  margin: 0;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.55;
}
.supply-grid code {
  font: 12.5px/1.4 var(--font-mono);
  background: #ece5d5;
  color: var(--ink);
  padding: 1px 5px;
  border-radius: 2px;
}
@media (max-width: 900px) {
  .supply-grid { grid-template-columns: 1fr; }
}

/* --- bridge grid (Track A / Track B synthesis) --- */
.bridge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 28px;
}
.bridge-grid > article {
  background: var(--panel);
  padding: clamp(24px, 3.2vw, 36px);
  display: flex;
  flex-direction: column;
}
.bridge-tag {
  margin: 0 0 14px;
  color: var(--red);
  font: 800 12px/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.bridge-grid > article:nth-child(2) .bridge-tag {
  color: var(--green);
}
.bridge-grid h3 {
  margin: 0 0 16px;
  font: 800 clamp(20px, 2.4vw, 26px)/1.2 var(--font-sans);
}
.bridge-grid ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  flex: 1;
}
.bridge-grid li {
  position: relative;
  padding: 8px 0 8px 22px;
  border-top: 1px dashed var(--line);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--body);
}
.bridge-grid li:first-child { border-top: none; padding-top: 0; }
.bridge-grid li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--red);
  font-weight: 800;
}
.bridge-grid > article:nth-child(2) li::before { color: var(--green); }
.bridge-buyer {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.bridge-buyer strong { color: var(--ink); }
@media (max-width: 800px) {
  .bridge-grid { grid-template-columns: 1fr; }
}

/* --- persona grid: 6-card variant with track labels --- */
.persona-grid.persona-grid-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.persona-track {
  margin: 0 0 8px;
  font: 800 11px/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.persona-track-a { color: var(--red); }
.persona-track-b { color: var(--green); }
.persona-track-ops { color: var(--amber-text); }
@media (max-width: 1000px) {
  .persona-grid.persona-grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .persona-grid.persona-grid-6 { grid-template-columns: 1fr; }
}

/* --- punch-list zebra rows --- */
/* Tinted alternating rows on .punch-list. Tint is a warm paper shade
   layered over --paper; the red .punch-who stays legible against it.
   Horizontal padding is widened so the tint reads as a row, not a leak. */
.punch-list li:nth-child(even) {
  background: rgba(214, 205, 191, 0.22);
}
.punch-list li {
  padding-left: 12px;
  padding-right: 12px;
}

/* --- pillar teaser cards --- */
/* 3-up clickable cards linking into /coverage/*. Matches the .tier
   paper-panel look (--panel + --line) with a subtle hover lift and
   red border shift. Collapses to a single column under 800px.
   Note: the translateY hover-lift only activates on hover-capable
   pointers, so touch devices skip the lift but still get the border. */
.pillars-teaser {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 28px;
}
.pillar {
  background: var(--panel);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid transparent;
  transition: transform 0.18s ease-out, border-color 0.18s ease-out;
}
@media (hover: hover) {
  .pillar:hover {
    transform: translateY(-2px);
    border-color: var(--red);
  }
}
.pillar:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.pillar-num {
  margin: 0 0 12px;
  color: var(--red);
  font: 800 12px/1 var(--font-mono);
  letter-spacing: 0.18em;
}
.pillar h3 {
  margin: 0 0 12px;
  font: 800 clamp(20px, 2.2vw, 26px)/1.2 var(--font-sans);
}
.pillar p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}
.pillar-cta {
  align-self: flex-end;
  color: var(--red);
  font: 700 13px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}
@media (max-width: 800px) {
  .pillars-teaser { grid-template-columns: 1fr; }
}

/* --- eyebrow-tag for section-head --- */
/* Monospace uppercase eyebrow inside .section-head, above the h2.
   Same visual idiom as .tier-tag and .compliance-tag. */
.section-head .eyebrow-tag {
  margin: 0 0 12px;
  color: var(--red);
  font: 800 11px/1 var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* --- teaser closing line --- */
/* Centered, weighty closing paragraph for landing compliance teaser.
   Italic emphasis is carried by inline <em> in the HTML. */
.teaser-close {
  margin: 32px 0 0;
  max-width: 68ch;
  text-align: left;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
}

/* --- section-head left-aligned modifier (opt-in) --- */
/* Add .section-head-left to any .section-head to flip alignment to
   left for that section. We are NOT applying it anywhere this pass;
   it's shipped so the founder can toggle section-by-section without
   re-writing CSS. */
.section-head.section-head-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.section-head.section-head-left p {
  margin: 0 0 14px;
  max-width: 720px;
}

/* ============================================================
   POLISH PASS — alignment + standards boxes
   ============================================================ */

/* --- two-layer tiers: equal-height columns, bottom-aligned buttons --- */
/* Make each .tier a flex column so the trailing button wrapper can be
   pushed to the bottom with margin-top:auto. The grid already gives
   equal-height tracks, so tops stay aligned and bottoms line up too. */
.tier {
  display: flex;
  flex-direction: column;
}
/* Header block (status pill + tag + price + h3) is given a consistent
   minimum height so the bullet lists below it START at the same vertical
   position across both columns, even when one h3 wraps to more lines. */
.tier-head {
  min-height: 136px;
}
.tier-head h3 { margin-bottom: 0; }
/* Bullets flex to fill the gap so the button wrapper can sit at the
   bottom of every tier regardless of bullet count. */
.tier-body {
  flex: 1;
  margin-top: 18px;
}
/* Button wrapper sits flush at the bottom of every tier, regardless of
   how many bullets each column has. Replaces the old inline margins. */
.tier-actions {
  margin-top: auto;
  padding-top: 24px;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .tier-head { min-height: 0; }
}

/* --- coverage pillars: left-align box content --- */
/* Pillars were inheriting a centered look; force left alignment and keep
   the equal-height flex-column behaviour already defined on .pillar. */
.pillar { text-align: left; align-items: flex-start; }
.pillar-cta { align-self: flex-start; }

/* --- standards: 3 equal-height, left-aligned boxes --- */
/* Mirrors the .pillars-teaser / .tier paper-panel look so it matches the
   rest of the page. Three equal columns via the grid; flex-column keeps
   tops aligned; left-aligned text throughout. */
.std-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 28px;
}
.std-box {
  background: var(--panel);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  text-align: left;
}
.std-box-tag {
  margin: 0 0 12px;
  color: var(--red);
  font: 800 12px/1 var(--font-mono);
  letter-spacing: 0.18em;
}
.std-box h3 {
  margin: 0 0 12px;
  font: 800 clamp(20px, 2.2vw, 26px)/1.2 var(--font-sans);
}
.std-box p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
@media (max-width: 800px) {
  .std-grid { grid-template-columns: 1fr; }
}

/* --- palette triad: thread wax-red / verified-green / amber through the
   three standards boxes and the three coverage pillars, used semantically:
   red = inventory/standards, green = signed & verified, amber = policy/roadmap. --- */
/* =====================================================================
   STANDARDIZED CARD SYSTEM — one spec for every "numbered 3-up" section
   (How it works / What it finds / Standards). Edit text, not layout.
   ===================================================================== */
.capsule,
.pillars-teaser,
.std-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 28px 0 0;
}
/* Single-column collapse MUST live here, after this canonical rule — an
   earlier @media (line ~559) was being overridden by this block, so 3-up
   cards never stacked on mobile. Standard: every card grid -> 1 col <=900. */
@media (max-width: 900px) {
  .capsule,
  .pillars-teaser,
  .std-grid { grid-template-columns: 1fr; }
}
.capsule article,
.pillar,
.std-box {
  display: flex;
  flex-direction: column;
  padding: var(--card-pad);
  background: var(--panel);
  text-align: left;
  border: 0;
}
/* kicker number (01/02/03) — identical everywhere.
   Parent-scoped (> ) so it outranks the body rule below — the numbers are
   <p>/<span> and would otherwise inherit muted color + flex:1 from `.std-box p`. */
.capsule > .num,
.pillar > .pillar-num,
.std-box > .std-box-tag {
  margin: 0 0 14px;
  flex: 0 0 auto;
  color: var(--accent);
  font: 800 12px/1 var(--font-mono);
  letter-spacing: 0.18em;
}
/* title — reserve 2 lines so titles AND bodies align across every row */
.capsule h3,
.pillar h3,
.std-box h3 {
  margin: 0 0 10px;
  min-height: var(--card-title-min);
  font: 800 clamp(19px, 2vw, 23px)/1.25 var(--font-sans);
}
/* body — identical, flexes to fill so cards are equal height */
.capsule p,
.pillar p,
.std-box p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
/* card bullets — scannable list inside a card (Standards section) */
.card-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.card-bullets li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--body);
}
.card-bullets li:first-child { border-top: 0; padding-top: 2px; }
.card-bullets li::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: 6px;
  background: var(--accent);
  border-radius: 1px;
}

/* subtle, consistent hover across all three card sections: a red top rule */
.capsule article, .pillar, .std-box { transition: box-shadow 0.15s ease-out; }
.capsule article:hover, .pillar:hover, .std-box:hover { box-shadow: inset 0 3px 0 var(--accent); }
.pillar { border-color: transparent; }
@media (hover: hover) { .pillar:hover { transform: none; border-color: transparent; } }

/* hero kicker + balanced title for the two-column hero */
.hero-kicker {
  margin: 0 0 16px;
  color: var(--red);
  font: 800 12px/1 var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* =====================================================================
   HERO — stacked, centered: title / full-width scan dashboard / lead / CTAs
   Re-skinned from the design-canvas "scan ticker" graphic into Reeve tokens.
   ===================================================================== */
.hero-stack {
  padding: clamp(20px, 3vw, 40px) 0 clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.hero-title {
  margin: 0 auto;
  font: 800 clamp(24px, 3.5vw, 44px)/1.1 var(--font-sans);
  letter-spacing: -0.02em;
}
/* one horizontal line on wider screens; wraps only on small screens */
@media (min-width: 700px) {
  .hero-title { white-space: nowrap; }
}
.hero-title em { color: var(--red); font-style: italic; font-weight: 800; }
/* Foot: paragraph left, buttons right (saves height, pulls the red bar up). */
.hero-foot {
  margin-top: clamp(22px, 2.6vw, 34px);
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  text-align: left;
}
.hero-foot .lead {
  margin: 0;
  flex: 1 1 auto;
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.55;
  color: var(--body);
}
.hero-foot .hero-actions {
  margin: 0;
  flex: 0 0 auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 760px) {
  .hero-foot { flex-direction: column; align-items: stretch; }
  .hero-foot .hero-actions { justify-content: flex-start; }
}

/* ---- scan dashboard ---- */
.scan-hero {
  --scan-dim: #8a8378;
  --scan-grid: #2a2723;
  --scan-red: #d4543f;
  --scan-amber: #cf9b4a;
  --scan-green: #5fbf7a;
  --scan-bright: #efe7d9;
  margin: clamp(32px, 4vw, 48px) 0 0;
  width: 100%;
  contain: layout;  /* isolate hero layout/recalc from the rest of the page */
  background: var(--ink);
  border: 1px solid var(--scan-grid);
  border-radius: var(--r-sm);
  padding: clamp(18px, 2.4vw, 30px);
  text-align: left;
  overflow: hidden;
}
.scan-statbar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 22px;
  font: 700 clamp(10px, 1vw, 12px)/1.2 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--scan-dim);
}
.scan-lead { display: inline-flex; align-items: center; gap: 9px; color: var(--scan-bright); }
.scan-sq { width: 9px; height: 9px; background: var(--scan-red); flex: none; }
.scan-stats { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.scan-stats b { color: var(--scan-red); font-weight: 800; }

.scan-depts {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
  margin: clamp(20px, 2.4vw, 30px) 0;
}
.scan-dept { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.scan-dept-name,
.scan-dept-count {
  font: 700 10px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--scan-dim);
}
.scan-dept-count { color: var(--scan-red); }
.scan-dept-count::after { content: ""; }
.scan-dots {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
}
.scan-dot { aspect-ratio: 1; background: var(--scan-grid); border-radius: 1px; }
.scan-dot.on { background: var(--scan-red); box-shadow: 0 0 5px rgba(212, 84, 63, 0.55); --ring: var(--scan-bright); }
/* only the POP ring carries the event colour; the dot stays a red agent */
.scan-dot.on.ev-install { --ring: var(--scan-green); }
.scan-dot.on.ev-allow   { --ring: var(--scan-amber); }
.scan-dot.on.ev-secret  { --ring: var(--scan-red); }

.scan-ticker {
  list-style: none;
  margin: 0;
  padding: clamp(16px, 2vw, 22px) 0 0;
  border-top: 1px solid var(--scan-grid);
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.tick {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 14px;
  font-size: clamp(12.5px, 1.3vw, 15px);
  line-height: 1.45;
  color: var(--scan-dim);
}
.tick:nth-child(2) { opacity: 0.82; }
.tick:nth-child(3) { opacity: 0.64; }
.tick:nth-child(4) { opacity: 0.46; }
.tick-time { font: 600 12px/1 var(--font-mono); letter-spacing: 0.04em; color: var(--scan-dim); }
.tag {
  justify-self: start;
  padding: 3px 8px;
  font: 800 9.5px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
/* tag colour = the event, matching the dot's pop ring */
.tag.install { background: var(--scan-green); color: var(--ink); }
.tag.allow   { background: var(--scan-amber); color: var(--ink); }
.tag.secret  { background: var(--scan-red);   color: var(--ink); }
.tick-text { color: var(--scan-dim); font-family: var(--font-sans); }
.tick-text b { color: var(--scan-bright); font-weight: 700; }
.tick-text i { color: var(--scan-red); font-style: normal; }

@media (max-width: 900px) {
  .scan-depts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .scan-depts { grid-template-columns: repeat(2, 1fr); }
  .tick { grid-template-columns: auto 1fr; gap: 8px 10px; }
  .tick-time { display: none; }
}

/* ---- scan dashboard: motion ---- */
@keyframes tickIn {
  from { opacity: 0; transform: translateY(-7px); }
  to   { opacity: 1; transform: none; }
}
.scan-ticker .tick { animation: tickIn 0.45s ease; }
/* NOTE: no infinite animation on lit dots — with ~850 dots, perpetual
   pulses were a CPU/compositor hog. Only the finite .new pop animates. */
/* new agent pops in big with a ring + glow in the EVENT colour (--ring:
   green install / gold allow / red secret), then settles to its dot colour. */
.scan-dot.new {
  position: relative;
  z-index: 2;
  outline: 1.5px solid var(--ring);
  outline-offset: 1px;
  box-shadow: 0 0 0 2px var(--ring), 0 0 16px 3px var(--ring);
  will-change: transform;  /* own compositor layer; scale animates GPU-side */
  animation: dotNew 1.9s ease-out;
}
/* Animate ONLY transform: the ring+glow are painted once on the base rule
   below, and a CSS transform scales the element's whole painted layer
   (dot + outline + box-shadow) on the compositor — no per-frame repaint.
   Same pop, paint cost moved off the main thread. */
@keyframes dotNew {
  0%   { transform: scale(2.6); }
  22%  { transform: scale(0.85); }
  45%  { transform: scale(1.25); }
  70%  { transform: scale(1); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .scan-ticker .tick, .scan-dot.new { animation: none; }
}

/* =====================================================================
   RISK — supply-chain sprawl: teams -> agents -> MCP servers -> packages.
   Native SVG sankey, no numbers; the fanout IS the attack surface.
   ===================================================================== */
/* full-bleed: break out of the 1200px content column, edge to edge */
.sprawl-fig {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(28px, 4vw, 44px);
  padding: 0 clamp(20px, 4vw, 60px);
}
.sprawl-scroll { width: 100%; overflow-x: auto; }
.sprawl { width: 100%; min-width: 1100px; height: auto; display: block; }
.sprawl text { font-family: var(--font-sans); }
.sprawl .lbl { font-size: 15px; fill: var(--ink); dominant-baseline: middle; }
.sprawl .lbl.team { text-anchor: end; font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.sprawl .lbl.agent { text-anchor: start; font-weight: 700; }
.sprawl .lbl.srv { text-anchor: start; font-family: var(--font-mono); font-size: 13px; fill: var(--muted); }
.sprawl .node { fill: var(--ink); }
.sprawl .node.sv { fill: var(--accent); }
.sprawl .link { fill: none; stroke: var(--accent); stroke-width: 1.1; opacity: 0.32; }
.sprawl .tail-line { stroke: var(--accent); stroke-width: 1; opacity: 0.22; }
.sprawl .pkg { fill: var(--accent); opacity: 0.9; }
.sprawl-cap { margin: 18px 0 0; font-style: italic; color: var(--muted); font-size: clamp(14px, 1.5vw, 16px); }

/* =====================================================================
   RISK — feature columns on a supply-chain foundation. Each dept = 3 short,
   single-line feature boxes (what its agents do). Below, full-width:
   "software supply chain" = the unreviewed base under every function.
   ===================================================================== */
.caps { margin: clamp(28px, 4vw, 44px) 0 0; }
/* tiny section labels so the diagram reads without body copy */
.caps-kicker {
  margin: 0 0 10px;
  font: 700 11px/1.3 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.caps-bus + .caps-kicker,
.caps-cols + .caps-kicker { margin-top: 4px; }
.caps-cols {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
  align-items: start;
}
.caps-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.caps-team {
  margin: 0 0 2px;
  font: 800 11px/1.2 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.cap {
  display: block;
  font: 600 12.5px/1.3 var(--font-sans);
  padding: 8px 11px;
  border: 1px solid var(--hairline);
  border-radius: 2px;            /* squared off — straight edges, not a pill */
  background: var(--surface);
  color: var(--ink);
  text-align: center;
  white-space: nowrap;           /* always one line — symmetrical boxes */
  overflow: hidden;
  text-overflow: ellipsis;
}
/* connector "bus": every department's functions drain into the three pillars */
.caps-bus {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 30px;
  margin-top: 14px;
}
.caps-bus::before {              /* the horizontal bus */
  content: ""; position: absolute; left: 0; right: 0; bottom: 11px;
  height: 1px; background: var(--accent); opacity: 0.55;
}
.bus-drop { position: relative; }
.bus-drop::before {              /* vertical drop from each column */
  content: ""; position: absolute; left: 50%; top: 0; bottom: 11px;
  width: 1px; background: var(--accent); opacity: 0.55;
}
.bus-drop::after {               /* node on the bus */
  content: ""; position: absolute; left: 50%; bottom: 8px;
  width: 7px; height: 7px; transform: translateX(-50%); background: var(--accent);
}

/* the three Reeve pillars — the ungoverned base every function rests on */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
  margin-top: 6px;
}
.pillar-card {
  background: var(--ink);
  border-radius: 2px;
  padding: clamp(16px, 1.9vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.pillar-num { font: 800 12px/1 var(--font-mono); letter-spacing: 0.2em; color: #e0796f; }
.pillar-title { margin: 2px 0 0; font: 800 clamp(16px, 1.9vw, 21px)/1.2 var(--font-sans); letter-spacing: -0.01em; color: var(--on-dark); }
.pillar-desc { margin: 0; flex: 1; font: 600 13px/1.45 var(--font-sans); color: #c8bda9; }
.pillar-tags { margin-top: 6px; font: 700 10.5px/1.4 var(--font-mono); letter-spacing: 0.07em; text-transform: uppercase; color: #e0796f; }
.pillars-foot {
  margin: 12px 0 0; text-align: right;
  font: 700 11px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
@media (max-width: 760px) {
  .caps-bus { display: none; }
  .pillars { grid-template-columns: 1fr; margin-top: 16px; }
  .pillars-foot { text-align: left; }
}
@media (max-width: 900px) { .caps-cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .caps-cols { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   REGISTER-INTEREST FORMS · native <details> disclosure inside the Fleet
   and Labs cards. Closed by default so the card stays clean; the summary
   reuses the existing .button.secondary look. All native HTML, no JS.
   ===================================================================== */
/* The <details> wrapper. Left-aligned like the rest of the site. */
.reg { text-align: left; }
/* Strip the default disclosure triangle so the .button.secondary summary
   reads as a clean button (no leaking marker glyph). */
.reg summary { list-style: none; cursor: pointer; }
.reg summary::-webkit-details-marker { display: none; }
/* The summary already carries .button.secondary; just keep it inline-flex
   so it sizes to its label rather than stretching full-width. */
.reg-summary { display: inline-flex; }

/* Revealed form: a tight, left-aligned vertical stack constrained to a
   readable measure. Spacing uses the site card-pad rhythm via fixed tokens
   that match the rest of the page (12px gaps, like .hero-actions). */
.reg-form {
  margin-top: 14px;
  width: min(100%, 34rem);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Block label: small muted caption above its full-width input, matching
   the site's caption idiom (--muted, mono-ish uppercase kicker feel kept
   subtle so the form stays approachable). */
.reg-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font: 700 11px/1.3 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.reg-label input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.4 var(--font-sans);  /* 16px avoids iOS zoom-on-focus */
  letter-spacing: 0;
  text-transform: none;
}
.reg-label input::placeholder { color: var(--muted); opacity: 0.7; }
/* Visible focus ring in the wax-red accent token. */
.reg-label input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

/* "(optional)" · muted and smaller than the label text. */
.reg-opt {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Submit button sits left at a compact width, not full-bleed. */
.reg-form .button { align-self: flex-start; }

/* Honeypot: visually hidden but NOT display:none, so bots that auto-fill
   every field trip it while humans never see it. Real submissions leave
   it empty; the Function rejects any request where it is filled. */
.reg-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
