:root {
  color-scheme: light;
  --paper: #f2f0e8;
  --paper-strong: #e8e5da;
  --panel: #fffdf7;
  --ink: #14241f;
  --ink-soft: #31423b;
  --muted: #657069;
  --line: #c9c8be;
  --line-strong: #8e958e;
  --accent: #e4572e;
  --accent-dark: #ad3519;
  --green: #0b6b50;
  --green-soft: #dcece4;
  --yellow: #f0c94f;
  --code: #10241e;
  --code-soft: #173229;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 16px 40px rgb(20 36 31 / 8%);
  --max-width: 1180px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgb(20 36 31 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(20 36 31 / 4%) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0 0 auto;
  height: 360px;
  background: var(--panel);
  border-bottom: 1px solid rgb(20 36 31 / 5%);
  content: "";
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-dark);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgb(255 253 247 / 88%);
  backdrop-filter: blur(18px);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgb(20 36 31 / 7%);
}

.nav-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--panel);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.08em;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-nav a {
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--paper-strong);
  color: var(--ink);
}

.site-nav .nav-github {
  margin-left: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--panel);
}

.site-nav .nav-github:hover {
  background: var(--green);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

main {
  overflow: hidden;
}

.page-hero {
  padding: 96px 0 72px;
}

.home-hero {
  padding-top: 78px;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
}

.eyebrow,
.section-kicker,
.card-kicker,
.mono-label {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgb(228 87 46 / 14%);
  content: "";
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7.4vw, 92px);
  font-weight: 880;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.page-hero:not(.home-hero) h1 {
  max-width: 920px;
  font-size: clamp(46px, 6.4vw, 78px);
}

.accent-text {
  color: var(--accent);
}

.lede {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 780;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
  color: inherit;
  box-shadow: 0 8px 20px rgb(20 36 31 / 12%);
}

.button-primary {
  background: var(--ink);
  color: var(--panel);
}

.button-primary:hover {
  background: var(--green);
  color: var(--white);
}

.button-secondary {
  background: var(--panel);
}

.text-link {
  color: var(--green);
  font-weight: 780;
}

.signal-board {
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--code);
  box-shadow: 16px 16px 0 var(--yellow);
  color: #e7f3ec;
}

.signal-head {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  color: #aac2b7;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live-dot::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64d7a4;
  box-shadow: 0 0 0 4px rgb(100 215 164 / 13%);
  content: "";
}

.signal-body {
  display: grid;
  gap: 0;
  padding: 20px;
}

.signal-row {
  display: grid;
  min-height: 56px;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  grid-template-columns: 30px 104px 1fr;
}

.signal-row:last-child {
  border-bottom: 0;
}

.signal-index,
.signal-code {
  font-family: var(--font-mono);
  font-size: 12px;
}

.signal-index {
  color: #709586;
}

.signal-code {
  color: #f5d35c;
}

.signal-state {
  color: #e7f3ec;
  font-weight: 720;
}

.hero-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.metric-strip {
  display: grid;
  overflow: hidden;
  margin-top: 70px;
  border-block: 1px solid var(--line-strong);
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  min-height: 122px;
  padding: 24px;
  border-right: 1px solid var(--line-strong);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 32px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 100px 0;
}

.section-compact {
  padding: 68px 0;
}

.section-dark {
  background: var(--ink);
  color: #e8f1ec;
}

.section-cream {
  border-block: 1px solid var(--line);
  background: var(--panel);
}

.section-head {
  display: grid;
  align-items: end;
  gap: 30px;
  margin-bottom: 46px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
}

.section-head h2 {
  max-width: 760px;
  margin: 8px 0 0;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 860;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-dark .section-head p,
.section-dark .muted {
  color: #9fb3aa;
}

.section-dark .section-kicker {
  color: #75d5ac;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.card h3 {
  margin: 10px 0 12px;
  font-size: 22px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul,
.check-list,
.plain-list {
  padding: 0;
  list-style: none;
}

.card li,
.check-list li {
  position: relative;
  margin: 8px 0;
  padding-left: 20px;
}

.card li::before,
.check-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.resource-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  border-color: var(--ink);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.resource-card .resource-index {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.resource-card .resource-arrow {
  align-self: flex-end;
  font-size: 26px;
}

.closure-rail {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.closure-item {
  display: grid;
  min-height: 118px;
  align-items: center;
  gap: 24px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line-strong);
  grid-template-columns: 56px minmax(190px, 0.65fr) minmax(0, 1fr) auto;
}

.closure-number {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 14px;
}

.closure-name {
  font-size: 21px;
  font-weight: 830;
  letter-spacing: -0.025em;
}

.closure-item p {
  margin: 0;
  color: var(--muted);
}

.closure-output,
.tag,
.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.closure-output {
  border-color: transparent;
  background: var(--green-soft);
  color: var(--green);
}

.system-map {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius-lg);
  background: var(--code-soft);
}

.map-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.map-node {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgb(255 255 255 / 17%);
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 4%);
}

.map-node strong {
  display: block;
  margin-bottom: 7px;
  color: #ffffff;
  font-size: 14px;
}

.map-node span {
  color: #92aa9f;
  font-size: 12px;
}

.map-node.is-active {
  border-color: #78d6ae;
  background: rgb(11 107 80 / 28%);
}

.delivery-subgraph {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgb(240 201 79 / 48%);
  border-radius: var(--radius);
  background: rgb(240 201 79 / 7%);
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.delivery-node {
  padding: 13px;
  border-radius: var(--radius-sm);
  background: #223a32;
  color: #eaf4ee;
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: center;
}

.process-list {
  counter-reset: process;
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.process-list li {
  counter-increment: process;
  display: grid;
  align-items: start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 42px 1fr;
}

.process-list li::before {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--panel);
  content: counter(process, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px;
}

.process-list strong {
  display: block;
  margin-bottom: 5px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

.code-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--code);
  color: #dcebe3;
}

.code-head {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border-bottom: 1px solid rgb(255 255 255 / 13%);
  color: #91aa9f;
  font-family: var(--font-mono);
  font-size: 11px;
}

.code-card pre {
  overflow-x: auto;
  margin: 0;
  padding: 22px;
  color: #e9f4ee;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre;
}

.copy-button {
  padding: 6px 10px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  background: transparent;
  color: #dcebe3;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
}

.copy-button:hover {
  border-color: #78d6ae;
  color: #78d6ae;
}

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

:not(pre) > code {
  padding: 0.15em 0.36em;
  border-radius: 5px;
  background: var(--paper-strong);
  font-size: 0.88em;
}

.notice {
  padding: 22px 24px;
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--panel);
}

.notice strong {
  display: block;
  margin-bottom: 5px;
}

.notice p:last-child {
  margin-bottom: 0;
}

.page-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 38px;
}

.page-index a {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.page-index a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.agent-card {
  display: flex;
  min-height: 286px;
  flex-direction: column;
}

.agent-card .agent-id {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
}

.agent-card .agent-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
}

.agent-card .tag {
  color: var(--green);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  min-width: 150px;
  padding: 17px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th:last-child,
td:last-child {
  border-right: 0;
}

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

thead th {
  background: var(--ink);
  color: var(--panel);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tbody th {
  color: var(--ink);
  font-weight: 790;
}

.cell-strong {
  background: var(--green-soft);
  color: var(--green);
  font-weight: 720;
}

.cell-soft {
  color: var(--muted);
}

.bundle-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bundle-item {
  min-height: 150px;
  padding: 22px;
  background: var(--panel);
}

.bundle-item code {
  display: block;
  margin-bottom: 9px;
  padding: 0;
  background: transparent;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.bundle-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.state-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.state {
  display: grid;
  min-height: 84px;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 760;
  text-align: center;
}

.state.is-gate {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.state.is-done {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
}

.two-column-copy {
  display: grid;
  align-items: start;
  gap: 54px;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.sticky-copy {
  position: sticky;
  top: 112px;
}

.sticky-copy h2 {
  margin: 10px 0 18px;
  font-size: clamp(34px, 4.2vw, 54px);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.sticky-copy p {
  color: var(--muted);
}

.definition-list {
  margin: 0;
}

.definition-list > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.definition-list dt {
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 800;
}

.definition-list dd {
  margin: 0;
  color: var(--muted);
}

.cta-panel {
  display: grid;
  align-items: center;
  gap: 34px;
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--yellow);
  grid-template-columns: minmax(0, 1fr) auto;
}

.cta-panel h2 {
  max-width: 760px;
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.cta-panel p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
}

.site-footer {
  padding: 52px 0 30px;
  background: var(--ink);
  color: #dce8e1;
}

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

.footer-copy {
  max-width: 520px;
}

.footer-copy p {
  color: #94a9a0;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 8px 28px;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
}

.footer-links a {
  color: #dce8e1;
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #78d6ae;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 13%);
  color: #839a90;
  font-family: var(--font-mono);
  font-size: 10px;
}

.muted {
  color: var(--muted);
}

.only-mobile {
  display: none;
}

@media (max-width: 980px) {
  .js .nav-toggle {
    display: block;
  }

  .js .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .js .site-nav.is-open {
    display: grid;
  }

  .js .site-nav a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .js .site-nav .nav-github {
    margin: 4px 0 0;
    text-align: center;
  }

  .hero-grid,
  .section-head,
  .two-column-copy {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 54px;
  }

  .signal-board {
    max-width: 680px;
  }

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

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

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

  .delivery-subgraph {
    grid-template-columns: repeat(5, minmax(110px, 1fr));
    overflow-x: auto;
  }

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

  .sticky-copy {
    position: static;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand-copy small {
    display: none;
  }

  .page-hero,
  .home-hero {
    padding: 62px 0 48px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .page-hero:not(.home-hero) h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .signal-board {
    box-shadow: 8px 8px 0 var(--yellow);
  }

  .signal-row {
    gap: 8px;
    grid-template-columns: 26px 76px 1fr;
  }

  .signal-code,
  .signal-state {
    font-size: 11px;
  }

  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-strong);
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    gap: 18px;
    margin-bottom: 32px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .bundle-list {
    grid-template-columns: 1fr;
  }

  .closure-item {
    gap: 9px 16px;
    grid-template-columns: 38px 1fr;
  }

  .closure-item p,
  .closure-output {
    grid-column: 2;
  }

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

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

  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel .button {
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
