:root {
  --bg: #fbfaf8;
  --fg: #1e1d22;
  --muted: #5d5b66;
  --rule: #dcd9d2;
  --accent: #6b2d3c;
  --mark-bg: #fff1b8;
  --mark-fg: #4a3b00;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17161b;
    --fg: #ebe9e4;
    --muted: #a5a2ad;
    --rule: #34323b;
    --accent: #d9a0ae;
    --mark-bg: #4a3f12;
    --mark-fg: #ffe9a3;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.65 Georgia, "Times New Roman", serif;
}
main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}
h1 {
  font: 700 2rem/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0 0 .25rem;
  text-wrap: balance;
}
h2 {
  font: 650 1.2rem/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 2.4rem 0 .6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  color: var(--accent);
}
h3 {
  font: 650 1rem/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 1.4rem 0 .3rem;
}
p, ul, ol { margin: .7rem 0; }
li { margin: .3rem 0; }
.meta { color: var(--muted); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .95rem; margin: 0 0 1.6rem; }
mark { background: var(--mark-bg); color: var(--mark-fg); padding: 0 .25em; border-radius: 3px; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--rule); }
th { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .85rem; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.table-wrap { overflow-x: auto; }
nav.top { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .95rem; margin-bottom: 1.6rem; }
nav.top a { margin-right: 1rem; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--muted); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .9rem; }
