:root {
  color-scheme: light;
  --bg: #f4f7f4;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #5f6b7a;
  --primary: #2f7d32;
  --primary-dark: #1b5e20;
  --primary-light: #4caf50;
  --primary-pale: #e8f5e9;
  --primary-border: #c8e6c9;
  --border: #e4eae4;
  --shadow-soft: 0 4px 16px rgba(20, 50, 20, 0.08);
  --shadow-hover: 0 8px 24px rgba(20, 50, 20, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 50px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ====================================================
   HEADER
==================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.beta-badge {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.1rem 0.45rem;
  text-transform: uppercase;
}

.btn-cta-small {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary);
  border: 1.5px solid var(--primary-border);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.42rem 1rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-cta-small:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ====================================================
   PAGE WRAPPER
==================================================== */
.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
}

/* ====================================================
   HERO
==================================================== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #43a047 100%);
  border-radius: var(--radius);
  padding: 3.5rem 2.5rem;
  color: #fff;
  box-shadow: 0 8px 32px rgba(27, 94, 32, 0.28);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

/* Decorative radial highlight */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.8vw, 3rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
  max-width: 680px;
}

.subhead {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2.3vw, 1.15rem);
  max-width: 620px;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  background: #fff;
  color: var(--primary-dark);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.78rem 1.75rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.btn-primary:hover {
  background: var(--primary-pale);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}
.btn-primary:active { transform: translateY(0); }

/* ====================================================
   VALUE PROPS
==================================================== */
.value-props {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.5rem;
}

.value-props article {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.prop-icon {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.value-props h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.value-props p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ====================================================
   WAITLIST
==================================================== */
.waitlist {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.waitlist h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.waitlist-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.waitlist form {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
}

input[type='email'] {
  flex: 1;
  min-width: 220px;
  padding: 0.78rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input[type='email']:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 125, 50, 0.12);
  background: #fff;
}

.waitlist button {
  padding: 0.78rem 1.5rem;
  border: 0;
  border-radius: var(--radius-pill);
  color: #fff;
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(47, 125, 50, 0.30);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.waitlist button:hover {
  background: linear-gradient(180deg, #43a047, var(--primary-dark));
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(47, 125, 50, 0.36);
}
.waitlist button:active { transform: translateY(0); }

#form-message {
  min-height: 1.4rem;
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
}

#form-message.error { color: #b91c1c; }
#form-message.success { color: #166534; }

.privacy-note {
  color: var(--muted);
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
}

/* ====================================================
   FOOTER
==================================================== */
.footer {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
}

.footer-dedication { font-style: italic; }

.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ====================================================
   RESPONSIVE
==================================================== */
@media (max-width: 760px) {
  .page {
    padding-top: 1.5rem;
  }

  .hero {
    padding: 2.25rem 1.5rem;
  }

  .value-props {
    grid-template-columns: 1fr;
  }

  .waitlist {
    padding: 1.75rem 1.25rem;
  }

  .waitlist form {
    flex-direction: column;
  }

  input[type='email'],
  .waitlist button {
    width: 100%;
  }

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