:root {
  --bg: #fbf6ee;
  --text: #2b1b12;
  --muted: #6b5b4f;
  --border: #e6dccb;
  --primary: #4a2e1f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1410;
    --text: #f3e9dc;
    --muted: #b9a99a;
    --border: #3a2d25;
    --primary: #e2b48f;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

a {
  color: var(--primary);
}

.updated {
  color: var(--muted);
  margin-top: 0;
}

nav {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

nav a {
  margin-right: 1rem;
}

.note {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}
