:root {
  --bg: #f4f6f8;
  --paper: #ffffff;
  --ink: #1d2430;
  --text: #202631;
  --muted: #5f6977;
  --line: #d8dee8;
  --soft: #eef2f7;
  --blue: #2f5fd7;
  --green: #0b7a5a;
  --red: #b43b2f;
  --amber: #a66718;
  --purple: #6f3fc8;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.07);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--soft);
  color: var(--ink);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 44px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 24px;
  align-items: center;
  padding: 16px 0 30px;
  border-bottom: 1px solid var(--line);
}

.thesis-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  line-height: 1.02;
  letter-spacing: 0;
}

.dek {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.button.primary {
  border-color: #2453c0;
  background: var(--blue);
  color: #ffffff;
}

.hero-dashboard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.dashboard-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.hero-stat span,
.pressure-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.hero-stat strong {
  color: var(--ink);
  font-size: 28px;
}

.hero-stat.split strong {
  color: var(--green);
}

.hero-gap {
  border-radius: 7px;
  background: #fff7f5;
  border: 1px solid #f1c7c0;
  color: var(--red);
  padding: 10px 12px;
  font-size: 18px;
  font-weight: 850;
}

.pressure-list {
  display: grid;
  gap: 8px;
}

.pressure-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #edf1f6;
  padding-bottom: 7px;
}

.pressure-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pressure-list strong {
  color: var(--ink);
  font-size: 12px;
  text-align: right;
}

.thesis-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 14px;
}

.visual-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.visual-number {
  color: var(--red);
  font-size: 24px;
  font-weight: 850;
}

.mini-chart {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  align-items: end;
  height: 170px;
  border-bottom: 1px solid #1f2937;
  padding: 0 3px;
}

.mini-bar {
  display: grid;
  align-content: end;
  height: 100%;
  gap: 0;
}

.bar-w,
.bar-k,
.bar-s {
  width: 100%;
}

.bar-w {
  background: var(--blue);
}

.bar-k {
  background: var(--purple);
}

.bar-s {
  background: var(--amber);
}

.mini-years {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  padding: 7px 3px 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px;
  margin-top: 10px;
}

.legend span::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  border-radius: 2px;
  vertical-align: -1px;
  background: var(--blue);
}

.legend .kv::before {
  background: var(--purple);
}

.legend .scratch::before {
  background: var(--amber);
}

.thesis-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 22px 0 4px;
}

.thesis-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 16px;
}

.thesis-card span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
}

.thesis-card h2 {
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: 16px;
}

.thesis-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.source-quality {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 0 6px;
}

.source-quality div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 14px;
}

.source-quality p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.source-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 850;
}

.source-pill.official {
  background: #edfdf7;
  color: var(--green);
}

.source-pill.reported {
  background: #fff7ed;
  color: var(--amber);
}

.source-pill.modelled {
  background: #f5f8ff;
  color: var(--blue);
}

.evidence-ledger {
  margin: 16px 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.ledger-head {
  max-width: 760px;
}

.ledger-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}

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

.ledger-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.ledger-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.ledger-grid article.modeled {
  border-color: #c8d4f5;
  background: #f5f8ff;
}

.ledger-grid span,
.ledger-grid em {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
}

.ledger-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.ledger-grid p {
  margin: 8px 0 10px;
  color: #2b3340;
  font-size: 12px;
  line-height: 1.48;
}

.ledger-grid a {
  color: var(--blue);
  font-weight: 750;
}

.ledger-grid em {
  color: var(--blue);
  text-transform: none;
}

.executive-brief {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 16px;
  margin: 16px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.brief-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.18;
}

.brief-copy p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.brief-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-content: stretch;
}

.brief-metrics div {
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.brief-metrics span {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.brief-metrics strong {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.brief-metrics em {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.conviction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 0 8px;
}

.conviction-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.conviction-card.inverse {
  border-color: #efc9c3;
  background: #fff8f6;
}

.conviction-card h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 19px;
}

.conviction-card ul {
  margin: 0;
  padding-left: 20px;
}

.conviction-card li {
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.conviction-card li::marker {
  color: var(--blue);
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 740px) minmax(240px, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 28px;
}

.article {
  padding: 0 0 8px;
}

.article p.article-meta {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.article h2 {
  margin: 34px 0 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}

.article h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article p,
.article li {
  color: #2b3340;
  font-size: 16px;
  line-height: 1.68;
}

.article p {
  margin: 0 0 14px;
}

.article ul {
  margin: 10px 0 18px;
  padding-left: 21px;
}

.callout {
  margin: 20px 0;
  border-left: 4px solid var(--blue);
  border-radius: 0 7px 7px 0;
  background: #ffffff;
  padding: 13px 14px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  box-shadow: var(--shadow);
}

.formula-card {
  margin: 16px 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.5;
}

.mechanics-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 16px;
  align-items: stretch;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.mechanics-card h3,
.formula-audit h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.mechanics-card p:last-child,
.formula-audit p {
  margin-bottom: 0;
}

.kv-equation {
  border: 1px solid #ded3f7;
  border-radius: 8px;
  background: #fbf9ff;
  padding: 16px;
}

.kv-equation span,
.audit-grid span {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.kv-equation strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.22;
}

.kv-equation em {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.bridge-card {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.bridge-head {
  max-width: 680px;
}

.bridge-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

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

.bridge-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.bridge-flow div {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 13px;
}

.bridge-flow span {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.bridge-flow strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.bridge-flow em {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.bridge-bars {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.bridge-bar-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(180px, 1fr) 74px;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 13px;
}

.bridge-bar-row.total {
  border-color: #d9e2f6;
  background: #f8fbff;
}

.bridge-bar-row strong,
.bridge-bar-row span {
  display: block;
}

.bridge-bar-row strong {
  color: var(--ink);
  font-size: 14px;
}

.bridge-bar-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.bridge-bar-row b {
  color: var(--ink);
  font-size: 15px;
  text-align: right;
}

.bridge-track {
  display: flex;
  height: 16px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.bridge-track i {
  display: block;
  height: 100%;
}

.bridge-track .weight {
  background: var(--blue);
}

.bridge-track .kv {
  background: var(--purple);
}

.bridge-track .scratch {
  background: var(--amber);
}

.bridge-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.method-card {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.method-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

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

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.method-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.method-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.method-grid strong {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: 15px;
}

.method-grid p {
  margin: 6px 0 9px;
  color: #2b3340;
  font-size: 13px;
  line-height: 1.45;
}

.method-grid code {
  display: block;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  padding: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 11.5px;
  line-height: 1.4;
  white-space: normal;
}

.model-compare {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.compare-head {
  max-width: 700px;
}

.compare-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

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

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.compare-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.compare-card.stress {
  border-color: #efc1ba;
  background: #fff4f2;
}

.compare-card.caution {
  border-color: #f1d2a5;
  background: #fff8ec;
}

.compare-card.grounded {
  border-color: #bfe8db;
  background: #effcf7;
}

.compare-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.compare-card strong {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.compare-card b {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.05;
}

.compare-card p {
  margin: 10px 0 0;
  color: #2b3340;
  font-size: 13px;
  line-height: 1.45;
}

.compare-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.formula-audit {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.audit-copy {
  max-width: 680px;
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.audit-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 13px;
}

.audit-grid div:nth-child(n+3) {
  border-color: #efd8bd;
  background: #fffaf2;
}

.audit-grid div:nth-child(n+3) span {
  color: var(--amber);
}

.audit-grid strong {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.audit-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.formula-appendix {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.formula-head {
  max-width: 720px;
}

.formula-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

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

.formula-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.formula-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 13px;
}

.formula-grid span {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.formula-grid code,
.formula-note code {
  display: block;
  margin-top: 9px;
  border: 1px solid #dfe6ef;
  border-radius: 6px;
  background: #ffffff;
  color: #334155;
  padding: 8px;
  font-size: 11px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.formula-grid p {
  margin: 9px 0 0;
  color: #2b3340;
  font-size: 12px;
  line-height: 1.45;
}

.formula-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.formula-note code {
  display: inline;
  margin: 0 2px;
  padding: 2px 5px;
}

.demand-stack-card {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.demand-stack-head {
  max-width: 720px;
}

.demand-stack-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.demand-stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.demand-stack-grid div,
.bucket-equation div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 13px;
}

.demand-stack-grid span,
.bucket-equation span {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.demand-stack-grid strong,
.bucket-equation strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.demand-stack-grid p,
.bucket-equation p {
  margin: 8px 0 0;
  color: #2b3340;
  font-size: 12px;
  line-height: 1.45;
}

.demand-stack-grid code,
.bucket-equation code {
  display: block;
  margin-top: 10px;
  border: 1px solid #dfe6ef;
  border-radius: 6px;
  background: #ffffff;
  color: #334155;
  padding: 8px;
  font-size: 11px;
  line-height: 1.35;
  white-space: normal;
}

.bucket-equation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.bucket-equation div:first-child {
  border-color: #bfe8db;
  background: #effcf7;
}

.bucket-equation div:last-child {
  border-color: #c8d4f5;
  background: #f5f8ff;
}

.discipline-card {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.discipline-head {
  max-width: 720px;
}

.discipline-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.discipline-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 13px;
}

.discipline-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.discipline-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.discipline-grid p {
  margin: 8px 0 0;
  color: #2b3340;
  font-size: 12px;
  line-height: 1.45;
}

.evidence-card,
.model-snapshot {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.evidence-card h3,
.model-snapshot h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.spec-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.spec-compare div {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
  padding: 14px;
}

.spec-compare span,
.spec-compare small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.spec-compare strong {
  display: block;
  margin: 6px 0 3px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.2;
}

.roadmap-card {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.roadmap-head {
  max-width: 680px;
}

.roadmap-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

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

.roadmap-bars {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.roadmap-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(150px, 1fr) 74px minmax(92px, 0.45fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.roadmap-row.projected {
  border-color: #efd8bd;
  background: #fffaf2;
}

.roadmap-row span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.roadmap-row strong {
  color: var(--ink);
  font-size: 18px;
  text-align: right;
}

.roadmap-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.3;
}

.roadmap-track {
  height: 14px;
  border-radius: 999px;
  background: #e8edf5;
  overflow: hidden;
}

.roadmap-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
}

.roadmap-pressure {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.roadmap-pressure div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.roadmap-pressure span,
.roadmap-pressure em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-style: normal;
}

.roadmap-pressure strong {
  display: block;
  margin: 4px 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.calc-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 16px;
}

.calc-node {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 13px;
  min-height: 98px;
}

.calc-node span {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calc-node strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.calc-node.emphasis {
  border-color: #c8d4f5;
  background: #f5f8ff;
}

.model-snapshot {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: start;
}

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

.stack-chart {
  display: grid;
  gap: 10px;
}

.stack-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 68px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.stack-row strong {
  color: var(--ink);
  text-align: right;
}

.stack-track {
  height: 20px;
  border-radius: 6px;
  background: #eef2f7;
  overflow: hidden;
  display: flex;
}

.stack-track i {
  display: block;
  height: 100%;
}

.stack-track .weight,
.driver-stack .weight {
  background: var(--blue);
}

.stack-track .kv,
.driver-stack .kv {
  background: var(--purple);
}

.stack-track .scratch,
.driver-stack .scratch {
  background: var(--amber);
}

.stack-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.stack-legend span::before,
.scenario-row::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  border-radius: 2px;
  vertical-align: -1px;
}

.stack-legend .weight::before {
  background: var(--blue);
}

.stack-legend .kv::before {
  background: var(--purple);
}

.stack-legend .scratch::before {
  background: var(--amber);
}

.driver-card {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.driver-head {
  max-width: 720px;
}

.driver-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.driver-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.driver-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.driver-grid span,
.driver-grid em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  font-style: normal;
}

.driver-grid strong {
  display: block;
  margin: 6px 0 4px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.driver-bars {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.driver-bar-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.driver-bar-head span {
  color: var(--muted);
  font-weight: 750;
}

.driver-stack {
  display: flex;
  height: 26px;
  margin-top: 12px;
  border-radius: 6px;
  background: #eef2f7;
  overflow: hidden;
}

.driver-stack i {
  display: block;
  height: 100%;
}

.driver-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.driver-legend span::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  border-radius: 2px;
  vertical-align: -1px;
}

.driver-legend .weight::before {
  background: var(--blue);
}

.driver-legend .kv::before {
  background: var(--purple);
}

.driver-legend .scratch::before {
  background: var(--amber);
}

.driver-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.repro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 16px;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.repro-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

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

.repro-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
}

.repro-actions .button {
  justify-content: center;
  width: 100%;
}

.repro-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.repro-stats div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.repro-stats span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.repro-stats strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.assumption-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.assumption-ledger div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 14px;
}

.assumption-ledger span,
.assumption-ledger em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  font-style: normal;
}

.assumption-ledger strong {
  display: block;
  margin: 6px 0 4px;
  color: var(--ink);
  font-size: 18px;
}

.scenario-ladder {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.scenario-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(160px, 1fr) 92px;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 13px 14px;
}

.scenario-row::before {
  position: absolute;
  left: 14px;
  top: 17px;
  margin: 0;
}

.scenario-row > div:first-child {
  padding-left: 18px;
}

.scenario-row strong,
.scenario-row span {
  display: block;
}

.scenario-row strong {
  color: var(--ink);
  font-size: 14px;
}

.scenario-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.scenario-row b {
  color: var(--ink);
  font-size: 13px;
  text-align: right;
}

.scenario-track {
  height: 12px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.scenario-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.scenario-row.surplus::before,
.scenario-row.surplus .scenario-track i {
  background: var(--green);
}

.scenario-row.base::before,
.scenario-row.base .scenario-track i {
  background: var(--amber);
}

.scenario-row.deficit::before,
.scenario-row.deficit .scenario-track i,
.scenario-row.stress::before,
.scenario-row.stress .scenario-track i {
  background: var(--red);
}

.scenario-links {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.scenario-links-head {
  max-width: 700px;
}

.scenario-links-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.scenario-links-head p:last-child {
  margin-bottom: 0;
}

.scenario-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.scenario-link {
  position: relative;
  display: grid;
  min-height: 126px;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px 14px 14px 16px;
  color: inherit;
  text-decoration: none;
}

.scenario-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--blue);
}

.scenario-link span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.scenario-link strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.05;
}

.scenario-link em {
  color: #2b3340;
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

.scenario-link.surplus::before {
  background: var(--green);
}

.scenario-link.base::before,
.scenario-link.tight::before {
  background: var(--amber);
}

.scenario-link.deficit::before,
.scenario-link.stress::before {
  background: var(--red);
}

.scenario-link:hover {
  border-color: #c8d4f5;
  background: #f5f8ff;
}

.sensitivity-matrix {
  margin: 22px 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.matrix-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.48fr);
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}

.matrix-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.matrix-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.matrix-grid {
  display: grid;
  grid-template-columns: minmax(145px, 1.15fr) repeat(3, minmax(112px, 1fr));
  gap: 8px;
}

.matrix-corner,
.matrix-col,
.matrix-row-label,
.matrix-cell {
  border-radius: 7px;
  min-height: 66px;
  padding: 10px;
}

.matrix-corner,
.matrix-col {
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.matrix-col span,
.matrix-row-label span,
.matrix-cell span {
  display: block;
  margin-top: 4px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.matrix-row-label {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.matrix-row-label span {
  color: var(--muted);
  font-size: 12px;
}

.matrix-cell {
  border: 1px solid var(--line);
  background: #f8fafc;
}

.matrix-cell strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.matrix-cell span {
  color: var(--muted);
  font-size: 12px;
}

.matrix-cell.surplus {
  border-color: #bfe8db;
  background: #effcf7;
}

.matrix-cell.tight {
  border-color: #f1d2a5;
  background: #fff8ec;
}

.matrix-cell.deficit {
  border-color: #efc1ba;
  background: #fff4f2;
}

.matrix-cell.severe {
  border-color: #d99990;
  background: #ffe9e5;
}

.matrix-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.tornado-card {
  margin: 22px 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.tornado-head {
  max-width: 720px;
}

.tornado-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

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

.tornado-scale {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.tornado-scale span:nth-child(2) {
  color: var(--blue);
  text-align: center;
}

.tornado-scale span:nth-child(3) {
  text-align: right;
}

.tornado-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.tornado-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.65fr) minmax(190px, 1fr) minmax(112px, 0.36fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.tornado-label strong,
.tornado-label span,
.tornado-value strong,
.tornado-value span {
  display: block;
}

.tornado-label strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.tornado-label span,
.tornado-value span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.tornado-track {
  position: relative;
  height: 18px;
  border-radius: 999px;
  background: #e8edf5;
  overflow: hidden;
}

.tornado-track i {
  position: absolute;
  top: 0;
  bottom: 0;
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, #bfe8db, var(--purple), #efc1ba);
}

.tornado-track b {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 3px;
  border-radius: 999px;
  background: var(--ink);
  transform: translateX(-50%);
}

.tornado-value strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
  text-align: right;
}

.tornado-value span {
  text-align: right;
}

.tornado-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.tornado-note a {
  color: var(--blue);
  font-weight: 750;
}

.breakeven-card {
  margin: 22px 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.breakeven-head {
  max-width: 700px;
}

.breakeven-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

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

.hurdle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.hurdle-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.hurdle-card.blocker {
  grid-column: 1 / -1;
  border-color: #efc1ba;
  background: #fff4f2;
}

.hurdle-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.hurdle-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.2;
}

.hurdle-card em {
  display: block;
  margin-top: 9px;
  color: #2b3340;
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.hurdle-meter {
  height: 12px;
  margin-top: 12px;
  border-radius: 999px;
  background: #e8edf5;
  overflow: hidden;
}

.hurdle-meter i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--blue);
}

.hurdle-card:nth-child(1) .hurdle-meter i {
  background: var(--green);
}

.hurdle-card:nth-child(2) .hurdle-meter i,
.hurdle-card:nth-child(3) .hurdle-meter i,
.hurdle-card:nth-child(4) .hurdle-meter i {
  background: var(--amber);
}

.hurdle-card.blocker .hurdle-meter i {
  background: var(--red);
}

.breakeven-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.debate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.debate-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 15px;
}

.debate-grid h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 16px;
}

.debate-grid p {
  margin: 0 0 10px;
  color: #2b3340;
  font-size: 14px;
  line-height: 1.5;
}

.debate-grid span {
  display: inline-flex;
  border-radius: 6px;
  background: #f8fafc;
  color: var(--muted);
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.monitor-board {
  margin: 22px 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.monitor-head {
  max-width: 720px;
}

.monitor-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

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

.monitor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.monitor-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.monitor-grid div.bull {
  border-color: #bfe8db;
  background: #effcf7;
}

.monitor-grid div.bear {
  border-color: #efd8bd;
  background: #fffaf2;
}

.monitor-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.monitor-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.monitor-grid p {
  margin: 8px 0 10px;
  color: #2b3340;
  font-size: 12px;
  line-height: 1.45;
}

.monitor-grid em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.supply-gates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 24px;
}

.supply-gates div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 14px;
}

.supply-gates span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #edf3ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.supply-gates strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 14px;
}

.supply-gates p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.side-panel {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 12px;
}

.module {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 15px;
}

.module h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
}

.module p,
.module a,
.module li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.module p {
  margin: 0 0 10px;
}

.module ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.page-title {
  max-width: 760px;
  padding: 20px 0 18px;
}

.page-title h1 {
  font-size: 42px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 20px;
  align-items: start;
}

.about-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 22px;
}

.about-card h2,
.about-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
}

.about-card h2 {
  font-size: 20px;
}

.about-card h3 {
  font-size: 15px;
}

.about-card p,
.about-card li {
  color: #2b3340;
  font-size: 15px;
  line-height: 1.65;
}

.about-card p {
  margin: 0 0 13px;
}

.about-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.stack {
  display: grid;
  gap: 16px;
}

.disclaimer-block {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 20px 22px;
}

.disclaimer-block h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
}

.disclaimer-block p {
  margin: 0 0 12px;
  color: #2b3340;
  font-size: 14px;
  line-height: 1.62;
}

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

.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 880px) {
  .hero,
  .executive-brief,
  .mechanics-card,
  .article-shell,
  .about-grid,
  .model-snapshot,
  .repro-card {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
  }

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

  .source-quality {
    grid-template-columns: 1fr;
  }

  .brief-metrics,
  .conviction-grid,
  .bridge-flow,
  .ledger-grid,
  .repro-stats,
  .compare-grid,
  .audit-grid,
  .demand-stack-grid,
  .discipline-grid,
  .monitor-grid,
  .supply-gates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .matrix-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .matrix-grid {
    grid-template-columns: minmax(122px, 0.95fr) repeat(3, minmax(94px, 1fr));
    gap: 6px;
  }

  .matrix-corner,
  .matrix-col,
  .matrix-row-label,
  .matrix-cell {
    padding: 9px;
  }

  .matrix-cell strong {
    font-size: 17px;
  }

  .roadmap-row {
    grid-template-columns: minmax(104px, 0.55fr) minmax(140px, 1fr) 70px;
  }

  .roadmap-row em {
    grid-column: 2 / -1;
  }

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

  .calc-node.emphasis {
    grid-column: 1 / -1;
  }

  .scenario-row {
    grid-template-columns: 1fr;
  }

  .scenario-row b {
    text-align: left;
  }

  .side-panel {
    position: static;
  }

  h1 {
    font-size: 38px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-bottom: 22px;
  }

  .thesis-visual {
    display: none;
  }

  .hero-dashboard {
    display: none;
  }

  .spec-compare,
  .conviction-grid,
  .roadmap-pressure,
  .driver-grid,
  .ledger-grid,
  .repro-stats,
  .assumption-ledger,
  .method-grid,
  .formula-grid,
  .compare-grid,
  .audit-grid,
  .bucket-equation,
  .hurdle-grid,
  .monitor-grid,
  .debate-grid {
    grid-template-columns: 1fr;
  }

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

  .tornado-row {
    grid-template-columns: 1fr;
  }

  .tornado-value strong,
  .tornado-value span {
    text-align: left;
  }

  .bridge-bar-row {
    grid-template-columns: 1fr;
  }

  .bridge-bar-row b {
    text-align: left;
  }

  .stack-row {
    grid-template-columns: 42px minmax(0, 1fr) 62px;
    gap: 8px;
  }

  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .matrix-corner,
  .matrix-col {
    display: none;
  }

  .matrix-row-label {
    min-height: 0;
    margin-top: 6px;
    background: #f8fafc;
  }

  .matrix-cell {
    min-height: 58px;
  }

  .matrix-cell::before {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
  }

  .matrix-cell:nth-of-type(4n + 2)::before {
    content: "Tight supply";
  }

  .matrix-cell:nth-of-type(4n + 3)::before {
    content: "Base supply";
  }

  .matrix-cell:nth-of-type(4n + 4)::before {
    content: "Fast supply";
  }
}

@media (max-width: 560px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  main {
    padding: 20px 12px 34px;
  }

  h1,
  .page-title h1 {
    font-size: 32px;
  }

  .dek {
    font-size: 16px;
  }

  .article,
  .about-card {
    padding: 18px;
  }

  .article h2,
  .article h3,
  .article p,
  .article strong,
  .article span,
  .article em {
    overflow-wrap: break-word;
  }

  .model-snapshot,
  .driver-card {
    padding: 14px;
  }

  .stack-row {
    grid-template-columns: 38px minmax(0, 1fr) 54px;
  }

  .stack-row strong {
    font-size: 11px;
  }

  .driver-grid div,
  .driver-bars {
    padding: 12px;
  }

  .thesis-map,
  .brief-metrics,
  .bridge-flow,
  .calc-flow,
  .demand-stack-grid,
  .discipline-grid,
  .scenario-link-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-row {
    grid-template-columns: 1fr;
  }

  .roadmap-row strong {
    text-align: left;
  }

  .roadmap-row em {
    grid-column: auto;
  }

  .driver-bar-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .supply-gates {
    grid-template-columns: 1fr;
  }

  .calc-node.emphasis {
    grid-column: auto;
  }

  .hero-stat strong {
    font-size: 23px;
  }
}
