:root {
  --bg: #ffffff;
  --text: #1f2328;
  --muted: #57606a;
  --link: #1a4fb5;
  --line: #d8dee4;
  --note-bg: #eef3fc;
  --note-line: #2b3480;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171c;
    --text: #e6e8eb;
    --muted: #a3abb5;
    --link: #8db4ff;
    --line: #353b45;
    --note-bg: #1f2540;
    --note-line: #8d97e8;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
header, main, footer { max-width: 42rem; margin: 0 auto; padding: 0 1rem; }
header nav { display: flex; gap: 1.25rem; align-items: baseline; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
header .brand { font-weight: 600; color: var(--text); text-decoration: none; margin-right: auto; }
main { padding-top: 1.5rem; padding-bottom: 2.5rem; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0.25rem 0 0.75rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
li { margin: 0.35rem 0; }
.crumbs, .meta { color: var(--muted); font-size: 0.9375rem; margin: 0; }
.meta { margin-bottom: 1.25rem; }
.articles { list-style: none; padding: 0; }
.articles li { margin: 0 0 1rem; }
.articles a { font-weight: 600; }
.articles span { display: block; color: var(--muted); font-size: 0.9375rem; }
.app-note { margin: 2rem 0; padding: 0.75rem 1rem; background: var(--note-bg); border-left: 4px solid var(--note-line); border-radius: 4px; }
.app-note p { margin: 0; }
footer { padding-top: 1.25rem; padding-bottom: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
footer p { margin: 0.25rem 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 0.5rem; background: var(--bg); padding: 0.25rem 0.5rem; }
