:root {
  --primary: #2e7d32;
  --primary-dark: #1b5e20;
  --secondary: #558b2f;
  --accent: #8bc34a;
  --accent-soft: #c8e6c9;
  --surface: #f3f7f3;
  --surface-white: #ffffff;
  --text: #142014;
  --text-muted: #3d4a3d;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(20, 32, 20, 0.12);
  --shadow-soft: 0 8px 24px rgba(20, 32, 20, 0.08);
  --radius: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary-dark);
}

/* ── Top nav ── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(10, 20, 10, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.site-nav__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.site-nav__name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.site-nav__links {
  display: flex;
  gap: 8px;
}

.site-nav__link {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.2s, border-color 0.2s;
}

.site-nav__link:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

.site-nav__link--accent {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: transparent;
  font-weight: 700;
}

.site-nav__link--accent:hover {
  background: #a5d66a;
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 20, 10, 0.72) 0%, rgba(10, 20, 10, 0.35) 45%, rgba(10, 20, 10, 0.82) 100%),
    radial-gradient(circle at 80% 20%, rgba(139, 195, 74, 0.18), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0 80px;
  display: grid;
  gap: 28px;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero__logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.hero__eyebrow {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  line-height: 1.02;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero__subtitle {
  margin: 0;
  max-width: 580px;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

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

.hero__chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero__cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.store-badge {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
}

.store-badge svg {
  height: 54px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.hero__note {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ── Wave divider ── */

.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  margin-top: -2px;
}

.wave-divider svg {
  width: 100%;
  height: 64px;
}

/* ── Main layout ── */

main {
  position: relative;
  z-index: 2;
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section__badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section__title {
  margin: 0 0 14px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text);
}

.section__lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
}

/* ── How it works ── */

.section--how-it-works {
  scroll-margin-top: 72px;
  width: 100%;
  max-width: none;
  padding: 80px 0 88px;
  background:
    linear-gradient(180deg, var(--surface-white) 0%, #eef5ee 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232e7d32' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  border-top: 4px solid var(--accent);
}

.section--how-it-works .section__header,
.section--how-it-works .steps,
.section--how-it-works .fulfillment-note {
  width: min(1120px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.step {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.step__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

.step__number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.35);
  border: 3px solid var(--surface-white);
}

.step__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.step__card {
  background: var(--surface-white);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(46, 125, 50, 0.15);
  border-left: 5px solid var(--primary);
  transition: transform 0.2s, box-shadow 0.2s;
}

.step__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.step__label {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
}

.step__card h3 {
  margin: 0 0 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--primary-dark);
}

.step__card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.step__card a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fulfillment-note {
  margin-top: 40px;
  padding: 36px 40px;
  border-radius: calc(var(--radius) + 4px);
  text-align: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.fulfillment-note::before {
  content: "🌿";
  position: absolute;
  top: -10px;
  right: 24px;
  font-size: 4rem;
  opacity: 0.15;
}

.fulfillment-note__eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.fulfillment-note__partner {
  margin: 0 0 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.fulfillment-note__quote {
  margin: 0 auto;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

/* ── Highlights strip ── */

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 8px;
}

.highlight {
  background: var(--surface-white);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(46, 125, 50, 0.12);
  box-shadow: var(--shadow-soft);
}

.highlight__icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.highlight__title {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary-dark);
}

.highlight__text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ── CTA ── */

.section--cta {
  padding-top: 32px;
  padding-bottom: 88px;
}

.cta {
  background:
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
  color: var(--white);
  border-radius: calc(var(--radius) + 6px);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(139, 195, 74, 0.25), transparent 50%);
  pointer-events: none;
}

.cta > * {
  position: relative;
}

.cta h2 {
  margin: 0 0 14px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
}

.cta p {
  margin: 0 auto 32px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.cta__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ── Footer ── */

.footer {
  padding: 40px 24px 56px;
  text-align: center;
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer__logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer__name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer__links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.footer__links a:hover {
  text-decoration: underline;
}

.footer__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Legal pages ── */

.legal-page {
  padding-top: 88px;
  padding-bottom: 64px;
}

.legal-page__inner {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
}

.legal-page__inner--wide .legal-page__card {
  padding: 40px 36px 48px;
}

.legal-page__toc {
  margin: 0 0 28px;
  padding: 20px 24px;
  border-radius: 14px;
  background: #eef5ee;
  border: 1px solid rgba(46, 125, 50, 0.14);
}

.legal-page__toc-title {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.legal-page__toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 2;
  column-gap: 32px;
}

.legal-page__toc li {
  margin-bottom: 6px;
  break-inside: avoid;
}

.legal-page__toc a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.legal-page__toc a:hover {
  text-decoration: underline;
}

.legal-page h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
  color: var(--text);
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 0.92rem;
}

.legal-page th,
.legal-page td {
  border: 1px solid rgba(46, 125, 50, 0.16);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal-page th {
  background: #eef5ee;
  color: var(--primary-dark);
  font-weight: 700;
}

.legal-page td {
  color: var(--text-muted);
}

.legal-page .notice-box {
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff8e1;
  border: 1px solid rgba(249, 168, 37, 0.35);
  color: #5d4037;
  font-size: 0.95rem;
}

.legal-page__card {
  background: var(--surface-white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(46, 125, 50, 0.12);
}

.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.legal-page__back:hover {
  text-decoration: underline;
}

.legal-page__title {
  margin: 0 0 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  color: var(--primary-dark);
}

.legal-page__updated {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.legal-page h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  color: var(--primary-dark);
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page a {
  color: var(--primary);
  font-weight: 600;
}

.site-nav--legal {
  background: rgba(27, 94, 32, 0.92);
}

.site-nav--legal .site-nav__link {
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .site-nav__links .site-nav__link:not(.site-nav__link--accent) {
    display: none;
  }

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

  .step {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step__marker {
    flex-direction: row;
    justify-content: flex-start;
  }

  .step__card {
    padding: 22px 20px;
  }
}

@media (max-width: 640px) {
  .hero__content {
    padding-top: 100px;
    padding-bottom: 56px;
  }

  .store-badge svg {
    height: 48px;
  }

  .fulfillment-note {
    padding: 28px 22px;
  }

  .cta {
    padding: 40px 24px;
  }

  .legal-page__toc ol {
    columns: 1;
  }

  .legal-page table {
    display: block;
    overflow-x: auto;
  }
}
