:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #1a1f2b;
  --muted: #4a5365;
  --link: #0b4fbd;
  --line: #d3d8e2;
  --card: #f3f5f9;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11141b;
    --text: #eceff5;
    --muted: #b4bccb;
    --link: #8db8ff;
    --line: #333b4b;
    --card: #1b2030;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
header, main, footer { max-width: 42rem; margin: 0 auto; padding: 0 1rem; }
header { padding-top: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
header a.brand { font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; }
nav ul { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }
nav a { display: inline-block; padding: 0.5rem 0; }
main { padding-top: 1.5rem; padding-bottom: 2rem; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 0.25rem; }
h2 { font-size: 1.35rem; line-height: 1.3; margin: 2rem 0 0.5rem; }
p, li { margin: 0.6rem 0; }
ul { padding-left: 1.25rem; }
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.muted { color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 0.5rem; padding: 0.75rem 1rem; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 1rem; }
th, td { border: 1px solid var(--line); padding: 0.5rem 0.6rem; text-align: left; vertical-align: top; }
th { background: var(--card); }
footer { padding-top: 1rem; padding-bottom: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
