:root {
  color-scheme: light dark;
  --background: #f3f1ea;
  --text: #0e1b3d;
  --muted: #4d5669;
  --link: #1f4fd8;
  --focus: #1f4fd8;
  font-family: system-ui, sans-serif;
  font-size: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); }
main { max-width: 46rem; margin-inline: auto; padding: 3rem 1.5rem; }
header { margin-bottom: 2.5rem; }
.brand { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.updated { color: var(--muted); font-size: .875rem; line-height: 1.25rem; margin-top: 2rem; }
h1 { font-size: 2.25rem; line-height: 2.5rem; margin: .75rem 0 1.5rem; }
h2 { font-size: 1.25rem; line-height: 1.75rem; margin: 0 0 .75rem; }
p, li { font-size: 1rem; line-height: 1.5rem; }
p { margin: 0 0 1rem; }
h1, h2 { text-wrap: balance; }
p, li { text-wrap: pretty; }
section { margin-top: 2rem; }
ul { padding-left: 1.5rem; margin: 0; }
li + li { margin-top: .75rem; }
a { color: var(--link); text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: .125em; }
a:focus-visible { outline: .1875rem solid var(--focus); outline-offset: .25rem; border-radius: .125rem; }
footer { margin-top: 3rem; }
.brand, footer a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.skip-link { position: absolute; top: .5rem; left: .5rem; padding: .75rem; background: var(--background); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
@media (prefers-color-scheme: dark) {
  :root { --background: #181818; --text: #f3f1ea; --muted: #bbbfc9; --link: #9eb9ff; --focus: #ffc928; }
}
@media (max-width: 30rem) {
  main { padding: 2rem 1rem; }
  h1 { font-size: 1.875rem; line-height: 2.25rem; }
}
@media (prefers-contrast: more) {
  :root { --muted: var(--text); }
  a { text-decoration-thickness: .125em; }
}
