:root {
  --fg: #1d2420;
  --muted: #5b6660;
  --bg: #fbfcfa;
  --accent: #2e7d4f;
  --accent-fg: #ffffff;
  --border: #dde3df;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e8efea;
    --muted: #a6b3ab;
    --bg: #141916;
    --accent: #5fbf85;
    --accent-fg: #0d1410;
    --border: #2b3530;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
}

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

.site-header, .site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.site-footer {
  border-top: 1px solid var(--border);
  border-bottom: none;
  color: var(--muted);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  color: var(--fg);
}

.brand img { display: block; }

nav { display: flex; gap: 16px; }

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px;
}

h1 { font-size: 2rem; line-height: 1.2; }
h2 { margin-top: 2rem; font-size: 1.3rem; }

.button {
  display: inline-block;
  margin: 4px 8px 4px 0;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-fg);
  text-decoration: none;
  font-weight: 600;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
