: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-on-dark: #FFFFFF;
  --md-serif: Georgia, Cambria, "Times New Roman", serif;
  --md-sans: "Helvetica Neue", Arial, sans-serif;
  --md-radius-pill: 9999px;
  --md-radius-lg: 14px;
  --md-section: 84px;
  --md-hero-pad: 112px;
  --max-width: 1192px;
  --content-narrow: 680px;
}

*,
*::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 {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--md-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

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

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

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

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

.top-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

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

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

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

.nav-link {
  font-size: 14px;
  color: var(--md-text);
  text-decoration: none;
  padding: 8px 4px;
}

.nav-link:hover {
  text-decoration: underline;
  color: var(--md-ink);
}

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

.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 {
  background-color: var(--md-accent);
  color: var(--md-on-dark);
  padding: 9px 16px;
  min-height: 36px;
}

.btn--primary:hover {
  background-color: var(--md-accent-hover);
  color: var(--md-on-dark);
  text-decoration: none;
}

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

.btn--ink:hover {
  background-color: #333;
  color: var(--md-on-dark);
  text-decoration: none;
}

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

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

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

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

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

.hero__title {
  font-family: var(--md-serif);
  font-size: clamp(72px, 12vw, 106px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--md-ink);
  margin: 0 0 24px;
}

.hero__subtitle {
  font-size: clamp(18px, 2.5vw, 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;
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
  background: var(--md-hero-moss);
  overflow: hidden;
  border: 1px solid var(--md-border);
}

.hero-art__layer {
  position: absolute;
  inset: 0;
}

.hero-art__speckle {
  background-image: radial-gradient(circle, var(--md-ink) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.15;
}

.hero-art__flower {
  width: 55%;
  height: 55%;
  left: 22%;
  top: 18%;
  background: var(--md-hero-green);
  border-radius: 45% 55% 52% 48% / 48% 42% 58% 52%;
  transform: rotate(-8deg);
}

.hero-art__line {
  height: 2px;
  width: 120%;
  left: -10%;
  top: 62%;
  background: var(--md-ink);
  transform: rotate(-12deg);
}

.hero-art__line--2 {
  top: 72%;
  transform: rotate(6deg);
  width: 80%;
  left: 10%;
}

.hero-art__circle {
  width: 28%;
  height: 28%;
  right: 8%;
  bottom: 12%;
  border: 2px solid var(--md-ink);
  border-radius: 50%;
  background: transparent;
}

.hero-art__block {
  width: 18%;
  height: 22%;
  left: 8%;
  bottom: 20%;
  background: var(--md-accent-soft);
  border: 1px solid var(--md-ink);
}

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

.section--surface {
  background: var(--md-surface);
}

.section--warm {
  background: var(--md-surface-warm);
}

.section__lead {
  max-width: var(--content-narrow);
}

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

.body-lg {
  font-size: 22px;
  line-height: 1.32;
  letter-spacing: -0.012em;
  margin: 0 0 16px;
  color: var(--md-text);
}

.body-md {
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  color: var(--md-text);
}

.muted {
  color: var(--md-muted);
}

/* Benefits */
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 0;
  max-width: 720px;
}

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

.benefit-list li:last-child {
  border-bottom: 1px solid var(--md-border);
}

.benefit-list__mark {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--md-accent);
  border-radius: 50%;
}

.benefit-list__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 6px;
  color: var(--md-ink);
}

/* Two column features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--md-border);
  background: var(--md-surface);
}

.feature-card {
  padding: 32px 28px;
  border-right: 1px solid var(--md-border);
}

.feature-card:last-child {
  border-right: none;
}

.feature-card__label {
  display: inline-block;
  font-size: 13px;
  color: var(--md-accent);
  margin-bottom: 12px;
  font-weight: 500;
}

.feature-card h3 {
  font-family: var(--md-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--md-ink);
}

.topic-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.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);
}

/* Problem rows */
.story-rows {
  margin-top: 32px;
}

.story-row {
  padding: 24px 0;
  border-top: 1px solid var(--md-border);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
}

.story-row:last-child {
  border-bottom: 1px solid var(--md-border);
}

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

.story-row__title {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--md-ink);
}

/* Trust / membership callout */
.membership-callout {
  background: var(--md-ink);
  color: var(--md-on-dark);
  border-radius: var(--md-radius-lg);
  padding: 48px 40px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.membership-callout .headline {
  color: var(--md-on-dark);
  margin-bottom: 12px;
}

.membership-callout p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--md-border);
}

.trust-stat {
  text-align: left;
}

.trust-stat__value {
  font-family: var(--md-serif);
  font-size: 36px;
  color: var(--md-ink);
  margin: 0 0 8px;
  line-height: 1;
}

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

/* Final CTA */
.cta-band {
  text-align: center;
  padding: var(--md-hero-pad) 0;
}

.cta-band .headline {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .body-lg {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.site-footer {
  padding: 32px 0 48px;
  margin-top: auto;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 13px;
}

.footer-row a {
  color: var(--md-muted-soft);
  text-decoration: none;
}

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

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

/* Mobile nav panel */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--md-border);
}

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

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 100%;
    margin: 0;
    order: -1;
    max-height: 320px;
    aspect-ratio: 16 / 10;
  }

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

  .feature-card {
    border-right: none;
    border-bottom: 1px solid var(--md-border);
  }

  .feature-card:last-child {
    border-bottom: none;
  }

  .story-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .membership-callout {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .trust-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .nav-link--desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .hero__title {
    font-size: clamp(56px, 18vw, 72px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
