:root {
  --bg: #fbfbf8;
  --surface: #ffffff;
  --text: #17201b;
  --mute: #5b6660;
  --line: #e3e6e1;
  --accent: #1f6b45;
  --accent-soft: #e8f2ec;
  --max: 960px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1411;
    --surface: #161d19;
    --text: #e8ece9;
    --mute: #9aa59f;
    --line: #26302a;
    --accent: #6fcf97;
    --accent-soft: #1b2b22;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

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

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand svg { width: 26px; height: 26px; flex: none; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.nav a {
  color: var(--mute);
  text-decoration: none;
}

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

.nav a[aria-current="page"] { font-weight: 600; }

/* Content */

main { padding: 56px 0 72px; }

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.015em; }

h1 { font-size: clamp(30px, 6vw, 44px); margin: 0 0 16px; }
h2 { font-size: 24px; margin: 48px 0 12px; }
h3 { font-size: 18px; margin: 28px 0 6px; }

.lead {
  font-size: clamp(18px, 2.6vw, 21px);
  color: var(--mute);
  max-width: 40em;
  margin: 0 0 8px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.prose { max-width: 42em; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}

.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--mute); font-size: 16px; }

.notice {
  margin: 28px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 10px 10px 0;
  max-width: 42em;
}

.notice p { margin: 0; }

.button {
  display: inline-block;
  margin-top: 20px;
  padding: 11px 20px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.meta { color: var(--mute); font-size: 15px; }

dl.facts { margin: 0; }
dl.facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
dl.facts dt { color: var(--mute); font-size: 14px; }
dl.facts dd { margin: 2px 0 0; font-weight: 600; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--mute);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a { color: var(--mute); }
