:root {
  --ink: #10110f;
  --paper: #f4f0e7;
  --lime: #b7ff5a;
  --pink: #ff64b0;
  --blue: #71dbff;
  --violet: #8f74ff;
  --orange: #ff7148;
  --green: #69dda0;
  --line: 3px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; overflow-x: hidden; background: var(--paper); }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--lime);
  border: var(--line);
  font-weight: 900;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-head {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px clamp(18px, 4vw, 58px);
  background: var(--paper);
  border-bottom: var(--line);
}
.wordmark {
  display: grid;
  flex: 0 0 auto;
  width: 126px;
  text-decoration: none;
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -1.4px;
  line-height: .78;
}
.wordmark span:last-child { margin-left: 27px; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 20px; flex-wrap: wrap; }
.site-nav a { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-decoration-thickness: 2px; text-underline-offset: 4px; text-transform: uppercase; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr);
  align-items: center;
  gap: clamp(34px, 6vw, 92px);
  min-height: 760px;
  padding: clamp(62px, 9vw, 118px) clamp(22px, 6vw, 90px);
  background:
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(16,17,15,.08) 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(16,17,15,.08) 80px),
    var(--violet);
  border-bottom: var(--line);
}
.hero-copy { max-width: 870px; }
.eyebrow, .section-index { margin: 0 0 18px; font: 900 12px/1.3 "Courier New", monospace; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(58px, 7.6vw, 118px); font-weight: 950; letter-spacing: -.078em; line-height: .82; }
.hero h1 em { color: var(--lime); font-style: normal; text-shadow: 3px 3px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink); }
.hero-deck { max-width: 720px; margin: 31px 0 0; font-size: clamp(19px, 2.1vw, 26px); font-weight: 700; line-height: 1.28; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 35px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 52px; padding: 14px 18px; border: var(--line); box-shadow: 5px 5px 0 var(--ink); font-size: 11px; font-weight: 950; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: transform .16s ease, box-shadow .16s ease; }
.button:hover, .button:focus-visible { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.button-dark { color: var(--paper); background: var(--ink); box-shadow: 5px 5px 0 var(--lime); }
.button-dark:hover, .button-dark:focus-visible { box-shadow: 2px 2px 0 var(--lime); }
.button-acid { background: var(--lime); }
.text-link { font-size: 11px; font-weight: 950; letter-spacing: .08em; text-underline-offset: 5px; text-transform: uppercase; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 700px; margin: 48px 0 0; border-top: var(--line); border-bottom: var(--line); }
.hero-stats div { padding: 15px 14px 15px 0; }
.hero-stats div + div { padding-left: 15px; border-left: var(--line); }
.hero-stats dt { font-size: 38px; font-weight: 950; line-height: .9; }
.hero-stats dd { margin: 7px 0 0; font: 900 10px/1.25 "Courier New", monospace; letter-spacing: .05em; text-transform: uppercase; }

.patch-panel { position: relative; min-height: 590px; padding: 76px 34px 34px; background: var(--ink); color: var(--paper); border: 5px solid var(--ink); box-shadow: 14px 14px 0 var(--lime); transform: rotate(1.2deg); }
.patch-panel > header { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; gap: 20px; padding: 18px 24px; color: var(--ink); background: var(--lime); border-bottom: 4px solid var(--ink); font: 900 10px/1.2 "Courier New", monospace; letter-spacing: .06em; }
.panel-row { position: relative; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 16px; min-height: 104px; padding: 18px; border: 2px solid var(--paper); }
.panel-row + .panel-row { margin-top: 26px; }
.panel-row strong { font-size: clamp(23px, 2.5vw, 39px); font-weight: 950; letter-spacing: -.045em; line-height: .9; }
.panel-row small { grid-column: 2; margin-top: -8px; font: 900 10px/1.2 "Courier New", monospace; letter-spacing: .06em; }
.jack { grid-row: span 2; width: 34px; height: 34px; border: 7px solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 4px currentColor; }
.jack-lime { color: var(--lime); background: var(--lime); }
.jack-pink { color: var(--pink); background: var(--pink); }
.jack-blue { color: var(--blue); background: var(--blue); }
.patch-cable { position: absolute; z-index: 3; width: 120px; height: 78px; border: 10px solid; border-left: 0; border-radius: 0 60px 60px 0; pointer-events: none; }
.cable-one { top: 141px; left: 44px; color: var(--pink); transform: rotate(5deg); }
.cable-two { top: 271px; right: 44px; color: var(--blue); border-right: 0; border-left: 10px solid; border-radius: 60px 0 0 60px; transform: rotate(-5deg); }
.panel-output { margin-top: 30px; padding: 19px; color: var(--ink); background: var(--paper); border: 4px solid var(--lime); }
.panel-output span, .panel-output small { display: block; font: 900 10px/1.2 "Courier New", monospace; letter-spacing: .06em; }
.panel-output strong { display: block; margin: 8px 0; font-size: 22px; font-weight: 950; letter-spacing: -.03em; }

.bench-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); color: var(--paper); border-bottom: var(--line); }
.bench-strip span { display: grid; place-items: center; min-height: 72px; padding: 16px; font: 900 10px/1.25 "Courier New", monospace; letter-spacing: .06em; text-align: center; }
.bench-strip span + span { border-left: 2px solid var(--paper); }

.two-layers, .map-section, .permission-gate, .codex-starter, .source-desk { padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 90px); }
.section-head, .map-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: end; gap: clamp(36px, 7vw, 100px); margin-bottom: 44px; }
.section-head h2, .map-head h2, .permission-copy h2, .codex-starter h2, .source-desk h2 { margin: 0; font-size: clamp(50px, 6.8vw, 96px); font-weight: 950; letter-spacing: -.075em; line-height: .84; }
.section-head > p, .map-head > p { max-width: 600px; margin: 0; font-size: 18px; font-weight: 650; line-height: 1.45; }
.layer-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.layer-card { display: flex; flex-direction: column; min-height: 450px; padding: clamp(26px, 4vw, 48px); border: var(--line); box-shadow: var(--shadow); }
.layer-card > span { align-self: flex-start; padding: 7px 9px; color: var(--paper); background: var(--ink); font: 900 10px/1 "Courier New", monospace; letter-spacing: .07em; }
.layer-card h3 { max-width: 650px; margin: 48px 0 20px; font-size: clamp(39px, 4.7vw, 70px); font-weight: 950; letter-spacing: -.065em; line-height: .87; }
.layer-card p { max-width: 650px; margin: 0; font-size: 17px; font-weight: 650; line-height: 1.45; }
.layer-card strong { margin-top: auto; padding-top: 28px; border-top: var(--line); font: 900 11px/1.35 "Courier New", monospace; }
.layer-ai { background: var(--lime); }
.layer-mcp { background: var(--pink); }

.stack-builder { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: clamp(42px, 7vw, 94px); padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 90px); background: var(--blue); border-top: var(--line); border-bottom: var(--line); }
.builder-controls h2 { margin: 0; font-size: clamp(50px, 6.5vw, 92px); font-weight: 950; letter-spacing: -.075em; line-height: .84; }
.builder-controls > p:not(.section-index, .builder-note) { max-width: 620px; font-size: 18px; font-weight: 650; line-height: 1.45; }
.outcome-fieldset { margin: 36px 0 0; padding: 0; border: 0; }
.outcome-fieldset legend, .posture-label > span { margin-bottom: 10px; font: 900 10px/1.2 "Courier New", monospace; letter-spacing: .07em; }
.outcome-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.outcome-button, .ai-filter { min-height: 48px; padding: 11px 12px; border: 2px solid var(--ink); background: var(--paper); font-size: 12px; font-weight: 900; text-align: left; cursor: pointer; }
.outcome-button.is-active, .outcome-button:hover, .outcome-button:focus-visible { color: var(--paper); background: var(--ink); outline: 3px solid var(--lime); outline-offset: 1px; }
.posture-label { display: grid; margin-top: 24px; }
.posture-label select { width: 100%; min-height: 50px; padding: 11px 38px 11px 12px; border: var(--line); border-radius: 0; background: var(--paper); font-weight: 850; }
.builder-note { margin-top: 18px; padding: 13px 14px; background: rgba(244,240,231,.55); border: 2px dashed var(--ink); font: 800 10px/1.45 "Courier New", monospace; }

.stack-card { align-self: start; background: var(--paper); border: 4px solid var(--ink); box-shadow: 13px 13px 0 var(--ink); }
.stack-card > header { display: flex; justify-content: space-between; gap: 18px; padding: 16px 20px; background: var(--lime); border-bottom: var(--line); font: 900 10px/1.2 "Courier New", monospace; letter-spacing: .06em; }
.stack-card > header b { padding: 5px 7px; color: var(--paper); background: var(--ink); }
.stack-title { padding: 26px 26px 24px; border-bottom: var(--line); }
.stack-title > p:first-child { margin: 0 0 10px; font: 900 10px/1.2 "Courier New", monospace; letter-spacing: .06em; }
.stack-title h3 { margin: 0; font-size: clamp(38px, 5vw, 68px); font-weight: 950; letter-spacing: -.065em; line-height: .86; }
.stack-title > p:last-child { max-width: 650px; margin: 18px 0 0; font-size: 16px; font-weight: 650; line-height: 1.4; }
.stack-layers { display: grid; grid-template-columns: 1fr 1fr; }
.stack-layers section { padding: 22px; }
.stack-layers section + section { border-left: var(--line); }
.stack-layers section > span, .first-prompt > span, .permission-ticket > span { font: 900 10px/1.2 "Courier New", monospace; letter-spacing: .07em; }
.stack-layers ol { margin: 18px 0 0; padding: 0; list-style: none; }
.stack-layers li { padding: 14px 0; border-top: 2px solid var(--ink); }
.stack-layers li:last-child { border-bottom: 2px solid var(--ink); }
.stack-layers strong, .stack-layers small { display: block; }
.stack-layers strong { font-size: 18px; font-weight: 950; }
.stack-layers small { margin-top: 5px; font-size: 12px; font-weight: 700; line-height: 1.35; }
.first-prompt, .permission-ticket { padding: 22px 26px; border-top: var(--line); }
.first-prompt { background: var(--violet); }
.first-prompt p { margin: 12px 0 0; font: 800 14px/1.45 "Courier New", monospace; }
.permission-ticket { background: var(--pink); }
.permission-ticket p { margin: 12px 0; font-size: 15px; font-weight: 750; line-height: 1.4; }
.permission-ticket strong { display: block; padding-top: 12px; border-top: 2px dashed var(--ink); font: 900 11px/1.4 "Courier New", monospace; }
.stack-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 20px 0; }
.stack-actions button, .terminal-card button { min-height: 46px; padding: 11px; border: var(--line); background: var(--lime); font-size: 11px; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.stack-actions button:last-child { background: var(--blue); }
.copy-status { margin: 0; padding: 14px 20px 20px; font: 800 10px/1.4 "Courier New", monospace; }

.ai-map { background: var(--paper); }
.filter-bench { display: grid; grid-template-columns: minmax(230px, 1fr) auto auto; align-items: end; gap: 18px; margin-bottom: 28px; padding: 19px; background: var(--lime); border: var(--line); }
.filter-bench label { display: grid; gap: 7px; font: 900 10px/1.2 "Courier New", monospace; letter-spacing: .06em; }
.filter-bench input { min-height: 46px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); }
.filter-bench > div { display: flex; gap: 7px; }
.ai-filter { min-height: 46px; text-align: center; }
.ai-filter.is-active { color: var(--paper); background: var(--ink); }
.filter-bench > p { margin: 0; padding: 0 4px 12px; font: 900 10px/1.2 "Courier New", monospace; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tool-card, .mcp-card { display: flex; flex-direction: column; min-height: 470px; padding: 25px; border: var(--line); box-shadow: var(--shadow); }
.tool-card[hidden] { display: none; }
.tool-card > header, .mcp-card > header { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font: 900 10px/1.2 "Courier New", monospace; }
.tool-card > header b, .mcp-card > header b { padding: 5px 6px; color: var(--paper); background: var(--ink); }
.tool-card h3, .mcp-card h3 { margin: 32px 0 14px; font-size: clamp(37px, 4.3vw, 61px); font-weight: 950; letter-spacing: -.06em; line-height: .86; }
.tool-card > p, .mcp-card > p { max-width: 650px; margin: 0; font-size: 16px; font-weight: 650; line-height: 1.42; }
.tool-card dl, .mcp-card dl { display: grid; grid-template-columns: 1fr 1fr; margin: auto 0 23px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.tool-card dl div, .mcp-card dl div { padding: 13px 11px 13px 0; }
.tool-card dl div + div, .mcp-card dl div + div { padding-left: 13px; border-left: 2px solid var(--ink); }
.tool-card dt, .mcp-card dt { font: 900 9px/1.2 "Courier New", monospace; }
.tool-card dd, .mcp-card dd { margin: 7px 0 0; font-size: 12px; font-weight: 800; line-height: 1.3; }
.tool-card > a, .mcp-card > a { align-self: flex-start; font-size: 11px; font-weight: 950; letter-spacing: .05em; text-underline-offset: 5px; text-transform: uppercase; }
.tool-think:nth-child(odd) { background: var(--lime); }
.tool-think:nth-child(even) { background: var(--green); }
.tool-code { background: var(--blue); }
.tool-code:nth-child(odd) { background: var(--violet); }
.tool-make { background: var(--pink); }
.tool-make:nth-child(even) { background: var(--orange); }
.empty-state { padding: 35px; border: var(--line); font-size: 18px; font-weight: 800; text-align: center; }

.mcp-map { background: var(--ink); color: var(--paper); }
.map-head-light .section-index { color: var(--lime); }
.mcp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; color: var(--ink); }
.mcp-card { min-height: 520px; }
.mcp-card code { display: block; margin: 0 0 22px; padding: 12px; overflow-wrap: anywhere; background: rgba(244,240,231,.65); border: 2px dashed var(--ink); font: 800 11px/1.4 "Courier New", monospace; }
.mcp-read { background: var(--lime); }
.mcp-account { background: var(--pink); }
.mcp-control { background: var(--blue); }
.mcp-write { background: var(--orange); }
.mcp-card:last-child { grid-column: 1 / -1; min-height: 430px; }
.registry-note { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 50px; margin-top: 34px; padding: 28px; color: var(--ink); background: var(--paper); border: 4px solid var(--lime); }
.registry-note h3 { max-width: 780px; margin: 0; font-size: clamp(34px, 4.5vw, 62px); font-weight: 950; letter-spacing: -.06em; line-height: .9; }
.registry-note p:not(.section-index) { max-width: 780px; font-size: 16px; font-weight: 650; line-height: 1.42; }

.permission-gate { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(44px, 8vw, 110px); background: var(--violet); border-bottom: var(--line); }
.permission-copy { align-self: start; position: sticky; top: 30px; }
.permission-copy > p:not(.section-index) { max-width: 520px; font-size: 18px; font-weight: 650; line-height: 1.45; }
.gate-list { margin: 0; padding: 0; list-style: none; background: var(--paper); border: 4px solid var(--ink); box-shadow: 12px 12px 0 var(--ink); }
.gate-list li { display: grid; grid-template-columns: 74px 1fr; gap: 20px; padding: 22px; }
.gate-list li + li { border-top: var(--line); }
.gate-list li > span { display: grid; place-items: center; width: 56px; height: 56px; background: var(--lime); border: var(--line); border-radius: 50%; font: 900 12px/1 "Courier New", monospace; }
.gate-list strong { font-size: 24px; font-weight: 950; letter-spacing: -.03em; }
.gate-list p { margin: 6px 0 0; font-size: 15px; font-weight: 650; line-height: 1.4; }

.codex-starter { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr); align-items: center; gap: clamp(44px, 8vw, 110px); background: var(--lime); border-bottom: var(--line); }
.codex-starter > div:first-child > p:not(.section-index) { max-width: 560px; font-size: 18px; font-weight: 650; line-height: 1.45; }
.terminal-card { background: var(--ink); color: var(--paper); border: 4px solid var(--ink); box-shadow: 12px 12px 0 var(--violet); }
.terminal-card header { display: flex; justify-content: space-between; gap: 18px; padding: 16px 19px; color: var(--ink); background: var(--blue); border-bottom: 4px solid var(--ink); font: 900 10px/1.2 "Courier New", monospace; }
.terminal-card pre { margin: 0; padding: 28px 24px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 800 14px/1.7 "Courier New", monospace; }
.terminal-card button { width: calc(100% - 40px); margin: 0 20px; }
.terminal-card p { margin: 0; padding: 15px 20px 20px; font: 800 10px/1.4 "Courier New", monospace; }

.source-desk { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: clamp(44px, 8vw, 110px); background: var(--paper); }
.source-desk > div:last-child > p { max-width: 700px; font-size: 17px; font-weight: 650; line-height: 1.5; }
.source-desk ul { margin: 30px 0; padding: 0; list-style: none; border-top: var(--line); }
.source-desk li { border-bottom: var(--line); }
.source-desk li a { display: block; padding: 16px 0; font-size: 14px; font-weight: 900; text-underline-offset: 5px; }
.source-desk .disclosure { padding: 15px; background: var(--lime); border: 2px dashed var(--ink); font: 800 10px/1.45 "Courier New", monospace; }

.site-footer { display: flex; justify-content: space-between; gap: 40px; padding: 46px clamp(20px, 6vw, 90px); color: var(--paper); background: var(--ink); border-top: var(--line); }
.site-footer p { margin: 18px 0 0; font: 800 10px/1.4 "Courier New", monospace; }
.footer-mark { color: var(--paper); }
.site-footer nav { display: flex; justify-content: flex-end; gap: 20px; flex-wrap: wrap; }
.site-footer nav a { font-size: 11px; font-weight: 900; letter-spacing: .06em; text-underline-offset: 5px; text-transform: uppercase; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 4px solid var(--pink); outline-offset: 3px; }

@media (max-width: 980px) {
  .site-head { align-items: flex-start; }
  .site-nav { gap: 12px; }
  .hero { grid-template-columns: 1fr; }
  .patch-panel { width: min(680px, 100%); }
  .stack-builder, .permission-gate, .codex-starter, .source-desk { grid-template-columns: 1fr; }
  .permission-copy { position: static; }
  .filter-bench { grid-template-columns: 1fr; align-items: stretch; }
  .filter-bench > p { padding: 0; }
}

@media (max-width: 720px) {
  .site-head { display: grid; }
  .site-nav { justify-content: flex-start; }
  .hero { min-height: auto; padding-top: 70px; }
  .patch-panel { min-height: 550px; padding-inline: 20px; box-shadow: 9px 9px 0 var(--lime); }
  .bench-strip { grid-template-columns: 1fr 1fr; }
  .bench-strip span:nth-child(3) { border-left: 0; border-top: 2px solid var(--paper); }
  .bench-strip span:nth-child(4) { border-top: 2px solid var(--paper); }
  .section-head, .map-head { grid-template-columns: 1fr; align-items: start; }
  .layer-cards, .tool-grid, .mcp-grid { grid-template-columns: 1fr; }
  .mcp-card:last-child { grid-column: auto; }
  .stack-layers { grid-template-columns: 1fr; }
  .stack-layers section + section { border-left: 0; border-top: var(--line); }
  .registry-note { grid-template-columns: 1fr; }
  .site-footer { display: grid; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .site-head { padding: 14px 16px; }
  .site-nav a { font-size: 10px; }
  .hero, .two-layers, .map-section, .permission-gate, .codex-starter, .source-desk, .stack-builder { padding-left: 16px; padding-right: 16px; }
  .hero h1 { font-size: clamp(51px, 17vw, 74px); }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { padding: 13px 0; }
  .hero-stats div + div { padding-left: 0; border-top: 2px solid var(--ink); border-left: 0; }
  .patch-panel { min-height: 520px; padding-top: 74px; transform: none; }
  .patch-panel > header { padding-inline: 14px; }
  .panel-row { grid-template-columns: 44px 1fr; padding-inline: 12px; }
  .panel-row strong { font-size: 22px; }
  .patch-cable { width: 78px; }
  .outcome-list, .stack-actions { grid-template-columns: 1fr; }
  .filter-bench > div { display: grid; grid-template-columns: 1fr 1fr; }
  .tool-card, .mcp-card { min-height: 0; padding: 20px; }
  .tool-card > header, .mcp-card > header { display: grid; }
  .tool-card > header b, .mcp-card > header b { justify-self: start; }
  .tool-card h3, .mcp-card h3 { margin-top: 25px; }
  .tool-card dl, .mcp-card dl { grid-template-columns: 1fr; margin-top: 30px; }
  .tool-card dl div + div, .mcp-card dl div + div { padding-left: 0; border-top: 2px solid var(--ink); border-left: 0; }
  .gate-list li { grid-template-columns: 48px 1fr; padding: 18px 15px; }
  .gate-list li > span { width: 43px; height: 43px; }
  .terminal-card header { display: grid; }
  .terminal-card pre { font-size: 12px; }
}

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

@media print {
  .site-head, .hero-actions, .bench-strip, .filter-bench, .stack-actions, .terminal-card button, .site-footer, [data-pointcast-network] { display: none !important; }
  body { background: white; }
  .hero, .two-layers, .stack-builder, .map-section, .permission-gate, .codex-starter, .source-desk { display: block; min-height: 0; padding: 28px 0; color: black; background: white; }
  .patch-panel { display: none; }
  .layer-cards, .tool-grid, .mcp-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .tool-card, .mcp-card, .layer-card, .stack-card, .gate-list, .terminal-card { min-height: 0; color: black; background: white; box-shadow: none; break-inside: avoid; }
  a { text-decoration: none; }
}
