:root {
  --bg: #fbfaf8;
  --text: #1f1d1a;
  --muted: #5f5a53;
  --accent: #5b3fa8;
  --rule: #e4e0da;
  --box: #f1eef9;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161514;
    --text: #ece9e4;
    --muted: #a9a399;
    --accent: #b9a6ef;
    --rule: #34312d;
    --box: #241f33;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 46rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
header { border-bottom: 1px solid var(--rule); padding-bottom: 1.25rem; margin-bottom: 1.5rem; }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 .35rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
p, li { max-width: 68ch; }
ul { padding-left: 1.25rem; }
li { margin: .3rem 0; }
a { color: var(--accent); }
.meta { color: var(--muted); margin: 0; }
.lang { float: right; font-size: .95rem; }
.box { background: var(--box); border-radius: 10px; padding: .9rem 1.1rem; margin: 1rem 0; }
footer { border-top: 1px solid var(--rule); margin-top: 2.5rem; padding-top: 1rem; color: var(--muted); font-size: .95rem; }
