: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: "GT Super", Georgia, Cambria, "Times New Roman", serif;
  --md-sans: "Sohne", "Helvetica Neue", Arial, sans-serif;
  --md-radius-pill: 9999px;
  --md-section: 84px;
  --container: min(1192px, 100% - 2rem);
}

*,
*::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: var(--md-canvas);
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

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

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Top nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--md-canvas);
  border-bottom: 1px solid var(--md-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  gap: 1rem;
}

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

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.site-nav a:not(.btn):hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--md-sans);
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  border-radius: var(--md-radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn--primary-green {
  background: var(--md-accent);
  color: #fff;
  padding: 9px 16px;
  min-height: 36px;
}

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

.btn--primary-ink {
  background: var(--md-ink);
  color: #fff;
  padding: 11px 20px;
  min-height: 40px;
}

.btn--primary-ink:hover {
  background: #333;
  color: #fff;
}

.btn--secondary {
  background: var(--md-surface);
  color: var(--md-ink);
  padding: 10px 18px;
  min-height: 38px;
  border: 1px solid var(--md-border-strong);
}

.btn--secondary:hover {
  background: var(--md-surface-warm);
  color: var(--md-ink);
}

.btn--large {
  padding: 12px 24px;
  min-height: 44px;
  font-size: 15px;
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 112px) 0;
  border-bottom: 1px solid var(--md-border);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.hero__eyebrow {
  font-size: 13px;
  color: var(--md-muted);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--md-serif);
  font-weight: 400;
  color: var(--md-ink);
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 0 0 1.25rem;
  font-size: clamp(2.75rem, 8vw, 4.5rem);
}

.hero__title em {
  font-style: normal;
  color: var(--md-accent);
}

.hero__lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--md-text);
  max-width: 28rem;
  margin: 0 0 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero__meta {
  margin-top: 1.5rem;
  font-size: 13px;
  color: var(--md-muted);
}

.hero-art {
  width: 100%;
  aspect-ratio: 1 / 0.92;
  max-width: 480px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .hero-art {
    margin-inline: 0 0 auto;
  }
}

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

.section--surface {
  background: var(--md-surface);
  border-top: 1px solid var(--md-border);
  border-bottom: 1px solid var(--md-border);
}

.section__header {
  margin-bottom: 2rem;
}

.section__title {
  font-family: var(--md-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--md-ink);
  margin: 0 0 0.75rem;
}

.section__subtitle {
  font-size: 18px;
  color: var(--md-muted-soft);
  max-width: 36rem;
  margin: 0;
  line-height: 1.45;
}

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

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

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

.benefit-title {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 0.35rem;
  color: var(--md-ink);
  letter-spacing: -0.005em;
}

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

/* Topics */
.topic-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

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

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

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

.story-row {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--md-border);
  display: grid;
  gap: 0.35rem;
}

.story-row__meta {
  font-size: 13px;
  color: var(--md-muted);
}

.story-row__title {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

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

.story-row__title a:hover {
  color: var(--md-accent);
  text-decoration: underline;
}

.story-row__excerpt {
  margin: 0;
  font-size: 16px;
  color: var(--md-muted-soft);
  max-width: 52rem;
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.trust-card {
  padding: 1.75rem 0;
  border-top: 3px solid var(--md-accent);
}

.trust-card__stat {
  font-family: var(--md-serif);
  font-size: 2rem;
  color: var(--md-ink);
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
}

.trust-card__label {
  font-size: 15px;
  color: var(--md-text);
  margin: 0;
  line-height: 1.45;
}

/* Membership CTA */
.cta-block {
  background: var(--md-ink);
  color: #fff;
  border-radius: 14px;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.cta-block__title {
  font-family: var(--md-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: #fff;
}

.cta-block__text {
  font-size: 18px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  max-width: 32rem;
  margin: 0 auto 1.75rem;
}

.cta-block .btn--primary-green {
  font-size: 15px;
  padding: 12px 28px;
  min-height: 44px;
}

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

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

.footer-note {
  font-size: 13px;
  color: var(--md-muted);
  margin: 0;
  max-width: 28rem;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--md-border-strong);
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--md-ink);
}

@media (max-width: 639px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 1rem;
  }

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

  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-nav .btn {
    width: 100%;
    justify-content: center;
  }
}
