:root {
  --bg: #fbf8f1;
  --surface: #ffffff;
  --ink: #1d2b22;
  --muted: #5a6b60;
  --green: #2f7d4f;
  --green-dark: #1f5a37;
  --green-soft: #e9f5ec;
  --accent: #f2b544;
  --border: #e4ddcd;
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121a15;
    --surface: #1a251e;
    --ink: #edf3ee;
    --muted: #a7b8ac;
    --green: #5bbf84;
    --green-dark: #8fd9ab;
    --green-soft: #1f3327;
    --border: #2b3a30;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Inter", system-ui, -apple-system, sans-serif;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

a { color: var(--green); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font: 700 20px "Fraunces", Georgia, serif;
}

.nav-cta {
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border: 2px solid var(--green);
  border-radius: 999px;
}

main { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

section { padding: 64px 0; }

.hero { text-align: center; padding-top: 48px; }

.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 14px;
  background: var(--green-soft);
  color: var(--green-dark);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

.hero h1 { font-size: clamp(36px, 6vw, 64px); }
.hero h1 span { color: var(--green); }

.lede {
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 19px;
}

.signup {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.signup input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 12px;
}

.signup input[type="email"]:focus { outline: none; border-color: var(--green); }

.signup button {
  padding: 14px 22px;
  font: 600 16px "Inter", sans-serif;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.signup button:hover { background: var(--green-dark); }

.fine { margin-top: 12px; font-size: 14px; color: var(--muted); }

.hp, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

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

.problem h2 { font-size: clamp(28px, 4vw, 40px); }
.problem p { color: var(--muted); }
.problem .punch { color: var(--green); font-weight: 600; font-size: 20px; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.features article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.features .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 12px;
  font-size: 20px;
}

.features h3 { font-size: 22px; }
.features p { margin: 0; color: var(--muted); }

.join {
  text-align: center;
  margin: 32px 0 64px;
  padding: 56px 24px;
  background: var(--green-soft);
  border-radius: 24px;
}

.join h2 { font-size: clamp(28px, 4vw, 40px); }
.join > p { max-width: 560px; margin: 0 auto 28px; color: var(--muted); }

footer {
  text-align: center;
  padding: 24px 16px 40px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 520px) {
  .signup { flex-direction: column; }
  .nav-cta { display: none; }
}
