:root {
  --md-accent: #1A8917;
  --md-accent-hover: #156D12;
  --md-accent-soft: #E8F3E8;
  --md-ink: #191919;
  --md-text: #242424;
  --md-muted: #6B6B6B;
  --md-muted-soft: #757575;
  --md-canvas: #F7F4ED;
  --md-surface: #FFFFFF;
  --md-surface-warm: #F2EFE6;
  --md-border: #E6E6E6;
  --md-border-strong: #CFCFCF;
  --md-hero-green: #34AC45;
  --md-hero-moss: #48704B;
  --md-serif: Georgia, Cambria, "Times New Roman", serif;
  --md-sans: "Helvetica Neue", Arial, sans-serif;
  --md-radius-pill: 9999px;
  --md-section: 84px;
  --container: min(1192px, 100% - 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--md-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--md-text);
  background-color: var(--md-canvas);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--md-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--md-text);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--md-ink);
  color: #fff;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top nav */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 75px;
  display: flex;
  align-items: center;
  background: var(--md-canvas);
  border-bottom: 1px solid var(--md-border);
}

.nav-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-family: var(--md-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--md-ink);
  text-decoration: none;
}

.wordmark:hover {
  text-decoration: none;
  color: var(--md-ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14px;
  color: var(--md-text);
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 9px 16px;
  font-size: 14px;
  line-height: 1;
  color: #fff;
  background: var(--md-accent);
  border-radius: var(--md-radius-pill);
  text-decoration: none;
  transition: background-color 150ms ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--md-accent-hover);
  color: #fff;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--md-border-strong);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  color: var(--md-ink);
}

/* Hero */
.hero {
  padding: var(--md-section) 0;
  border-bottom: 1px solid var(--md-border);
}

.hero-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-brand {
  font-family: var(--md-serif);
  font-size: clamp(42px, 8vw, 106px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--md-ink);
  margin: 0 0 16px;
}

.hero-tagline {
  font-size: clamp(20px, 2.5vw, 44px);
  font-family: var(--md-serif);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--md-ink);
  margin: 0 0 20px;
  max-width: 14ch;
}

.hero-sub {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--md-text);
  max-width: 430px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 11px 20px;
  font-size: 14px;
  line-height: 1;
  color: #fff;
  background: var(--md-ink);
  border: none;
  border-radius: var(--md-radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.btn-primary:hover {
  background: #333;
  color: #fff;
  text-decoration: none;
}

.btn-primary-green {
  background: var(--md-accent);
}

.btn-primary-green:hover {
  background: var(--md-accent-hover);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--md-ink);
  background: var(--md-surface);
  border: 1px solid var(--md-border);
  border-radius: var(--md-radius-pill);
  text-decoration: none;
  transition: border-color 150ms ease;
}

.btn-secondary:hover {
  border-color: var(--md-border-strong);
  text-decoration: none;
  color: var(--md-ink);
}

.hero-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-left: auto;
  border-radius: 0;
}

/* Benefits */
.section {
  padding: var(--md-section) 0;
}

.section-inner {
  width: var(--container);
  margin: 0 auto;
}

.section-headline {
  font-family: var(--md-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--md-ink);
  margin: 0 0 12px;
}

.section-lead {
  font-size: 18px;
  color: var(--md-muted);
  max-width: 560px;
  margin: 0 0 40px;
}

.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--md-border);
}

.benefits-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--md-border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 24px;
  align-items: start;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--md-accent-soft);
  color: var(--md-accent);
  border-radius: 50%;
  font-size: 18px;
  flex-shrink: 0;
}

.benefit-title {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}

.benefit-text {
  margin: 0;
  color: var(--md-muted);
  font-size: 16px;
}

/* Topics */
.topics {
  background: var(--md-surface);
  border-top: 1px solid var(--md-border);
  border-bottom: 1px solid var(--md-border);
}

.topic-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.topic-pill {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--md-text);
  background: var(--md-surface-warm);
  border-radius: var(--md-radius-pill);
  text-decoration: none;
  transition: background-color 150ms ease;
}

.topic-pill:hover {
  background: var(--md-border);
  text-decoration: none;
  color: var(--md-text);
}

.story-rows {
  border-top: 1px solid var(--md-border);
}

.story-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--md-border);
}

.story-meta {
  font-size: 13px;
  color: var(--md-muted);
  margin: 0 0 8px;
}

.story-title {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.story-title a {
  color: var(--md-ink);
  text-decoration: none;
}

.story-title a:hover {
  text-decoration: underline;
}

.story-excerpt {
  margin: 0;
  color: var(--md-muted);
  font-size: 16px;
  max-width: 640px;
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 8px;
}

.trust-card {
  padding: 28px;
  background: var(--md-surface-warm);
  border: 1px solid var(--md-border);
}

.trust-stat {
  font-family: var(--md-serif);
  font-size: 36px;
  color: var(--md-ink);
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.trust-label {
  font-size: 14px;
  color: var(--md-muted);
  margin: 0;
}

/* CTA band */
.cta-band {
  background: var(--md-ink);
  color: #fff;
  padding: var(--md-section) 0;
}

.cta-band .section-headline {
  color: #fff;
}

.cta-band .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

.cta-band .btn-primary {
  background: var(--md-accent);
}

.cta-band .btn-primary:hover {
  background: var(--md-accent-hover);
}

.cta-band a:not(.btn-primary) {
  color: rgba(255, 255, 255, 0.85);
}

/* Footer */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--md-border);
  margin-top: auto;
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--md-serif);
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--md-ink);
}

.footer-note {
  font-size: 13px;
  color: var(--md-muted);
  max-width: 560px;
  margin: 0 0 24px;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 13px;
  color: var(--md-muted-soft);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  color: var(--md-text);
}

.disclosure {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--md-border);
  font-size: 12px;
  color: var(--md-muted);
  line-height: 1.45;
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--md-accent);
  outline-offset: 2px;
}

/* Mobile */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    margin: 0 auto;
    max-width: 320px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    background: var(--md-canvas);
    border-bottom: 1px solid var(--md-border);
    gap: 12px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links .nav-cta {
    text-align: center;
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .top-nav {
    position: relative;
  }

  .nav-inner {
    position: relative;
  }
}

@media (max-width: 600px) {
  :root {
    --container: calc(100% - 32px);
  }

  .benefits-list li {
    grid-template-columns: 1fr;
  }
}