:root {
  color-scheme: light dark;
  --paper: #fff;
  --surface: #f6f8fa;
  --ink: #1f2328;
  --muted: #59636e;
  --line: #d0d7de;
  --link: #0969da;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0d1117; --surface: #161b22; --ink: #e6edf3; --muted: #a9b3c1; --line: #30363d; --link: #79b8ff; }
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.7 system-ui, -apple-system, "PingFang SC", sans-serif; }
a { color: var(--link); text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.header-inner, .container { max-width: 760px; margin: auto; padding-inline: 20px; }
.header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1.25rem; padding-block: 1rem; }
.site-title { color: var(--ink); font-weight: 700; font-size: 1.35rem; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.container { padding-block: 2rem 3rem; }
h1, h2 { line-height: 1.3; }
h1 { margin: 0 0 1rem; font-size: clamp(1.75rem, 4vw, 2.125rem); }
h2 { margin-top: 1.7em; font-size: 1.25rem; border-bottom: 1px solid var(--line); padding-bottom: .3em; }
li + li { margin-top: .3rem; }
