@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --bg:          #F7F4ED;
  --bg-alt:      #EAF0E0;
  --green:       #2B4A1C;
  --green-hover: #3A6226;
  --amber:       #C97B1A;
  --amber-hover: #AA6614;
  --text:        #1A1A16;
  --text-muted:  #6A6A58;
  --border:      #D5CEBC;
  --white:       #FFFFFF;
  --radius-sm:   8px;
  --radius:      12px;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: 608px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ── */
.nav {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--amber);
  border-radius: 100px;
  padding: 4px 10px;
}

/* ── Hero ── */
.hero {
  padding: 52px 0 48px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--bg-alt);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 7vw, 2.5rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 36px;
}

/* ── Signup Form ── */
.signup-wrap {
  max-width: 400px;
  margin: 0 auto;
}
#signup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.email-input {
  width: 100%;
  padding: 15px 18px;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.email-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(43, 74, 28, 0.1);
}
.email-input::placeholder {
  color: #B5AFA0;
}
.btn-cta {
  width: 100%;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--white);
  background: var(--amber);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  min-height: 52px;
  -webkit-appearance: none;
  appearance: none;
  letter-spacing: 0.01em;
  touch-action: manipulation;
}
.btn-cta:hover  { background: var(--amber-hover); }
.btn-cta:active { transform: scale(0.98); }
.btn-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}
.error-msg {
  display: none;
  font-size: 0.875rem;
  color: #B03020;
  text-align: center;
  padding: 10px 14px;
  background: #FEF0EE;
  border-radius: var(--radius-sm);
  border: 1px solid #F0C0BA;
}
.error-msg.show { display: block; }

/* ── Success State ── */
#success-state {
  display: none;
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
#success-state.show { display: block; }
.success-icon {
  font-size: 2.25rem;
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}
#success-state h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}
#success-state p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ── Divider ── */
.section-divider {
  height: 1px;
  background: var(--border);
}

/* ── Section Title ── */
.section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: -0.015em;
}

/* ── Why Cards ── */
.why-section {
  padding: 52px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 540px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
}
.why-emoji {
  font-size: 1.875rem;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.why-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 6px;
}
.why-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── How It Works ── */
.how-section {
  padding: 52px 0;
  background: var(--bg-alt);
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.how-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.step-body h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.step-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Footer ── */
.footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.footer a {
  color: var(--green);
  text-decoration: none;
}
.footer a:hover { text-decoration: underline; }
.footer-note {
  font-style: italic;
  font-size: 0.75rem;
}
