/* Minimal stylesheet. No external font, no script, no tracker. */
:root {
  --bg: #ffffff;
  --fg: #1c2024;
  --muted: #5a626b;
  --line: #d9dee3;
  --accent: #0b5cad;
  --code-bg: #f3f5f7;
  --note-bg: #fff6e0;
  --note-line: #e2b43c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171a;
    --fg: #e6e9ec;
    --muted: #a3acb5;
    --line: #2d343a;
    --accent: #7db7f0;
    --code-bg: #1d2227;
    --note-bg: #2a2412;
    --note-line: #8a6d1d;
  }
}
* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.skip { position: absolute; left: -999px; top: 0; background: var(--bg); padding: .5rem 1rem; }
.skip:focus { left: 0; z-index: 10; }
header.site, main, footer.site { max-width: 50rem; margin: 0 auto; padding: 0 1rem; }
header.site { padding-top: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
header.site .brand { font-weight: 650; color: var(--fg); text-decoration: none; }
nav ul { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"] { color: var(--fg); font-weight: 650; border-bottom: 2px solid var(--accent); }
nav a:hover { color: var(--accent); }
main { padding-top: 1.5rem; padding-bottom: 2rem; }
h1 { font-size: 1.9rem; line-height: 1.25; margin: .5rem 0 1rem; }
h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; padding-top: .4rem; border-top: 1px solid var(--line); }
h3 { font-size: 1.1rem; margin: 1.6rem 0 .4rem; }
p, ul, ol, table, pre, .note { margin: 0 0 1rem; }
a { color: var(--accent); }
.lede { font-size: 1.1rem; color: var(--muted); }
code, pre { font: .88rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
code { background: var(--code-bg); padding: .08rem .3rem; border-radius: 3px; overflow-wrap: anywhere; }
pre { background: var(--code-bg); padding: .8rem 1rem; border-radius: 6px; overflow-x: auto; }
pre code { background: none; padding: 0; overflow-wrap: normal; }
.scroll { overflow-x: auto; margin: 0 0 1rem; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.scroll table { margin: 0; min-width: 34rem; }
th, td { text-align: left; vertical-align: top; padding: .4rem .6rem; border-bottom: 1px solid var(--line); }
th { font-weight: 650; background: var(--code-bg); }
.note { background: var(--note-bg); border-left: 4px solid var(--note-line); padding: .7rem 1rem; border-radius: 0 6px 6px 0; }
.note p:last-child { margin-bottom: 0; }
dl { margin: 0 0 1rem; }
dt { font-weight: 650; margin-top: .8rem; }
dd { margin: .15rem 0 0 0; }
footer.site { border-top: 1px solid var(--line); padding-top: 1rem; padding-bottom: 2rem; color: var(--muted); font-size: .92rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
