:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --accent: #2d5016;
  --accent-soft: #e8f0e4;
  --border: #ddd9d0;
  --max: 42rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.wrap {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.site-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

nav {
  margin-top: 0.75rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
}

nav a {
  color: var(--accent);
  margin-right: 1rem;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

main.wide {
  max-width: calc(var(--max) + 4rem);
}

h1 {
  font-size: 1.85rem;
  line-height: 1.25;
  margin-top: 0;
}

h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  font-family: system-ui, -apple-system, sans-serif;
}

p,
li {
  color: var(--text);
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.card h2 {
  margin-top: 0;
}

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

code {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  background: var(--accent-soft);
  padding: 0.1em 0.35em;
  border-radius: 0.2rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

footer a {
  color: var(--accent);
}

.meta {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}
