:root {
  color-scheme: light dark;
  --bg: #f4f7f9;
  --surface: #ffffff;
  --surface-soft: #eaf0f4;
  --surface-muted: #dde7ed;
  --ink: #17232d;
  --muted: #526370;
  --line: #cbd6dd;
  --line-strong: #aebdc7;
  --brand: #1b4a68;
  --brand-dark: #12364e;
  --brand-soft: #dfeaf0;
  --accent: #d2ad58;
  --accent-soft: #f5ecd7;
  --danger: #8a3030;
  --success: #276447;
  --focus: #006edc;
  --shadow: 0 12px 34px rgba(18, 54, 78, .09);
  --shadow-small: 0 5px 18px rgba(18, 54, 78, .08);
  --radius-sm: .35rem;
  --radius: .65rem;
  --radius-lg: .9rem;
  --max: 78rem;
  --reading: 48rem;
  --font-size: 100%;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] {
    --bg: #10171c;
    --surface: #172127;
    --surface-soft: #1e2b33;
    --surface-muted: #263640;
    --ink: #f3f6f7;
    --muted: #c1ccd2;
    --line: #43545f;
    --line-strong: #657681;
    --brand: #86bad5;
    --brand-dark: #0c2636;
    --brand-soft: #223946;
    --accent: #e2c06c;
    --accent-soft: #3b3423;
    --focus: #83c1ff;
    --shadow: 0 14px 38px rgba(0, 0, 0, .28);
    --shadow-small: 0 6px 20px rgba(0, 0, 0, .24);
  }
}

html[data-theme="dark"] {
  --bg: #10171c;
  --surface: #172127;
  --surface-soft: #1e2b33;
  --surface-muted: #263640;
  --ink: #f3f6f7;
  --muted: #c1ccd2;
  --line: #43545f;
  --line-strong: #657681;
  --brand: #86bad5;
  --brand-dark: #0c2636;
  --brand-soft: #223946;
  --accent: #e2c06c;
  --accent-soft: #3b3423;
  --focus: #83c1ff;
  --shadow: 0 14px 38px rgba(0, 0, 0, .28);
  --shadow-small: 0 6px 20px rgba(0, 0, 0, .24);
}

html[data-contrast="high"] {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #ffffff;
  --surface-muted: #f2f2f2;
  --ink: #000000;
  --muted: #111111;
  --line: #000000;
  --line-strong: #000000;
  --brand: #000000;
  --brand-dark: #000000;
  --brand-soft: #ffffff;
  --accent: #ffdf00;
  --accent-soft: #fff6a0;
  --focus: #005fcc;
  --heading-accent: #000000;
  --shadow: none;
  --shadow-small: none;
}

html[data-theme="dark"][data-contrast="high"],
html[data-theme="system"][data-contrast="high"] {
  --bg: #000000;
  --surface: #000000;
  --surface-soft: #000000;
  --surface-muted: #111111;
  --ink: #ffffff;
  --muted: #ffffff;
  --line: #ffffff;
  --line-strong: #ffffff;
  --brand: #ffffff;
  --brand-dark: #000000;
  --brand-soft: #000000;
  --accent: #ffdf00;
  --accent-soft: #332d00;
  --focus: #00ffff;
  --shadow: none;
  --shadow-small: none;
}

html[data-text="large"] { --font-size: 116%; }

* { box-sizing: border-box; }
html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a {
  color: inherit;
  text-decoration-color: currentColor;
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}
a:hover { text-decoration-thickness: .14em; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--bg);
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
}
.skip-link:focus { transform: none; }
.screen-reader-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}
.container--narrow { max-width: 60rem; }
.section { padding: clamp(4rem, 7vw, 6.5rem) 0; }
.section--tight { padding: 2.75rem 0; }
.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.section--strong {
  background: var(--brand-dark);
  color: #ffffff;
}
.section--accent {
  background: var(--accent-soft);
  color: var(--ink);
}
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(19rem, .85fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split--top { align-items: start; }
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0 0 .7em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.55rem, 5.8vw, 4.85rem); max-width: 16ch; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); max-width: 24ch; }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.55rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: .55rem; }
.lead {
  font-size: clamp(1.12rem, 1.85vw, 1.38rem);
  line-height: 1.55;
  max-width: 48rem;
  color: var(--muted);
}
.section--strong .lead,
.section--strong .muted { color: #e5edf2; }
.eyebrow {
  display: inline-block;
  margin-bottom: .8rem;
  color: var(--brand);
  font-weight: 850;
  font-size: .77rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section--strong .eyebrow,
.statement-section .eyebrow { color: #f1d58e; }
.muted { color: var(--muted); }
.small { font-size: .91rem; }
.kicker-number {
  display: block;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 850;
  line-height: 1;
  color: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: .72rem 1.05rem;
  border: 2px solid var(--brand-dark);
  border-radius: var(--radius-sm);
  background: var(--brand-dark);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}
.button:hover {
  background: var(--brand);
  border-color: var(--brand);
  text-decoration: none;
  transform: translateY(-1px);
}
.button--secondary {
  background: transparent;
  color: var(--brand-dark);
}
.button--secondary:hover { color: #ffffff; }
.button--light {
  background: #ffffff;
  color: #183e59;
  border-color: #ffffff;
}
.button--light:hover {
  background: #eef4f7;
  color: #183e59;
  border-color: #eef4f7;
}
.section--strong .button:not(.button--light) {
  background: #ffffff;
  border-color: #ffffff;
  color: #183e59;
}
.text-link {
  color: var(--brand);
  font-weight: 800;
}
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.95rem;
  padding: .2rem .6rem;
  border: 1px solid var(--line-strong);
  border-radius: 99rem;
  font-weight: 750;
  font-size: .82rem;
}
.icon { display: none !important; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  box-shadow: var(--shadow-small);
}
.card--flat { box-shadow: none; }
.card--accent {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.card h3 { margin-bottom: .5rem; }
.card-link {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  border-top: 4px solid var(--brand);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.card-link:hover {
  border-top-color: var(--accent);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.card-link .text-link { margin-top: auto; padding-top: 1rem; }
.note {
  border-left: .35rem solid var(--brand);
  background: var(--surface-soft);
  padding: 1.15rem 1.3rem;
  margin: 1.75rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.note strong {
  display: block;
  margin-bottom: .3rem;
  font-size: 1.02rem;
}
.note--warning { border-left-color: var(--danger); }
.note--success { border-left-color: var(--success); }
.source-ref {
  font-size: .65em;
  vertical-align: super;
  line-height: 0;
  margin-left: .1em;
}
.source-ref a { font-weight: 800; text-decoration: none; }

/* Header and dropdown navigation */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.utility-bar {
  background: var(--brand-dark);
  color: #ffffff;
  font-size: .82rem;
}
.utility-shell {
  width: min(calc(100% - 2.5rem), 86rem);
  min-height: 2.25rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.utility-copy { opacity: .92; }
.utility-actions { display: flex; align-items: center; gap: .35rem; }
.utility-button,
.display-settings > summary {
  min-height: 2rem;
  padding: .25rem .55rem;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: .2em;
}
.utility-button:hover,
.display-settings > summary:hover { text-decoration-color: currentColor; }
.display-settings { position: relative; }
.display-settings > summary::-webkit-details-marker { display: none; }
.display-panel {
  position: absolute;
  right: 0;
  top: calc(100% + .5rem);
  width: min(23rem, calc(100vw - 2rem));
  padding: 1.15rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 300;
}
.panel-title { font-weight: 850; margin-bottom: .7rem; }
.setting-group,
.setting-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  margin: .45rem 0 .65rem;
}
.setting-row { grid-template-columns: 1fr 1fr; }
.setting-group button,
.setting-row button {
  min-height: 2.65rem;
  padding: .4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  font-weight: 720;
}
.setting-group button[aria-pressed="true"],
.setting-row button[aria-pressed="true"] {
  background: var(--brand-dark);
  color: #ffffff;
  border-color: var(--brand-dark);
}
.text-button,
.link-button {
  border: 0;
  background: none;
  padding: .35rem 0;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.masthead { background: var(--surface); }
.masthead-shell {
  width: min(calc(100% - 2.5rem), 86rem);
  min-height: 6.25rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  gap: .12rem;
  text-decoration: none;
}
.brand-copy {
  display: flex;
  align-items: baseline;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.brand-copy strong { color: var(--brand-dark); font-weight: 900; }
.brand-copy span { color: var(--brand); font-weight: 560; }
.brand-tagline {
  color: var(--muted);
  font-size: .83rem;
  letter-spacing: .035em;
}
.header-claim {
  margin: 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
  text-align: right;
  line-height: 1.25;
}
.header-claim span { display: block; color: var(--muted); font-size: .83rem; }
.header-claim strong { display: block; font-size: 1.15rem; color: var(--brand-dark); }
.nav-toggle {
  display: none;
  min-height: 2.8rem;
  padding: .5rem .75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  align-items: center;
  gap: .55rem;
  cursor: pointer;
  font-weight: 800;
}
.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
}
.nav-toggle-lines { position: relative; }
.nav-toggle-lines::before,
.nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
.nav-toggle-lines::before { top: -.38rem; }
.nav-toggle-lines::after { top: .38rem; }
.nav-band {
  background: var(--brand-dark);
  color: #ffffff;
  border-top: 1px solid rgba(255,255,255,.12);
}
.nav-shell {
  width: min(calc(100% - 2.5rem), 86rem);
  margin-inline: auto;
}
.main-nav {
  display: flex;
  align-items: stretch;
  min-height: 3.5rem;
}
.nav-link,
.nav-parent {
  display: flex;
  align-items: center;
  min-height: 3.5rem;
  padding: .65rem .8rem;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-weight: 760;
  font-size: .91rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.nav-parent::after {
  content: "";
  width: .42rem;
  height: .42rem;
  margin-left: .48rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-.13rem) rotate(45deg);
}
.nav-link:hover,
.nav-parent:hover,
.nav-link.is-active,
.nav-parent.is-active,
.nav-item.is-open > .nav-parent {
  background: rgba(255,255,255,.14);
  text-decoration: none;
}
.nav-item { position: relative; }
.submenu {
  position: absolute;
  z-index: 250;
  left: 0;
  top: 100%;
  width: 19rem;
  display: none;
  padding: .55rem 0;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow);
}
.submenu a {
  display: block;
  padding: .62rem 1rem;
  color: var(--ink);
  font-size: .93rem;
  text-decoration: none;
  border-left: 4px solid transparent;
}
.submenu a + a { border-top: 1px solid var(--line); }
.submenu a:hover,
.submenu a.is-active {
  background: var(--surface-soft);
  border-left-color: var(--brand);
  text-decoration: none;
}
.nav-item.is-open > .submenu { display: block; }

/* Homepage */
.hero {
  padding: clamp(4rem, 7vw, 6.75rem) 0;
  background:
    linear-gradient(90deg, var(--surface) 0%, var(--surface) 62%, var(--surface-soft) 62%, var(--surface-soft) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(22rem, .8fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.hero h1 { max-width: 13.5ch; }
.hero .lead { max-width: 43rem; }
.hero-intro { max-width: 43rem; color: var(--muted); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}
.hero-fact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--brand);
  box-shadow: var(--shadow);
}
.fact-panel-label {
  margin: 0;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.fact-panel-list { list-style: none; margin: 0; padding: 0; }
.fact-panel-list li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: .9rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--line);
}
.fact-panel-list li:first-child { border-top: 0; }
.fact-panel-list > li > span {
  color: var(--brand);
  font-weight: 900;
  font-size: .82rem;
  letter-spacing: .06em;
}
.fact-panel-list strong { display: block; margin-bottom: .15rem; }
.fact-panel-list p { color: var(--muted); font-size: .91rem; line-height: 1.48; }
.key-facts {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  padding: 1.45rem;
}
.key-facts h3 { font-size: 1.15rem; margin-bottom: .8rem; }
.key-facts dl { margin: 0 0 1rem; }
.key-facts dl > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: .65rem 0;
  border-top: 1px solid var(--line);
}
.key-facts dl > div:first-child { border-top: 0; }
.key-facts dt { font-weight: 800; }
.key-facts dd { margin: 0; color: var(--muted); }
.statement-section {
  background: var(--brand-dark);
  color: #ffffff;
}
.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}
.statement-grid h2 { max-width: 17ch; }
.statement-copy {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5;
  color: #e7eef2;
}
.section-heading { max-width: 52rem; margin-bottom: 2.3rem; }
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem 2rem;
}
.topic-teaser {
  padding-top: 1.15rem;
  border-top: 3px solid var(--brand);
}
.topic-teaser h3 { margin-bottom: .55rem; }
.topic-teaser p { color: var(--muted); }
.topic-kicker {
  margin-bottom: .45rem !important;
  color: var(--brand) !important;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.project-section { background: var(--accent-soft); }
.project-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}
.project-panel blockquote {
  margin: 0;
  padding-left: 1.4rem;
  border-left: 4px solid var(--brand);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.42;
  font-weight: 680;
}
.project-cite { margin-top: 1rem; color: var(--muted); font-weight: 750; }
.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .7fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}
.final-cta p { color: #e7eef2; }

/* Interior pages */
.inner-hero {
  padding: clamp(3.25rem, 6vw, 5.25rem) 0;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}
.inner-hero h1 { max-width: 18ch; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: .85rem;
}
.breadcrumbs a { font-weight: 700; }
.quick-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 2.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}
.quick-nav a {
  background: var(--surface);
  padding: 1rem;
  font-weight: 800;
  text-decoration: none;
}
.quick-nav a:hover { background: var(--surface-soft); }
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
.prose { min-width: 0; }
.prose > * { max-width: var(--reading); }
.prose > .grid,
.prose > .compare,
.prose > .anatomy,
.prose > .inheritance,
.prose > .dayline,
.prose > .do-dont,
.prose > .evidence-scale,
.prose > .timeline,
.prose > table,
.prose > .copy-box,
.prose > .share-grid { max-width: none; }
.prose h2 {
  margin-top: 3.5rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 5rem;
}
.prose h3 { margin-top: 2rem; }
.prose > :first-child { margin-top: 0; }
.table-scroll {
  max-width: 100%;
  margin: 1.75rem 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--line);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.table-scroll:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.prose .table-scroll table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  margin: 0;
  background: var(--surface);
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  padding: .8rem;
}
.prose th { background: var(--surface-soft); }
.toc {
  position: sticky;
  top: 1.5rem;
  padding: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  box-shadow: var(--shadow-small);
}
.toc strong { display: block; margin-bottom: .55rem; }
.toc a {
  display: block;
  padding: .38rem 0;
  color: var(--muted);
  font-size: .9rem;
  text-decoration: none;
}
.toc a + a { border-top: 1px solid var(--line); }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.aspect-card { border-left: 4px solid var(--brand); box-shadow: none; }
.audience-card { min-height: 0; }
.personal-panel {
  display: block;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  background: var(--surface);
}
.personal-copy { padding: clamp(1.5rem, 4vw, 3rem); }
.personal-copy blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.9rem);
  line-height: 1.42;
  font-weight: 700;
}
.personal-copy cite { display: block; margin-top: 1rem; color: var(--muted); font-style: normal; }
.feature-list { list-style: none; padding: 0; display: grid; gap: .75rem; }
.feature-list li {
  position: relative;
  padding-left: 1.25rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: .45rem;
  height: .45rem;
  background: var(--brand);
}
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}
.compare > div {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.35rem;
}
.compare .not { border-top: 4px solid var(--danger); }
.compare .yes { border-top: 4px solid var(--success); }
.statement {
  font-size: clamp(1.65rem, 3.6vw, 3rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.03em;
  max-width: 28ch;
}
.strike {
  text-decoration: line-through;
  text-decoration-color: var(--danger);
  text-decoration-thickness: .1em;
}
.anatomy { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.anatomy-card { border-top: 4px solid var(--brand); box-shadow: none; }
.inheritance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin: 1.75rem 0;
}
.inheritance > div {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1rem;
  text-align: center;
}
.inheritance strong { display: block; margin-bottom: .35rem; font-size: 1.8rem; color: var(--brand); }
.myth {
  display: grid;
  grid-template-columns: minmax(7rem, .28fr) 1fr;
  gap: 1.3rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.myth > span {
  color: var(--brand);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dayline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}
.dayline > div { background: var(--surface); padding: 1.1rem; }
.dayline time { display: block; font-size: 1.75rem; font-weight: 850; color: var(--brand); }
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.do-dont > div { padding: 1.35rem; border: 1px solid var(--line); background: var(--surface); }
.do-dont .do { border-top: 4px solid var(--success); }
.do-dont .dont { border-top: 4px solid var(--danger); }

.simulation {
  overflow: hidden;
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-small);
}
.simulation-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: #d8dde0;
}
.simulation-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter .25s ease, transform .25s ease;
}
.simulation-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 78% 15%, rgba(255,255,255,.98) 0 4%, rgba(255,255,255,.8) 10%, rgba(255,255,255,.25) 28%, transparent 58%), linear-gradient(rgba(255,255,255,.28), rgba(255,255,255,.28));
  transition: opacity .25s ease;
}
.simulation[data-mode="mono"] img { filter: grayscale(1); }
.simulation[data-mode="acuity"] img { filter: grayscale(1) blur(7px) contrast(.88); transform: scale(1.035); }
.simulation[data-mode="glare"] img { filter: grayscale(1) blur(4px) contrast(.72) brightness(1.45); transform: scale(1.025); }
.simulation[data-mode="glare"] .simulation-glare { opacity: 1; }
.sim-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1rem;
  border-top: 1px solid var(--line);
}
.sim-controls button {
  min-height: 2.7rem;
  padding: .5rem .75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  font-weight: 750;
}
.sim-controls button[aria-pressed="true"] {
  background: var(--brand-dark);
  color: #ffffff;
  border-color: var(--brand-dark);
}
.sim-copy { padding: 0 1.1rem 1.1rem; }
.sim-copy strong { display: block; }

/* Checklists, research and share materials */
.checklist-wrap { width: min(calc(100% - 2rem), 70rem); margin: 0 auto; }
.checklist-toolbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: var(--brand-dark);
  color: #ffffff;
  box-shadow: var(--shadow);
}
.progress-copy strong { font-size: 1.2rem; }
.progress-track {
  width: min(20rem, 55vw);
  height: .55rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.2);
}
.progress-track span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s ease; }
.checklist-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2rem 0; }
.form-field { display: grid; gap: .35rem; font-weight: 700; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: .7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
}
.check-group { margin: 3rem 0; }
.check-group > h2 { font-size: 1.8rem; }
.check-items { display: grid; gap: .6rem; }
.check-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .85rem;
  align-items: start;
  padding: .95rem;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}
.check-item:hover { background: var(--surface-soft); }
.check-item:has(input:checked) { border-left: 5px solid var(--brand); background: var(--surface-soft); }
.check-item input { width: 1.4rem; height: 1.4rem; margin-top: .12rem; accent-color: var(--brand-dark); }
.check-item strong { display: block; }
.check-item span { color: var(--muted); font-size: .92rem; }
.status-message { min-height: 1.5rem; font-weight: 750; }
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: .45rem; top: .6rem; bottom: .6rem; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding: 0 0 2.3rem 1.2rem; }
.timeline-item::before { content: ""; position: absolute; left: -1.82rem; top: .25rem; width: .85rem; height: .85rem; background: var(--brand); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--brand); }
.timeline-item time { display: block; margin-bottom: .3rem; color: var(--muted); font-weight: 850; }
.evidence-scale { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 1.75rem 0; }
.evidence-scale > div { padding: 1rem; border: 1px solid var(--line); background: var(--surface); }
.evidence-scale span { display: block; width: 2.5rem; height: .4rem; margin-bottom: .75rem; background: var(--brand); }
.evidence-scale > div:nth-child(2) span { width: 1.65rem; }
.evidence-scale > div:nth-child(3) span { width: .85rem; }
.copy-box { overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.copy-box-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: var(--surface-soft); }
.copy-box-head strong { font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; }
.copy-box button { min-height: 2.4rem; padding: .35rem .65rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; font-weight: 750; }
.copy-content { padding: 1.15rem; }
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.share-card { padding: 1rem; border: 1px solid var(--line); background: var(--surface); }
.share-card img { width: 100%; border: 1px solid var(--line); }
.share-actions { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: .75rem; }
.source-list { counter-reset: sources; list-style: none; padding: 0; }
.source-list li { counter-increment: sources; display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.source-list li::before { content: counter(sources); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; background: var(--brand-dark); color: #ffffff; font-weight: 850; }
.source-list cite { display: block; font-style: normal; font-weight: 800; }
.source-list a { overflow-wrap: anywhere; }
.legal-placeholder { margin: 1.75rem 0; padding: 1.35rem; border: 3px solid var(--danger); background: var(--surface); }
.legal-placeholder strong { display: block; color: var(--danger); font-size: 1.15rem; }

/* Footer, search and utility controls */
.site-footer {
  background: var(--surface);
  border-top: 5px solid var(--brand-dark);
}
.footer-shell {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 1.95fr;
  gap: 4rem;
  padding: 3.75rem 0;
}
.footer-brand {
  display: inline-block;
  margin-bottom: .9rem;
  color: var(--brand-dark);
  font-size: 1.35rem;
  font-weight: 900;
  text-decoration: none;
}
.footer-lead p { max-width: 31rem; color: var(--muted); }
.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-columns h2 { margin-bottom: .7rem; color: var(--brand); font-size: .84rem; letter-spacing: .09em; text-transform: uppercase; }
.footer-columns a,
.footer-columns .link-button { display: block; margin: .42rem 0; color: var(--muted); font-size: .93rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem max(1.25rem, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}
.search-dialog {
  width: min(42rem, calc(100% - 2rem));
  max-height: 80vh;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-top: 5px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.search-dialog::backdrop { background: rgba(0,0,0,.62); }
.search-head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.search-head h2 { font-size: 1.8rem; }
.dialog-close {
  min-height: 2.5rem;
  padding: .4rem .65rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  font-weight: 750;
}
.search-field { display: grid; gap: .4rem; font-weight: 800; }
.search-field input { width: 100%; min-height: 3.1rem; padding: .65rem .8rem; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); }
.search-results { margin-top: 1rem; max-height: 45vh; overflow: auto; }
.search-result { display: block; padding: .9rem 0; border-top: 1px solid var(--line); text-decoration: none; }
.search-result strong { display: block; }
.search-result span { color: var(--muted); font-size: .9rem; }
.back-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  min-height: 2.75rem;
  padding: .55rem .8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--brand-dark);
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: .2s ease;
  font-weight: 750;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.site-notice { padding: .55rem 1rem; background: var(--accent); color: #17232d; text-align: center; font-weight: 750; font-size: .9rem; }
.site-notice a { font-weight: 900; }

@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .header-claim { margin-left: auto; }
  .nav-band { background: var(--brand-dark); }
  .nav-shell { width: 100%; }
  .main-nav {
    display: none;
    width: min(calc(100% - 2.5rem), 86rem);
    min-height: 0;
    margin-inline: auto;
    padding: .7rem 0 1rem;
  }
  .main-nav.is-open { display: block; }
  .nav-link,
  .nav-parent {
    width: 100%;
    min-height: 3rem;
    justify-content: space-between;
    padding: .65rem .9rem;
    border-bottom: 1px solid rgba(255,255,255,.16);
    text-align: left;
  }
  .nav-item { width: 100%; }
  .nav-item.is-open > .submenu { display: block; }
  .submenu {
    position: static;
    width: 100%;
    padding: 0;
    border: 0;
    border-left: 4px solid var(--accent);
    box-shadow: none;
  }
  .submenu a { padding: .65rem 1rem .65rem 1.25rem; }
}

@media (max-width: 900px) {
  .grid--4,
  .grid--3,
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split,
  .hero-grid,
  .statement-grid,
  .project-panel,
  .final-cta,
  .footer-shell,
  .content-layout { grid-template-columns: 1fr; }
  .hero { background: var(--surface); }
  .hero-fact-panel { max-width: 38rem; }
  .toc {
    position: static;
    order: -1;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .8rem;
  }
  .toc strong { width: 100%; }
  .toc a { display: inline-block; border-top: 0 !important; }
  .quick-nav { grid-template-columns: 1fr; }
  .dayline,
  .inheritance { grid-template-columns: repeat(2, 1fr); }
  .checklist-meta { grid-template-columns: repeat(2, 1fr); }
  .share-grid { grid-template-columns: 1fr; max-width: 36rem; }
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container,
  .utility-shell,
  .masthead-shell { width: min(calc(100% - 1.25rem), var(--max)); }
  .utility-copy { display: none; }
  .utility-shell { justify-content: flex-end; }
  .masthead-shell { min-height: 5rem; gap: .75rem; }
  .brand-copy { font-size: 1.55rem; }
  .brand-tagline { font-size: .72rem; }
  .header-claim { display: none; }
  .nav-toggle { margin-left: auto; }
  .grid--4,
  .grid--3,
  .grid--2,
  .topic-grid,
  .anatomy,
  .compare,
  .do-dont,
  .evidence-scale { grid-template-columns: 1fr; }
  .hero { padding-top: 3.25rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .fact-panel-list li { grid-template-columns: 2.2rem 1fr; padding: .9rem 1rem; }
  .key-facts dl > div { grid-template-columns: 1fr; gap: .1rem; }
  .dayline,
  .inheritance,
  .checklist-meta { grid-template-columns: 1fr; }
  .myth { grid-template-columns: 1fr; gap: .35rem; }
  .footer-columns { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .progress-track { width: 100%; }
  .share-actions { align-items: flex-start; flex-direction: column; }
  .search-head { align-items: center; }
}


@media (max-width: 360px) {
  h1, h2, h3, h4 {
    hyphens: auto;
    overflow-wrap: anywhere;
  }
  .masthead-shell { gap: .35rem; }
  .brand-copy { font-size: 1.25rem; }
  .brand-tagline { display: none; }
  .nav-toggle {
    padding: .45rem .55rem;
    gap: .4rem;
  }
}

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

@media print {
  .site-header,
  .site-footer,
  .back-top,
  .checklist-toolbar,
  .no-print,
  .breadcrumbs { display: none !important; }
  :root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-soft: #ffffff;
    --ink: #000000;
    --muted: #222222;
    --line: #888888;
    --shadow: none;
    --shadow-small: none;
  }
  body { font-size: 11pt; }
  .section,
  .inner-hero { padding: 1rem 0; }
  .card,
  .check-item { break-inside: avoid; box-shadow: none; }
}
