:root {
  color-scheme: light dark;
  --fg: #1f2328;
  --muted: #59636e;
  --bg: #ffffff;
  --card: #f6f8fa;
  --line: #d0d7de;
  --link: #1d4ed8;
  --accent: #b45309;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e6edf3;
    --muted: #9198a1;
    --bg: #0d1117;
    --card: #161b22;
    --line: #30363d;
    --link: #6ea8fe;
    --accent: #f59e0b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}
a { color: var(--link); }
.wrap { max-width: 780px; margin: 0 auto; padding: 0 1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.25rem; padding-top: .75rem; padding-bottom: .75rem; }
.brand { font-weight: 700; color: var(--fg); text-decoration: none; }
.brand span { color: var(--accent); }
.site-nav { display: flex; gap: 1rem; font-size: .95rem; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--fg); text-decoration: underline; }
main { padding-top: 1.5rem; padding-bottom: 2rem; }
h1 { font-size: 1.85rem; line-height: 1.25; margin: .5rem 0 1rem; }
h2 { font-size: 1.3rem; margin: 2rem 0 .5rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 .4rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.25rem; margin: 1.25rem 0; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
th, td { border: 1px solid var(--line); padding: .45rem .6rem; text-align: left; vertical-align: top; }
th { background: var(--card); }
.table-scroll { overflow-x: auto; }
.small { font-size: .9rem; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); margin-top: 2rem; padding: 1.25rem 0 2rem; font-size: .9rem; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: .5rem; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
