:root {
  --paper: #f3f5f4;
  --surface: #ffffff;
  --ink: #142130;
  --slate: #607184;
  --blue: #2457d6;
  --teal: #16795b;
  --retained: #8d771a;
  --failed: #c53f52;
  --grid: #c8d6e1;
  --line: color-mix(in srgb, var(--ink) 14%, var(--surface));
  --blue-wash: color-mix(in srgb, var(--blue) 6%, var(--surface));
  --teal-wash: color-mix(in srgb, var(--teal) 6%, var(--surface));
  --display: "Bahnschrift", "Aptos Display", "Segoe UI", sans-serif;
  --body: "Segoe UI Variable", "Segoe UI", sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-underline-offset: 4px; }
button:not(:disabled), summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
::selection { background: var(--blue); color: var(--surface); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
p { line-height: 1.65; }
code, pre { font-family: var(--mono); }
svg { display: block; }
[hidden] { display: none !important; }
.shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.eyebrow { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 1.25px; line-height: 1.6; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 10; background: var(--ink); color: var(--surface); border-radius: 8px; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { width: auto; height: auto; clip-path: none; padding: 12px 20px; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 100px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 22px; text-decoration: none; }
.wordmark { font-family: var(--display); font-size: 44px; font-weight: 700; letter-spacing: -1.5px; line-height: 1; text-decoration: none; }
.brand-caption { padding-left: 20px; border-left: 1px solid var(--line); font: 9px/1.6 var(--mono); letter-spacing: 1px; }
.navigation { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 500; }
.navigation a, .repo-link { text-decoration: none; }
.navigation a:hover, .footer-links a:hover { color: var(--blue); text-decoration: underline; }
.repo-link { display: flex; gap: 12px; align-items: center; font-size: 12px; font-weight: 600; border: 1px solid var(--line); background: var(--surface); border-radius: 7px; padding: 12px 16px; }
.repo-link:hover { border-color: var(--blue); }

.hero { padding-block: 65px 66px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: 9px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
h1 { font-size: clamp(48px, 5.15vw, 74px); font-weight: 500; line-height: 1.05; letter-spacing: -2.8px; margin-top: 26px; }
h1 > span { color: var(--blue); }
.hero-description { max-width: 430px; margin-top: 25px; font-size: 16px; color: var(--slate); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 30px; border: 1px solid transparent; border-radius: 6px; padding: 15px 23px; font-size: 13px; font-weight: 600; text-decoration: none; transition: background 160ms, transform 160ms; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: var(--surface); }
.button-primary:hover { background: var(--ink); }
.button-quiet { border-color: var(--line); background: var(--surface); }
.button-quiet:hover { border-color: var(--blue); }
.hero-footnote { font-size: 10px; color: var(--slate); margin-top: 19px; }

.workbench { position: relative; min-width: 0; container-type: inline-size; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 48px -32px color-mix(in srgb, var(--ink) 40%, transparent); overflow: hidden; }
.workbench-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 22px; padding-block: 19px; border-bottom: 1px solid var(--line); }
.workbench-heading .eyebrow { font-size: 9px; letter-spacing: 1px; }
.workbench-label { color: var(--slate); font: 9px var(--mono); white-space: nowrap; }
.workbench-label > span { margin-right: 5px; font-size: 15px; }
.study-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding: 16px 22px; gap: 10px; border-bottom: 1px solid var(--line); background: var(--paper); }
.study-strip > span { display: flex; align-items: baseline; gap: 7px; font: 9px var(--mono); color: var(--slate); }
.study-strip strong { color: var(--ink); font: 600 22px var(--display); }
.chart-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 20px 22px 9px; }
.chart-heading h2 { font-size: 19px; font-weight: 600; letter-spacing: -0.5px; }
.chart-heading > span { font: 8px var(--mono); color: var(--slate); }
.graph-viewport { overflow-x: auto; overscroll-behavior-x: contain; margin-inline: 12px; scrollbar-color: var(--grid) var(--paper); scrollbar-width: thin; }
.graph-viewport:focus-visible { outline-offset: -3px; }
.experiment-tree { position: relative; height: 360px; min-width: 480px; background-image: linear-gradient(color-mix(in srgb, var(--grid) 22%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--grid) 22%, transparent) 1px, transparent 1px); background-size: 16px 16px; }
.tree-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart-grid path { stroke: var(--grid); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-grid text { fill: var(--slate); font: 9px var(--mono); }
.tree-link { stroke: var(--grid); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: stroke-width 160ms, opacity 160ms; }
.best-line { stroke: var(--blue); stroke-width: 2; }
.donor-line { stroke: var(--retained); stroke-width: 1.8; stroke-dasharray: 5 4; }
.tree-link.is-related { stroke-width: 2.5; }
.experiment-tree.has-selection .tree-link:not(.is-related) { opacity: 0.45; }
.round-labels > span { position: absolute; top: 8px; transform: translateX(-50%); font: 8px var(--mono); color: var(--slate); white-space: nowrap; }
.round-labels > span:nth-child(1) { left: 9.6667%; }
.round-labels > span:nth-child(2) { left: 34.1667%; }
.round-labels > span:nth-child(3) { left: 61.1667%; }
.round-labels > span:nth-child(4) { left: 89.5%; }
.experiment-node { position: absolute; transform: translate(-50%, -50%); width: 68px; height: 60px; padding: 0; border: 0; border-radius: 5px; background: transparent; }
.experiment-node:disabled { opacity: 1; }
.node-name, .node-score { position: absolute; left: 50%; transform: translateX(-50%); background: var(--surface); padding-inline: 3px; line-height: 1.2; white-space: nowrap; }
.node-name { top: 1px; font: 600 10px var(--mono); }
.node-score { bottom: 1px; font: 9px var(--mono); color: var(--slate); }
.node-dot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 15px; height: 15px; background: var(--teal); border: 2px solid var(--surface); border-radius: 50%; transition: box-shadow 160ms; }
.experiment-node.is-ancestor .node-dot { box-shadow: 0 0 0 3px var(--blue-wash); }
.experiment-node[aria-pressed="true"] .node-dot, .experiment-node:not(:disabled):hover .node-dot { box-shadow: 0 0 0 2px var(--blue); }
.experiment-node[aria-pressed="true"] .node-name { color: var(--blue); }
.node-baseline { left: 9.6667%; top: 254px; }
.node-approved { left: 34.1667%; top: 164px; }
.node-retained { left: 34.1667%; top: 244px; }
.node-rejected { left: 34.1667%; top: 309px; }
.node-refined { left: 61.1667%; top: 89px; }
.node-donor { left: 61.1667%; top: 179px; }
.node-regressed { left: 61.1667%; top: 264px; }
.node-combined { left: 89.5%; top: 54px; }
.node-retained .node-dot { background: var(--retained); border-radius: 3px; transform: translate(-50%, -50%) rotate(45deg); }
.node-failed .node-dot { background: var(--failed); }
.node-failed .node-dot::after { content: "×"; position: absolute; inset: 0; color: var(--surface); font: 12px/10px var(--mono); text-align: center; }
.graph-key { display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 12px 22px 10px; border-top: 1px solid var(--line); }
.graph-key > span { display: inline-flex; align-items: center; gap: 6px; font: 9px var(--mono); color: var(--slate); }
.key-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.key-retained { background: var(--retained); border-radius: 1px; transform: rotate(45deg); }
.key-failed { background: var(--failed); color: var(--surface); font: 9px/7px var(--mono); text-align: center; }
.key-line { width: 16px; height: 0; border-top: 2px solid var(--blue); }
.key-donor { border-top: 2px dashed var(--retained); }
.graph-description { margin: 0 22px 16px; font-size: 11px; color: var(--slate); }
.graph-scroll-hint { display: none; margin: -6px 22px 16px; font: 10px var(--mono); color: var(--blue); }
.experiment-detail { margin: 0 18px; padding: 17px 18px 19px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; min-height: 207px; }
.detail-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.detail-id { font: 10px var(--mono); color: var(--slate); }
.detail-status { font: 8px var(--mono); letter-spacing: 0.6px; color: var(--teal); border: 1px solid color-mix(in srgb, var(--teal) 25%, var(--surface)); border-radius: 3px; padding: 3px 6px; background: var(--surface); }
.experiment-detail h2 { font-size: 17px; letter-spacing: -0.4px; font-weight: 600; }
.experiment-detail p { font-size: 11px; color: var(--slate); margin-top: 7px; line-height: 1.65; }
.experiment-detail .detail-sources { font: 10px/1.6 var(--mono); color: var(--blue); }
.evidence-stamps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; font: 8px var(--mono); color: var(--slate); }
.evidence-stamps > span::before { content: "·"; color: var(--teal); margin-right: 5px; }
.workbench-caption { text-align: center; padding: 13px 12px 15px; color: var(--slate); font-size: 9px; }
.interactive-hint { display: block; }

.foundation { display: grid; grid-template-columns: 1.15fr 1fr 1.25fr 1fr; gap: 30px; align-items: center; border-block: 1px solid var(--line); padding-block: 25px; }
.foundation > p { font-size: 11px; color: var(--slate); }
.foundation strong { font-weight: 500; color: var(--ink); }
.foundation > div { display: flex; align-items: center; gap: 13px; font-size: 12px; font-weight: 600; }
.foundation small { display: block; font-size: 10px; margin-top: 4px; color: var(--slate); font-weight: 400; }
.foundation-symbol { color: var(--blue); font: 22px var(--mono); flex: 0 0 auto; }

.section { padding-block: 96px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 37px; }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.13; font-weight: 500; letter-spacing: -1.8px; }
.section-heading h2, .start-copy h2, .faq-section h2, .closing h2 { margin-top: 15px; }
.section-heading > p { max-width: 355px; color: var(--slate); font-size: 14px; padding-bottom: 3px; }
.phase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.phase { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 29px; }
.phase-optimize { background: var(--blue-wash); border-color: color-mix(in srgb, var(--blue) 20%, var(--surface)); }
.phase-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 27px; }
.phase-number { color: var(--slate); font: 10px var(--mono); letter-spacing: 1px; }
.phase-top code { color: var(--blue); font-size: 11px; }
.phase h3 { font-size: 24px; letter-spacing: -0.8px; font-weight: 500; margin-bottom: 13px; }
.phase > p:not(.phase-output) { font-size: 13px; color: var(--slate); max-width: 455px; }
.phase-flow { display: flex; align-items: center; gap: 12px; margin-block: 26px; }
.phase-flow span { font: 10px var(--mono); border: 1px solid var(--line); background: var(--surface); border-radius: 4px; padding: 9px 12px; }
.phase-flow i { color: var(--slate); font-style: normal; }
.phase-output { border-top: 1px solid var(--line); padding-top: 18px; font-size: 11px; color: var(--slate); }
.phase-output span { display: block; font: 8px var(--mono); letter-spacing: 1px; color: var(--ink); margin-bottom: 7px; }
.human-boundary { display: flex; align-items: center; gap: 15px; margin-top: 25px; font-size: 11px; color: var(--slate); }
.human-boundary > span { color: var(--blue); font: 30px var(--mono); }
.human-boundary strong { color: var(--ink); font-weight: 500; }
.human-boundary > a { margin-left: auto; text-decoration: none; color: var(--blue); white-space: nowrap; }
.human-boundary > a:hover { text-decoration: underline; }

.evidence-section { background: var(--surface); border-block: 1px solid var(--line); }
.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 46px; }
.evidence-feature { padding-block: 28px 31px; border-top: 1px solid var(--line); }
.feature-mark { font: 23px var(--mono); letter-spacing: 1px; color: var(--blue); }
.evidence-feature h3 { margin-top: 20px; font-size: 19px; letter-spacing: -0.55px; font-weight: 500; }
.evidence-feature p { margin-top: 11px; color: var(--slate); font-size: 12px; }
.evidence-feature > code { display: block; margin-top: 22px; font-size: 9px; color: var(--slate); }
.evidence-note { padding-top: 21px; border-top: 1px solid var(--line); color: var(--slate); font-size: 11px; }

.getting-started { display: grid; grid-template-columns: 0.85fr 1fr; gap: 90px; }
.start-copy > p:not(.eyebrow) { margin-top: 22px; color: var(--slate); max-width: 385px; }
.start-copy > p:not(.eyebrow):not(.start-note) { font-size: 14px; }
.requirements { list-style: none; padding: 0; margin: 27px 0; font-size: 12px; }
.requirements li { display: flex; align-items: center; gap: 11px; margin-block: 12px; }
.requirements span { color: var(--teal); }
.start-note { font-size: 11px; }
.text-link { display: inline-block; font-size: 12px; font-weight: 500; margin-top: 23px; color: var(--blue); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.start-instructions { min-width: 0; }
.command-card, .prompt-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.command-card { margin-bottom: 14px; }
.command-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 57px; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 500; }
.command-heading > span { display: flex; align-items: center; gap: 10px; }
.step-dot { display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 21px; border: 1px solid var(--line); border-radius: 50%; color: var(--slate); font: 10px var(--mono); flex: 0 0 auto; }
.copy-button { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 4px; padding: 6px 9px; background: var(--paper); color: var(--slate); font: 9px var(--mono); }
.copy-button:hover { border-color: var(--blue); color: var(--blue); }
pre { margin: 0; padding: 21px 20px 13px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; line-height: 1.95; }
.command-note { padding: 0 20px 17px; color: var(--slate); font-size: 9px; }
.prompt-text { padding: 20px; font: 11px/1.85 var(--mono); color: var(--slate); overflow-wrap: anywhere; }
.next-step { display: flex; gap: 12px; padding: 22px 0 0; font-size: 11px; color: var(--slate); }
.next-step strong { font-weight: 500; color: var(--ink); }
.next-step code { font-size: 10px; }
.next-step a { color: var(--blue); }
.copy-status { font-size: 11px; color: var(--teal); min-height: 30px; padding-top: 8px; }
.copy-status.is-error { color: var(--ink); }

.faq-section { display: grid; grid-template-columns: 0.85fr 1fr; gap: 90px; padding-block: 0 90px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; padding-block: 21px; font-size: 14px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--blue); font: 20px var(--mono); transition: transform 160ms; }
details[open] summary span { transform: rotate(45deg); }
details p { font-size: 12px; color: var(--slate); padding-bottom: 23px; }
details a { color: var(--blue); }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--blue-wash); border: 1px solid color-mix(in srgb, var(--blue) 18%, var(--surface)); border-radius: 10px; padding: 45px; margin-bottom: 80px; }
.closing h2 { font-size: 34px; }
.closing .button { flex: 0 0 auto; }
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 23px; }
.footer-brand .wordmark { font-size: 32px; letter-spacing: -1px; }
.footer-brand p { font-size: 11px; color: var(--slate); }
.footer-links { display: flex; gap: 25px; font-size: 11px; }
.footer-links a { text-decoration: none; }
.attribution { flex-basis: 100%; color: var(--slate); font-size: 10px; }
.attribution a { text-decoration-color: var(--line); }

@container (max-width: 504px) {
  .graph-scroll-hint { display: block; }
}

@media (min-width: 1600px) {
  .hero { padding-block: 104px; }
}

@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .hero { gap: 28px; }
  h1 { font-size: 57px; letter-spacing: -2px; }
  .brand-caption { display: none; }
  .study-strip { padding-inline: 16px; }
  .study-strip > span { gap: 5px; font-size: 8px; }
  .chart-heading { padding-inline: 16px; }
  .chart-heading h2 { font-size: 17px; }
  .chart-heading > span { font-size: 7px; }
  .workbench-heading { margin-inline: 16px; }
  .workbench-heading .eyebrow { font-size: 8px; }
  .workbench-label { font-size: 8px; }
  .foundation { gap: 20px; }
  .foundation > div { font-size: 10px; }
  .phase { padding: 24px; }
  .phase-flow { gap: 8px; }
  .phase-flow span { padding: 8px; }
  .getting-started, .faq-section { gap: 48px; }
  .evidence-grid { column-gap: 28px; }
}

@media (max-width: 860px) {
  .header-inner { min-height: 82px; gap: 20px; }
  .navigation { gap: 20px; font-size: 12px; }
  .repo-link { font-size: 11px; padding: 10px; gap: 8px; }
  .wordmark { font-size: 45px; }
  .hero { grid-template-columns: 1fr; padding-block: 55px; gap: 40px; }
  .hero-copy { max-width: 590px; }
  h1 { font-size: 72px; }
  .hero-description { max-width: 470px; }
  .workbench { width: 100%; max-width: 640px; justify-self: center; }
  .workbench-heading .eyebrow { font-size: 10px; }
  .workbench-label { font-size: 10px; }
  .experiment-detail p { font-size: 12px; }
  .foundation { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foundation > div { font-size: 12px; }
  .section { padding-block: 65px; }
  .section-heading { align-items: flex-start; gap: 35px; }
  .section-heading > p { max-width: 260px; font-size: 12px; }
  .phase-grid { gap: 14px; }
  .phase { padding: 20px; }
  .phase-top { display: block; }
  .phase-top code { display: block; margin-top: 10px; }
  .phase h3 { font-size: 22px; }
  .phase-flow { flex-wrap: wrap; gap: 7px; }
  .phase-flow span { font-size: 9px; padding: 7px; }
  .human-boundary { flex-wrap: wrap; }
  .human-boundary > a { margin-left: 34px; flex-basis: 100%; }
  .evidence-grid { grid-template-columns: 1fr 1fr; gap: 0 30px; }
  .getting-started, .faq-section { grid-template-columns: 1fr; gap: 30px; }
  .start-copy > p:not(.eyebrow) { max-width: 530px; }
  .faq-section { padding-bottom: 60px; }
  .closing { padding: 32px; margin-bottom: 55px; }
  .closing h2 { font-size: 28px; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 76px; flex-wrap: wrap; gap: 0; padding-block: 16px 12px; }
  .wordmark { font-size: 36px; letter-spacing: -1.5px; }
  .brand { order: 0; }
  .repo-link { order: 1; font-size: 10px; padding: 9px 11px; }
  .navigation { order: 2; justify-content: space-between; width: 100%; padding-top: 19px; gap: 12px; font-size: 11px; }
  .hero { padding-block: 42px; gap: 33px; }
  .hero-copy > .eyebrow { font-size: 8px; letter-spacing: 0.9px; }
  h1 { font-size: clamp(43px, 10.7vw, 60px); letter-spacing: -1.6px; margin-top: 21px; }
  .hero-description { font-size: 14px; margin-top: 22px; max-width: 370px; }
  .hero-actions { gap: 9px; margin-top: 23px; }
  .button { font-size: 12px; gap: 19px; padding: 13px 17px; }
  .hero-footnote { font-size: 9px; }
  .workbench-heading { padding-block: 15px; margin-inline: 13px; gap: 5px; }
  .workbench-heading .eyebrow { font-size: 7px; letter-spacing: 0.5px; }
  .workbench-label { font-size: 7px; }
  .study-strip { padding: 13px; gap: 8px; }
  .study-strip > span { display: block; font-size: 8px; }
  .study-strip strong { display: block; font-size: 22px; margin-bottom: 4px; }
  .chart-heading { padding: 17px 13px 9px; flex-wrap: wrap; }
  .chart-heading h2 { font-size: 18px; }
  .graph-key { padding-inline: 13px; gap: 10px 12px; }
  .graph-key > span { font-size: 8px; }
  .graph-description, .graph-scroll-hint { margin-inline: 13px; }
  .experiment-detail { margin-inline: 10px; padding: 15px 13px; min-height: 253px; }
  .experiment-detail h2 { font-size: 15px; }
  .experiment-detail p { font-size: 11px; }
  .evidence-stamps { gap: 9px; font-size: 7px; }
  .workbench-caption { font-size: 8px; }
  .foundation { grid-template-columns: 1fr; gap: 19px; padding-block: 23px; }
  .foundation > p { font-size: 12px; padding-bottom: 1px; }
  .foundation > p br { display: none; }
  .foundation > p strong::before { content: " "; }
  .foundation > div { font-size: 12px; gap: 15px; }
  .foundation-symbol { width: 30px; font-size: 20px; }
  .foundation small { display: inline; margin-left: 7px; font-size: 9px; }
  .section { padding-block: 54px; }
  .section-heading { display: block; margin-bottom: 28px; }
  h2 { font-size: 33px; letter-spacing: -1.5px; }
  .section-heading > p { max-width: 100%; font-size: 13px; margin-top: 20px; }
  .eyebrow { font-size: 9px; }
  .phase-grid { grid-template-columns: 1fr; }
  .phase { padding: 23px; }
  .phase-top { display: flex; }
  .phase-top code { margin-top: 0; font-size: 10px; }
  .phase-number { font-size: 9px; }
  .phase h3 { font-size: 23px; }
  .phase-flow { gap: 9px; }
  .phase-flow span { font-size: 9px; padding: 8px; }
  .human-boundary { align-items: flex-start; gap: 9px; font-size: 10px; }
  .human-boundary > p { flex: 1; }
  .human-boundary > a { margin-left: 28px; font-size: 10px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-feature { padding-block: 24px; }
  .evidence-feature h3 { margin-top: 13px; font-size: 21px; }
  .evidence-feature p { font-size: 13px; }
  .evidence-feature > code { margin-top: 15px; }
  .evidence-note { font-size: 11px; }
  .getting-started { gap: 27px; }
  .command-heading { padding: 13px; font-size: 10px; }
  .command-heading > span { gap: 6px; }
  .copy-button { font-size: 8px; padding: 7px; }
  pre { padding: 17px 13px 10px; font-size: 10px; }
  .command-note { padding-inline: 13px; }
  .prompt-text { padding: 17px 13px; font-size: 10px; }
  .next-step { font-size: 10px; }
  .faq-section { padding-bottom: 45px; }
  summary { font-size: 13px; }
  .closing { display: block; padding: 27px 22px; margin-bottom: 40px; }
  .closing h2 { font-size: 27px; }
  .closing .eyebrow { font-size: 8px; }
  .closing .button { margin-top: 25px; }
  .footer-links { gap: 20px; font-size: 10px; flex-wrap: wrap; }
  .attribution { font-size: 9px; }
}

@media (max-width: 360px) {
  .phase { padding: 18px; }
  .phase-flow { gap: 6px; }
  .phase-flow span { padding-inline: 6px; }
  .foundation small { display: block; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
