:root {
  color-scheme: light dark;
  --accent: #2d6a4f;
  --accent-soft: #d8f0e4;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1f2421;
  --text-muted: #5a6560;
  --border: #e6e2da;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #74c69d;
    --accent-soft: #1b3a2e;
    --bg: #14171a;
    --surface: #1c2023;
    --text: #eceae5;
    --text-muted: #a3aca6;
    --border: #2c3236;
  }
}

* { box-sizing: border-box; }

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

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

header.site {
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
}

.brand .mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

nav.site a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  margin-left: 1.25rem;
}

nav.site a:hover, nav.site a[aria-current="page"] {
  color: var(--accent);
}

h1 {
  font-size: 1.9rem;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.6rem;
}

.lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

h2 {
  font-size: 1.05rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

p { color: var(--text); }
.card p { color: var(--text-muted); }

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

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

.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.links-grid {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.links-grid a {
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.6rem 1rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.links-grid a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

footer.site {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.meta {
  color: var(--text-muted);
  font-size: 0.85rem;
}
