:root {
  --forest: #1b4332;
  --forest-deep: #143026;
  --moss: #2d6a4f;
  --sage: #74c69d;
  --sage-soft: #d8efe4;
  --paper: #f7f6f1;
  --paper-2: #ffffff;
  --ink: #1e2622;
  --ink-soft: #4a564f;
  --line: #e2e0d6;
  --danger: #b23b2e;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(20, 48, 38, .06), 0 8px 24px rgba(20, 48, 38, .07);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--moss); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px;
  background: rgba(247, 246, 241, .85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); font-weight: 800; }
.brand-text { font-size: 1.15rem; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.site-nav a:hover { color: var(--forest); background: rgba(45, 106, 79, .08); }
.nav-cta { background: var(--forest); color: #fff !important; }
.nav-cta:hover { background: var(--forest-deep) !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: 13px 24px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .05s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-deep); }
.btn-primary:disabled { opacity: .6; cursor: default; }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--sage); }
.btn-ghost:hover { background: rgba(116, 198, 157, .16); }
.btn-block { width: 100%; padding: 15px 24px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(116, 198, 157, .28), transparent 60%),
    linear-gradient(180deg, #eef3ee 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 780px; margin: 0 auto; padding: clamp(56px, 9vw, 104px) 24px; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--moss); margin-bottom: 1rem; }
.hero h1 { color: var(--forest-deep); }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink-soft); max-width: 640px; margin: 0 auto 1.75rem; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 1.25rem; font-size: .9rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section-title { text-align: center; color: var(--forest-deep); }
.section-intro { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; color: var(--ink-soft); font-size: 1.08rem; }

.section-mission { background: var(--forest); color: #eef5f0; }
.section-mission h2 { color: #fff; }
.section-mission p { color: #cfe3d8; font-size: 1.08rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow);
}
.card h3 { color: var(--forest); }
.card p { margin: 0; color: var(--ink-soft); }

/* ---------- Who list ---------- */
.section-who { background: #eef3ee; }
.who-list {
  list-style: none; padding: 0; margin: 0 auto; max-width: 640px;
  display: grid; gap: 12px;
}
.who-list li {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px 14px 46px; position: relative; font-weight: 600; color: var(--ink);
}
.who-list li::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 16px; height: 16px;
  transform: translateY(-50%);
  background: var(--sage); border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--forest);
}

/* ---------- Join / form ---------- */
.section-join { background: linear-gradient(180deg, var(--paper) 0%, #eef3ee 100%); }
.signup-form {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.field input[type="text"],
.field input[type="email"],
.field select {
  width: 100%; padding: 12px 14px; font-size: 1rem; font-family: inherit;
  color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius); appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234a564f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(45, 106, 79, .16);
}
.field input.invalid, .field select.invalid { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; margin: 6px 0 0; min-height: 0; }

.field-consent { margin-top: 22px; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.checkbox input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--forest); flex: none; }
.checkbox span { color: var(--ink-soft); font-size: .95rem; }

.btn-block { margin-top: 8px; }
.form-status { text-align: center; font-weight: 600; margin: 16px 0 0; min-height: 1.4em; }
.form-status.ok { color: var(--moss); }
.form-status.err { color: var(--danger); }
.form-fineprint { font-size: .82rem; color: var(--ink-soft); text-align: center; margin: 14px 0 0; }

.form-done {
  text-align: center; padding: 20px 8px;
}
.form-done h3 { color: var(--forest); font-size: 1.4rem; }
.form-done p { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: #cfe3d8; padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name { color: #fff; font-weight: 700; margin: 0; }
.footer-tagline { margin: 2px 0 0; font-size: .9rem; color: #9fc4b2; }
.footer-contact { text-align: right; }
.footer-contact a { color: var(--sage); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { text-decoration: underline; }
.footer-legal { margin: 6px 0 0; font-size: .82rem; color: #7ea896; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .site-nav a:not(.nav-cta) { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-contact { text-align: center; }
}
