:root {
  --brand-green: #38b54a;
  --brand-navy: #0c4674;
  --primary: #609b3f;
  --bg: #fbfcfb;
  --surface: #ffffff;
  --border: #e4e8e3;
  --text: #16201a;
  --muted: #5b6b5f;
  --radius: 14px;
  --maxw: 960px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1116;
    --surface: #121a21;
    --border: #23303a;
    --text: #e9f0ea;
    --muted: #9bac9f;
    --primary: #7fc25c;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-navy); }
@media (prefers-color-scheme: dark) { a:hover { color: var(--brand-green); } }

/* ---------- header ---------- */

header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; font-weight: 650; }
.brand img { width: 26px; height: 27px; display: block; }
.brand span { letter-spacing: -0.01em; }

nav.site { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover { color: var(--text); }

/* ---------- hero ---------- */

.hero { padding: 76px 0 64px; }
.hero .wrap { max-width: 760px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-weight: 700;
}

.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); margin: 0 0 32px; }

.rule {
  height: 4px;
  width: 72px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-navy));
  margin: 0 0 30px;
}

.badge {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  background: var(--surface);
}

/* ---------- sections ---------- */

section { padding: 56px 0; border-top: 1px solid var(--border); }

h2 {
  font-size: clamp(24px, 3.4vw, 30px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 680;
}

h3 { font-size: 17px; margin: 0 0 6px; font-weight: 650; }

section > .wrap > p { color: var(--muted); max-width: 66ch; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

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

.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- identity block (the one Google reads) ---------- */

.identity {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 28px;
}

dl.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; }
dl.facts dt { color: var(--muted); font-size: 14px; }
dl.facts dd { margin: 0; font-size: 15px; }

@media (max-width: 560px) {
  dl.facts { grid-template-columns: 1fr; gap: 3px; }
  dl.facts dd { margin-bottom: 12px; }
}

/* ---------- legal pages ---------- */

.legal { padding: 56px 0 24px; border-top: 0; }
.legal .wrap { max-width: 720px; }
.legal h2 { font-size: 21px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.updated { color: var(--muted); font-size: 15px; }

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--border);
  padding: 34px 0 54px;
  color: var(--muted);
  font-size: 14px;
}

footer.site .wrap { display: flex; gap: 20px 28px; flex-wrap: wrap; align-items: center; }
footer.site nav { display: flex; gap: 20px; margin-left: auto; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); text-decoration: underline; }

/* ---------- unfilled placeholders (must be zero before launch) ---------- */

.todo {
  color: #8a5a00;
  background: #fff6e0;
  border: 1px dashed #e0b050;
  border-radius: 7px;
  padding: 2px 9px;
  font-size: 14px;
  display: inline-block;
}

@media (prefers-color-scheme: dark) {
  .todo { color: #ffd88a; background: #2a2109; border-color: #7a5e14; }
}
