:root { color-scheme: light dark; --surface: #f6f9fb; --ink: #16252e; --muted: #435967; --accent: #075985; --line: #c7d4db; }
@media (prefers-color-scheme: dark) {
  :root { --surface: #12212a; --ink: #e0edf3; --muted: #b4c7d3; --accent: #9bd5f0; --line: #526570; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 1.0625rem/1.8 system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: .21em; }
header { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 1em; padding: 1rem max(1rem, calc((100% - 54rem) / 2)); border-bottom: 1px solid var(--line); }
header a:first-child { font-weight: 700; }
main { max-width: 54rem; margin: 0 auto; padding: 2rem 1rem 4rem; overflow-wrap: anywhere; }
h1, h2, h3, h4 { line-height: 1.35; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { margin-top: 2rem; font-size: 1.45rem; }
section { border-top: 1px solid var(--line); }
section ul { padding-inline-start: 1.25rem; }
img { max-width: 100%; height: auto; background: white; }
pre, table, math { max-width: 100%; overflow: auto; }
pre { border: 1px solid var(--line); padding: 1em; }
table { display: block; border-collapse: collapse; }
th, td { padding: .4em .75em; border: 1px solid var(--line); }
.adjacent { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75em; border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1rem; }
