/* =============================================================
   TOVE — Stylesheet
   Colors and tokens are defined in :root below.
   ============================================================= */

:root {
  --yellow:    #E9DA85;
  --yellow-dark: #D4C560;
  --green:     #1E3A2F;
  --deep-red:  #5C1A1A;
  --burgundy:  #2A1818;
  --orange:    #C04A10;
  --ink:       #183A37;
  --ink-mid:   #3A3A3A;
  --ink-light: #5A5A5A;
  --white:     #FFFFFF;
  --off-white: #F5F5F0;
  --border:    rgba(0,0,0,0.09);
  --serif: 'Fraunces', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
  --radius:    16px;
  --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--off-white); color: var(--ink); -webkit-font-smoothing: antialiased; }

/* ── NAV ─────────────────────────────────────────────────────── */
nav {
  background: var(--yellow);
  padding: 0 48px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-logo svg { height: 20px; width: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; opacity: 0.75; transition: opacity 0.15s; }
.nav-links a:hover { opacity: 1; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  background: var(--yellow);
  padding: 28px 80px 0;
  overflow: hidden;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  align-items: flex-end;
}

.hero-text { padding-bottom: 56px; }

.hero-logo {
  height: clamp(48px, 6vw, 72px);
  width: auto;
  display: block;
  margin-bottom: 8px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 900;
  line-height: 1.06;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(24,58,55,0.72);
  max-width: 380px;
  font-weight: 400;
}

.hero-phone { align-self: flex-end; }
.hero-phone img { width: 100%; display: block; }

/* ── HOW IT WORKS ────────────────────────────────────────────── */
.how-section { background: var(--burgundy); padding: 100px 80px; }
.how-inner { max-width: 960px; margin: 0 auto; }

.how-tag {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.how-headline { font-family: var(--serif); font-size: 42px; font-weight: 900; color: white; margin-bottom: 8px; letter-spacing: -0.02em; }
.how-sub { font-size: 16px; color: rgba(255,255,255,0.62); font-weight: 400; margin-bottom: 32px; }

.steps-grid {
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
}

.step { background: rgba(255,255,255,0.04); padding: 28px 22px; }
.step-num { font-size: 12px; font-weight: 600; color: var(--yellow); opacity: 0.7; letter-spacing: 0.06em; margin-bottom: 14px; }
.step-title { font-size: 15px; font-weight: 600; color: white; margin-bottom: 8px; }
.step-body { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.62); font-weight: 400; }

/* ── AUDIENCE SECTIONS ───────────────────────────────────────── */
.audience-section { padding: 88px 80px; }
.audience-section.bg-white { background: var(--white); }
.audience-section.bg-off   { background: var(--off-white); }

.audience-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.audience-inner.reverse { direction: rtl; }
.audience-inner.reverse > * { direction: ltr; }

.section-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-light); margin-bottom: 12px; }

.section-headline {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--orange);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-sub { font-size: 16px; line-height: 1.7; color: var(--ink-mid); font-weight: 400; margin-bottom: 24px; }

.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.benefit-item { display: flex; gap: 10px; align-items: flex-start; }

.benefit-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

.benefit-check svg { width: 9px; height: 9px; }
.benefit-text { font-size: 15px; line-height: 1.55; color: var(--ink-mid); font-weight: 400; }
.benefit-text strong { color: var(--ink); font-weight: 600; display: block; font-size: 15px; margin-bottom: 1px; }

/* ── APP IMAGES ──────────────────────────────────────────────── */
.app-image-wrap { border-radius: var(--radius); overflow: hidden; width: 80%; }
.app-image-wrap img { width: 100%; display: block; }

/* ── BOTTOM WAITLIST ─────────────────────────────────────────── */
.bottom-waitlist {
  background: var(--white);
  padding: 72px 48px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.waitlist-headline {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.waitlist-form-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-email {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.18);
  background: white;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  width: 240px;
}

.waitlist-email::placeholder { color: #888; }
.waitlist-email:focus { border-color: var(--green); }

.waitlist-btn {
  padding: 10px 22px;
  background: var(--yellow);
  color: var(--ink);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.waitlist-btn:hover { background: var(--yellow-dark); }

.waitlist-optional { font-size: 14px; color: var(--ink-light); white-space: nowrap; margin-left: 20px; }

.radio-group { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.radio-pill input { display: none; }

.radio-pill-label {
  display: block;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.18);
  font-size: 14px;
  color: var(--ink-mid);
  cursor: pointer;
  user-select: none;
  transition: all 0.15s;
}

.radio-pill input:checked + .radio-pill-label {
  background: var(--green);
  border-color: var(--green);
  color: white;
  font-weight: 500;
}

/* ── STICKY BAR ──────────────────────────────────────────────── */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--green);
  padding: 20px 40px 24px;
  box-shadow: 0 -2px 24px rgba(0,0,0,0.22);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sticky-bar.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.sticky-bar-headline {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  color: white;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.sticky-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.sticky-email {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.1);
  color: white;
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  width: 210px;
}

.sticky-email::placeholder { color: rgba(255,255,255,0.4); }
.sticky-email:focus { border-color: var(--yellow); }

.sticky-btn {
  padding: 8px 18px;
  background: var(--yellow);
  color: var(--ink);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.sticky-btn:hover { background: var(--yellow-dark); }

.sticky-optional { font-size: 13px; color: rgba(255,255,255,0.55); white-space: nowrap; }

.sticky-radio-group { display: flex; gap: 7px; }
.sticky-radio-pill input { display: none; }

.sticky-radio-label {
  display: block;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  user-select: none;
  transition: all 0.15s;
}

.sticky-radio-pill input:checked + .sticky-radio-label {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.5);
  color: white;
  font-weight: 500;
}

/* ── WAITLIST SUCCESS STATE ──────────────────────────────────── */
.waitlist-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  color: var(--green);
  letter-spacing: -0.01em;
}

.waitlist-success-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.waitlist-success-icon svg { width: 14px; height: 14px; }

.sticky-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  color: white;
  letter-spacing: -0.01em;
}

.sticky-success-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.sticky-success-icon svg { width: 11px; height: 11px; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--ink);
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo svg { height: 18px; width: auto; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 40px 24px 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-phone { display: none; }
  .hero-text { padding-bottom: 40px; }
  .how-section { padding: 48px 24px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .audience-section { padding: 60px 24px; }
  .audience-inner { grid-template-columns: 1fr; gap: 40px; }
  .audience-inner.reverse { direction: ltr; }
  .sticky-bar { padding: 12px 16px 14px; }
  .bottom-waitlist { padding: 56px 24px; }
  footer { padding: 20px 24px; }
}
