@import url('https://fonts.googleapis.com/css2?family=DM+Mono&family=DM+Sans:wght@400;500;700&family=Playfair+Display:ital@0;1&display=swap');

:root {
  --cream: #FAFAF7; --white: #FFFFFF; --ink: #1A1A18; --stone: #E8E6DF;
  --muted: #8A8880; --sage: #7A9E7E; --sage-dark: #4A7550; --red: #B91C1C;
}
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #121211; --white: #1C1C1A; --ink: #F2F0EA; --stone: #30302C;
    --muted: #9C9A91; --sage-dark: #9CC7A1; --red: #F87171;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 16px/1.65 'DM Sans', system-ui, sans-serif;
}
header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; background: var(--white); border-bottom: 1px solid var(--stone);
}
.logo {
  width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--ink); color: var(--cream); font-weight: 500;
}
header a { color: inherit; text-decoration: none; font-size: 20px; font-weight: 500; }
.langs { margin-left: auto; font: 13px 'DM Mono', monospace; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; }
.langs a { font-size: 13px; color: var(--muted); }
.langs a.on { color: var(--ink); text-decoration: underline; }
main { max-width: 720px; margin: 0 auto; padding: 32px 20px 64px; }
.eyebrow { font: 12px 'DM Mono', monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
h1 { font: 400 40px/1.15 'Playfair Display', serif; margin: 8px 0 8px; }
h1 em { font-style: italic; }
h2 { font: 400 24px/1.3 'Playfair Display', serif; margin: 36px 0 8px; }
.updated { color: var(--muted); font: 13px 'DM Mono', monospace; }
a { color: var(--sage-dark); }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
.box { background: var(--white); border: 1px solid var(--stone); padding: 16px 20px; margin: 16px 0; }
.box.warn { border-color: var(--red); }
section + section { border-top: 1px solid var(--stone); margin-top: 56px; padding-top: 24px; }
footer { color: var(--muted); font-size: 13px; text-align: center; padding: 24px; border-top: 1px solid var(--stone); }
