:root {
  --bg: #f6f3ea;
  --surface: #ffffff;
  --text: #22301f;
  --muted: #5f6b5a;
  --accent: #3f7d3a;
  --line: #ddd6c4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161b15;
    --surface: #1f261d;
    --text: #e9efe4;
    --muted: #a3ad9c;
    --accent: #8cc97f;
    --line: #333d30;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
header.site .brand { font-weight: 700; text-decoration: none; color: var(--text); }
header.site nav a { margin-left: 16px; text-decoration: none; }
main { padding: 40px 0 64px; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.15; margin: 0 0 12px; }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 32px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.card h2 { font-size: 1.1rem; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); }
.tag { display: inline-block; font-size: .75rem; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); margin-bottom: 8px; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; padding: 18px 0; }
