/* ═══════════════════════════════════════════
   Sorted — Waitlist Site Styles
   Mobile-first · Max 1100px content
   ═══════════════════════════════════════════ */

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

:root {
  --ink:    #0F1A12;
  --leaf:   #1A5C34;
  --sage:   #2E7D50;
  --pale:   #A8CFBA;
  --mint:   #D4EBD8;
  --cream:  #F7F4EE;
  --sand:   #EDE8DE;
  --white:  #FFFFFF;
  --mid:    #4A5A4E;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle noise texture overlay */
body::before {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.6;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 40px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(247,244,238,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,92,52,0.1);
  transition: box-shadow 0.3s;
}
nav.scrolled {
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 700;
  color: var(--leaf); letter-spacing: -0.5px;
}
.nav-badge {
  font-size: 11px; font-weight: 600;
  color: var(--leaf); background: var(--mint);
  padding: 4px 12px; border-radius: 100px;
  letter-spacing: 0.3px;
}

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: grid; grid-template-columns: 1fr;
  align-items: center; gap: 40px;
  padding: 100px 24px 80px;
  z-index: 1;
  max-width: 1200px; margin: 0 auto;
}
.hero-arc {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(26,92,52,0.07) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.hero::before {
  content: '';
  position: absolute; top: -80px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  border: 1px solid rgba(26,92,52,0.06);
  box-shadow:
    0 0 0 70px rgba(26,92,52,0.04),
    0 0 0 140px rgba(26,92,52,0.03),
    0 0 0 210px rgba(26,92,52,0.02),
    0 0 0 280px rgba(26,92,52,0.01);
  pointer-events: none; z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; bottom: -60px; left: -80px;
  width: 350px; height: 350px; border-radius: 50%;
  border: 1px solid rgba(26,92,52,0.05);
  box-shadow:
    0 0 0 55px rgba(26,92,52,0.035),
    0 0 0 110px rgba(26,92,52,0.025),
    0 0 0 165px rgba(26,92,52,0.015);
  pointer-events: none; z-index: 0;
}
.hero-left {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
}
.hero-right {
  display: flex; flex-direction: column;
  align-items: stretch;
}

/* Eyebrow pill */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--sage); background: var(--mint);
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--sage);
}

h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08; letter-spacing: -2px;
  color: var(--ink);
  max-width: 560px; margin-bottom: 24px;
  animation: fadeUp 0.7s 0.1s ease both;
}
h1 em {
  font-style: italic; color: var(--leaf);
}

.hero-sub {
  font-size: 17px; color: var(--mid);
  max-width: 480px;
  line-height: 1.65; margin-bottom: 32px;
  animation: fadeUp 0.7s 0.2s ease both;
}

/* Trust bullets */
.hero-bullets {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 32px;
  animation: fadeUp 0.7s 0.25s ease both;
}
.hero-bullet {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--mid);
}
.hero-bullet::before {
  content: '\2713'; color: var(--leaf);
  font-weight: 700; font-size: 13px;
  background: var(--mint);
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.hero-social-proof {
  font-size: 13px; color: var(--mid);
  font-style: italic;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* ── SCROLL DOWN CHEVRON ── */
.hero-scroll-down {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  cursor: pointer; z-index: 2;
  background: none; border: none; padding: 8px;
  color: var(--sage);
}
.hero-scroll-down span {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--mid);
}
.hero-scroll-down svg {
  animation: bounce 2s infinite;
}

/* ── FORM ── */
.form-wrap {
  width: 100%; background: var(--white);
  border: 1.5px solid rgba(26,92,52,0.15);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 40px rgba(26,92,52,0.10);
  animation: fadeUp 0.7s 0.4s ease both;
}
.form-wrap-title {
  font-family: 'Fraunces', serif;
  font-size: 20px; font-weight: 700;
  color: var(--ink); margin-bottom: 4px;
}
.form-wrap-sub {
  font-size: 13px; color: var(--mid);
  margin-bottom: 24px;
}
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--mid);
  margin-bottom: 6px; letter-spacing: 0.3px;
}
.form-field input,
.form-field select {
  width: 100%;
  background: var(--cream);
  border: 1.5px solid var(--sand);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field select:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(26,92,52,0.08);
}
.form-field input::placeholder { color: rgba(74,90,78,0.5); }
.form-field select {
  cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A5A4E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.form-row .form-field { margin-bottom: 14px; }
.btn-join {
  width: 100%;
  background: var(--leaf); color: var(--white);
  border: none; border-radius: 10px;
  padding: 14px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer; margin-top: 4px;
  transition: background 0.2s, transform 0.1s;
}
.btn-join:hover { background: var(--sage); }
.btn-join:active { transform: scale(0.98); }
.form-note {
  font-size: 11px; color: var(--mid);
  margin-top: 10px; text-align: center;
}
.success-msg {
  display: none; align-items: center; gap: 10px;
  background: var(--mint);
  border: 1px solid rgba(26,92,52,0.2);
  border-radius: 12px; padding: 16px 18px;
  font-size: 14px; color: var(--leaf); font-weight: 500;
  line-height: 1.5; margin-top: 16px;
}
.success-msg.show { display: flex; }
.form-wrap.submitted form { display: none; }
.form-wrap.submitted .success-msg { display: flex; }

/* ── FAQ ── */
.section-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--sage); margin-bottom: 12px;
}
.section-eyebrow.center { text-align: center; }

/* Page 2 wrapper — fills exactly one viewport */
.page-two {
  min-height: 100vh;
  display: flex; flex-direction: column;
}

.faq-section {
  position: relative; z-index: 1;
  padding: 80px 40px;
  background: var(--cream);
  overflow: hidden;
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: center;
}
.faq-section::before {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid rgba(26,92,52,0.06);
  box-shadow:
    0 0 0 60px rgba(26,92,52,0.04),
    0 0 0 120px rgba(26,92,52,0.03),
    0 0 0 180px rgba(26,92,52,0.02),
    0 0 0 240px rgba(26,92,52,0.01);
  pointer-events: none;
}
.faq-section::after {
  content: '';
  position: absolute; bottom: -100px; left: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid rgba(26,92,52,0.05);
  box-shadow:
    0 0 0 50px rgba(26,92,52,0.035),
    0 0 0 100px rgba(26,92,52,0.025),
    0 0 0 150px rgba(26,92,52,0.015);
  pointer-events: none;
}
.faq-inner { max-width: 680px; margin: 0 auto; }
.faq-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700; letter-spacing: -0.5px;
  color: var(--ink); text-align: center;
  margin-bottom: 40px;
}
.faq-list {
  display: flex; flex-direction: column;
  border: 1px solid var(--sand);
  border-radius: 16px; overflow: hidden;
  background: var(--white);
}
.faq-item {
  border-bottom: 1px solid var(--sand);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 20px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--ink);
  display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
  transition: background 0.15s;
}
.faq-q:hover { background: var(--cream); }
.faq-q::after {
  content: '+';
  font-size: 20px; font-weight: 300;
  color: var(--sage); flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-q[aria-expanded="true"]::after {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0; overflow: hidden;
  font-size: 14px; color: var(--mid);
  line-height: 1.7;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 250px;
  padding: 0 24px 20px;
}

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  padding: 32px 40px;
  display: flex; justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--sand);
  flex-wrap: wrap; gap: 12px;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 18px; font-weight: 700;
  color: var(--leaf);
}
.footer-note {
  font-size: 12px; color: var(--mid);
  line-height: 1.6;
}
.footer-left .footer-note { margin-top: 6px; }
.footer-right {
  max-width: 420px; text-align: right;
}

/* ── SCROLL TO TOP ── */
.scroll-top-wrap {
  position: relative; z-index: 10;
  display: flex; justify-content: flex-end;
  padding: 0 40px 16px;
  margin-top: -22px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.scroll-top-wrap.visible {
  opacity: 1; pointer-events: auto;
}
.scroll-top {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--leaf); color: var(--white);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(26,92,52,0.3);
  transition: transform 0.2s;
}
.scroll-top:hover { transform: translateY(-2px); }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* Tablet / Desktop */
@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 120px 64px 80px;
  }
  .hero-left {
    align-items: flex-start;
    text-align: left;
  }
}

/* Small screens */
@media (max-width: 767px) {
  nav { padding: 16px 20px; }
  .nav-badge { font-size: 10px; padding: 4px 10px; }
  .hero {
    gap: 40px;
    padding: 100px 20px 80px;
    text-align: center;
  }
  .hero-left { align-items: center; }
  .hero-sub, h1 { max-width: 100%; }
  .hero-bullet { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .faq-section { padding: 64px 20px; }
  footer {
    flex-direction: column; text-align: center;
    padding: 32px 20px;
  }
  .footer-right { text-align: center; max-width: none; }
}
