:root {
  color-scheme: light;
  --ink: #151515;
  --ink-soft: #2c2c2c;
  --paper: #f3f0e8;
  --paper-deep: #e7e1d5;
  --white: #fffdf8;
  --red: #e50914;
  --red-dark: #b70710;
  --muted: #68655f;
  --line: rgba(21, 21, 21, 0.18);
  --green: #24764b;
  --amber: #a15e00;
  --blue: #315e96;
  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --display: clamp(3.2rem, 7.6vw, 7.8rem);
  --heading: clamp(2rem, 4vw, 4.35rem);
  --body: clamp(1rem, 1.25vw, 1.18rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
button, input, select { font: inherit; }
a { color: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #5da9ff; outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  transform: translateY(-180%);
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: .35rem;
}
.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem var(--gutter);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.wordmark {
  display: inline-flex;
  gap: .72rem;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.02em;
}
.wordmark-mark { width: .62rem; height: 1.7rem; background: var(--red); transform: skew(-7deg); }
.site-header nav { display: flex; gap: clamp(1rem, 2.6vw, 2.7rem); }
.site-header nav a { text-decoration: none; font-size: .88rem; color: rgba(255,255,255,.78); }
.site-header nav a:hover { color: white; }

.hero {
  min-height: min(1000px, 100svh);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
  grid-template-rows: 1fr auto;
  gap: clamp(3rem, 7vw, 8rem);
  padding: clamp(8.5rem, 15vh, 11rem) var(--gutter) 3rem;
  background:
    radial-gradient(circle at 78% 26%, rgba(229,9,20,.17), transparent 31%),
    linear-gradient(125deg, #0d0d0e 0%, #151515 68%, #21080a 100%);
  color: white;
}
.hero::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 120vh;
  right: -26vw;
  top: -20vh;
  border: 1px solid rgba(229,9,20,.42);
  transform: rotate(18deg);
  box-shadow: 0 0 0 6vw rgba(229,9,20,.025), 0 0 0 12vw rgba(229,9,20,.018);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; align-self: center; max-width: 950px; }
.eyebrow {
  margin: 0 0 1.25rem;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow.red { color: var(--red-dark); }
.hero h1 {
  max-width: 1060px;
  margin: 0;
  font-size: var(--display);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 690;
}
.hero-thesis { max-width: 760px; margin: 2rem 0 0; color: rgba(255,255,255,.74); font-size: clamp(1.07rem, 1.55vw, 1.35rem); }
.hero-actions { display: flex; align-items: center; gap: 1.35rem; margin-top: 2.2rem; }
.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: .78rem 1.2rem;
  border: 0;
  border-radius: .28rem;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: #f51a24; }
.button-dark { width: 100%; margin-top: 1.2rem; background: var(--ink); color: white; }
.button-dark:hover { background: #333; }
.text-link { text-underline-offset: .25em; }
.honesty-note { margin: 1.2rem 0 0; font-size: .77rem; color: rgba(255,255,255,.48); }

.opening-questions {
  position: relative;
  z-index: 1;
  align-self: end;
  border-top: 1px solid rgba(255,255,255,.28);
}
.question-count { margin: .75rem 0 0; color: rgba(255,255,255,.48); font-size: .75rem; }
.opening-questions ol { padding: 0; margin: 1.5rem 0 0; list-style: none; }
.opening-questions li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.25;
}
.opening-questions li span { font: 650 .67rem/1.4 ui-sans-serif, sans-serif; color: var(--red); }
.hero-rail {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: .8rem;
  color: rgba(255,255,255,.54);
  font-size: .69rem;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.hero-rail i { height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.16), rgba(229,9,20,.75)); }
.hero-rail strong { color: white; }

.frame-section, .taxonomy-section, .take-section, .sources-section {
  max-width: calc(var(--max) + (var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 10rem) var(--gutter);
}
.section-intro { max-width: 940px; }
.section-intro h2, .law-copy h2 {
  margin: 0;
  font-size: var(--heading);
  line-height: 1.02;
  letter-spacing: -.052em;
  font-weight: 650;
}
.section-intro > p:last-child, .law-copy > p:last-child { max-width: 760px; margin: 1.6rem 0 0; color: var(--muted); }
.section-intro.compact h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); }

.system-map { margin: clamp(4rem, 7vw, 7rem) 0 0; }
.map-inputs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.map-inputs > div { padding: 1.25rem 1rem 1.25rem 0; }
.map-inputs > div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.map-inputs span { font-weight: 760; }
.map-inputs p { margin: .45rem 0 0; color: var(--muted); font-size: .87rem; }
.map-router { display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 1.8rem 0; }
.map-router > span { color: var(--red); }
.map-router strong { font-size: clamp(1.5rem, 3vw, 2.5rem); }
.map-router code { color: var(--muted); font-size: .8rem; }
.map-output { padding: 2.4rem; background: var(--ink); color: white; text-align: center; }
.map-output strong { font-size: clamp(1.45rem, 2.4vw, 2.3rem); }
.map-output p { margin: .5rem 0 0; color: rgba(255,255,255,.6); }
.system-map figcaption { margin-top: .8rem; color: var(--muted); font-size: .78rem; }

.ownership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(4rem, 8vw, 7rem); }
.ownership-grid article { border-top: 1px solid var(--ink); padding-top: 1rem; }
.ownership-number { color: var(--red-dark); font-size: .74rem; font-weight: 750; }
.ownership-grid h3 { margin: 2.2rem 0 .8rem; font-size: 1.22rem; line-height: 1.2; }
.ownership-grid article > p:last-child { margin: 0; color: var(--muted); font-size: .9rem; }

.lab-section { padding: clamp(5rem, 9vw, 9rem) var(--gutter); background: #e7e1d5; }
.lab-section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.lab-intro { margin-bottom: 3rem; }
.scenario-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-bottom: 0; }
.scenario-tabs button {
  appearance: none;
  min-width: 0;
  padding: 1.25rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.scenario-tabs button:last-child { border-right: 0; }
.scenario-tabs button[aria-selected="true"] { background: var(--ink); color: white; }
.scenario-tabs button > span { display: block; color: var(--red); font-size: .67rem; font-weight: 760; }
.scenario-tabs strong, .scenario-tabs small { display: block; }
.scenario-tabs strong { margin-top: .5rem; }
.scenario-tabs small { margin-top: .2rem; color: currentColor; opacity: .55; }

.lab-shell { display: grid; grid-template-columns: minmax(290px, .72fr) minmax(0, 1.45fr); min-height: 740px; background: var(--white); border: 1px solid var(--line); }
.situation-panel { padding: clamp(1.35rem, 3vw, 2.6rem); border-right: 1px solid var(--line); }
.panel-heading h3, .decision-topline h3 { margin: 0; font-size: 1.22rem; line-height: 1.25; }
.scenario-description { min-height: 6.5rem; margin: 2rem 0; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.scenario-description strong { display: block; margin-bottom: .35rem; color: var(--ink); font-size: 1.08rem; }
.field { display: block; margin-top: 1.1rem; }
.field > span { display: block; margin-bottom: .42rem; font-size: .73rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.field input, .field select {
  width: 100%;
  min-height: 3rem;
  padding: .65rem .75rem;
  border: 1px solid rgba(21,21,21,.34);
  border-radius: .2rem;
  background: white;
  color: var(--ink);
}
.extension-toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1.3rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.extension-toggle[hidden] { display: none; }
.extension-toggle strong, .extension-toggle small { display: block; }
.extension-toggle small { margin-top: .25rem; color: var(--muted); font-size: .76rem; line-height: 1.35; }
.extension-toggle input {
  appearance: none;
  width: 3rem;
  height: 1.65rem;
  margin: 0;
  border-radius: 999px;
  background: #bdb8ae;
  border: 2px solid #bdb8ae;
  cursor: pointer;
}
.extension-toggle input::after { content: ""; display: block; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: white; transition: transform 160ms ease; }
.extension-toggle input:checked { background: var(--red); border-color: var(--red); }
.extension-toggle input:checked::after { transform: translateX(1.35rem); }
.context-details, .receipt-details { margin-top: 1.3rem; border-top: 1px solid var(--line); }
details summary { padding: 1rem 0; cursor: pointer; font-size: .84rem; font-weight: 700; }
.context-details dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem .75rem; margin: 0 0 1.25rem; font-size: .75rem; }
.context-details dt { color: var(--muted); }
.context-details dd { margin: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }

.decision-panel { min-width: 0; padding: clamp(1.35rem, 3.4vw, 3rem); }
.decision-topline { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.status-badge { flex: none; padding: .48rem .7rem; border: 1px solid currentColor; border-radius: 999px; font: 760 .68rem/1 ui-sans-serif, sans-serif; letter-spacing: .06em; }
.status-badge[data-status="PASS"] { color: var(--green); }
.status-badge[data-status="FAIL"] { color: var(--red-dark); }
.status-badge[data-status="REVIEW_REQUIRED"] { color: var(--amber); }
.status-badge[data-status="UNKNOWN"] { color: var(--blue); }
.route-line { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: 1.4rem; color: var(--muted); font-size: .76rem; }
.route-line code { color: var(--ink); padding: .3rem .45rem; background: var(--paper-deep); border-radius: .2rem; }
.route-line .route-arrow { color: var(--red); }

.response-stage {
  position: relative;
  min-height: 300px;
  margin-top: 1.4rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #161616;
  color: white;
}
.unknown-shell { width: min(430px, 86%); text-align: center; }
.unknown-shell .unknown-mark { width: 2.4rem; height: 2.4rem; margin: 0 auto 1.2rem; border: 2px solid #7794bb; border-radius: 50%; display: grid; place-items: center; color: #a7c2e6; }
.unknown-shell h4 { margin: 0; font-size: 1.5rem; }
.unknown-shell p { margin: .7rem auto 0; color: rgba(255,255,255,.58); }

.collection-preview { width: 100%; padding: clamp(1.6rem, 4vw, 3rem); }
.collection-preview .preview-brand { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.46); font-size: .67rem; text-transform: uppercase; letter-spacing: .12em; }
.collection-preview h4 { margin: 2rem 0 1rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.poster-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; }
.poster { aspect-ratio: 16/9; display: flex; align-items: end; padding: .7rem; background: linear-gradient(145deg, #4c1e23, #9d2630); border-radius: .18rem; font-size: .68rem; }
.poster:nth-child(2) { background: linear-gradient(145deg, #203c51, #537f9f); }
.poster:nth-child(3) { background: linear-gradient(145deg, #44432e, #8c8a58); }
.poster:nth-child(4) { background: linear-gradient(145deg, #382546, #7c4f91); }
.dialog-preview { width: min(460px, calc(100% - 2rem)); padding: clamp(1.5rem, 4vw, 2.4rem); background: #f7f7f3; color: var(--ink); box-shadow: 0 18px 60px rgba(0,0,0,.42); }
.dialog-preview .dialog-kicker { margin: 0 0 1.7rem; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.dialog-preview h4 { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.05; }
.dialog-preview > p:not(.dialog-kicker) { color: var(--muted); }
.dialog-actions { display: flex; gap: .7rem; margin-top: 1.5rem; }
.preview-button { padding: .68rem .9rem; border: 1px solid var(--ink); background: transparent; font-weight: 700; }
.preview-button.primary-focus { outline: 3px solid #5da9ff; outline-offset: 3px; background: var(--ink); color: white; }
.preview-button.danger { border-color: var(--red-dark); color: var(--red-dark); }
.recovery-preview { width: min(500px, calc(100% - 2rem)); display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; padding: clamp(1.5rem, 4vw, 2.5rem); background: #262626; border-left: 4px solid var(--red); }
.controller-icon { width: 2.2rem; height: 1.5rem; border: 2px solid rgba(255,255,255,.72); border-radius: .75rem .75rem .5rem .5rem; }
.recovery-preview h4 { margin: 0; font-size: 1.35rem; }
.recovery-preview p { margin: .45rem 0 1rem; color: rgba(255,255,255,.62); }
.recovery-preview button { border: 0; padding: .65rem .85rem; background: white; color: var(--ink); font-weight: 750; }

.decision-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.action-button { appearance: none; border: 1px solid var(--ink); background: transparent; padding: .58rem .78rem; color: var(--ink); font-size: .78rem; font-weight: 700; cursor: pointer; }
.action-button:hover { background: var(--ink); color: white; }
.action-button.accent { border-color: var(--red-dark); color: var(--red-dark); }
.action-button.accent:hover { background: var(--red-dark); color: white; }
.human-record { flex-basis: 100%; padding: .85rem; background: #fff3dc; color: #704300; font-size: .78rem; }

.explanation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.2rem; }
.explanation-grid h4 { margin: 0 0 .9rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.finding-list { list-style: none; padding: 0; margin: 0; }
.finding-list li { position: relative; padding: .7rem 0 .7rem 1.3rem; border-top: 1px solid var(--line); font-size: .8rem; }
.finding-list li::before { content: ""; position: absolute; left: 0; top: 1.08rem; width: .48rem; height: .48rem; border-radius: 50%; background: var(--muted); }
.finding-list li[data-outcome="PASS"]::before { background: var(--green); }
.finding-list li[data-outcome="FAIL"]::before { background: var(--red); }
.finding-list li[data-outcome="REVIEW_REQUIRED"]::before { background: var(--amber); }
.finding-list li[data-outcome="INFORM"]::before { background: #999; }
.finding-list strong { display: block; }
.finding-list span { color: var(--muted); }
.authority-list { display: grid; grid-template-columns: auto 1fr; gap: .55rem .8rem; margin: 0; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .78rem; }
.authority-list dt { color: var(--muted); }
.authority-list dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; font-size: .74rem; }
.receipt-details { margin-top: 2rem; }
.receipt-toolbar { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-bottom: .8rem; font-size: .73rem; color: var(--green); }
.receipt-toolbar span { margin-right: auto; }
.small-button { appearance: none; border: 1px solid var(--line); background: transparent; padding: .42rem .62rem; cursor: pointer; font-size: .72rem; }
.receipt-details pre { max-height: 340px; overflow: auto; margin: 0; padding: 1rem; background: #181818; color: #d7d7d7; font: .69rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }

.taxonomy-section { padding-top: clamp(6rem, 10vw, 10rem); }
.taxonomy-table { margin-top: 4rem; border-top: 2px solid var(--ink); }
.taxonomy-row { display: grid; grid-template-columns: 1.25fr 1.2fr 1.25fr 1fr; gap: 1.3rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.taxonomy-row > * { min-width: 0; }
.taxonomy-row code { font-size: .78rem; color: var(--red-dark); overflow-wrap: anywhere; }
.taxonomy-row span { font-size: .86rem; }
.taxonomy-head { padding: .75rem 0; color: var(--muted); font-size: .7rem; font-weight: 760; text-transform: uppercase; letter-spacing: .07em; }
.taxonomy-head span { font-size: inherit; }

.law-section { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(3rem, 8vw, 8rem); padding: clamp(5rem, 9vw, 9rem) var(--gutter); background: var(--ink); color: white; }
.law-section > * { width: 100%; max-width: 760px; }
.law-copy { justify-self: end; }
.law-copy > p:last-child { color: rgba(255,255,255,.58); }
.authority-legend { align-self: center; }
.authority-legend > div { display: grid; grid-template-columns: auto 1fr; gap: .1rem .8rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.15); }
.authority-legend .dot { grid-row: 1 / 3; width: .7rem; height: .7rem; margin-top: .4rem; border-radius: 50%; background: #888; }
.dot.adopted { background: var(--green); }
.dot.extension { background: #7aa6e0; }
.dot.human { background: #e49a39; }
.authority-legend span { color: rgba(255,255,255,.52); font-size: .78rem; }

.take-section { padding-top: clamp(6rem, 10vw, 10rem); }
.run-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; margin-top: 4rem; padding: clamp(1.6rem, 4vw, 3rem); background: var(--paper-deep); }
.run-card pre { margin: 0; padding: 1.4rem; overflow: auto; background: var(--ink); color: white; font: .85rem/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.run-card p { color: var(--muted); }
.run-card p:first-child { color: var(--ink); }

.sources-section { padding-top: 3rem; }
.source-list { list-style: none; padding: 0; margin: 3rem 0 0; border-top: 1px solid var(--ink); }
.source-list li { display: grid; grid-template-columns: minmax(220px, .7fr) 1.3fr; gap: 2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.source-list a { font-weight: 700; text-underline-offset: .2em; }
.source-list span { color: var(--muted); font-size: .85rem; }

footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2rem var(--gutter); background: #090909; color: rgba(255,255,255,.52); font-size: .72rem; }
footer p { margin: 0; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%); padding: .7rem 1rem; background: var(--ink); color: white; box-shadow: 0 6px 30px rgba(0,0,0,.28); font-size: .8rem; opacity: 0; transition: transform 180ms ease, opacity 180ms ease; }
.toast:empty { display: none; }
.toast.visible { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: auto; padding-top: 9rem; }
  .hero-copy { align-self: auto; }
  .opening-questions { max-width: 680px; }
  .hero-rail { margin-top: 1rem; }
  .map-inputs { grid-template-columns: 1fr 1fr; }
  .map-inputs > div:nth-child(3) { border-left: 0; }
  .map-inputs > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ownership-grid { grid-template-columns: 1fr; }
  .ownership-grid h3 { margin-top: 1rem; }
  .lab-shell { grid-template-columns: 1fr; }
  .situation-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .scenario-description { min-height: auto; }
  .law-section { grid-template-columns: 1fr; }
  .law-copy { justify-self: auto; }
  .run-card { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --gutter: 1.15rem; --display: clamp(3.15rem, 15.5vw, 4.2rem); --heading: clamp(2.1rem, 10vw, 3rem); }
  .site-header { align-items: flex-start; padding-top: 1.1rem; }
  .site-header nav { display: none; }
  .hero { gap: 3.5rem; padding-top: 7.7rem; padding-bottom: 1.6rem; }
  .hero h1 { line-height: .94; }
  .hero-thesis { margin-top: 1.5rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .honesty-note { max-width: 330px; }
  .hero-rail { grid-template-columns: auto 1fr auto; gap: .45rem; }
  .hero-rail span:nth-of-type(n+3), .hero-rail i:nth-of-type(n+2) { display: none; }
  .map-inputs { grid-template-columns: 1fr; }
  .map-inputs > div, .map-inputs > div + div { padding: 1rem 0; border-left: 0; border-top: 1px solid var(--line); }
  .map-inputs > div:first-child { border-top: 0; }
  .map-output { padding: 1.8rem 1rem; }
  .map-output p { font-size: .8rem; }
  .scenario-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .scenario-tabs button { flex: 0 0 76%; border-right: 1px solid var(--line); scroll-snap-align: start; }
  .lab-section { padding-left: .65rem; padding-right: .65rem; }
  .lab-intro { padding: 0 .5rem; }
  .decision-topline { display: grid; }
  .status-badge { justify-self: start; }
  .response-stage { min-height: 285px; margin-left: -.65rem; margin-right: -.65rem; }
  .poster-row { grid-template-columns: 1fr 1fr; }
  .poster:nth-child(n+3) { display: none; }
  .dialog-actions { flex-direction: column; }
  .explanation-grid { grid-template-columns: 1fr; }
  .taxonomy-table { border-top: 0; }
  .taxonomy-head { display: none; }
  .taxonomy-row { grid-template-columns: 1fr; gap: .55rem; padding: 1.5rem 0; border-top: 1px solid var(--ink); }
  .taxonomy-row span::before { display: block; color: var(--muted); font-size: .63rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
  .taxonomy-row span:nth-child(2)::before { content: "Purpose"; }
  .taxonomy-row span:nth-child(3)::before { content: "Route requires"; }
  .taxonomy-row span:nth-child(4)::before { content: "Candidate response"; }
  .source-list li { grid-template-columns: 1fr; gap: .45rem; }
  footer { flex-direction: column; }
}

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