:root {
  color-scheme: light;
  --ink: #242424;
  --muted: #626262;
  --brand: #303030;
  --accent: #505050;
  --accent-dark: #303030;
  --line: #dedede;
  --tint: #fafafa;
  --tint-strong: #f1f1f1;
  --result: #216b55;
  --result-dark: #194f40;
  --comparison: #286c9c;
  --sampling: #8052a5;
}

body { background: white; }
::selection { color: var(--ink); background: #e8e8e8; }
.skip-link { background: white; color: var(--ink); }
a:hover { color: var(--accent-dark); }

.site-header { background: white; }
.header-inner { min-height: 76px; gap: 30px; }
.header-brand { color: var(--ink); font-size: 15px; letter-spacing: -.025em; }
.header-brand span { color: var(--muted); }
.alt-header-nav { display: flex; gap: 26px; margin-left: auto; }
.alt-header-nav a { color: var(--muted); font-size: 12px; font-weight: 650; text-decoration: none; }
.alt-header-nav a:hover { color: var(--accent); }

.alt-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(40px, 5vw, 82px);
  width: min(100% - 64px, 1240px);
  margin: auto;
  padding-block: clamp(70px, 8vw, 126px);
}
.alt-hero > .wrap { width: 100%; max-width: none; margin: 0; }
.paper-header { min-width: 0; padding: 0; text-align: left; }
.alt-hero-eyebrow, .alt-media-label {
  color: var(--accent);
  font: 700 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.alt-hero-eyebrow { margin-bottom: 26px; }
.paper-header h1 { margin-bottom: 30px; color: var(--brand); font-size: clamp(51px, 5.3vw, 80px); letter-spacing: -.065em; line-height: 1.02; }
.paper-header h1 > span { max-width: 620px; margin: 20px 0 0; color: var(--ink); font-size: clamp(31px, 3.2vw, 45px); letter-spacing: -.045em; font-weight: 510; line-height: 1.17; }
.authors { justify-content: flex-start; gap: 4px 18px; font-size: 14px; font-weight: 650; }
.affiliations { margin-top: 5px; color: var(--muted); font-size: 12px; }
.paper-summary { max-width: 570px; margin: 29px 0 0; color: #484848; font-size: 16px; line-height: 1.75; }
.paper-summary strong { color: var(--ink); }
.publication-links { justify-content: flex-start; gap: 7px; margin-top: 24px; }
.publication-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 73px;
  padding: 7px 12px;
  border-color: var(--line);
  border-radius: 100px;
  background: #f6f6f6;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.publication-link svg, .publication-link img { width: 20px; height: 20px; flex: none; }
.publication-link:hover, .publication-link:focus-visible { color: var(--ink); background: #e8e8e8; border-color: #999; }
.publication-link:active { background: #d8d8d8; border-color: #666; box-shadow: inset 0 1px 3px #0002; }
.publication-note { margin: 9px 0 0; font-size: 11px; }
.citation-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.citation-heading h2 { margin: 0; font-size: 28px; }
.copy-citation { padding: 8px 14px; border: 1px solid #c8c8c8; border-radius: 6px; background: white; color: var(--ink); font-size: 12px; font-weight: 650; cursor: pointer; }
.copy-citation:hover, .copy-citation:focus-visible { background: #e8e8e8; border-color: #999; }
.copy-citation:active { background: #d8d8d8; }
.citation-code { max-width: 100%; margin: 0; padding: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: white; font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.citation-status { min-height: 1.5em; margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.alt-hero-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 32px; }
.alt-hero-links a {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  min-height: 43px;
  padding: 9px 17px;
  border: 1px solid var(--brand);
  border-radius: 100px;
  color: white;
  background: var(--brand);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}
.alt-hero-links a + a { color: var(--accent-dark); background: white; border-color: #c8c8c8; }
.alt-hero-links a:hover { color: white; background: var(--accent-dark); border-color: var(--accent-dark); }

.story-teaser { min-width: 0; padding: 0; border: 0; }
.alt-media-label { margin: 0 0 15px; color: var(--muted); letter-spacing: .05em; }
.story-frame { border-color: #dcdcdc; border-radius: 12px; background: var(--tint); box-shadow: 0 20px 50px #00000012; }
.story-controls { display: block; margin-top: 9px; }
.story-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.story-step, .story-replay { border-color: var(--line); background: white; color: var(--ink); }
.story-step { min-height: 62px; padding: 8px; font-size: 11px; line-height: 1.3; }
.story-step small { color: var(--muted); font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.story-step:hover, .story-step[aria-current="true"], .story-replay:hover { border-color: #a8a8a8; background: var(--tint-strong); }
.story-replay { width: 100%; margin-top: 6px; padding: 7px; font-size: 11px; }

.section { padding-block: 105px 115px; }
.section-tint { background: var(--tint); }
.action-section { background: #f7f7f5; }
.action-heading { margin-bottom: 32px; }
.action-heading .alt-section-title { margin-bottom: 12px; }
.action-heading p { max-width: 550px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.action-layout { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 24px; align-items: start; }
.action-panel-heading { margin-bottom: 15px; }
.action-panel-heading span, .action-harnesses legend {
  color: #555;
  font: 700 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.action-panel-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.action-cards { display: grid; align-content: start; gap: 10px; max-height: min(600px, 75vh); overflow-y: auto; overscroll-behavior: contain; padding: 2px 6px 2px 2px; scrollbar-color: #b7b7b7 transparent; }
.action-card { display: grid; grid-template-columns: 90px minmax(0, 1fr); min-width: 0; overflow: hidden; border: 1px solid #dedede; border-radius: 9px; background: white; cursor: grab; transition: border-color .2s ease, box-shadow .2s ease; }
.action-card:hover, .action-card.is-selected { border-color: #858585; box-shadow: 0 4px 16px #0000000e; }
.action-card.is-dragging { opacity: .5; cursor: grabbing; }
.action-card-image { width: 90px; height: 100%; min-height: 124px; object-fit: cover; background: #ededed; }
.action-card-content { min-width: 0; padding: 11px 12px; }
.action-card-number { color: #707070; font: 700 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; }
.action-card h3 { margin: 6px 0 2px; font-size: 15px; letter-spacing: -.025em; }
.action-card p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.action-load { margin-top: 6px; padding: 0; border: 0; background: transparent; color: #303030; font-size: 11px; font-weight: 750; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.action-load:hover { color: var(--result); }
.action-dropzone { display: grid; align-items: center; min-height: 275px; padding: 22px; border: 1px dashed #a8a8a8; border-radius: 10px; background: white; transition: background .2s ease, border-color .2s ease; }
.action-dropzone.is-over { border: 2px solid var(--result); background: #edf5f1; }
.action-dropzone.has-case { display: block; border-style: solid; }
.action-input > p { margin: 0; color: var(--muted); font-size: 13px; }
.action-input .action-empty-title { margin-bottom: 9px !important; color: var(--ink) !important; font-size: 24px !important; font-weight: 650; }
.action-question { margin: 0 0 17px; font-size: clamp(18px, 2vw, 23px); line-height: 1.35; letter-spacing: -.03em; }
.action-question:focus { outline: none; }
.action-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(102px, 1fr)); gap: 8px; }
.action-image { min-width: 0; margin: 0; }
.action-image a { display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid #e6e6e6; border-radius: 5px; background: #f4f4f4; }
.action-image img { width: 100%; height: 100%; object-fit: contain; }
.action-image figcaption { margin-top: 4px; color: var(--muted); font: 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.action-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 17px; }
.action-options span { min-width: 0; padding: 6px 9px; border-radius: 5px; background: #f4f4f4; font-size: 11px; line-height: 1.4; }
.action-runner { margin-top: 22px; }
.action-harnesses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.action-harnesses legend { margin-bottom: 9px; padding: 0; }
.action-harnesses label { display: flex; align-items: center; gap: 8px; padding: 12px; border: 1px solid #dcdcdc; border-radius: 7px; background: white; cursor: pointer; }
.action-harnesses label:has(input:checked) { border-color: #646464; background: #f0f0f0; box-shadow: inset 0 0 0 1px #646464; }
.action-harnesses input { flex: none; margin: 0; accent-color: #323232; }
.action-harnesses strong { display: block; font-size: 13px; line-height: 1.3; }
.action-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 16px 0; color: #505050; font: 600 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.action-flow span:not(.action-flow-arrow) { padding: 7px 9px; border: 1px solid #dedede; border-radius: 4px; background: white; }
.action-flow .action-flow-harness { border-color: #a7a7a7 !important; background: #eeeeee !important; }
.action-demo[data-harness="evolved"] .action-flow .action-flow-harness { border-color: #a5c9b9 !important; background: #e8f4ee !important; }
.action-flow-arrow { color: #888; font-size: 14px; }
.action-run { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 17px; border: 0; border-radius: 7px; background: #2e2e2e; color: white; font-size: 13px; font-weight: 700; cursor: pointer; }
.action-run:hover:not(:disabled) { background: #111; }
.action-run:disabled { background: #adadad; cursor: not-allowed; }
.action-output { min-height: 93px; margin-top: 15px; padding: 17px 19px; border: 1px solid #dedede; border-left: 3px solid #aaa; border-radius: 6px; background: white; }
.action-output > p { margin: 0; color: var(--muted); font-size: 12px; }
.action-output[data-result="seed"] { border-left-color: #ae6053; }
.action-output[data-result="evolved"] { border-left-color: var(--result); }
.action-result-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.action-result-label { color: var(--muted); font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.action-verdict { padding: 4px 8px; border-radius: 100px; font-size: 10px; font-weight: 750; }
.action-verdict-seed { background: #f9eeeb; color: #963f34; }
.action-verdict-evolved { background: #eaf5ee; color: var(--result-dark); }
.action-answer { margin: 10px 0 17px; font-size: clamp(23px, 2.8vw, 32px); }
.action-result-detail strong { display: block; margin-bottom: 3px; font-size: 11px; }
.action-result-detail p { margin: 0; color: #4c4c4c; font-size: 12px; line-height: 1.6; }
.action-guidance { margin-top: 16px; padding: 14px 16px; border: 1px solid #cbded2; border-radius: 6px; background: #f0f7f2; }
.action-guidance strong { display: block; color: var(--result-dark); font-size: 11px; }
.action-guidance p { margin: 5px 0 0; color: #315547; font-size: 12px; line-height: 1.6; white-space: pre-line; }
.section-label {
  gap: 7px;
  margin-bottom: 27px;
  color: var(--accent);
  font: 700 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
}
.section-label span { display: inline; width: auto; height: auto; border: 0; font-size: inherit; }
.section-label span::after { content: " /"; color: #999; }
.alt-section-title, .section-heading h2 {
  max-width: 850px;
  margin: 0 0 39px;
  font-size: clamp(37px, 5vw, 64px);
  letter-spacing: -.055em;
  line-height: 1.1;
  font-weight: 600;
}
.alt-section-title span { color: #666; }
.section-heading { align-items: start; }
.section-heading h2 { margin-bottom: 17px; }
.section-heading p, .main-findings > li > p:not(.fineprint), .result-explainer > p { color: #4d4d4d; }
.fineprint { color: var(--muted); }

.framework-graphic { padding: clamp(20px, 2.8vw, 34px); border-color: #e2e2e2; border-radius: 12px; background: white; }
.framework-map { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.7fr) minmax(0, .98fr); gap: clamp(16px, 2vw, 26px); }
.framework-phase { min-width: 0; }
.framework-phase + .framework-phase { margin: 0; padding: 0; border: 0; }
.framework-phase h3 { min-height: 51px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid #d5d9dc; font-size: clamp(15px, 1.5vw, 18px); font-weight: 650; line-height: 1.25; }
.framework-phase h3 span { margin-right: 5px; color: #696f73; font: 700 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.framework-stack { display: grid; gap: 25px; }
.framework-cell { position: relative; min-width: 0; padding: 14px; border: 1px solid #dedfe0; border-radius: 9px; background: white; box-shadow: 0 4px 14px #00000007; }
.framework-cell small { display: block; margin-bottom: 6px; color: #646a6d; font: 700 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .03em; text-transform: uppercase; }
.framework-cell small i { text-transform: none; }
.framework-cell strong { display: block; color: var(--ink); font-size: 14px; font-weight: 670; letter-spacing: -.025em; line-height: 1.3; }
.framework-snowflake { color: #2874a6; }
.framework-cell p { margin: 5px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.framework-cell i { white-space: nowrap; font-weight: 500; }
.framework-cell-editable { border-color: #506557; background: #eff4f0; }
.framework-cell-fixed { border-color: #7a7f83; background: #f1f2f4; }
.framework-cell-heldout { border-color: #6f6b63; background: #f5f4f1; }
.framework-stack > .framework-cell:not(:last-child)::after { content: "↓"; position: absolute; bottom: -27px; left: calc(50% - 6px); color: #727a7e; font-size: 21px; font-weight: 300; line-height: 1; }
.framework-loop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "train train" "current policy" "evolver pass" "workspace workspace"; gap: 22px 16px; padding: 15px; border: 1px solid #e5e7e8; border-radius: 12px; background: #fafbfb; }
.framework-loop .framework-cell { padding: 12px; }
.framework-loop .framework-cell::before, .framework-loop .framework-cell::after { position: absolute; color: #727a7e; font-size: 19px; line-height: 1; }
.framework-cell-train { grid-area: train; }
.framework-cell-current { grid-area: current; }
.framework-cell-policy-runtime { grid-area: policy; }
.framework-cell-evolver { grid-area: evolver; }
.framework-cell-pass { grid-area: pass; }
.framework-cell-workspace { grid-area: workspace; }
.framework-cell-train::after, .framework-cell-policy-runtime::after, .framework-cell-pass::after { content: "↓"; bottom: -23px; left: calc(50% - 5px); }
.framework-cell-train::after { left: calc(75% - 5px); }
.framework-cell-current::after { content: "→"; top: calc(50% - 9px); right: -17px; }
.framework-cell-evolver::before { content: "↑"; top: -23px; left: calc(50% - 5px); }
.framework-cell-pass::before { content: "←"; top: calc(50% - 9px); left: -17px; }
.framework-cell-workspace::before { content: "↑"; top: -23px; left: calc(25% - 5px); }
.framework-cycle { margin: 11px 0 0; padding: 0; border: 0; color: #50585c; background: transparent; font-size: 11px; text-align: left; }
.framework-export { margin: 0 0 12px; color: #575e62; font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.framework-boundary { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #e1e1e1; color: var(--muted); font-size: 11px; line-height: 1.5; }
.framework-legend { margin-top: 26px; padding-top: 17px; border-color: #ededed; }
.framework-legend i { width: 18px; height: 18px; border-width: 3px; border-radius: 3px; }
.framework-legend .framework-key-editable { border-color: #506557; background: #cbd4cd; }
.framework-legend .framework-key-fixed { border-color: #7a7f83; background: #d7d9db; }
.framework-legend .framework-key-heldout { border-color: #6f6b63; background: #d8d6d2; }
.framework-settings { margin-top: 68px; padding-top: 40px; }
.framework-settings .section-heading h2 { margin: 0 0 6px; font-size: clamp(28px, 3vw, 38px); }
.framework-settings .section-heading p { max-width: none; font-size: 13px; }
.settings { gap: 16px; }
.settings article { padding: 20px; border: 1px solid #e2e2e2; border-radius: 10px; background: white; }
.settings-number { color: #686e72; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.settings h3 { color: var(--ink); font-size: 21px; }
.settings .settings-test { margin-top: auto; padding-top: 16px; }
.settings-test strong { color: #434a4e; }
.settings code { color: #444; background: #f2f2f2; }

.main-findings > li + li { margin-top: 74px; padding-top: 53px; }
.main-findings h3 { max-width: 890px; margin-bottom: 17px; font-size: clamp(25px, 3vw, 36px); font-weight: 600; }
.main-findings h3::before { font: 700 17px ui-monospace, SFMono-Regular, Menlo, monospace; vertical-align: middle; }
.main-findings > li > p:not(.fineprint) { max-width: 840px; }
.gain-plot { border-radius: 10px; background: white; }
.plot-legend { color: var(--muted); }
.plot-legend span::before { background: #adadad; }
.plot-legend span + span::before { background: var(--result); }
.plot-scroll { scrollbar-color: #c9c9c9 #f4f4f4; }
.plot-field { border-bottom-color: #aaa; }
.plot-bar { background: #adadad; }
.plot-column-evolved .plot-bar { background: var(--result); }
.plot-value { color: #4d4d4d; }
.plot-column-evolved .plot-value { color: var(--result); }
.plot-name { color: var(--ink); }
.plot-gain { color: var(--result); }
.finding-cost-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
.cost-figure { border-radius: 10px; background: white; }
.cost-comparison { margin-block: 25px; padding-block: 20px; }
.cost-comparison-label { color: var(--comparison); }
.cost-comparison-label strong, .cost-comparison dd strong { color: var(--result); }
.cost-comparison dd span { color: var(--comparison); }
.result-sampling { border-left-color: var(--sampling); border-radius: 0 7px 7px 0; background: #f8f5fa; color: #4a4354; }
.result-sampling > strong { color: #69458b; }
.transfer-plots { gap: 18px; }

.analysis-figure { padding: clamp(20px, 2.5vw, 30px); border-radius: 10px; background: white; }
.analysis-figure-heading h3 { color: var(--ink); font-size: 25px; }
.strategy-cluster { position: relative; width: 100%; aspect-ratio: 480.871 / 511.741; margin: 0 0 19px; padding: 0; list-style: none; container-type: inline-size; }
.strategy-cluster li { position: absolute; top: var(--y); left: var(--x); width: var(--size); aspect-ratio: 1; transform: translate(-50%, -50%); }
.strategy-cluster li:hover, .strategy-cluster li:focus-within { z-index: 1; }
.strategy-bubble { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 8px; border: 1px solid #c5c5c5; border-radius: 50%; background: var(--bubble-fill); color: var(--ink); font-family: inherit; font-size: clamp(10px, 2.7cqw, 14px); font-weight: 700; line-height: 1.15; text-align: center; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.strategy-bubble:hover { transform: scale(1.035); }
.strategy-bubble[aria-pressed="true"] { box-shadow: inset 0 0 0 3px #555; }
.strategy-bubble:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.strategy-bubble strong { max-width: 90%; }
.strategy-detail { padding: 19px; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; }
.strategy-detail-heading { margin: 0; color: var(--muted); font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; text-transform: uppercase; }
.strategy-detail h4 { margin: 12px 0 5px; color: var(--ink); font-size: 20px; }
.strategy-detail-description { min-height: 36px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.analysis-figure figcaption { color: var(--muted); }
.tool-orbit { position: relative; width: 100%; aspect-ratio: 480 / 440; margin: 0 0 19px; container-type: inline-size; }
.tool-family { position: absolute; top: var(--y); left: var(--x); display: flex; flex-direction: column; align-items: center; justify-content: center; width: var(--size); aspect-ratio: 1; padding: 8px; border: 1px solid #c5c5c5; border-radius: 50%; background: var(--bubble-fill); color: var(--ink); font-family: inherit; text-align: center; cursor: pointer; transform: translate(-50%, -50%); transition: transform .18s ease, box-shadow .18s ease; }
.tool-family:hover { transform: translate(-50%, -50%) scale(1.035); z-index: 1; }
.tool-family[aria-pressed="true"] { box-shadow: inset 0 0 0 3px #555; }
.tool-family:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; z-index: 1; }
.tool-family strong { max-width: 100%; font-size: clamp(9px, 2.7cqw, 14px); line-height: 1.15; overflow-wrap: anywhere; }
.tool-family[aria-controls="tool-correspondence"] strong { font-size: clamp(9px, 2.4cqw, 12px); letter-spacing: -.02em; white-space: nowrap; overflow-wrap: normal; }
.tool-family span { margin-top: 5px; font-size: clamp(10px, 3.8cqw, 19px); font-weight: 750; line-height: 1; }
.tool-detail { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; }
.tool-detail[hidden] { display: none; }
.tool-detail-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 12px; }
.tool-detail-heading h4 { margin: 0; color: var(--ink); font-size: 20px; }
.tool-detail-heading span { color: var(--muted); font: 700 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.tool-detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.tool-detail-list li { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.tool-detail-list strong, .tool-detail-list span { display: block; font-size: 11px; line-height: 1.4; }
.tool-detail-list strong { color: var(--ink); }
.tool-detail-list span { margin-top: 2px; color: var(--muted); }
.tool-parallels { margin: 11px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.5; }
.tool-parallels strong { display: block; color: var(--ink); }

.footer { border-top: 1px solid var(--line); background: white; color: var(--ink); }
.footer p { color: var(--muted); }
.footer a { color: var(--accent-dark); }

@media (min-width: 1051px) {
  .alt-media-label { font-size: clamp(9px, .8vw, 11px); }
  .alt-hero > .story-teaser {
    /* Keep a 16px viewport gutter while growing toward the full desktop size. */
    --teaser-extra: clamp(0px, min(20vw - 210px, max(32px, 100vw - 1272px)), 80px);
    align-self: end;
    width: calc(100% + var(--teaser-extra));
    margin-left: calc(var(--teaser-extra) / -2);
  }
}
@media (max-width: 1050px) {
  .alt-hero { grid-template-columns: 1fr; gap: 62px; max-width: 760px; }
  .paper-header h1 { font-size: clamp(53px, 7vw, 80px); }
  .paper-header h1 > span { font-size: clamp(32px, 4vw, 45px); }
  .story-teaser { max-width: 760px; }
}
@media (max-width: 950px) {
  .finding-cost-layout { grid-template-columns: minmax(0, 1fr); }
  .cost-figure { max-width: 470px; }
  .framework-map { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .framework-phase h3 { min-height: 0; }
  .framework-phase-policy .framework-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .framework-phase-policy .framework-stack > .framework-cell:not(:last-child)::after { content: "→"; top: calc(50% - 10px); right: -17px; bottom: auto; left: auto; }
  .framework-phase-selection .framework-stack { max-width: 500px; }
}
@media (max-width: 850px) {
  .alt-hero { width: min(100% - 40px, 700px); }
  .alt-header-nav { gap: 15px; }
  .section { padding-block: 78px 87px; }
  .action-layout { grid-template-columns: 1fr; }
  .action-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-card:last-child { grid-column: span 2; }
  .framework-settings { margin-top: 45px; }
}
@media (max-width: 570px) {
  .alt-header-nav { display: none; }
  .alt-hero { width: min(100% - 32px, 440px); gap: 38px; padding-block: 57px 70px; }
  .alt-hero-eyebrow { margin-bottom: 19px; }
  .paper-header h1 { margin-bottom: 25px; font-size: clamp(43px, 11vw, 58px); }
  .paper-header h1 > span { margin-top: 14px; font-size: clamp(26px, 7vw, 35px); }
  .paper-summary { margin-top: 24px; }
  .alt-hero-links a { flex: 1 1 190px; }
  .story-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-step { min-height: 46px; }
  .section { padding-block: 66px 75px; }
  .action-cards { grid-template-columns: 1fr; }
  .action-card:last-child { grid-column: auto; }
  .action-dropzone { min-height: 210px; padding: 16px; }
  .action-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-harnesses label { padding: 9px; }
  .action-options { grid-template-columns: 1fr; }
  .alt-section-title, .section-heading h2 { margin-bottom: 30px; font-size: clamp(34px, 9vw, 43px); }
  .framework-graphic { padding: 20px; }
  .framework-phase h3 { font-size: 19px; }
  .framework-phase-policy .framework-stack { grid-template-columns: 1fr; gap: 25px; }
  .framework-phase-policy .framework-stack > .framework-cell:not(:last-child)::after { content: "↓"; top: auto; right: auto; bottom: -27px; left: calc(50% - 6px); }
  .framework-loop { gap: 22px 12px; padding: 10px; }
  .framework-loop .framework-cell { padding: 10px; }
  .framework-cell strong { font-size: 13px; }
  .framework-cell p { font-size: 11px; }
  .main-findings > li + li { margin-top: 53px; padding-top: 39px; }
  .analysis-figure-heading h3 { font-size: 22px; }
  .strategy-bubble { padding: 5px; }
  .tool-orbit { width: calc(100% + 52px); margin-left: -26px; }
  .tool-family { padding: 5px; }
  .tool-detail-list { grid-template-columns: 1fr; }
}
