:root {
  color-scheme: light dark;
  --bg: #fbf7f0;
  --text: #2b2320;
  --muted: #6f645c;
  --accent: #a83a25;
  --rule: #e6dccf;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1816;
    --text: #f1e9e0;
    --muted: #a99c90;
    --accent: #f08a6c;
    --rule: #3a322d;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 .25rem; }
h2 { font-size: 1.15rem; line-height: 1.3; margin: 2rem 0 .4rem; }
p, li { margin: .5rem 0; }
ul, ol { padding-left: 1.3rem; }
a { color: var(--accent); }

.meta { color: var(--muted); font-size: .92rem; }
header.site {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
  color: var(--muted);
  font-size: .92rem;
}
.lang a[aria-current] { color: var(--text); font-weight: 600; text-decoration: none; }

section + section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
}

.hero { text-align: center; padding-top: 2.5rem; }
.hero img { width: 120px; height: 120px; border-radius: 26px; }
.hero h1 { margin-top: 1rem; }
