:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --fg: #1d2421;
  --muted: #4a5551;
  --accent: #1f6658;
  --rust: #8a4f1d;
  --line: #d9ddd8;
  --panel: #eef1ed;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141917;
    --fg: #e7ebe8;
    --muted: #b3bdb8;
    --accent: #7cc9b6;
    --rust: #e3a66e;
    --line: #2f3833;
    --panel: #1e2522;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: 48rem; margin: 0 auto; padding: 0 1rem; }
header.wrap { padding-top: 2.5rem; }
nav { font-size: .95rem; margin-top: 1rem; }
nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
nav a { display: inline-block; padding: .35rem 0; }
h1 { font-size: 2.1rem; line-height: 1.15; margin: 0 0 .5rem; }
h1 .accent { color: var(--accent); }
h2 { font-size: 1.4rem; line-height: 1.3; margin: 2.75rem 0 .75rem; }
h3 { font-size: 1.1rem; margin: 1.75rem 0 .5rem; }
p, ul, ol, table, pre { margin: 0 0 1rem; }
.tagline { color: var(--muted); font-size: 1.1rem; }
.definition { font-size: 1.1rem; }
.mission { border-left: 4px solid var(--rust); padding: .25rem 0 .25rem 1rem; font-size: 1.15rem; font-weight: 600; }
.status { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: .75rem 1rem; }
.meta { color: var(--muted); font-size: .9rem; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
.table-wrap { overflow-x: auto; margin: 0 0 1rem; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0; }
th, td { text-align: left; padding: .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: .9em; }
code { background: var(--panel); padding: .1em .3em; border-radius: 4px; overflow-wrap: anywhere; }
pre { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; overflow-x: auto; line-height: 1.5; }
pre code { background: none; padding: 0; overflow-wrap: normal; }
dt { font-weight: 600; margin-top: 1rem; }
dd { margin: .25rem 0 0; }
footer.wrap { color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1rem; padding-bottom: 3rem; }
@media (min-width: 40rem) {
  h1 { font-size: 2.6rem; }
  body { font-size: 1.0625rem; }
}
