: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-radius-lg: 14px;
  --md-section: 84px;
  --md-max-width: 1192px;
  --md-transition: 160ms ease;
}

*,
*::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: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--md-ink);
  color: var(--md-surface);
  border-radius: var(--md-radius-pill);
  font-size: 14px;
}

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

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

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

.top-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

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

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

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--md-ink);
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--md-ink);
  margin: 5px 0;
  transition: transform var(--md-transition), opacity var(--md-transition);
}

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

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

.btn--primary:hover {
  background-color: #333333;
}

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

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

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

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

.btn--lg {
  padding: 13px 28px;
  height: 48px;
  font-size: 15px;
}

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

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

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

.hero__title {
  font-family: var(--md-serif);
  font-size: clamp(52px, 8vw, 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__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--md-muted);
  max-width: 400px;
}

.hero__art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-left: auto;
}

.hero__art-panel {
  width: 100%;
  height: 100%;
  background-color: var(--md-hero-moss);
  border-radius: var(--md-radius-lg);
  overflow: hidden;
  position: relative;
}

.hero__art-flower {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55%;
  height: 55%;
}

.hero__art-lines {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.hero__art-speckles {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

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

.section-label {
  font-size: 13px;
  color: var(--md-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.section-title {
  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 48px;
  max-width: 640px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.benefit-card {
  padding: 24px 32px 24px 0;
  border-top: 1px solid var(--md-border);
}

.benefit-card:not(:last-child) {
  border-right: 1px solid var(--md-border);
  padding-right: 32px;
  margin-right: 0;
}

.benefit-card__icon {
  width: 40px;
  height: 40px;
  background: var(--md-accent-soft);
  border-radius: var(--md-radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--md-accent);
}

.benefit-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--md-ink);
  margin: 0 0 8px;
}

.benefit-card__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--md-muted-soft);
  margin: 0;
}

/* How it works */
.how-it-works {
  padding: var(--md-section) 0;
  background: var(--md-surface);
  border-bottom: 1px solid var(--md-border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  position: relative;
}

.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--md-surface-warm);
  border-radius: var(--md-radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--md-ink);
  margin-bottom: 16px;
}

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

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

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

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

.trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust__item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--md-border);
}

.trust__item:first-child {
  border-top: 1px solid var(--md-border);
}

.trust__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--md-accent);
  margin-top: 2px;
}

.trust__item-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--md-ink);
  margin: 0 0 4px;
}

.trust__item-text {
  font-size: 14px;
  color: var(--md-muted);
  margin: 0;
  line-height: 1.45;
}

.membership-card {
  background: var(--md-ink);
  color: #FFFFFF;
  border-radius: var(--md-radius-lg);
  padding: 28px 32px;
}

.membership-card__title {
  font-family: var(--md-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.membership-card__text {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 24px;
}

.membership-card .btn--green {
  background-color: var(--md-hero-green);
}

.membership-card .btn--green:hover {
  background-color: var(--md-accent);
}

/* Topics / pills */
.topics {
  padding: 48px 0;
  border-bottom: 1px solid var(--md-border);
}

.topics__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

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

.final-cta__title {
  font-family: var(--md-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--md-ink);
  margin: 0 0 16px;
}

.final-cta__text {
  font-size: 18px;
  color: var(--md-muted-soft);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.45;
}

.final-cta__legal {
  margin-top: 16px;
  font-size: 13px;
  color: var(--md-muted);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta__legal a {
  color: var(--md-text);
  text-decoration: underline;
}

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

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

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links a {
  font-size: 13px;
  color: var(--md-muted);
  transition: color var(--md-transition);
}

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

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

/* Mobile nav overlay */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .benefit-card {
    padding: 24px 0;
    border-right: none !important;
  }

  .benefit-card:not(:last-child) {
    padding-right: 0;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trust__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

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

  .nav-links {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--md-canvas);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--md-border);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--md-transition), opacity var(--md-transition);
    gap: 0;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    border-bottom: 1px solid var(--md-border);
  }

  .nav-links a,
  .nav-links .btn {
    display: block;
    padding: 16px 0;
    width: 100%;
    text-align: left;
  }

  .nav-links .btn {
    margin-top: 8px;
    text-align: center;
    width: auto;
  }

  .nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 48px 0;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

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