@font-face {
  font-family: Manrope;
  src: url("./fonts/Manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --masthead-height: 78px;
  color-scheme: light;
  --selection: #d5e5da;
  --selection-ink: #162f27;
  --nav-ink: #53616a;
  --hover: #e1e7e3;
  --hover-soft: #f2f5ef;
  --lead: #43545e;
  --strong: #243c3f;
  --note-ink: #644b3c;
  --note-strong: #87402d;
  --code-paper: #eef0ed;
  --code-ink: #345561;
  --code-block: #253642;
  --code-block-ink: #e3e9e5;
  --line-strong: #8cae9b;
  --line-soft: #e3e7e2;
  --panel-line: #d9e4dc;
  --panel-tint: #f0f6f1;
  --panel: #f8faf5;
  --table-head: #eff3ef;
  --table-ink: #365249;
  --table-stripe: #f7f8f3;
  --shadow: #e8ece5;
  --control-line: #b9c8bf;
  --control-paper: #fff;
  --output-paper: #e8efe7;
  --warning: #914321;
  --separator: #9aa5a8;
  --finding-accent: #a74427;
  --finding-paper: #fffdf9;
  --context-paper: #f1f5f5;
  --tip-paper: #f2f7f1;
  --active-paper: #23313e;
  --active-ink: #fff;
  --on-green: #fff;
  --paper: #fcfcf8;
  --rail: #edf0ef;
  --ink: #23313e;
  --muted: #66747b;
  --line: #d8dfdd;
  --accent: #b64c2c;
  --soft: #f5ede6;
  --green: #29624e;
  --green-wash: #edf5ef;
  --blue: #426479;
  --font: Manrope, "Trebuchet MS", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  font-synthesis: none;
}
@media screen {
  :root[data-theme="dark"] {
    color-scheme: dark;
    --paper: #141b22;
    --rail: #1a242c;
    --ink: #e0e7ec;
    --muted: #a9b5c0;
    --line: #36434d;
    --accent: #efa67f;
    --soft: #2c2521;
    --green: #95d1b4;
    --green-wash: #20352c;
    --blue: #9fc7e1;
    --selection: #3d6050;
    --selection-ink: #f3faf5;
    --nav-ink: #bcc8d1;
    --hover: #2c3b43;
    --hover-soft: #23342d;
    --lead: #c4ced7;
    --strong: #e7eeef;
    --note-ink: #e7c0aa;
    --note-strong: #ffc29d;
    --code-paper: #23303d;
    --code-ink: #b9d5e3;
    --code-block: #10161c;
    --code-block-ink: #dfe9e8;
    --line-strong: #5b8273;
    --line-soft: #2b3842;
    --panel-line: #33483f;
    --panel-tint: #1c2b29;
    --panel: #1a252b;
    --table-head: #24342f;
    --table-ink: #b8dec9;
    --table-stripe: #19232a;
    --shadow: #0c1218;
    --control-line: #4a6170;
    --control-paper: #202d37;
    --output-paper: #24362f;
    --warning: #f1b38f;
    --separator: #8fa0ac;
    --finding-accent: #eaa17c;
    --finding-paper: #251f1c;
    --context-paper: #1b2a35;
    --tip-paper: #1c2e25;
    --active-paper: #95d1b4;
    --active-ink: #14251d;
    --on-green: #14251d;
    --diagram-paper: #141b22;
    --diagram-ink: #dce9e1;
    --diagram-muted: #adbbb2;
    --diagram-line: #7e9388;
    --diagram-panel: #293c32;
    --diagram-node: #1e2b25;
    --diagram-accent: #efa67f;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: calc(var(--masthead-height) + 22px);
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--accent);
}
button,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
::selection {
  background: var(--selection);
  color: var(--selection-ink);
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--active-paper);
  color: var(--active-ink);
  padding: 12px 20px;
}
.skip:focus {
  top: 10px;
}
.masthead {
  height: var(--masthead-height);
  padding: 0 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.wordmark {
  display: flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: -0.3px;
}
.wordmark small {
  display: block;
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.5px;
  margin-top: 5px;
  color: var(--muted);
}
.masthead-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  white-space: nowrap;
}
.theme-toggle[hidden] {
  display: none;
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
:root[data-theme="dark"] .theme-icon-moon,
:root[data-theme="light"] .theme-icon-sun {
  display: none;
}
.masthead-note {
  display: flex;
  gap: 24px;
  align-items: center;
  font: 9px/1.5 var(--mono);
  letter-spacing: 1.5px;
  color: var(--muted);
}
.local-label {
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.6px;
}
.local-label i {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
}
.reading-progress {
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  bottom: -1px;
  pointer-events: none;
}
.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.layout {
  display: grid;
  grid-template-columns: 274px minmax(0, 1fr);
  max-width: 1720px;
  margin: auto;
}
.sidebar {
  height: calc(100dvh - var(--masthead-height));
  position: sticky;
  top: var(--masthead-height);
  align-self: start;
  overflow-y: auto;
  scrollbar-width: thin;
  border-right: 1px solid var(--line);
  background: var(--rail);
  padding: 27px 21px 22px;
}
.sidebar h2,
.sidebar h3 {
  border: 0;
  padding: 0;
  margin: 0;
  font-family: var(--font);
  letter-spacing: 0;
}
.chapter-menu > summary {
  font: 600 13px/1.4 var(--font);
  cursor: pointer;
  padding: 8px 0;
  list-style: none;
}
.chapter-menu > summary::-webkit-details-marker {
  display: none;
}
.menu-symbol {
  float: right;
}
.chapter-menu[open] .menu-symbol {
  transform: rotate(45deg);
}
.nav-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 7px;
  font: 500 11px/1.6 var(--font);
  text-decoration: none;
  border-radius: 4px;
  padding: 6px 10px;
  color: var(--nav-ink);
  overflow-wrap: anywhere;
}
.nav-link i {
  font-style: normal;
  font-size: 12px;
}
.nav-link:hover {
  background: var(--hover);
  color: var(--ink);
}
.nav-link[aria-current="page"] {
  background: var(--active-paper);
  color: var(--active-ink);
  font-weight: 650;
}
.overview-link {
  font-size: 12px;
  padding: 9px 10px;
  margin-bottom: 18px;
  color: var(--ink);
}
.nav-stage {
  margin: 0 0 20px;
}
.nav-stage h2 {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  font-weight: 750;
  margin: 0 0 7px;
  padding-inline: 10px;
}
.nav-stage h2 > span {
  font: 10px/1.5 var(--mono);
  color: var(--accent);
  letter-spacing: 1px;
}
.nav-stage > .nav-link {
  margin-left: 25px;
}
.nav-feature {
  margin: 10px 0 0 25px;
  border-left: 1px solid var(--line);
  padding-left: 7px;
}
.nav-feature h3 {
  font-size: 10px;
  color: var(--ink);
  font-weight: 750;
  padding: 3px 10px;
}
.route-link {
  color: var(--green);
}
.nav-conclusion {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.evidence-links {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.evidence-links h2 {
  font-size: 12px;
  font-weight: 750;
  padding: 0 10px 8px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.evidence-symbol {
  font-size: 17px;
  color: var(--accent);
}
.project-links {
  margin-top: 17px;
  font-size: 11px;
}
.project-links > summary {
  padding: 0 10px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
}
.project-links nav {
  padding-top: 9px;
}
.eyebrow {
  font: 9px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--muted);
}
.side-note {
  padding: 20px 10px 0;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.side-note p {
  margin: 9px 0;
}
.note-date {
  font: 8px/1.5 var(--mono);
  letter-spacing: 1px;
}
main {
  min-width: 0;
  padding: 36px clamp(28px, 4vw, 72px) 35px;
}
.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  color: var(--muted);
  font: 9px/1.6 var(--mono);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.article-meta > a {
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0;
  font-size: 10px;
  color: var(--blue);
}
.article-meta > a:hover {
  text-decoration: underline;
}
.article-heading {
  margin: 29px 0 30px;
  max-width: 850px;
}
h1 {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -2px;
  margin: 0 0 21px;
  text-wrap: balance;
}
.reading-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font: 10px/1.5 var(--mono);
  color: var(--muted);
}
.reading-meta span + span:before {
  content: "·";
  padding-right: 12px;
  color: var(--separator);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 164px;
  gap: 40px;
  align-items: start;
}
article {
  min-width: 0;
  overflow-wrap: break-word;
}
article > p:first-of-type {
  font-size: 17px;
  color: var(--lead);
  line-height: 1.8;
}
p {
  margin: 0 0 22px;
}
article p {
  max-width: 76ch;
}
article strong {
  font-weight: 750;
  color: var(--strong);
}
article a {
  color: var(--green);
  overflow-wrap: anywhere;
}
article a:hover {
  color: var(--accent);
}
h2 {
  font-size: 26px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.9px;
  margin: 48px 0 19px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  text-wrap: balance;
  scroll-margin-top: 8px;
}
h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.4px;
  margin-top: 30px;
}
ul,
ol {
  padding-left: 24px;
  margin: 0 0 24px;
}
li {
  margin: 10px 0;
}
li::marker {
  color: var(--accent);
}
blockquote {
  margin: 26px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--line-strong);
  background: var(--green-wash);
  font-size: 14px;
  line-height: 1.8;
}
blockquote p:last-child {
  margin: 0;
}
.chapter-brief {
  border: 1px solid var(--panel-line);
  border-top: 3px solid var(--green);
  border-radius: 0 0 5px 5px;
  background: linear-gradient(110deg, var(--panel-tint), var(--panel));
  margin: 0 0 30px;
  padding: 20px 25px;
  font-size: 13px;
  line-height: 1.8;
}
.chapter-brief > p {
  font: 10px/1.4 var(--mono);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 15px;
}
.chapter-brief ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.chapter-brief li {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--panel-line);
}
.chapter-brief li:first-child {
  border: 0;
  padding-top: 0;
}
.chapter-brief li:last-child {
  padding-bottom: 0;
}
.chapter-brief li > strong:first-child {
  display: block;
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 2px;
  color: var(--green);
}
.chapter-brief li:last-child > strong:first-child {
  color: var(--accent);
}
.snapshot-note {
  border-left: 3px solid var(--accent);
  background: var(--soft);
  padding: 18px 22px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--note-ink);
}
.snapshot-note strong {
  display: block;
  color: var(--note-strong);
  margin-bottom: 4px;
}
code {
  font-family: var(--mono);
  font-size: 0.79em;
  line-height: 1.6;
  background: var(--code-paper);
  padding: 2px 4px;
  border-radius: 3px;
  overflow-wrap: anywhere;
  color: var(--code-ink);
}
pre {
  background: var(--code-block);
  color: var(--code-block-ink);
  padding: 23px;
  border-left: 3px solid var(--accent);
  overflow: auto;
  border-radius: 0 4px 4px 0;
  margin: 28px 0;
  font-size: 13px;
  line-height: 1.8;
}
pre code {
  font-size: inherit;
  color: inherit;
  background: none;
  padding: 0;
  overflow-wrap: normal;
}
article > details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 30px 0;
  color: var(--muted);
  font-size: 13px;
}
article > details summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  padding: 16px 0;
  color: var(--blue);
}
article > details[open] {
  padding-bottom: 12px;
}
article > details p {
  margin-top: 10px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-top: 2px solid var(--line-strong);
  border-radius: 0 0 4px 4px;
  margin: 25px 0 32px;
  scrollbar-width: thin;
}
.table-hint {
  display: none;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 28px;
}
.result-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  background: var(--panel);
  min-width: 0;
}
.result-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.45;
}
.result-card p {
  font-size: 12px;
  line-height: 1.8;
  margin: 12px 0 0;
}
.result-status {
  border-left: 3px solid var(--line-strong);
  padding-left: 12px;
  font-size: 13px;
}
.result-card .result-status {
  border-left: 0;
  padding-left: 0;
}
article video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border: 1px solid var(--line);
  margin: 24px 0 12px;
}
article > p > img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
}
@media (max-width: 1150px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.75;
  min-width: 530px;
}
th {
  text-align: left;
  vertical-align: bottom;
  font-size: 10px;
  letter-spacing: 0.2px;
  font-weight: 750;
  background: var(--table-head);
  padding: 13px 16px;
  color: var(--table-ink);
  border-bottom: 1px solid var(--line);
}
td {
  vertical-align: top;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line-soft);
}
tr:nth-child(even) td {
  background: var(--table-stripe);
}
tr:last-child td {
  border: 0;
}
td code {
  font-size: 10px;
}
td strong {
  font-weight: 700;
}
.page-outline {
  position: sticky;
  top: calc(var(--masthead-height) + 35px);
  font-size: 11px;
  line-height: 1.7;
  max-height: calc(100dvh - var(--masthead-height) - 62px);
  overflow: auto;
}
.page-outline summary {
  font: 9px/1.5 var(--mono);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  list-style: none;
  cursor: pointer;
  margin-bottom: 14px;
}
.page-outline summary::-webkit-details-marker {
  display: none;
}
.page-outline nav {
  border-left: 1px solid var(--line);
}
.page-outline a {
  display: block;
  padding: 7px 0 7px 16px;
  text-decoration: none;
  color: var(--muted);
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 10px;
  line-height: 1.6;
}
.page-outline a:hover {
  color: var(--ink);
}
.page-outline a[aria-current="location"] {
  border-left-color: var(--accent);
  color: var(--ink);
  font-weight: 700;
}
.stage-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 0 30px;
}
.stage-map a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px;
  text-decoration: none;
  padding: 21px 20px 20px 22px;
  position: relative;
}
.stage-map a + a {
  border-left: 1px solid var(--line);
}
.stage-map span {
  grid-column: 1/-1;
  font: 10px/1.4 var(--mono);
  letter-spacing: 1px;
  color: var(--accent);
}
.stage-map strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.6px;
}
.stage-map i {
  font-style: normal;
  color: var(--muted);
}
.stage-map a:hover {
  background: var(--hover-soft);
}
.overview-page .article-heading {
  margin-bottom: 24px;
}
.overview-page h1 {
  font-size: clamp(30px, 3.8vw, 48px);
  letter-spacing: -1.5px;
}
.overview-page .reading-meta {
  font: 14px/1.6 var(--mono);
}
/* The overview reading path uses native Markdown headings and link lists. */
.overview-page article > h3 {
  margin: 34px 0 12px;
  color: var(--ink);
}
.overview-page article > h4 {
  font-size: 15px;
  line-height: 1.5;
  margin: 24px 0 10px;
  color: var(--green);
}
.overview-page article > :is(h3, h4) + p {
  margin-bottom: 14px;
  color: var(--muted);
}
.overview-page article > ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.overview-page article > ul > li {
  margin: 0;
}
.overview-page article > ul > li + li {
  border-top: 1px solid var(--line);
}
.overview-page article > ul > li p {
  margin: 0;
  max-width: none;
}
.overview-page article > ul > li a {
  display: block;
  padding: 13px 12px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 650;
  text-decoration: none;
}
.overview-page article > ul > li a:is(:hover, :focus-visible) {
  background: var(--green-wash);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.overview-page article > ul > li p + p {
  padding: 0 12px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
figure {
  margin: 34px 0;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  box-shadow: 0 3px 0 var(--shadow);
}
img,
svg {
  max-width: 100%;
  height: auto;
}
figure figcaption {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
button,
select {
  font: 600 11px/1.5 var(--font);
  border: 1px solid var(--control-line);
  background: var(--control-paper);
  color: var(--ink);
  padding: 10px 13px;
  cursor: pointer;
  border-radius: 4px;
  min-height: 40px;
}
button:hover,
select:hover {
  border-color: var(--green);
}
button[aria-pressed="true"] {
  color: var(--on-green);
  background: var(--green);
  border-color: var(--green);
}
.chapter-pager {
  max-width: 760px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--ink);
  padding-top: 23px;
  margin-top: 55px;
  font-size: 12px;
  line-height: 1.6;
}
.chapter-pager a {
  max-width: 46%;
  text-decoration: none;
  color: var(--green);
}
.chapter-pager a:last-child {
  text-align: right;
}
.chapter-pager a:hover {
  text-decoration: underline;
}
.chapter-pager span {
  font: 9px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
.article-footer {
  max-width: 760px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 18px;
  font-size: 9px;
  color: var(--muted);
}
.article-footer > a {
  text-decoration: none;
}
.article-footer code {
  font-size: 8px;
}
@media (min-width: 981px) {
  .chapter-menu[open] > summary {
    display: none;
  }
}
@media (min-width: 1351px) {
  .page-outline details:not([open]) > summary {
    cursor: pointer;
  }
}
@media (max-width: 1350px) {
  .article-layout {
    grid-template-columns: minmax(0, 760px);
    gap: 0;
  }
  .page-outline {
    position: static;
    order: -1;
    margin: 0 0 25px;
    max-height: none;
  }
  .page-outline summary {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
  }
  .page-outline summary:after {
    content: "+";
    font-size: 14px;
  }
  .page-outline details[open] summary:after {
    content: "−";
  }
  .page-outline nav {
    margin-top: 9px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .layout {
    grid-template-columns: 253px minmax(0, 1fr);
  }
  .sidebar {
    padding: 24px 16px;
  }
  main {
    padding-inline: 35px;
  }
  .article-meta {
    font-size: 8px;
  }
}
@media (max-width: 980px) {
  :root {
    --masthead-height: 88px;
  }
  .layout {
    display: block;
  }
  .sidebar {
    height: auto;
    max-height: calc(80dvh - 70px);
    position: sticky;
    top: var(--masthead-height);
    z-index: 9;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 28px;
    background: var(--rail);
    overscroll-behavior: contain;
  }
  .masthead {
    padding-inline: 28px;
  }
  .masthead-note {
    display: none;
  }
  .side-note {
    display: none;
  }
  .chapter-menu > summary {
    padding: 9px 0;
  }
  .chapter-menu[open] {
    padding-bottom: 20px;
  }
  .chapter-menu[open] > summary {
    margin-bottom: 17px;
  }
  .chapter-menu > nav,
  .chapter-menu > .project-links {
    max-width: 620px;
    margin-inline: auto;
  }
  .overview-link {
    margin-bottom: 16px;
  }
  .nav-link {
    font-size: 13px;
    padding-block: 8px;
  }
  .nav-stage h2 {
    font-size: 14px;
  }
  .nav-feature h3 {
    font-size: 12px;
  }
  .nav-stage {
    margin-bottom: 19px;
  }
  main {
    max-width: 870px;
    margin: auto;
    padding: 28px 36px;
  }
  .page-outline {
    margin-bottom: 22px;
  }
  .article-heading {
    margin-top: 25px;
  }
  h1 {
    font-size: 44px;
    max-width: 680px;
  }
  .article-meta {
    font-size: 9px;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .stage-map {
    max-width: none;
  }
  .article-footer {
    max-width: none;
  }
  .chapter-pager {
    max-width: none;
  }
  html {
    scroll-padding-top: calc(var(--masthead-height) + 85px);
  }
  h2 {
    scroll-margin-top: 5px;
  }
}
@media (max-width: 560px) {
  :root {
    --masthead-height: 100px;
    font-size: 15px;
    line-height: 1.85;
  }
  .masthead {
    padding: 0 20px;
    gap: 12px;
  }
  .theme-toggle [data-theme-label] {
    display: none;
  }
  .masthead-actions {
    align-self: flex-start;
    margin-top: 12px;
  }
  .theme-toggle {
    width: 44px;
    padding: 10px;
  }
  .wordmark {
    font-size: 14px;
  }
  .wordmark small {
    font-size: 9px;
  }
  .sidebar {
    padding-inline: 20px;
  }
  .chapter-menu > summary {
    font-size: 11px;
  }
  main {
    padding: 25px 21px 28px;
  }
  .article-meta {
    font-size: 8px;
    letter-spacing: 0.5px;
    gap: 13px;
  }
  .article-meta > a {
    font-size: 9px;
  }
  .article-heading {
    margin: 24px 0 23px;
  }
  h1 {
    font-size: 34px;
    letter-spacing: -1.2px;
    line-height: 1.16;
  }
  .reading-meta {
    font-size: 9px;
    gap: 9px;
  }
  .reading-meta span + span:before {
    padding-right: 9px;
  }
  .chapter-brief {
    padding: 18px;
    font-size: 12px;
  }
  .chapter-brief > p {
    font-size: 9px;
  }
  .chapter-brief li > strong:first-child {
    font-size: 9px;
  }
  .page-outline summary {
    font-size: 8px;
  }
  .page-outline nav {
    grid-template-columns: 1fr;
  }
  article > p:first-of-type {
    font-size: 16px;
  }
  h2 {
    font-size: 23px;
    line-height: 1.3;
    margin: 37px 0 17px;
    padding-top: 19px;
    letter-spacing: -0.5px;
  }
  h3 {
    font-size: 18px;
  }
  blockquote {
    padding: 17px;
    font-size: 13px;
  }
  figure {
    padding: 16px;
    margin: 25px 0;
  }
            button,
  select {
    font-size: 10px;
    min-height: 42px;
  }
    .table-wrap {
    margin: 22px 0;
  }
  .table-hint {
    display: block;
    margin: 20px 0 -16px;
    color: var(--muted);
    font-size: 11px;
  }
  table {
    font-size: 11px;
    min-width: 510px;
  }
  td,
  th {
    padding: 12px;
  }
  .stage-map a {
    padding: 15px 11px 15px 13px;
  }
  .stage-map strong {
    font-size: 16px;
  }
  .stage-map span {
    font-size: 9px;
  }
  .stage-map i {
    font-size: 13px;
  }
  .overview-page h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }
  .snapshot-note {
    font-size: 12px;
    padding: 16px;
  }
  .chapter-pager {
    gap: 16px;
    font-size: 11px;
    margin-top: 40px;
  }
  .article-footer {
    display: block;
    font-size: 9px;
  }
  .article-footer > a {
    display: block;
    margin-top: 9px;
  }
  pre {
    padding: 17px;
    font-size: 10px;
  }
    .nav-link {
    padding-block: 8px;
  }
  .local-label i {
    width: 4px;
    height: 4px;
  }
}
@media (max-width: 360px) {
  .stage-map {
    grid-template-columns: 1fr;
  }
  .stage-map a,
  .stage-map a + a {
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    padding: 12px 13px;
    border-left: 0;
  }
  .stage-map a + a {
    border-top: 1px solid var(--line);
  }
  .stage-map span {
    grid-column: auto;
  }
  .stage-map i {
    padding-right: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .masthead,
  .sidebar,
  .article-meta,
  .page-outline,
  .stage-map,
  .chapter-pager,
  .article-footer,
  .reading-meta {
    display: none;
  }
  .layout,
  .article-layout {
    display: block;
  }
  main {
    padding: 0;
    max-width: none;
  }
  .article-heading {
    margin-top: 0;
  }
  :root {
    font-size: 10pt;
    background: white;
    color: black;
  }
  h1 {
    font-size: 28pt;
  }
  h2 {
    font-size: 18pt;
    break-after: avoid;
  }
  .chapter-brief,
  figure {
    break-inside: avoid;
    box-shadow: none;
  }
  article > details > summary {
    display: none;
  }
  article > details::details-content {
    content-visibility: visible;
    display: block;
  }
  .table-wrap {
    overflow: visible;
  }
  table {
    min-width: 0;
  }
  a {
    color: inherit;
  }
  }

/* Markdown alerts provide a short reading layer without hiding the evidence. */
.research-callout {
  --callout-accent: var(--finding-accent);
  --callout-paper: var(--finding-paper);
  margin: 32px 0;
  padding: 22px 25px 23px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--callout-accent);
  background: var(--callout-paper);
  break-inside: avoid;
}
.callout-note {
  --callout-accent: var(--blue);
  --callout-paper: var(--context-paper);
}
.callout-tip {
  --callout-accent: var(--green);
  --callout-paper: var(--tip-paper);
}
.callout-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--callout-accent);
  font: 600 10px/1.5 var(--mono);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.callout-label span {
  font-size: 14px;
}
.callout-body {
  font-size: 14px;
  line-height: 1.85;
}
.callout-body > p {
  margin: 0 0 14px;
}
.callout-body > p:first-child {
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.callout-body > p:first-child > strong {
  font-weight: 650;
  color: inherit;
}
.callout-body > :last-child {
  margin-bottom: 0;
}
.callout-body a {
  text-decoration-thickness: 1px;
}
.chapter-brief {
  font-size: 14px;
}
.chapter-brief li:nth-child(2) {
  font-size: 15px;
  font-weight: 600;
  color: var(--strong);
}
@media (max-width: 560px) {
  .research-callout {
    margin: 25px 0;
    padding: 18px 19px;
  }
  .callout-label {
    font-size: 9px;
    letter-spacing: 0.8px;
  }
  .callout-body {
    font-size: 13px;
  }
  .callout-body > p:first-child {
    font-size: 19px;
  }
  .chapter-brief {
    font-size: 13px;
  }
  .chapter-brief li:nth-child(2) {
    font-size: 14px;
  }
}
@media print {
  .research-callout {
    background: white;
    color: black;
    border-color: #777;
  }
  .callout-body {
    font-size: inherit;
  }
  .callout-body > p:first-child {
    font-size: 12pt;
  }
}
