:root {
  color-scheme: dark;
  --page: #111111;
  --text: #f6f2ec;
  --muted: #c3bbb0;
  --quiet: #a39b91;
  --purple: #b17bff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--text);
  line-height: 1.7;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--purple); text-underline-offset: 0.2em; }
a:hover { color: var(--text); }
a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--purple); outline-offset: 5px; }
.site-header, main, footer { width: min(1040px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.65rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-size: 1.3rem; font-weight: 750; white-space: nowrap; }
.brand img { border-radius: 7px; }
.brand-iris { color: var(--purple); }
nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.93rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current] { color: var(--text); text-decoration: underline; text-decoration-color: var(--purple); text-underline-offset: 0.5em; }
.article-header { max-width: 850px; padding-block: clamp(2.5rem, 7vw, 5rem) 3rem; }
.eyebrow { color: var(--purple); font-weight: 650; font-size: 0.85rem; margin: 0 0 0.8rem; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.8vw, 4.5rem); margin: 0 0 1.5rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin: 0 0 1.2rem; }
h3 { font-size: 1.13rem; margin-bottom: 0.5rem; }
p { max-width: 76ch; margin: 0 0 1.1rem; color: var(--muted); }
strong { color: var(--text); }
.intro { max-width: 64ch; font-size: 1.18rem; }
.byline { color: var(--quiet); font-size: 0.83rem; margin-top: 1.5rem; }
section { margin-bottom: 3.5rem; scroll-margin-top: 2rem; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-block: 1.5rem 2rem; }
.summary h2 { font-size: 1.25rem; }
.summary p { font-size: 0.98rem; }
.table-hint { display: none; font-size: 0.85rem; color: var(--quiet); }
.table-scroll { overflow-x: auto; margin-top: 1.5rem; }
table { border-collapse: collapse; width: 100%; min-width: 740px; text-align: left; font-size: 0.93rem; }
caption { text-align: left; color: var(--quiet); font-size: 0.85rem; margin-bottom: 1rem; }
th, td { padding: 1.15rem 1rem; vertical-align: top; border-bottom: 1px solid #333; }
thead th { padding-top: 0; font-size: 1.05rem; }
tbody th { width: 20%; font-weight: 600; padding-left: 0; }
td { width: 26.66%; color: var(--muted); }
td:nth-child(2) { color: var(--text); background: rgba(157, 84, 255, 0.045); }
.citation { font-size: 0.7em; font-weight: 400; }
.button { display: inline-flex; gap: 1.5rem; padding: 0.8rem 1.1rem; margin-top: 0.5rem; background: #7a2ee6; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 650; }
.button:hover { background: #8b41ec; }
.sources { padding-top: 1.8rem; border-top: 1px solid #333; font-size: 0.9rem; }
.sources h2 { font-size: 1.25rem; }
li { max-width: 76ch; margin-bottom: 0.85rem; color: var(--muted); }
.steps { padding-left: 1.5rem; }
.steps li { padding-left: 0.75rem; margin-bottom: 2rem; }
.steps li::marker { color: var(--purple); font-weight: 700; }
.steps h3 { color: var(--text); }
pre { padding: 1.3rem; overflow-x: auto; background: #1c1d1d; border-radius: 8px; line-height: 1.8; max-width: 76ch; }
code { font-size: 0.9em; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1rem 2.5rem; font-size: 0.85rem; color: var(--quiet); }
.skip-link { position: absolute; top: -5rem; left: 1rem; padding: 0.5rem 1rem; background: var(--page); z-index: 1; }
.skip-link:focus { top: 0.5rem; }
@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav { gap: 0.6rem 1.3rem; }
  .summary { grid-template-columns: 1fr; gap: 1.2rem; padding-top: 0; }
  .summary p { margin-bottom: 0; }
  .summary h2 { margin-bottom: 0.5rem; }
  .table-hint { display: block; }
  .article-header { padding-bottom: 2rem; }
}
