/* The site follows the visitor's system theme; no tracking or external fonts. */
:root {
  color-scheme: light dark;
  --bg: #f8f9f4;
  --surface: #f0f3eb;
  --paper: #fff;
  --ink: #1d2b24;
  --muted: #637166;
  --line: #d9dfd3;
  --accent: #215a47;
  --accent-soft: #e8efe1;
  --code: #f0f3ec;
  --focus: #256cba;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
a:hover {
  color: var(--accent);
}
a:focus-visible,
button:focus-visible,
pre:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
  border-radius: 2px;
}
button {
  font: inherit;
}
h1,
h2,
h3,
h4 {
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-top: 0;
  font-weight: 550;
}
h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}
p {
  margin: 0 0 1.3rem;
}
::selection {
  background: #bcd4b2;
  color: #17271c;
}
.shell {
  width: min(1120px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--bg);
  z-index: 5;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  flex-shrink: 0;
}
.brand-caption {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 3px;
}
.brand-mark {
  width: 43px;
  height: 43px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 9px;
  font-family: var(--mono);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.08em;
}
.brand-mark > span {
  font-size: 16px;
  color: #c9dfa9;
  align-self: flex-end;
  margin-bottom: 6px;
}
.site-header nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
}
.site-header nav a {
  text-decoration: none;
  padding: 10px 0;
  color: var(--muted);
}
.site-header nav a:hover,
.site-header nav [aria-current] {
  color: var(--ink);
}
.site-header nav [aria-current] {
  box-shadow: 0 2px var(--accent);
}
.eyebrow {
  text-transform: uppercase;
  font: 10px/1.6 var(--mono);
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 20px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.hero {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 7%;
  padding: 90px 0 86px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(3.1rem, 5.9vw, 5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin: 0 0 28px;
}
.hero h1 em {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.055em;
}
.hero-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: var(--accent);
  color: var(--bg);
  padding: 13px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
  border: 1px solid transparent;
}
.button:hover {
  background: var(--ink);
  color: var(--bg);
}
.button > span {
  font-size: 17px;
  line-height: 1;
}
.hero-diagram {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 389px;
  padding: 24px 25px 19px;
  background-image: radial-gradient(var(--line) 0.8px, transparent 0.8px);
  background-size: 16px 16px;
  position: relative;
}
.diagram-topline {
  font: 8px var(--mono);
  letter-spacing: 0.075em;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  margin-bottom: 26px;
}
.flow-node {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 4px;
  padding: 9px 13px;
  font: 12px/1.4 var(--mono);
  display: flex;
  align-items: center;
  gap: 18px;
  width: 76%;
  margin: auto;
  box-shadow: 0 2px 3px #00000003;
}
.flow-node > span {
  font-size: 9px;
  color: var(--muted);
}
.flow-node > b {
  margin-left: auto;
  font-weight: 400;
  font-size: 15px;
  color: var(--muted);
}
.flow-line {
  height: 18px;
  width: 1px;
  margin: auto;
  background: var(--line);
  position: relative;
}
.flow-line:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -2px;
  width: 5px;
  height: 5px;
  border-bottom: 1px solid var(--muted);
  border-right: 1px solid var(--muted);
  transform: rotate(45deg);
}
.node-d {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.node-d > span,
.node-d > b {
  color: #d3e5c7;
}
.diagram-bottomline {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 26px;
  font: 8px/1.7 var(--mono);
  color: var(--muted);
}
.diagram-bottomline .status-dot {
  width: 4px;
  height: 4px;
}
.featured-section {
  padding: 40px 0 46px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.section-heading h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.04em;
}
.section-heading .eyebrow {
  margin-bottom: 10px;
}
.text-link {
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  gap: 14px;
  align-items: center;
}
.text-link:hover {
  text-decoration: underline;
}
.research-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 35px;
  padding: 32px 0 28px;
  border-top: 1px solid var(--line);
}
.card-meta {
  display: flex;
  flex-direction: column;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  gap: 7px;
  padding-top: 4px;
}
.card-meta > span {
  font-size: 9px;
}
.research-card h3 {
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  max-width: 790px;
}
.research-card h3 a {
  text-decoration: none;
  display: block;
  position: relative;
  padding-right: 40px;
}
.card-arrow {
  position: absolute;
  right: 0;
  top: 3px;
  font-size: 21px;
  font-weight: 400;
  color: var(--muted);
}
.research-card p {
  max-width: 680px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 16px;
}
.tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tags li {
  font: 9px/1.5 var(--mono);
  padding: 4px 8px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--accent);
}
.areas-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding-bottom: 74px;
}
.area-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 27px 29px;
  transition: background 0.15s;
}
.area-card:hover {
  background: var(--surface);
}
.area-card .eyebrow {
  font-size: 9px;
  margin-bottom: 22px;
}
.area-card h2 {
  font-size: 23px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.area-card h2 span {
  font-size: 19px;
  font-weight: 400;
  color: var(--muted);
}
.area-card p {
  font-size: 12px;
  color: var(--muted);
  max-width: 330px;
  margin: 0;
  line-height: 1.85;
}
.about-strip {
  border-top: 1px solid var(--line);
  padding: 42px 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 12%;
  align-items: center;
}
.about-strip > .eyebrow {
  grid-column: 1/-1;
  margin-bottom: 20px;
}
.about-strip h2 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 0;
}
.about-strip > div > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 13px;
}
.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-block: 35px 24px;
  font-size: 11px;
}
.site-footer > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.site-footer > div > a {
  font-weight: 600;
  text-decoration: none;
}
.site-footer > div > span {
  font-size: 10px;
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding-top: 3px;
}
.site-footer nav a {
  text-decoration: none;
  color: var(--muted);
}
.site-footer nav a:hover {
  color: var(--ink);
}
.footer-note {
  width: 100%;
  font: 9px var(--mono);
  color: var(--muted);
  margin: 8px 0 0;
}
.page-header {
  padding: 72px 0 48px;
  max-width: 850px;
}
.page-header h1 {
  font-size: clamp(2.8rem, 5vw, 4.1rem);
  margin-bottom: 20px;
}
.page-description {
  font-size: 17px;
  color: var(--muted);
  max-width: 660px;
}
.page-content {
  padding-bottom: 80px;
  min-height: 320px;
}
.section-caption {
  display: flex;
  justify-content: space-between;
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 18px;
}
.index-footnote {
  font-size: 12px;
  color: var(--muted);
  margin: 30px 0 0;
}
.empty-state {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 60px 35px;
  text-align: center;
  background: var(--surface);
}
.empty-icon {
  display: block;
  font: 24px var(--mono);
  color: var(--accent);
  margin-bottom: 24px;
}
.empty-state .eyebrow {
  margin-bottom: 12px;
}
.empty-state h2 {
  font-size: 28px;
  margin-bottom: 17px;
}
.empty-state p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  max-width: 510px;
  margin: 0 auto 24px;
}
.listing-item {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}
.listing-item h2 {
  font-size: 26px;
}
.listing-item h2 a {
  text-decoration: none;
}
.listing-item > p {
  max-width: 720px;
  color: var(--muted);
}
.listing-meta {
  font: 11px var(--mono);
}
.about-content {
  max-width: 740px;
}
.not-found {
  padding: 90px 0 110px;
}
.not-found h1 {
  font-size: clamp(3.8rem, 8vw, 6.5rem);
  margin-bottom: 25px;
}
.not-found > p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 30px;
}
.not-found .text-link {
  margin-left: 25px;
}
.article-header {
  padding: 44px 0 35px;
  max-width: 940px;
}
.back-link {
  display: inline-block;
  font-size: 11px;
  text-decoration: none;
  color: var(--muted);
  margin-bottom: 40px;
}
.article-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font: 10px/1.6 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 23px;
}
.article-header h1 {
  font-size: clamp(2.6rem, 4.7vw, 4.2rem);
  line-height: 1.12;
  max-width: 920px;
  margin-bottom: 25px;
}
.article-deck {
  font-size: 17px;
  color: var(--muted);
  max-width: 780px;
  line-height: 1.8;
  margin-bottom: 26px;
}
.byline {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  margin-bottom: 25px;
}
.byline strong {
  font-weight: 550;
}
.byline-detail {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}
.author-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 11px var(--mono);
  background: var(--accent-soft);
  color: var(--accent);
}
.notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  border-radius: 3px;
  background: var(--surface);
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 45px;
  max-width: 940px;
}
.notice > strong {
  font-size: 12px;
  font-weight: 600;
}
.notice p {
  color: var(--muted);
  margin: 5px 0 0;
}
.notice .source-links {
  font-size: 11px;
}
.source-links a {
  color: var(--accent);
}
.source-links span {
  margin: 0 8px;
}
.article-body {
  max-width: 860px;
  margin-inline: auto;
}
.prose {
  font-size: 15px;
  line-height: 1.95;
  overflow-wrap: break-word;
}
.prose h2 {
  font-size: 30px;
  margin: 58px 0 23px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  line-height: 1.3;
}
.prose h3 {
  font-size: 22px;
  margin: 40px 0 17px;
  line-height: 1.4;
  letter-spacing: -0.025em;
}
.prose h4 {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0;
  margin: 34px 0 14px;
  line-height: 1.5;
}
.prose p {
  margin-bottom: 1.5em;
}
.prose ul,
.prose ol {
  padding-left: 1.6rem;
  margin-bottom: 1.5rem;
}
.prose li {
  padding-left: 0.3rem;
  margin-bottom: 0.6rem;
}
.prose li > p {
  margin-bottom: 0.5rem;
}
.prose a {
  color: var(--accent);
}
.prose strong {
  font-weight: 650;
}
.prose :not(pre) > code {
  font: 0.85em/1.6 var(--mono);
  background: var(--code);
  padding: 0.15em 0.35em;
  border-radius: 3px;
  overflow-wrap: anywhere;
}
.prose pre {
  font: 11px/1.8 var(--mono);
  overflow: auto;
  max-width: 100%;
  padding: 24px;
  margin: 24px 0 28px;
  background: var(--code);
  border: 1px solid var(--line);
  border-radius: 4px;
  tab-size: 2;
  white-space: pre;
  overflow-wrap: normal;
}
.prose pre code {
  font: inherit;
  background: none;
  padding: 0;
  border: 0;
}
.prose .highlight {
  margin: 0;
}
.prose div.highlighter-rouge {
  position: relative;
  min-width: 0;
}
.prose .code-container pre {
  padding-top: 46px;
}
.copy-code {
  position: absolute;
  right: 9px;
  top: 9px;
  z-index: 1;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 3px;
  font: 9px var(--mono);
  color: var(--muted);
  padding: 5px 8px;
  cursor: pointer;
}
.copy-code:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.prose img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 28px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
}
.prose figure {
  margin: 32px 0;
}
.prose figure img {
  margin: 0 auto;
}
.prose figcaption {
  font: 11px/1.7 var(--mono);
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  display: block;
  overflow: auto;
}
.prose th,
.prose td {
  padding: 10px 15px;
  border: 1px solid var(--line);
  text-align: left;
}
.prose th {
  background: var(--surface);
}
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 22px;
  margin-left: 0;
  color: var(--muted);
}
#markdown-toc {
  padding: 24px 30px 20px 47px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.7;
  columns: 2;
  column-gap: 40px;
  margin: 0 0 45px;
}
#markdown-toc::before {
  content: "ON THIS PAGE";
  display: block;
  font: 9px var(--mono);
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 18px -17px;
  column-span: all;
}
#markdown-toc > li {
  break-inside: avoid;
  padding-left: 0;
  margin-bottom: 8px;
}
#markdown-toc li li {
  margin-bottom: 5px;
}
#markdown-toc ul {
  padding-left: 16px;
  margin: 6px 0 10px;
}
#markdown-toc a {
  text-decoration: none;
}
#markdown-toc a:hover {
  text-decoration: underline;
}
.article-end {
  border-top: 1px solid var(--line);
  padding: 35px 0 60px;
  margin-top: 60px;
  max-width: 860px;
  margin-inline: auto;
}
.article-end .eyebrow {
  margin-bottom: 12px;
}
.article-end > p {
  font-size: 18px;
  margin-bottom: 8px;
}
.document-article {
  max-width: 850px;
  padding: 45px 0 70px;
}
.document-article .page-header {
  padding-top: 0;
}
.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 25px;
  font-size: 13px;
}
.fact-grid dt {
  font: 10px var(--mono);
  text-transform: uppercase;
  color: var(--muted);
}
.fact-grid dd {
  margin: 6px 0 0;
}
/* Rouge syntax colors: contrast remains readable in both system themes. */
.highlight .c,
.highlight .c1,
.highlight .cm,
.highlight .cp {
  color: #667664;
  font-style: italic;
}
.highlight .k,
.highlight .kd,
.highlight .kn,
.highlight .kt,
.highlight .ow {
  color: #6d42a0;
}
.highlight .s,
.highlight .s1,
.highlight .s2,
.highlight .se {
  color: #856014;
}
.highlight .m,
.highlight .mi,
.highlight .mh,
.highlight .mf,
.highlight .il {
  color: #9a4c33;
}
.highlight .nf,
.highlight .nb,
.highlight .nc,
.highlight .nn {
  color: #246a8c;
}
.highlight .na,
.highlight .nv,
.highlight .vi,
.highlight .vg {
  color: #226847;
}
.highlight .o,
.highlight .p {
  color: #53635b;
}
.highlight .err {
  color: #ae382e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151c19;
    --surface: #1d2721;
    --paper: #202b24;
    --ink: #e5eadf;
    --muted: #a4afa4;
    --line: #354238;
    --accent: #b5d4a6;
    --accent-soft: #27372c;
    --code: #1a241e;
    --focus: #8dbaf5;
  }
  .brand-mark,
  .button,
  .node-d {
    background: #b5d4a6;
    color: #142219;
  }
  .brand-mark > span,
  .node-d > span,
  .node-d > b {
    color: #315842;
  }
  .button:hover {
    background: #d8e7cb;
    color: #142219;
  }
  .highlight .c,
  .highlight .c1,
  .highlight .cm,
  .highlight .cp {
    color: #9ba994;
  }
  .highlight .k,
  .highlight .kd,
  .highlight .kn,
  .highlight .kt,
  .highlight .ow {
    color: #c0a1ec;
  }
  .highlight .s,
  .highlight .s1,
  .highlight .s2,
  .highlight .se {
    color: #d5bd7e;
  }
  .highlight .m,
  .highlight .mi,
  .highlight .mh,
  .highlight .mf,
  .highlight .il {
    color: #e9ad86;
  }
  .highlight .nf,
  .highlight .nb,
  .highlight .nc,
  .highlight .nn {
    color: #93c7e3;
  }
  .highlight .na,
  .highlight .nv,
  .highlight .vi,
  .highlight .vg {
    color: #a6d2b0;
  }
  .highlight .o,
  .highlight .p {
    color: #aabcb0;
  }
  .highlight .err {
    color: #ffad9e;
  }
}
@media (min-width: 1450px) {
  .hero {
    padding-top: 105px;
    padding-bottom: 100px;
  }
  .hero-diagram {
    max-width: 400px;
    justify-self: end;
    width: 100%;
  }
}
@media (max-width: 950px) {
  .shell {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 35px;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .hero-diagram {
    padding-inline: 18px;
  }
  .diagram-topline {
    font-size: 7px;
  }
  .research-card {
    grid-template-columns: 145px 1fr;
    gap: 25px;
  }
  .site-header nav {
    gap: 20px;
  }
  .desktop-break {
    display: none;
  }
}
@media (max-width: 700px) {
  .shell {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 128px;
    flex-wrap: wrap;
    gap: 13px;
    align-content: center;
    padding-block: 19px;
  }
  .brand {
    font-size: 14px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  .brand-caption {
    font-size: 10px;
  }
  .site-header nav {
    width: 100%;
    gap: 0;
    justify-content: space-between;
    font-size: 11px;
  }
  .site-header nav a {
    padding: 6px 0;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 51px 0 44px;
    gap: 40px;
  }
  .hero h1 {
    font-size: clamp(2.9rem, 10vw, 4.2rem);
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-diagram {
    min-height: 340px;
    padding: 21px 23px 17px;
  }
  .diagram-topline {
    font-size: 8px;
    margin-bottom: 20px;
  }
  .flow-node {
    width: 73%;
    padding: 8px 12px;
  }
  .diagram-bottomline {
    margin-top: 20px;
  }
  .featured-section {
    padding: 30px 0;
  }
  .section-heading {
    align-items: flex-start;
    margin-bottom: 24px;
  }
  .section-heading h2 {
    font-size: 26px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .section-heading > .text-link {
    font-size: 10px;
    margin-top: 30px;
    white-space: nowrap;
    gap: 8px;
  }
  .research-card {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 25px 0;
  }
  .card-meta {
    flex-direction: row;
    gap: 20px;
    font-size: 9px;
  }
  .research-card h3 {
    font-size: 24px;
  }
  .research-card p {
    font-size: 12px;
  }
  .tags {
    gap: 5px;
  }
  .tags li {
    font-size: 8px;
  }
  .areas-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 40px;
  }
  .area-card {
    padding: 23px;
  }
  .area-card .eyebrow {
    margin-bottom: 18px;
  }
  .about-strip {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 0 40px;
  }
  .about-strip > .eyebrow {
    margin: 0;
  }
  .about-strip h2 {
    font-size: 31px;
  }
  .about-strip > div > p {
    font-size: 12px;
  }
  .site-footer {
    padding-top: 25px;
    gap: 20px;
  }
  .site-footer nav {
    gap: 20px;
    width: 100%;
    font-size: 10px;
  }
  .page-header {
    padding: 48px 0 30px;
  }
  .page-header h1 {
    font-size: 2.8rem;
  }
  .page-description {
    font-size: 15px;
  }
  .page-content {
    padding-bottom: 50px;
  }
  .empty-state {
    padding: 45px 20px;
  }
  .empty-state h2 {
    font-size: 24px;
  }
  .empty-state p:not(.eyebrow) {
    font-size: 13px;
  }
  .article-header {
    padding: 30px 0 27px;
  }
  .back-link {
    margin-bottom: 28px;
  }
  .article-header h1 {
    font-size: 2.5rem;
  }
  .article-meta {
    font-size: 8px;
    gap: 10px;
    margin-bottom: 17px;
  }
  .article-deck {
    font-size: 15px;
  }
  .notice {
    padding: 16px 18px;
    font-size: 11px;
    margin-bottom: 30px;
  }
  .notice .source-links {
    font-size: 10px;
  }
  .source-links span {
    margin-inline: 4px;
  }
  .prose {
    font-size: 14px;
    line-height: 1.9;
  }
  .prose h2 {
    font-size: 25px;
    margin-top: 40px;
  }
  .prose h3 {
    font-size: 20px;
  }
  .prose pre {
    font-size: 10px;
    padding: 16px;
  }
  .prose img {
    padding: 10px;
  }
  #markdown-toc {
    columns: 1;
    padding: 24px 22px 18px 38px;
    font-size: 11px;
  }
  .not-found {
    padding: 65px 0 75px;
  }
  .not-found .text-link {
    display: flex;
    margin: 23px 0 0;
  }
  .fact-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  :root {
    color-scheme: light;
    --bg: #fff;
    --surface: #fff;
    --ink: #000;
    --muted: #333;
    --line: #bbb;
    --accent: #000;
    --code: #fff;
  }
  .shell {
    width: 100%;
    max-width: none;
  }
  body {
    font-size: 10pt;
    line-height: 1.6;
    background: #fff;
    color: #000;
  }
  .site-header,
  .site-footer,
  .skip-link,
  .back-link,
  .copy-code,
  .hero-diagram,
  .article-end,
  .tags {
    display: none !important;
  }
  h1 {
    font-size: 28pt !important;
  }
  h2 {
    font-size: 18pt !important;
    break-after: avoid;
  }
  h3,
  h4 {
    break-after: avoid;
  }
  .article-header,
  .page-header {
    padding: 0 0 20pt;
  }
  .article-meta,
  .byline-detail {
    font-size: 8pt;
  }
  .article-deck {
    font-size: 11pt;
  }
  .notice {
    font-size: 9pt;
    padding: 12pt;
  }
  .prose {
    font-size: 10pt;
    line-height: 1.65;
  }
  .prose pre,
  .prose .code-container pre {
    white-space: pre-wrap;
    overflow: visible;
    overflow-wrap: anywhere;
    font-size: 7pt;
    line-height: 1.4;
    padding: 10pt;
  }
  .prose img {
    max-height: 210mm;
    break-inside: avoid;
    padding: 0;
  }
  .prose figure {
    break-inside: avoid;
  }
  .highlight span {
    color: #000 !important;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
  #markdown-toc {
    font-size: 9pt;
    background: none;
    columns: 2;
    padding: 14pt 25pt;
  }
  .hero {
    display: block;
    padding: 0;
  }
  .hero h1 {
    font-size: 35pt !important;
  }
  .areas-section,
  .about-strip {
    display: block;
  }
  .button {
    color: #000;
    background: #fff;
    border: 1px solid #000;
  }
  .document-article {
    padding: 0;
  }
  .page-content {
    padding: 0;
  }
  .fact-grid {
    background: #fff;
  }
}
