:root {
  color-scheme: light dark;
  font: 16px/1.65 system-ui, sans-serif;
  background: #f7f7f8;
  color: #18181b;
  --muted: #53535f;
  --line: #d9d9de;
  --accent: #772ce8;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.skip { position: absolute; left: 16px; top: -80px; padding: 8px 12px; background: #f7f7f8; }
.skip:focus { top: 8px; }
header, main, footer { width: min(100% - 40px, 740px); margin-inline: auto; }
header { padding-block: 26px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; font-size: 15px; font-weight: 700; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; font-size: 14px; }
nav a[aria-current="page"] { color: inherit; font-weight: 700; text-decoration: none; }
main { padding-block: 44px 36px; overflow-wrap: anywhere; }
h1 { margin: 0 0 12px; font-size: 32px; line-height: 1.2; letter-spacing: -.025em; }
h2 { margin: 32px 0 8px; font-size: 21px; line-height: 1.35; }
p { margin: 0 0 16px; }
ol, ul { padding-left: 24px; margin: 12px 0 20px; }
li { margin-block: 8px; padding-left: 4px; }
.intro { font-size: 18px; color: var(--muted); }
.meta { color: var(--muted); font-size: 14px; }
.note { margin-block: 24px; padding: 16px 20px; background: #eee5fc; border-radius: 6px; }
.note p:last-child { margin-bottom: 0; }
footer { padding-block: 20px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 480px) {
  header, main, footer { width: calc(100% - 32px); }
  header { gap: 16px; }
  nav { width: 100%; margin-left: 0; }
  main { padding-top: 32px; }
}
@media (prefers-color-scheme: dark) {
  :root { background: #18181b; color: #efeff1; --muted: #adadb8; --line: #35353b; --accent: #bf94ff; }
  .skip { background: #18181b; }
  .note { background: #2a203a; }
}
