/* =========================================================
   Zero Day Security — szdsecurity.com
   Apple-grade design system. Light/dark hard flips.
   Sole accent: amber. Sole signature: typography.
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Inter';
  src: url('/css/fonts/Inter.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/css/fonts/GeistMono.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Surfaces — deep navy brand base */
  --ink:        #070b16;
  --ink-soft:   #050810;
  --ink-card:   #18233a;
  --paper:      #f5f5f7;
  --fog:        #fafafa;
  --pure:       #ffffff;

  /* Text */
  --text-light: #1d1d1f;
  --text-dark:  #f5f5f7;
  --muted:      #6e6e73;
  --muted-dark: #86868b;
  --rule:       #d2d2d7;
  --rule-dark:  rgba(255,255,255,0.10);

  /* Accent — amber. Used sparingly. */
  --amber:      #00d4aa;
  --amber-deep: #00b89a;
  --amber-fg:   #0f172a;

  /* Type */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Rhythm */
  --section-pad: clamp(64px, 12vw, 120px);
  --shell:       1024px;
  --shell-wide:  1280px;
  --tile-gap:    4px;
  --tile-r:      24px;
  --tile-r-sm:   18px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--fog); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--fog);
  color: var(--text-light);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--amber); color: var(--amber-fg); }

/* Skip link */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--ink); color: var(--text-dark);
  padding: 12px 16px; border-radius: 980px;
  font-size: 13px; font-weight: 500;
  z-index: 100;
}
.skip-link:focus { top: 16px; }

/* ---------- Shell ---------- */
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.shell-wide { max-width: var(--shell-wide); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* ---------- Nav (sticky, translucent) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: 48px;
  display: flex; align-items: center;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-inner {
  width: 100%; max-width: 1024px;
  margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 400; letter-spacing: -0.005em;
}
.nav-brand {
  font-weight: 600; letter-spacing: -0.01em;
  color: var(--text-light);
}
.nav-links { display: none; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text-light); opacity: 0.85;
  transition: opacity 200ms ease;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  color: var(--text-light); opacity: 0.85;
  font-weight: 500;
}
@media (min-width: 760px) { .nav-links { display: flex; } }

/* ---------- Section primitive ---------- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section.dark {
  background: var(--ink);
  color: var(--text-dark);
}
.section.dark a { color: var(--text-dark); }
.section.fog { background: var(--fog); }
.section.paper { background: var(--paper); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px 0;
}
.section.dark .eyebrow { color: var(--muted-dark); }
.eyebrow .pip {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 2px;
}

.display {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 24px 0;
  color: inherit;
}

.h-section {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 20px 0;
  color: inherit;
}

.h-tile {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
  color: inherit;
}

.subhead {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.016em;
  color: inherit;
  max-width: 32ch;
  margin: 0 0 36px 0;
}
.subhead.center { margin-left: auto; margin-right: auto; }

.lead {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  color: inherit;
  opacity: 0.86;
  max-width: 56ch;
  margin: 0 0 28px 0;
}

p { margin: 0 0 16px 0; max-width: 60ch; }
em { font-style: normal; color: var(--amber); }
.hl-amber { color: var(--amber); }

/* ---------- CTAs ---------- */
.cta-row {
  display: flex; flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}
.cta-row.center { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 22px;
  background: var(--amber);
  color: var(--amber-fg);
  border: none;
  border-radius: 980px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background 200ms ease, transform 200ms ease;
}
.btn:hover { background: var(--amber-deep); }

.btn.ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  opacity: 0.95;
}
.btn.ghost:hover { background: rgba(0,0,0,0.04); }
.section.dark .btn.ghost:hover { background: rgba(255,255,255,0.06); }

/* Pill text link — the Apple chevron move */
.plink {
  display: inline-flex; align-items: baseline;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.011em;
  color: var(--amber-deep);
  transition: color 200ms ease;
}
.section.dark .plink { color: var(--amber); }
.plink::after {
  content: '\203A';
  margin-left: 5px;
  font-weight: 500;
  transition: margin-left 200ms ease;
}
.plink:hover::after { margin-left: 9px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 88vh;
  display: flex; flex-direction: column; justify-content: center;
  text-align: center;
  background: var(--ink);
  color: var(--text-dark);
  padding-top: clamp(80px, 14vw, 140px);
  padding-bottom: clamp(64px, 10vw, 100px);
  position: relative;
  overflow: hidden;
}
.hero .display { max-width: 18ch; margin-left: auto; margin-right: auto; }
.hero .subhead { color: var(--text-dark); opacity: 0.78; max-width: 38ch; margin-left: auto; margin-right: auto; }

.hero-aura {
  position: absolute;
  top: 35%; left: 50%;
  width: 80vw; height: 80vw;
  max-width: 900px; max-height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0,212,170,0.10) 0%, rgba(0,212,170,0) 60%);
  pointer-events: none;
  z-index: 0;
}
.hero > .shell { position: relative; z-index: 1; }

/* ---------- Stacked tile grid ---------- */
.tiles {
  display: grid;
  gap: var(--tile-gap);
  grid-template-columns: 1fr;
  margin-top: 4px;
}
.tiles.two { grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .tiles.two { grid-template-columns: 1fr 1fr; }
  .tiles.three { grid-template-columns: 1fr 1fr 1fr; }
}

.tile {
  position: relative;
  background: var(--paper);
  color: var(--text-light);
  border-radius: var(--tile-r);
  padding: clamp(40px, 6vw, 64px);
  min-height: 480px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.tile.dark {
  background: var(--ink);
  color: var(--text-dark);
  box-shadow: inset 0 0 0 1px var(--rule-dark);
}
.tile.dark .muted { color: var(--muted-dark); }
.tile-grow { flex: 1 1 auto; }
.tile-foot { margin-top: auto; }

.tile.hero-tile {
  min-height: 620px;
  border-radius: var(--tile-r);
  padding: clamp(48px, 7vw, 80px);
  text-align: center;
}
.tile.hero-tile .h-tile,
.tile.hero-tile .subhead { margin-left: auto; margin-right: auto; }
.tile.hero-tile .subhead { max-width: 36ch; }

/* ---------- Product slab ---------- */
.slab { text-align: center; }
.slab .display { max-width: 16ch; margin-left: auto; margin-right: auto; }
.slab .subhead { margin-left: auto; margin-right: auto; }
.slab .cta-row { justify-content: center; margin-bottom: 56px; }
.slab-art {
  margin: 0 auto;
  max-width: 1024px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5), 0 30px 60px -30px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--ink-soft);
}

/* ---------- Faux dashboard ---------- */
.dash {
  font-family: var(--sans);
  background: #0b1120;
  color: #e6e6ea;
  text-align: left;
  padding: 24px;
  display: grid;
  gap: 16px;
}
.dash-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dash-title { font-size: 18px; font-weight: 600; letter-spacing: -0.012em; }
.dash-meta { font-family: var(--mono); font-size: 11px; color: #86868b; }
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dash-card {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 14px 16px;
}
.dash-card-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #86868b; margin-bottom: 6px;
}
.dash-card-value {
  font-size: 28px; font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.dash-card-value.critical { color: #ef4444; }
.dash-card-value.high     { color: #f5a623; }
.dash-card-value.medium   { color: #facc15; }
.dash-card-value.ok       { color: #34d399; }
.dash-card-foot { font-family: var(--mono); font-size: 10px; color: #86868b; margin-top: 4px; }

.dash-table {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 12px;
  overflow: hidden;
}
.dash-row {
  display: grid;
  grid-template-columns: 1fr 80px 90px 60px;
  align-items: center;
  padding: 10px 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.dash-row:first-child {
  border-top: 0;
  color: #86868b; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
}
.dash-row .cve { color: #e6e6ea; }
.sev { display: inline-flex; align-items: center; gap: 6px; }
.sev::before { content: ''; width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.sev.critical { color: #ef4444; }
.sev.critical::before { background: #ef4444; }
.sev.high     { color: #f5a623; }
.sev.high::before { background: #f5a623; }
.sev.medium   { color: #facc15; }
.sev.medium::before { background: #facc15; }
.status-pill {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 980px;
  background: rgba(255,255,255,0.06);
  color: #d6d6da;
}
.status-pill.open { background: rgba(239,68,68,0.14); color: #f87171; }
.status-pill.fixed { background: rgba(52,211,153,0.14); color: #6ee7b7; }
.dash-row .age { color: #86868b; text-align: right; }

@media (max-width: 720px) {
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .dash-row { grid-template-columns: 1fr 60px 60px; }
  .dash-row .age { display: none; }
}

/* ---------- Code block ---------- */
.code {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  background: #0b1120;
  color: #e6e6ea;
  padding: 24px 28px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  overflow-x: auto;
  text-align: left;
  white-space: pre;
}
.section.dark .code { background: #0a0f1e; }
.code .pmt { color: var(--amber); }
.code .cmd { color: #e6e6ea; }
.code .arg { color: #86868b; }
.code .ok  { color: #34d399; }
.code .warn { color: #f5a623; }
.code .err { color: #ef4444; }
.code .c   { color: #6e6e73; font-style: italic; }

/* ---------- Engagement cards ---------- */
.eng {
  display: grid; grid-template-columns: 1fr; gap: var(--tile-gap);
}
@media (min-width: 760px) {
  .eng { grid-template-columns: 1fr 1fr 1fr; }
}
.eng-card {
  background: var(--ink-card);
  border-radius: var(--tile-r-sm);
  padding: clamp(32px, 4vw, 44px);
  display: flex; flex-direction: column;
  min-height: 320px;
  box-shadow: inset 0 0 0 1px var(--rule-dark);
}
.eng-name {
  font-family: var(--sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.eng-title {
  font-size: 28px; font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.1;
  margin: 0 0 12px 0;
}
.eng-desc {
  font-size: 16px; line-height: 1.5;
  color: var(--muted-dark);
  margin: 0 0 28px 0;
  flex: 1;
}
.eng-foot { margin-top: auto; }

/* ---------- About ---------- */
.about-wrap { text-align: center; max-width: 720px; margin: 0 auto; }
.about-sig {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
  margin-top: 32px;
}
.about-sig::before { content: '— '; color: var(--amber); }

/* ---------- Contact form ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (min-width: 880px) {
  .contact-wrap { grid-template-columns: 1fr 1fr; }
}
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-dark);
  letter-spacing: 0.02em;
}
.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text-dark);
  background: var(--ink-card);
  border: 1px solid var(--rule-dark);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field textarea:focus {
  border-color: var(--amber);
  background: #243246;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
/* Second honeypot — clip-based, doesn't use display:none/visibility:hidden that CSS-aware bots look for */
.honeypot-real {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  padding: 0;
}
.form-note { font-size: 13px; color: var(--muted-dark); margin: 0; }

/* ---------- Footer ---------- */
.foot {
  background: var(--ink);
  color: var(--text-dark);
  padding: 64px 0 40px 0;
}
.foot a { color: var(--text-dark); opacity: 0.7; }
.foot a:hover { opacity: 1; }
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 640px) {
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.foot h5 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 16px 0;
  color: var(--text-dark);
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot li { font-size: 13px; }
.foot-brand { font-weight: 600; letter-spacing: -0.012em; margin-bottom: 12px; }
.foot-blurb { color: var(--muted-dark); font-size: 13px; line-height: 1.5; max-width: 38ch; margin: 0; }
.foot-tm {
  font-size: 11px;
  color: var(--muted-dark);
  margin: 0 0 16px 0;
  max-width: 64ch;
}
.foot-bottom {
  border-top: 1px solid var(--rule-dark);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted-dark);
}

/* ---------- Legal / static pages ---------- */
.legal {
  background: var(--fog);
  min-height: 100vh;
  padding: clamp(56px, 10vw, 120px) 0 clamp(64px, 10vw, 120px) 0;
}
.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.legal h1 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 12px 0;
}
.legal .stamp {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 48px;
}
.legal h2 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 40px 0 12px 0;
}
.legal p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-light);
  max-width: 64ch;
}
.legal a {
  color: var(--amber-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- 404 ---------- */
.err-page {
  background: var(--ink);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 40px;
}
.err-code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.err-msg {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 24px 0;
  max-width: 14ch;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 800ms cubic-bezier(0.2, 0.65, 0.3, 1), transform 800ms cubic-bezier(0.2, 0.65, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Hardened Builds: body block (left-aligned inside centered slab) ---------- */
.builds-body {
  text-align: left;
  max-width: 60ch;
  margin: 0 auto 16px auto;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-light);
}
.builds-body p { margin: 0 0 16px 0; max-width: none; }
.builds-body p:last-child { margin-bottom: 0; }

/* ---------- Hardened Builds: process row ---------- */
.process-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tile-gap);
  margin: 48px 0;
}
@media (min-width: 760px) {
  .process-row { grid-template-columns: repeat(3, 1fr); }
}
.process-tile {
  background: var(--pure);
  border-radius: var(--tile-r-sm);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex; flex-direction: column;
  min-height: 260px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}
.process-step {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber-deep);
  margin: 0 0 12px 0;
}
.process-title {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.014em;
  line-height: 1.2;
  margin: 0 0 10px 0;
  color: var(--text-light);
}
.process-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* ---------- Hardened Builds: refuse list ---------- */
.refuse-wrap {
  background: var(--pure);
  border-radius: var(--tile-r-sm);
  padding: clamp(28px, 3.5vw, 40px);
  margin: 24px 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  text-align: left;
}
.refuse-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px 0;
}
.refuse-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.refuse-list li {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-light);
  padding-left: 22px;
  position: relative;
}
.refuse-list li::before {
  content: '\00d7';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--amber-deep);
  font-weight: 600;
  font-size: 16px;
}

/* ---------- Deliverables checklist (mirror of refuse-list, amber check) ---------- */
.deliver-wrap {
  background: var(--pure);
  border-radius: var(--tile-r-sm);
  padding: clamp(28px, 3.5vw, 40px);
  margin: 24px 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  text-align: left;
}
.deliver-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px 0;
}
.deliver-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.deliver-list li {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-light);
  padding-left: 24px;
  position: relative;
}
.deliver-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--amber-deep);
  font-weight: 700;
  font-size: 14px;
}

/* ---------- Dark-section overrides for shared components ---------- */
.section.dark .process-tile {
  background: var(--ink-card);
  box-shadow: inset 0 0 0 1px var(--rule-dark);
}
.section.dark .process-title { color: var(--text-dark); }
.section.dark .process-body  { color: var(--muted-dark); }
.section.dark .process-step  { color: var(--amber); }

.section.dark .refuse-wrap,
.section.dark .deliver-wrap {
  background: var(--ink-card);
  box-shadow: inset 0 0 0 1px var(--rule-dark);
}
.section.dark .refuse-list li,
.section.dark .deliver-list li { color: var(--text-dark); }
.section.dark .refuse-list li::before,
.section.dark .deliver-list li::before { color: var(--amber); }
.section.dark .refuse-label,
.section.dark .deliver-label { color: var(--muted-dark); }

.section.dark .prequal { color: var(--text-dark); }

.section.dark .builds-body { color: var(--text-dark); }
.section.dark .builds-body p { color: var(--text-dark); opacity: 0.88; }

/* ---------- Hardened Builds: pre-qualification callout ---------- */
.prequal {
  border-left: 3px solid var(--amber);
  padding: 8px 0 8px 20px;
  margin: 32px auto 36px auto;
  max-width: 60ch;
  text-align: left;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: -0.012em;
}

/* ---------- Stat band ---------- */
.stat-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tile-gap);
  margin-top: 8px;
}
@media (min-width: 760px) { .stat-band { grid-template-columns: repeat(3, 1fr); } }
.stat {
  background: var(--pure);
  border-radius: var(--tile-r-sm);
  padding: clamp(32px, 4vw, 48px);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}
.stat-num {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(44px, 6.5vw, 76px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--amber-deep);
  font-variant-numeric: tabular-nums;
  margin: 0 0 16px 0;
}
.stat-label {
  font-size: 17px; line-height: 1.45;
  color: var(--text-light);
  margin: 0 0 10px 0; max-width: 30ch;
}
.stat-src {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.02em;
  margin: 0;
}
.section.dark .stat { background: var(--ink-card); box-shadow: inset 0 0 0 1px var(--rule-dark); }
.section.dark .stat-num { color: var(--amber); }
.section.dark .stat-label { color: var(--text-dark); }
.section.dark .stat-src { color: var(--muted-dark); }

/* ---------- Stages (four-up) ---------- */
.stage-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tile-gap);
  margin-top: 8px;
}
@media (min-width: 600px) { .stage-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .stage-row { grid-template-columns: repeat(4, 1fr); } }
.stage {
  background: var(--pure);
  border-radius: var(--tile-r-sm);
  padding: clamp(28px, 3vw, 40px);
  min-height: 280px;
  display: flex; flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  transition: transform 280ms cubic-bezier(0.2,0.65,0.3,1), box-shadow 280ms ease;
}
.stage:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(0,212,170,0.45); }
.stage-step {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em; color: var(--amber-deep);
  margin: 0 0 16px 0;
}
.stage-name {
  font-family: var(--sans);
  font-size: clamp(22px, 2.4vw, 26px); font-weight: 600;
  letter-spacing: -0.018em; line-height: 1.12;
  margin: 0 0 12px 0; color: var(--text-light);
}
.stage-desc { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }
.section.dark .stage { background: var(--ink-card); box-shadow: inset 0 0 0 1px var(--rule-dark); }
.section.dark .stage:hover { box-shadow: inset 0 0 0 1px rgba(0,212,170,0.5); }
.section.dark .stage-step { color: var(--amber); }
.section.dark .stage-name { color: var(--text-dark); }
.section.dark .stage-desc { color: var(--muted-dark); }

/* ---------- Engine pills ---------- */
.engines {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-top: 8px;
}
.engine-pill {
  font-family: var(--mono);
  font-size: 14px; letter-spacing: -0.01em;
  padding: 12px 22px;
  border-radius: 980px;
  background: var(--pure);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
  color: var(--text-light);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.engine-pill:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(0,212,170,0.5); }
.section.dark .engine-pill { background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px var(--rule-dark); color: var(--text-dark); }
.section.dark .engine-pill:hover { box-shadow: inset 0 0 0 1px rgba(0,212,170,0.5); }

/* ---------- Platform grid (the backing tools) ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tile-gap);
  margin-top: 8px;
}
@media (min-width: 720px) { .platform-grid { grid-template-columns: 1fr 1fr; } }
.platform-card {
  background: var(--ink-card);
  border-radius: var(--tile-r-sm);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: inset 0 0 0 1px var(--rule-dark);
}
.platform-name {
  font-family: var(--sans);
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.014em;
  color: var(--text-dark);
  margin: 0 0 8px 0;
}
.platform-name .tag {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.06em; color: var(--amber);
  margin-left: 8px; vertical-align: 1px;
}
.platform-desc { font-size: 14px; line-height: 1.55; color: var(--muted-dark); margin: 0; }
