:root {
  color-scheme: light dark;
  --background: #fafbfc;
  --text: #18202a;
  --muted: #515e6d;
  --link: #1555a3;
  --border: #d4dce6;
  --notice: #eaf2fb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #11151a;
    --text: #e6e9ed;
    --muted: #aeb9c6;
    --link: #8dbbf3;
    --border: #343c46;
    --notice: #19283d;
  }
}
* { box-sizing: border-box; }
html { background: var(--background); }
body {
  font: 16px/1.75 system-ui, sans-serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 24px;
  color: var(--text);
  overflow-wrap: anywhere;
}
header { border-bottom: 1px solid var(--border); padding-bottom: 20px; }
header > a { font-size: 1.2rem; font-weight: 700; }
nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; border-radius: 2px; }
a[aria-current="page"] { font-weight: 700; }
main { padding: 20px 0; }
h1 { font-size: clamp(1.8rem, 5vw, 2.3rem); line-height: 1.25; }
h2 { font-size: 1.2rem; line-height: 1.4; margin-top: 2rem; }
.date { color: var(--muted); }
.notice { padding: 16px; border-left: 4px solid var(--link); background: var(--notice); }
code { font-size: .95em; }
footer { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 16px; }
footer p { color: var(--muted); }
.skip-link { position: absolute; top: 8px; left: 24px; transform: translateY(-200%); background: var(--background); padding: 8px 12px; }
.skip-link:focus { transform: translateY(0); }
