:root {
  --bg: #f6faf7;
  --surface: #ffffff;
  --text: #182420;
  --text-muted: #4c5f56;
  --accent: #1f7a52;
  --accent-soft: #e0fbe4;
  --accent-strong: #22577a;
  --border: #d9e5dc;
  --focus: #1f7a52;
  --max-width: 44rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1713;
    --surface: #16211b;
    --text: #e6efe9;
    --text-muted: #9fb5a8;
    --accent: #57cc99;
    --accent-soft: #1d3a2c;
    --accent-strong: #38a3a5;
    --border: #27352c;
    --focus: #80ed99;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

header.site {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

header.site .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wordmark {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.wordmark:hover {
  color: var(--accent-strong);
}

nav.site {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 1.25rem;
}

nav.site a {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-block;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

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

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

nav.site .crumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.35rem;
  font-size: 0.95rem;
}

nav.site .crumb .sep {
  color: var(--text-muted);
}

main.wrap {
  padding: 3.5rem 1.25rem 4rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 36rem;
}

section {
  margin-top: 3rem;
}

section > h2 {
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

section p + p {
  margin-top: 0.8rem;
}

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

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.card h3 a {
  color: var(--accent);
  text-decoration: none;
}

.card h3 a:hover {
  text-decoration: underline;
}

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

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

ul.features {
  list-style: none;
  margin-top: 1rem;
}

ul.features li {
  padding: 0.55rem 0 0.55rem 1.4rem;
  position: relative;
}

ul.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--accent);
}

ul.features li strong {
  display: block;
}

ul.features li span {
  color: var(--text-muted);
}

a.inline {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: text-decoration-thickness 0.15s ease;
}

a.inline:hover {
  text-decoration-thickness: 2px;
}

.policy h2 {
  font-size: 1.2rem;
  margin: 2.2rem 0 0.6rem;
}

.policy ul {
  padding-left: 1.4rem;
  margin-top: 0.5rem;
}

.policy li + li {
  margin-top: 0.3rem;
}

.policy .meta {
  color: var(--text-muted);
  margin-top: 0.75rem;
}

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

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

footer.site a {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
