/* Rootstock — earthy, organic, memorable */

:root {
  --forest: #2D5016;
  --forest-dark: #1e360e;
  --cream: #F5F0E6;
  --cream-dark: #EDE6D6;
  --terracotta: #C4703A;
  --terracotta-light: #d4844e;
  --text: #2a2a2a;
  --text-muted: #5a5a4a;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.nav-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--forest);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--forest);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--forest);
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.nav-link:hover {
  background: var(--forest);
  color: var(--cream);
}

/* ── HERO ── */
.hero {
  background: var(--forest);
  color: var(--cream);
  padding: 5rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(196,112,58,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(45,80,22,0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(245,240,230,0.3);
  margin: 0 auto 2rem;
  object-fit: cover;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--terracotta-light);
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(245,240,230,0.8);
  margin-bottom: 3rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ── EMAIL FORM ── */
.waitlist-form {
  display: flex;
  gap: 0.625rem;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.875rem 1.125rem;
  border: 2px solid rgba(245,240,230,0.25);
  border-radius: 8px;
  background: rgba(245,240,230,0.08);
  color: var(--cream);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.waitlist-form input[type="email"]::placeholder {
  color: rgba(245,240,230,0.45);
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--terracotta-light);
  background: rgba(245,240,230,0.12);
}

.btn-primary {
  padding: 0.875rem 1.75rem;
  background: var(--terracotta);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}

.btn-primary:hover { background: var(--terracotta-light); }
.btn-primary:active { transform: scale(0.97); }

.form-note {
  margin-top: 0.875rem;
  font-size: 0.8rem;
  color: rgba(245,240,230,0.5);
}

/* ── CONFIRMATION ── */
.form-success {
  display: none;
  background: rgba(245,240,230,0.12);
  border: 1.5px solid rgba(245,240,230,0.25);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}

.form-success.visible { display: block; }

.form-success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: rgba(245,240,230,0.75);
  font-size: 0.95rem;
}

.form-hidden { display: none; }

/* ── SECTION SHARED ── */
.section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.875rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--forest);
  margin-bottom: 1rem;
}

.section-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── WHY ROOTSTOCK ── */
.why-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.why-card {
  padding: 2rem;
  background: var(--cream);
  border-radius: 14px;
  border: 1.5px solid rgba(45,80,22,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(45,80,22,0.1);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: var(--forest);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.step {
  text-align: center;
  padding: 1.5rem 1rem;
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 auto 1.25rem;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── SECOND CTA ── */
.cta-section {
  background: var(--forest);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-inner { max-width: 600px; margin: 0 auto; }

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--cream);
  margin-bottom: 1rem;
}

.cta-section .section-body {
  color: rgba(245,240,230,0.75);
  margin-bottom: 2.5rem;
}

/* ── IMAGE STRIP ── */
.img-strip {
  background: var(--cream-dark);
  padding: 3rem 2rem;
  text-align: center;
}

.img-strip img {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(45,80,22,0.12);
}

/* ── FOOTER ── */
footer {
  background: var(--forest-dark);
  color: rgba(245,240,230,0.5);
  padding: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; }
  .hero { padding: 3.5rem 1.5rem 4rem; }
  .hero h1 { font-size: 2rem; }
  .how-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .section { padding: 3.5rem 1.5rem; }
  .cta-section { padding: 3.5rem 1.5rem; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form input[type="email"] { min-width: unset; width: 100%; }
  .btn-primary { width: 100%; }
}

@media (max-width: 480px) {
  .how-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}