:root {
  color-scheme: light dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #202124;
  --muted: #60646c;
  --accent: #2357d8;
  --border: #deded8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

main {
  width: min(760px, calc(100% - 32px));
  margin: 48px auto;
  padding: clamp(24px, 5vw, 56px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}

h1, h2 { line-height: 1.25; }
h1 { margin-top: 0; font-size: clamp(2rem, 6vw, 3rem); }
h2 { margin-top: 2.25rem; }
p, li { max-width: 70ch; }
a { color: var(--accent); }
.meta, footer { color: var(--muted); }
.language { margin: 1.5rem 0; }
.language a { margin-right: 1rem; }
footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111315;
    --surface: #191c1f;
    --text: #f1f3f4;
    --muted: #b1b6bd;
    --accent: #9ab4ff;
    --border: #34383d;
  }
}
