:root {
  --bg: #fbfbf9;
  --fg: #1c1d1f;
  --muted: #5b5f66;
  --rule: #e2e2dc;
  --accent: #0b6e4f;
  --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214;
    --fg: #e8e8e6;
    --muted: #a3a7ae;
    --rule: #2a2c30;
    --accent: #4fc79c;
    --card: #17181b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
main { max-width: 46rem; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
header.site { border-bottom: 1px solid var(--rule); }
header.site div { max-width: 46rem; margin: 0 auto; padding: 1rem 1.25rem; display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; }
header.site a.brand { font-weight: 650; color: var(--fg); text-decoration: none; letter-spacing: -0.01em; }
nav a { color: var(--muted); text-decoration: none; margin-left: 1rem; }
nav a:hover { color: var(--accent); }
h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5rem; }
h2 { font-size: 1.2rem; margin: 2.25rem 0 0.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1rem; margin: 1.5rem 0 0.25rem; }
p, li { color: var(--fg); }
.meta { color: var(--muted); margin: 0 0 2rem; }
a { color: var(--accent); }
ul { padding-left: 1.25rem; }
li { margin: 0.25rem 0; }
.summary { background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: 1rem 1.25rem; }
.summary ul { margin: 0.25rem 0 0; }
table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem 0.5rem 0.5rem 0; border-bottom: 1px solid var(--rule); }
th { color: var(--muted); font-weight: 600; }
footer { border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.9rem; }
footer div { max-width: 46rem; margin: 0 auto; padding: 1.25rem; }
@media (max-width: 520px) {
  h1 { font-size: 1.6rem; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border: 0; padding: 0.15rem 0; }
  tr { border-bottom: 1px solid var(--rule); padding: 0.5rem 0; }
}
