/* Onion landing. Primer Brand tokens (see docs/tasks/landing/product-landing/evidence/01-primer-brand.md). */

@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/MonaSansVF.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --font-sans: "Mona Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --color-canvas-default: #ffffff;
  --color-canvas-alt: #F2F5F3;
  --color-text-default: #000000;
  --color-text-muted: #58635B;
  --color-text-emphasized: #08872B;
  --color-accent: #0D6731;
  --color-link: #0055D5;
  --color-border-muted: #E4EBE6;
  --color-border-default: #B6BFB8;
  --color-border-dashed: #B6BFB8;
  --color-focus: #0377FF;
  --color-text-danger: #cf222e;
  --eyebrow-from: #0D6731;
  --eyebrow-to: #0055D5;
  --grad-from: #08872B;
  --grad-to: #0377FF;
  --dot-shipped: #08872B;
  --dot-progress: #BE7D00;
  --chip-bg: rgba(0, 0, 0, .03);
  --btn2-bg: rgba(0, 0, 0, .06);
  --btn2-bg-hover: rgba(0, 0, 0, .1);
  --btn2-border: #D2D9D4;
  --btn2-fg: #000000;
  --cta-bg: #F2F5F3;
  --cta-start: #08872B;
  --cta-end: #0377FF;
  --glow-accent: rgba(8, 135, 43, .15);
  --glow-corner: rgba(8, 135, 43, .14);
  --shadow-river:
    0 100px 80px rgba(0, 0, 0, .017),
    0 42px 33px rgba(0, 0, 0, .024),
    0 22px 18px rgba(0, 0, 0, .028),
    0 13px 10px rgba(0, 0, 0, .034),
    0 7px 5px rgba(0, 0, 0, .043),
    0 3px 2px rgba(0, 0, 0, .07);

  /* Type scale, mobile first (Primer typography-responsive) */
  --fs-1000: 2.5rem; --lh-1000: 1.149; --fw-1000: 440;
  --fs-800: 2rem; --lh-800: 1.2; --fw-800: 465;
  --fs-700: 1.75rem;
  --fs-600: 1.5rem; --lh-600: 1.3;
  --fs-500: 1.375rem; --lh-500: 1.3;
  --fs-400: 1.25rem;
  --gap: 16px;
}

@media (min-width: 48rem) {
  :root {
    --fs-1000: 3.5rem; --lh-1000: 1.08;
    --fs-800: 2.5rem;
    --fs-700: 2.125rem;
    --fs-600: 1.75rem;
    --fs-500: 1.5rem;
    --gap: 32px;
  }
}

@media (min-width: 63.25rem) {
  :root {
    --fs-1000: 4rem; --fw-1000: 425;
    --fs-800: 3rem; --lh-800: 1.18; --fw-800: 440;
    --fs-700: 2.5rem;
    --fs-600: 2.125rem; --lh-600: 1.2;
    --fs-500: 1.75rem; --lh-500: 1.35;
    --fs-400: 1.375rem;
  }
}

@media (min-width: 80rem) {
  :root { --gap: 48px; }
}

/* Dark tokens: whole page in dark scheme ... */
@media (prefers-color-scheme: dark) {
  :root {
    --color-canvas-default: #000000;
    --color-canvas-alt: #090d0a;
    --color-text-default: #ffffff;
    --color-text-muted: #D2D9D4;
    --color-text-emphasized: #5FED83;
    --color-accent: #8CF2A6;
    --color-link: #BCECFF;
    --color-border-muted: rgba(255, 255, 255, .12);
    --color-border-default: #96A199;
    --color-border-dashed: rgba(255, 255, 255, .28);
    --color-focus: #5FB9FF;
    --color-text-danger: #ff8182;
    --eyebrow-from: #8CF2A6;
    --eyebrow-to: #BCECFF;
    --grad-from: #8CF2A6;
    --grad-to: #5FB9FF;
    --dot-shipped: #5FED83;
    --dot-progress: #FABF21;
    --chip-bg: rgba(255, 255, 255, .06);
    --btn2-bg: rgba(255, 255, 255, .12);
    --btn2-bg-hover: rgba(255, 255, 255, .18);
    --btn2-border: rgba(255, 255, 255, .06);
    --btn2-fg: #ffffff;
    --cta-bg: #090d0a;
    --cta-start: #8CF2A6;
    --cta-end: #5FB9FF;
    --glow-accent: rgba(140, 242, 166, .15);
    --glow-corner: rgba(140, 242, 166, .10);
  }
}

/* ... and fixed-dark bands in both schemes (same set) */
.band--dark {
  color-scheme: dark;
  --color-canvas-default: #000000;
  --color-canvas-alt: #090d0a;
  --color-text-default: #ffffff;
  --color-text-muted: #D2D9D4;
  --color-text-emphasized: #5FED83;
  --color-accent: #8CF2A6;
  --color-link: #BCECFF;
  --color-border-muted: rgba(255, 255, 255, .12);
  --color-border-default: #96A199;
  --color-border-dashed: rgba(255, 255, 255, .28);
  --color-focus: #5FB9FF;
  --color-text-danger: #ff8182;
  --eyebrow-from: #8CF2A6;
  --eyebrow-to: #BCECFF;
  --grad-from: #8CF2A6;
  --grad-to: #5FB9FF;
  --dot-shipped: #5FED83;
  --dot-progress: #FABF21;
  --chip-bg: rgba(255, 255, 255, .06);
  --btn2-bg: rgba(255, 255, 255, .12);
  --btn2-bg-hover: rgba(255, 255, 255, .18);
  --btn2-border: rgba(255, 255, 255, .06);
  --btn2-fg: #ffffff;
  --glow-accent: rgba(140, 242, 166, .15);
  background: #000000;
  color: var(--color-text-default);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-canvas-default);
  color: var(--color-text-default);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, pre { margin: 0; }
h1, h2, h3, h4 { font-weight: 480; text-wrap: balance; }
p, li { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
svg { flex: none; }
a { color: var(--color-link); }

:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

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

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: #ffffff;
  color: #000000;
  font-weight: 500;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 16px;
}

.muted { color: var(--color-text-muted); }
.nw { white-space: nowrap; }
.small { font-size: .875rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--color-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- Type scale ---------- */
.hero__title {
  font-size: var(--fs-1000);
  line-height: var(--lh-1000);
  font-weight: var(--fw-1000);
}
.h-800 { font-size: var(--fs-800); line-height: var(--lh-800); font-weight: var(--fw-800); }
.h-700 { font-size: var(--fs-700); line-height: 1.2; font-weight: 460; }
.h-600, .steps-title, .step-card__word, .equation__op {
  font-size: var(--fs-600); line-height: var(--lh-600); font-weight: 460;
}
.h-500, .flow__title {
  font-size: var(--fs-500); line-height: var(--lh-500); font-weight: 480;
}
.timeline__title, .audience__roles, .formula {
  font-size: var(--fs-400); line-height: 1.4; font-weight: 480;
}

.eyebrow {
  width: fit-content;
  font-size: .875rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .24px;
  text-transform: uppercase;
  color: var(--color-text-emphasized);
  background: linear-gradient(90deg, var(--eyebrow-from), var(--eyebrow-to));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Sections and bands ---------- */
.section { padding-block: 48px; scroll-margin-top: 80px; }
.section--spacious { padding-block: 64px; }
.band--alt { background: var(--color-canvas-alt); }

@media (prefers-color-scheme: dark) {
  main > section + section { border-top: 1px solid rgba(255, 255, 255, .08); }
  .cta-banner { border: 1px solid rgba(255, 255, 255, .12); }
}

.section-intro { max-width: 48rem; margin-bottom: 64px; }
.section-intro > * + * { margin-top: 16px; }
.section-intro__sub {
  max-width: 44rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.section-intro--center { margin-inline: auto; text-align: center; }
.section-intro--center > * { margin-inline: auto; }
.section-intro--center .section-intro__sub, .hero__sub, .hero__position, .cta-banner__sub, .cta-banner__position, .spectrum__note, .scale-caption { text-wrap: balance; }

/* ---------- Pills and chips ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 2px 12px;
  border: 1px solid var(--color-border-default);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  color: var(--color-text-default);
  white-space: nowrap;
}
.pill__dot {
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--color-text-muted);
}
.pill--shipped .pill__dot { background: var(--dot-shipped); }
.pill--progress .pill__dot { background: var(--dot-progress); }
.pill--roadmap { border-style: dashed; }
.pill--roadmap .pill__dot { background: transparent; border: 1.5px solid currentColor; }
.pill__dot--amber { background: #FABF21; }
.pill--xs { gap: 6px; margin-left: 6px; padding: 0 8px; font-size: 12px; vertical-align: 1px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border: 1px solid var(--color-border-muted);
  border-radius: 999px;
  background: var(--chip-bg);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  color: var(--color-text-default);
  white-space: nowrap;
}
.chip--mono { font-family: var(--font-mono); font-weight: 400; letter-spacing: -.01em; }
.chip--dashed { border-style: dashed; border-color: var(--color-border-dashed); background: transparent; }
.chip small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.chips--solid .chip { background: var(--color-canvas-alt); padding: 4px 12px; font-size: 14px; }
.chips--accent .chip { border-color: var(--color-accent); background: transparent; color: var(--color-text-emphasized); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding-inline: 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s cubic-bezier(0.33, 1, 0.68, 1), border-color .2s cubic-bezier(0.33, 1, 0.68, 1);
}
.btn--primary { background: #08872B; color: #ffffff; }
.btn--primary:hover { background: color-mix(in srgb, #08872B, #000 16%); }
.btn--secondary { background: var(--btn2-bg); border-color: var(--btn2-border); color: var(--btn2-fg); }
.btn--secondary:hover { background: var(--btn2-bg-hover); }
.btn--small { min-height: 44px; padding-inline: 14px; font-size: .875rem; }

.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 64px;
  margin-bottom: -64px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: #000000;
}
@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
  .site-header {
    background: rgba(0, 0, 0, .9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}
.site-header__inner { display: flex; align-items: center; gap: 12px; height: 100%; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
}
.pill--wip { padding: 0 8px; font-size: 12px; border-color: rgba(255, 255, 255, .24); color: #D2D9D4; }
.site-nav { display: none; margin-left: 16px; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  border-radius: 6px;
  color: #D2D9D4;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.site-nav a:hover { color: #ffffff; }
.site-header__cta { margin-left: auto; }

/* ---------- Frames ---------- */
.frame { overflow: hidden; }
.frame img { width: 100%; }
.frame--hero {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: #22272e;
  box-shadow: var(--shadow-river), 0 0 0 1px rgba(255, 255, 255, .04), 0 40px 120px rgba(0, 0, 0, .7);
}
.frame--window {
  border: 1px solid var(--color-border-muted);
  border-radius: 12px;
  background: var(--color-canvas-default);
  box-shadow: var(--shadow-river);
}
.band--dark .frame--window {
  border-color: rgba(255, 255, 255, .14);
  background: #22272e;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 24px 80px rgba(0, 0, 0, .6);
}

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 128px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 720px;
  z-index: -1;
  background: radial-gradient(50% 45% at 50% 0%, rgba(140, 242, 166, .20), transparent 70%);
  pointer-events: none;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.pill--hero {
  padding: 6px 16px;
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  font-size: 14px;
  white-space: normal;
}
.hero__title { max-width: 22ch; margin-top: 24px; }
.hero__sub {
  max-width: 44rem;
  margin-top: 24px;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #D2D9D4;
}
.hero__cta { margin-top: 40px; }
.hero__position { margin-top: 24px; font-size: .875rem; color: #D2D9D4; }
.hero__visual { position: relative; width: 100%; max-width: 1200px; margin-top: 56px; }
.hero__visual::before {
  content: "";
  position: absolute;
  inset: -80px -8% 80px;
  z-index: -1;
  background: radial-gradient(55% 60% at 50% 35%, rgba(140, 242, 166, .30), rgba(95, 185, 255, .18) 45%, transparent 72%);
  pointer-events: none;
}

/* ---------- 2. Problem ---------- */
.pillars { display: grid; gap: 40px var(--gap); }
.pillar__icon { color: var(--color-accent); }
.pillar__title { margin-top: 16px; font-size: var(--fs-400); line-height: 1.3; font-weight: 480; }
.pillar__body { margin-top: 8px; color: var(--color-text-muted); }
.pillars--spaced { margin-top: 64px; }

.callout {
  margin-top: 64px;
  padding: 32px;
  border: 1px solid var(--color-border-muted);
  border-left: 4px solid var(--color-accent);
  border-radius: 16px;
  background: var(--color-canvas-alt);
}
.callout__text {
  max-width: 60rem;
  margin-top: 12px;
  font-size: var(--fs-500);
  line-height: var(--lh-500);
  font-weight: 480;
}
.callout__small { max-width: 60rem; margin-top: 16px; font-size: .875rem; color: var(--color-text-muted); }

/* ---------- 3. How it works ---------- */
.flow-figure { position: relative; }
.flow-figure::before {
  content: "";
  position: absolute;
  inset: -80px -40px;
  z-index: -1;
  background: radial-gradient(30% 40% at 62% 45%, rgba(140, 242, 166, .12), transparent 70%);
  pointer-events: none;
}
.how { position: relative; isolation: isolate; overflow: hidden; }

.flow { display: grid; gap: 40px; }
.flow__node {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
}
.flow__node--highlight {
  border-color: transparent;
  background:
    linear-gradient(#0b0f0c, #0b0f0c) padding-box,
    linear-gradient(135deg, #8CF2A6, #5FB9FF) border-box;
  box-shadow: 0 0 48px rgba(140, 242, 166, .18);
}
.flow__step, .step-card__num { font-family: var(--font-mono); font-size: 13px; color: #5FED83; }
.flow__title { margin-top: 12px; }
.flow__text { margin-top: 8px; font-size: 15px; color: #D2D9D4; }
.flow .chips { margin-top: auto; padding-top: 20px; }
.flow__arrow {
  position: absolute;
  top: -36px;
  left: 50%;
  width: 32px;
  height: 32px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: #000000;
  color: #5FED83;
  transform: translateX(-50%) rotate(90deg);
}

.formula {
  width: fit-content;
  max-width: 100%;
  margin: 48px auto 0;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  text-align: center;
  font-weight: 400;
  color: #D2D9D4;
}
.formula__term { font-weight: 560; color: #ffffff; }
.formula__op { padding-inline: 2px; font-weight: 600; color: #5FED83; }

.steps-title { margin-top: 96px; text-align: center; }
.steps { display: grid; gap: 24px; margin-top: 40px; }
.step-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  color: #ffffff;
  text-decoration: none;
}
.step-card__word { margin-top: 12px; }
.step-card__body { margin-top: 12px; font-size: 15px; color: #D2D9D4; }
.step-card__link { margin-top: auto; padding-top: 24px; font-size: 14px; font-weight: 500; color: #BCECFF; }

/* Card hover (D2, bento, status cards). Uses `translate` so it composes with reveal animations. */
.step-card, .bento__item, .card, .status-card {
  transition: translate .4s cubic-bezier(0.01, 0.73, 0.08, 0.93), border-color .2s;
}
.step-card:hover { border-color: #8CF2A6; translate: 0 -4px; }
.bento__item:hover, .card:hover, .status-card:hover { border-color: var(--color-border-default); translate: 0 -4px; }

/* ---------- River (4, 5, 8) ---------- */
.river { display: grid; gap: 40px; align-items: center; }
.river__text > * + * { margin-top: 16px; }
.river__text > .checklist { margin-top: 24px; }
.river__body { font-size: 1.125rem; line-height: 1.55; color: var(--color-text-muted); }

.checklist { display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before {
  content: "";
  position: absolute;
  top: 4px; left: 0;
  width: 16px; height: 16px;
  background: var(--color-text-emphasized);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E") center / 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- 5. Payments example (D5) ---------- */
.example {
  margin-top: 64px;
  padding: 24px;
  border: 1px solid var(--color-border-muted);
  border-radius: 24px;
  background: var(--color-canvas-default);
}
.example__pill { margin-bottom: 24px; }
.example__grid { display: grid; gap: 40px; align-items: center; }
.envs { display: grid; gap: 12px; margin-top: 20px; }
.envs__row {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--color-border-muted);
  border-radius: 12px;
  background: var(--color-canvas-alt);
}
.envs dt { font-size: 15px; font-weight: 600; }
.envs dd { display: flex; flex-wrap: wrap; gap: 8px; }

.equation { display: grid; gap: 12px; }
.equation__box {
  padding: 20px;
  border: 1px solid var(--color-border-muted);
  border-radius: 16px;
  background: var(--color-canvas-alt);
}
.equation__box--result {
  border-color: var(--color-accent);
  background: var(--color-canvas-default);
  box-shadow: 0 0 32px var(--glow-accent);
}
.equation__title { font-size: 1.0625rem; line-height: 1.35; font-weight: 600; }
.equation__text { margin-top: 8px; font-size: .875rem; color: var(--color-text-muted); }
.equation .chips { margin-top: 12px; }
.equation__op { text-align: center; line-height: 1; color: var(--color-text-emphasized); }
.example__caption { margin-top: 32px; font-size: .875rem; color: var(--color-text-muted); }

/* ---------- 6. Delivery ---------- */
.timeline { position: relative; display: grid; gap: 32px; }
.timeline::before {
  content: "";
  position: absolute;
  top: 12px; bottom: 12px; left: 3px;
  width: 2px;
  background: var(--color-border-muted);
}
.timeline__item { position: relative; max-width: calc(44ch + 32px); padding-left: 32px; }
.timeline__item::before {
  content: "";
  position: absolute;
  top: 10px; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-text-emphasized);
  box-shadow: 0 0 0 4px var(--color-canvas-default);
}
.timeline__item p { margin-top: 8px; color: var(--color-text-muted); }

.delivery-grid { display: grid; gap: 40px; align-items: start; margin-top: 64px; }
.terminal {
  overflow-x: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: #0d1117;
  color: #e6edf3;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  box-shadow: var(--shadow-river);
}
.terminal pre { font: inherit; }
.t-mute { color: #8b949e; }
.delivery-side { display: grid; gap: 32px; }
.delivery-side__item > * + * { margin-top: 12px; }
.delivery-side__item .chips { margin-top: 16px; }
.roadmap-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-muted);
  font-size: .875rem;
  color: var(--color-text-muted);
}

/* ---------- 7. Clean context (D4) ---------- */
.compare { position: relative; display: grid; gap: 72px; }
.compare__card {
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  border: 1px solid var(--color-border-muted);
  border-radius: 16px;
  background: var(--color-canvas-default);
}
.compare__card--with { border-color: var(--color-accent); box-shadow: 0 0 40px var(--glow-accent); }
.compare__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .24px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.compare__card--with .compare__label { color: var(--color-text-emphasized); }
.compare__card h3 { margin-top: 8px; }
.compare__meta { margin-top: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--color-text-muted); }
.compare .chips { margin-top: 24px; }
.compare__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  font-size: .875rem;
  font-weight: 500;
}
.compare__foot--danger { color: var(--color-text-danger); }
.compare__foot--ok { color: var(--color-text-emphasized); }
.compare__badge {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border: 1px solid var(--color-border-muted);
  border-radius: 50%;
  background: var(--color-canvas-default);
  color: var(--color-accent);
  box-shadow: var(--shadow-river);
  transform: translate(-50%, -50%) rotate(90deg);
}

/* ---------- 8. Governance ---------- */
.governance { position: relative; isolation: isolate; overflow: hidden; }
.governance::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 900px;
  z-index: -1;
  background: radial-gradient(45% 35% at 50% 0%, rgba(95, 185, 255, .16), transparent 70%);
  pointer-events: none;
}
.spectrum { max-width: 64rem; margin-inline: auto; }
.spectrum__pill { margin-bottom: 20px; }
.spectrum__grid { display: grid; gap: 24px; grid-template-areas: "a" "scale" "b"; }
.spectrum__card--a { grid-area: a; }
.spectrum__card--b { grid-area: b; }
.spectrum__scale { grid-area: scale; padding-block: 8px; }
.spectrum__card {
  padding: 24px 28px;
  border: 1px dashed rgba(255, 255, 255, .24);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
}
.spectrum__mode { font-family: var(--font-mono); font-size: 13px; color: #8CF2A6; }
.spectrum__card--b .spectrum__mode { color: #5FB9FF; }
.spectrum__card h3 { margin-top: 8px; }
.spectrum__card h3 + p { margin-top: 8px; font-size: 15px; color: #D2D9D4; }
.spectrum__label {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  color: #D2D9D4;
}
.spectrum__bar {
  position: relative;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 8px;
  margin-inline: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8CF2A6, #5FB9FF);
}
.spectrum__bar span { width: 2px; height: 16px; border-radius: 1px; background: rgba(255, 255, 255, .4); }
.spectrum__bar::before, .spectrum__bar::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px; height: 16px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #000000;
  transform: translateY(-50%);
}
.spectrum__bar::before { left: -8px; background: #8CF2A6; }
.spectrum__bar::after { right: -8px; background: #5FB9FF; }
.spectrum__note { max-width: 48rem; margin: 32px auto 0; font-size: 15px; text-align: center; color: #D2D9D4; }

.governance__river { margin-top: 80px; }
.status-row { display: grid; gap: 24px; margin-top: 64px; }
.card {
  padding: 32px 24px;
  border: 1px solid var(--color-border-muted);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
}
.card--dashed { border-style: dashed; border-color: var(--color-border-dashed); }
.card__title { margin-top: 16px; }
.card__title + p { margin-top: 8px; }

/* ---------- 9. Who ---------- */
.audience { display: grid; gap: 32px; }
.audience__item { position: relative; padding-top: 24px; border-top: 1px solid var(--color-border-muted); }
.audience__item::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--grad-from), var(--grad-to));
}
.audience__roles { margin-top: 12px; }
.audience__roles + p { margin-top: 12px; }

.bento { display: grid; gap: 16px; margin-top: 64px; }
.bento__item {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--color-border-muted);
  border-radius: 24px;
  background: var(--color-canvas-alt);
}
.bento__item--a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 100% 0%, var(--glow-corner), transparent 70%);
  pointer-events: none;
}
.bento__icon { position: relative; color: var(--color-accent); }
.bento__title { position: relative; margin-top: 16px; }
.bento__item--a .bento__title { margin-top: 32px; }
.bento__body { position: relative; margin-top: 8px; color: var(--color-text-muted); }
.bento__item--a .bento__body { max-width: 36rem; font-size: 1.125rem; }
.bento__item--f { border-style: dashed; border-color: var(--color-border-dashed); }
.bento__item--f .bento__title { margin-top: 16px; }

/* ---------- 10. Scale ---------- */
.scale-grid { position: relative; display: grid; gap: 24px; }
.scale-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--color-border-muted);
  border-radius: 16px;
  background: var(--color-canvas-default);
}
.scale-card__label {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .24px;
  text-transform: uppercase;
  color: var(--color-text-emphasized);
}
.scale-card__title { margin-top: 8px; }
.dotlist { display: grid; gap: 10px; margin-top: 20px; }
.dotlist li { position: relative; padding-left: 20px; }
.dotlist li::before {
  content: "";
  position: absolute;
  top: .62em; left: 2px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-border-default);
}
.scale-caption { margin-top: 32px; font-size: .875rem; text-align: center; color: var(--color-text-muted); }

/* ---------- 11. Status ---------- */
.status-grid { display: grid; gap: 24px; align-items: start; }
.status-card {
  padding: 32px 24px;
  border: 1px solid var(--color-border-muted);
  border-radius: 16px;
  background: var(--color-canvas-default);
}
.status-card--shipped { background: var(--color-canvas-alt); }
.status-card--roadmap { border-style: dashed; border-color: var(--color-border-dashed); }
.status-card__head { display: flex; }
.status-card .pill { padding: 4px 14px; font-size: 14px; }
.status-list { display: grid; gap: 12px; margin-top: 24px; font-size: 15px; }
.status-list li { position: relative; padding-left: 26px; }
.status-list li::before {
  content: "";
  position: absolute;
  top: 5px; left: 0;
  width: 14px; height: 14px;
}
.status-card--shipped li::before {
  background: var(--dot-shipped);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E") center / 14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.status-card--progress li::before {
  top: 8px; left: 3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--dot-progress);
}
.status-card--roadmap li::before {
  top: 8px; left: 3px;
  width: 8px; height: 8px;
  border: 1.5px solid var(--color-text-muted);
  border-radius: 50%;
}

/* ---------- 12. Contact ---------- */
.cta-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px;
  border-radius: 24px;
  background: var(--cta-bg);
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 90% 55% at 50% 115%,
    color-mix(in srgb, var(--cta-start) 22%, transparent),
    color-mix(in srgb, var(--cta-end) 14%, transparent) 50%,
    transparent 75%);
  pointer-events: none;
}
.cta-banner .h-800 { margin-top: 16px; }
.cta-banner__sub { max-width: 40rem; margin-top: 16px; font-size: 1.125rem; line-height: 1.55; color: var(--color-text-muted); }
.cta-banner .btn { margin-top: 40px; }
.cta-banner__link { margin-top: 12px; font-size: 1rem; }
.cta-banner__position { max-width: 40rem; margin-top: 32px; font-size: .875rem; color: var(--color-text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 48px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .875rem;
  color: #D2D9D4;
}
.site-footer__inner { display: grid; gap: 32px; }
.site-footer__brand > * + * { margin-top: 8px; }
.site-footer__notes { display: grid; gap: 4px; }
.site-footer .text-link { min-height: 44px; }

/* ---------- Breakpoints ---------- */
@media (max-width: 33.99rem) {
  .pill--wip { display: none; }
  .pill--hero { gap: 6px; padding: 4px 12px; font-size: 13px; white-space: nowrap; }
  .frame--hero img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% 0; }
  .t-cmt { display: block; margin-bottom: 6px; }
  .hero { padding-bottom: 64px; }
  .cta-row { flex-direction: column; align-self: stretch; }
}

@media (min-width: 48rem) {
  .container { padding-inline: 40px; }
  .section { padding-block: 64px; }
  .section--spacious { padding-block: 80px; }
  .hero { padding-top: 160px; padding-bottom: 96px; }
  .hero__sub { font-size: 1.25rem; }
  .btn { min-height: 56px; }
  .btn--small { min-height: 44px; }
  .site-nav { display: block; }

  .pillars--4 { grid-template-columns: repeat(2, 1fr); gap: 48px var(--gap); }
  .callout { padding: 40px; }

  .flow { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .flow__arrow { top: 50%; left: -40px; transform: translateY(-50%); }
  .flow__node:nth-child(3) .flow__arrow { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }

  .example { padding: 40px; }
  .envs__row { grid-template-columns: 7.5rem 1fr; align-items: center; }
  .equation { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
  .equation__op { align-self: center; }

  .delivery-grid { grid-template-columns: 1fr 1fr; gap: var(--gap); }

  .compare { grid-template-columns: 1fr 1fr; gap: 80px; }
  .compare__card { padding: 32px; }
  .compare__badge { transform: translate(-50%, -50%); }

  .spectrum__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "a b" "scale scale"; gap: 32px; }
  .spectrum__card--b { text-align: right; }
  .status-row { grid-template-columns: 1fr 1fr; gap: var(--gap); }
  .card { padding: 32px; }

  .audience { grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
  .bento { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .bento__item--a, .bento__item--f { grid-column: span 2; }
  .bento__item--f { display: flex; align-items: center; gap: 24px; }
  .bento__item--f .bento__title { flex: none; margin-top: 0; }
  .bento__item--f .bento__body { margin-top: 0; }

  .scale-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 40px; }
  .scale-grid::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 39px;
    right: calc((100% - 64px) / 3 - 39px);
    height: 2px;
    background: linear-gradient(90deg, var(--grad-from), var(--grad-to));
  }
  .scale-card::before {
    content: "";
    position: absolute;
    top: -41px; left: 32px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--grad-from);
    box-shadow: 0 0 0 4px var(--color-canvas-alt);
  }
  .scale-card:nth-child(2)::before { background: color-mix(in srgb, var(--grad-from), var(--grad-to)); }
  .scale-card:nth-child(3)::before { background: var(--grad-to); }

  .status-card { padding: 32px; }
  .cta-banner { padding: 64px 48px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__notes { justify-items: end; text-align: right; }
}

@media (min-width: 63.25rem) {
  .section { padding-block: 96px; }
  .section--spacious { padding-block: 128px; }
  .hero { padding-top: 192px; padding-bottom: 96px; }
  .hero__title { letter-spacing: -0.035em; }

  .pillars--4 { grid-template-columns: repeat(4, 1fr); }

  .flow { grid-template-columns: repeat(4, 1fr); }
  .flow__node:nth-child(3) .flow__arrow { display: block; }
  .steps { grid-template-columns: repeat(4, 1fr); }

  .river { grid-template-columns: repeat(12, 1fr); gap: 48px; }
  .river__text { grid-column: 1 / span 5; grid-row: 1; }
  .river__visual { grid-column: 6 / span 7; grid-row: 1; }
  .river--reverse .river__text { grid-column: 8 / span 5; }
  .river--reverse .river__visual { grid-column: 1 / span 7; }
  .governance__river { margin-top: 96px; }

  .example__grid { grid-template-columns: 1fr; gap: 48px; }
  .envs { grid-template-columns: repeat(3, 1fr); }
  .envs__row { grid-template-columns: 1fr; align-items: start; }
  .envs dd { flex-direction: column; align-items: flex-start; }
  .flow__title { min-height: 2.7em; }

  .timeline { grid-template-columns: repeat(4, 1fr); gap: var(--gap); padding-top: 32px; }
  .timeline::before {
    top: 3px; bottom: auto; left: 0; right: 0;
    width: auto; height: 2px;
    background: linear-gradient(90deg, var(--color-border-muted) 85%, transparent);
  }
  .timeline__item { padding-left: 0; }
  .timeline__item::before { top: -32px; }

  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento__item { grid-column: span 2; padding: 40px; }
  .bento__item--a { grid-column: span 4; }
  .bento__item--f { grid-column: span 6; }

  .status-grid { grid-template-columns: 2fr 1fr; gap: 32px; align-items: stretch; }
  .status-card--shipped { grid-row: span 2; }
  .status-card--shipped .status-list { display: block; columns: 2; column-gap: 40px; }
  .status-card--shipped .status-list li { break-inside: avoid; margin-bottom: 12px; }
  .cta-banner { padding: 96px 64px; }
}

/* ---------- Motion ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px) scale(.96); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero__pill, .hero__title, .hero__sub, .hero__cta, .hero__position, .hero__visual {
    animation: fade-up .6s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .hero__title { animation-delay: 80ms; }
  .hero__sub { animation-delay: 160ms; }
  .hero__cta, .hero__position { animation-delay: 240ms; }
  .hero__visual { animation-delay: 320ms; }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: fade-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
