/* ══════════════════════════════════════════════════════════════════════════
   LOVN — Beta landing page
   Brand: violet → blue gradient (matches the deployed lovn.netlify.app site
   and the app icon's own violet/coral wordmark) driving the whole page,
   including inside the phone mockups.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #7B5EA7;
  --purple-dark: #5F4680;
  --purple-light: #A78BC4;
  --blue: #4A90D9;
  --pink: #EB6F8F;
  --pink-light: #F7B8C8;
  --gold: #FFD580;
  --gradient: linear-gradient(135deg, #7B5EA7 0%, #4A90D9 100%);

  /* Reused inside phone mockups — same palette, kept under its own names */
  --steel: #7B5EA7;
  --steel-dark: #5F4680;
  --steel-light: #A78BC4;
  --steel-container: #F1ECF8;

  /* Warm neutrals */
  --warm-bg: #FAF8F5;
  --warm-surface: #FFFFFF;
  --warm-alt: #F5F1EB;

  /* Text */
  --text: #1A1A1A;
  --text-2: #3D4F5E;
  --text-3: #5C6E82;
  --white: #FFFFFF;

  --divider: #E8E2D9;
  --border: #E4EAF0;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(123, 94, 167, 0.12);
  --shadow-lg: 0 20px 60px rgba(123, 94, 167, 0.18);

  --success: #4CAF50;
  --error: #E53935;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--warm-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

/* ── Typography ────────────────────────────────────────────────────────────── */
h1, h2, .display {
  font-family: 'Fraunces', Georgia, serif;
}
h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 600; line-height: 1.12; letter-spacing: -0.5px; }
h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 600; line-height: 1.2; letter-spacing: -0.3px; }
h3 { font-size: 18px; font-weight: 700; line-height: 1.3; font-family: 'Inter', sans-serif; }
p  { color: var(--text-2); }
em { font-style: italic; color: var(--purple); }

a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; background: none; }
ul { list-style: none; }

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--purple);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  display: block;
}
.section-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-primary { background: var(--gradient); color: white; box-shadow: 0 6px 20px rgba(123,94,167,0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(123,94,167,0.36); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: default; transform: none; }
.btn-outline { background: transparent; color: var(--purple); border: 1.5px solid var(--purple-light); }
.btn-outline:hover { background: var(--warm-alt); }
.btn-white { background: white; color: var(--purple); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.btn-block { width: 100%; }

/* ── Nav ───────────────────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(250, 248, 245, 0.0);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
#nav.scrolled {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--divider);
  padding: 12px 0;
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 30px;
}
.logo img { height: 30px; width: auto; display: block; }
.logo img.logo-on-dark { opacity: 1; transition: opacity .3s ease; }
.logo img.logo-on-light { position: absolute; top: 0; left: 0; opacity: 0; transition: opacity .3s ease; }
#nav.scrolled .logo img.logo-on-dark { opacity: 0; }
#nav.scrolled .logo img.logo-on-light { opacity: 1; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  transition: color .2s;
}
.nav-links a:hover { color: white; }
#nav.scrolled .nav-links a { color: var(--text-2); }
#nav.scrolled .nav-links a:hover { color: var(--purple); }
.nav-cta { display: none; }
@media (min-width: 681px) { .nav-cta { display: inline-flex; } }
#nav:not(.scrolled) .nav-cta { background: white; color: var(--purple); box-shadow: 0 2px 12px rgba(255,255,255,0.3); }
#nav:not(.scrolled) .nav-cta:hover { box-shadow: 0 6px 20px rgba(255,255,255,0.4); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span { width: 22px; height: 2px; background: white; border-radius: 2px; transition: background .3s ease; }
#nav.scrolled .nav-toggle span { background: var(--text); }

@media (max-width: 680px) {
  .nav-links-desktop { display: none; }
  .nav-toggle { display: flex; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--warm-bg);
  z-index: 99;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 22px; font-weight: 600; font-family: 'Fraunces', serif; color: var(--text); }
.mobile-menu-close { position: absolute; top: 24px; right: 24px; font-size: 28px; color: var(--text-3); cursor: pointer; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 150px 0 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 40%, rgba(255,255,255,0.10) 0%, transparent 60%);
}
.hero-wave {
  position: relative;
  z-index: 1;
  line-height: 0;
  margin-top: 70px;
}
.hero-wave svg { width: 100%; display: block; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 70px;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-phone-wrap { order: -1; display: flex; justify-content: center; margin-bottom: 12px; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  color: white;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero h1 { color: white; margin-bottom: 20px; }
.hero-text h1 em {
  font-style: italic;
  background: none;
  -webkit-text-fill-color: var(--gold);
  color: var(--gold);
  text-shadow: 0 2px 16px rgba(255,180,0,0.3);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 480px;
}

/* Hero signup form */
.hero-form {
  background: var(--warm-surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 24px 60px rgba(30,20,55,0.28);
  max-width: 460px;
}
.form-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.form-row .field { flex: 1; min-width: 140px; }
.field input {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--warm-bg);
  outline: none;
  transition: border-color .15s;
}
.field input:focus { border-color: var(--purple-light); background: white; }
.field input.invalid { border-color: var(--error); }
.field-error { color: var(--error); font-size: 12.5px; margin-top: 4px; display: none; }
.field-error.show { display: block; }

.hero-form .hero-note {
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 12px;
  text-align: center;
}

.form-status { display: none; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; margin-top: 10px; }
.form-status.show { display: block; }
.form-status.error { background: #FDECEC; color: var(--error); }

.hero-form.success .form-fields { display: none; }
.hero-success { display: none; text-align: center; padding: 10px 4px; }
.hero-form.success .hero-success { display: block; }
.hero-success .emoji { font-size: 34px; margin-bottom: 8px; }
.hero-success h3 { font-family: 'Fraunces', serif; font-size: 20px; margin-bottom: 6px; }
.hero-success p { font-size: 14px; }

/* Phone mockup — shared component, uses real in-app palette */
.hero-phone-wrap { position: relative; display: flex; justify-content: center; }
.phone-glow {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.phone-frame {
  width: 270px;
  background: #16181D;
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(31,20,50,0.28), 0 0 0 1px rgba(0,0,0,0.06);
  position: relative;
  z-index: 1;
}
.phone-frame.sm { width: 220px; border-radius: 34px; padding: 10px; }
.phone-notch {
  width: 90px; height: 22px;
  background: #16181D;
  border-radius: 12px;
  margin: 0 auto 8px;
  position: relative;
  z-index: 2;
}
.phone-frame.sm .phone-notch { width: 70px; height: 18px; margin-bottom: 6px; }
.phone-screen {
  background: var(--warm-bg);
  border-radius: 30px;
  padding: 18px 14px 12px;
  min-height: 460px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: 'Inter', sans-serif;
}
.phone-frame.sm .phone-screen { min-height: 380px; padding: 14px 11px 10px; border-radius: 24px; gap: 7px; }

.mockup-header { margin-bottom: 2px; }
.mockup-greeting { font-size: 13.5px; font-weight: 800; color: var(--text); }
.mockup-sub { font-size: 10.5px; color: var(--text-3); margin-top: 2px; }
.mockup-eyebrow { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--steel-dark); margin-bottom: 3px; }

.mockup-card {
  background: white;
  border-radius: 13px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 6px rgba(31,42,58,0.06);
  border: 1px solid rgba(228,234,240,0.7);
}
.mockup-card.accent { background: var(--gradient); border: none; }
.mockup-card.accent .mockup-card-title { color: white; }
.mockup-card.accent .mockup-card-sub { color: rgba(255,255,255,0.78); }
.mockup-card-icon {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--steel-container);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--steel-dark);
}
.mockup-card-icon svg { width: 16px; height: 16px; }
.mockup-card.accent .mockup-card-icon { background: rgba(255,255,255,0.2); color: white; }
.mockup-card-title { font-size: 11.5px; font-weight: 700; color: var(--text); }
.mockup-card-sub { font-size: 9.5px; color: var(--text-3); margin-top: 1px; }
.mockup-card-tag {
  margin-left: auto;
  font-size: 8.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 20px;
  background: var(--steel-container);
  color: var(--steel-dark);
  white-space: nowrap;
}
.mockup-card-tag.active { background: rgba(76,175,80,0.15); color: #3E8E41; text-transform: uppercase; letter-spacing: 0.3px; }
.mockup-card-title-row { display: flex; align-items: center; gap: 6px; }
.mockup-next-dose { display: flex; align-items: center; gap: 3px; margin-top: 3px; font-size: 9px; font-weight: 600; color: var(--purple); }
.mockup-next-dose svg { width: 10px; height: 10px; }

.mockup-nav {
  margin-top: auto;
  background: white;
  border-radius: 16px;
  padding: 8px 2px;
  display: flex;
  box-shadow: 0 -1px 0 var(--border);
}
.mockup-nav-item { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--text-3); }
.mockup-nav-item .nav-icon { display: flex; align-items: center; justify-content: center; padding: 3px 6px; border-radius: 20px; }
.mockup-nav-item .nav-icon svg { width: 14px; height: 14px; }
.mockup-nav-item .nav-label { font-size: 6.3px; font-weight: 700; white-space: nowrap; }
.mockup-nav-item.active { color: var(--steel-dark); }
.mockup-nav-item.active .nav-icon { background: var(--steel-container); padding: 3px 11px; }

/* Mockup: progress / slider bits used in burnout + vitals screens */
.mockup-bar-track { height: 6px; border-radius: 4px; background: var(--border); overflow: hidden; margin-top: 6px; }
.mockup-bar-fill { height: 100%; border-radius: 4px; background: var(--gradient); }
.mockup-chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.mockup-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 600; padding: 5px 10px; border-radius: 20px; background: white; border: 1px solid var(--border); color: var(--text-2); }
.mockup-chip.active { background: var(--steel-container); border-color: var(--steel); color: var(--steel-dark); }
.mockup-divider-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-3); margin: 4px 0 1px; }
.mockup-task-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

/* Timeline event card: colored left border + circular icon, matching _EventCard */
.mockup-event-card { display: flex; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 6px rgba(31,42,58,0.06); border: 1px solid rgba(228,234,240,0.7); }
.mockup-event-border { width: 4px; flex-shrink: 0; }
.mockup-event-body { display: flex; gap: 8px; padding: 8px 9px; flex: 1; align-items: flex-start; min-width: 0; }
.mockup-event-icon { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mockup-event-icon svg { width: 12px; height: 12px; }
.mockup-event-meta { font-size: 8px; color: var(--text-3); margin-top: 2px; }
.mockup-event-meta .name { color: var(--purple); font-weight: 600; }
.mockup-task-due { margin-left: auto; font-size: 9px; color: var(--text-3); white-space: nowrap; }

.mockup-field-row { display: flex; justify-content: space-between; align-items: center; }
.mockup-field-label { font-size: 10.5px; font-weight: 600; color: var(--text); }
.mockup-badge { font-size: 9.5px; font-weight: 700; padding: 3px 9px; border-radius: 8px; }
.mockup-slider-track { height: 5px; border-radius: 3px; background: var(--border); margin-top: 8px; position: relative; }
.mockup-slider-fill { height: 100%; border-radius: 3px; position: relative; }
.mockup-slider-thumb { width: 12px; height: 12px; border-radius: 50%; background: white; border: 2.5px solid; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.mockup-slider-labels { display: flex; justify-content: space-between; margin-top: 5px; }
.mockup-slider-labels span { font-size: 7.5px; color: var(--text-3); }
.mockup-stars { display: flex; gap: 3px; margin-top: 4px; }
.mockup-stars svg { width: 15px; height: 15px; }

/* ── Trust bar ─────────────────────────────────────────────────────────────── */
.trust-bar { padding: 40px 0; background: var(--warm-surface); border-bottom: 1px solid var(--divider); }
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.trust-item svg { color: var(--purple); flex-shrink: 0; }

/* ── Generic section spacing ──────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section.alt { background: var(--warm-alt); }
.section.tight { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── Reality-of-caregiving section ────────────────────────────────────────── */
.reality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .reality-grid { grid-template-columns: 1fr; gap: 36px; } }
.reality-list { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.reality-item { display: flex; gap: 14px; align-items: flex-start; }
.reality-item .ico {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--warm-surface);
  border: 1px solid var(--divider);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--purple);
}
.reality-item .ico svg { width: 17px; height: 17px; }
.reality-item p { font-size: 15px; color: var(--text-2); padding-top: 6px; }
.reality-item strong { color: var(--text); }

/* Abstract "care circle" illustration (no stock photography) */
.circle-illustration { display: flex; align-items: center; justify-content: center; }
.circle-illustration svg { width: 100%; max-width: 340px; height: auto; }

/* ── What is LOVN — feature pillars ───────────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
@media (max-width: 860px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--warm-surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.pillar-icon {
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--steel-container);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--purple);
}
.pillar-icon svg { width: 21px; height: 21px; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { font-size: 14px; line-height: 1.65; }

/* ── How it works ──────────────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 24px; }
.step + .step { margin-top: 8px; }
.step-num-wrap { display: flex; flex-direction: column; align-items: center; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient); color: white;
  font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(123,94,167,0.28);
  flex-shrink: 0;
}
.step-line { width: 2px; flex: 1; background: var(--divider); margin: 6px 0; min-height: 30px; }
.step-content { padding-bottom: 44px; }
.step-content h3 { font-size: 19px; margin-bottom: 8px; }
.step-content p { font-size: 15px; line-height: 1.7; max-width: 480px; }

/* ── Product showcase ──────────────────────────────────────────────────────── */
.showcase-scroll {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  overflow-x: auto;
  padding: 20px 4px 24px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.showcase-scroll::-webkit-scrollbar { height: 8px; }
.showcase-scroll::-webkit-scrollbar-thumb { background: var(--divider); border-radius: 8px; }
.showcase-item {
  flex: 0 0 auto;
  width: 240px;
  scroll-snap-align: start;
  text-align: center;
}
.showcase-item .phone-frame { margin: 0 auto 16px; }
.showcase-item h3 { font-size: 15px; margin-bottom: 5px; }
.showcase-item p { font-size: 13px; line-height: 1.6; max-width: 220px; margin: 0 auto; }

/* ── Benefits ──────────────────────────────────────────────────────────────── */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }
.benefit { padding: 8px 4px; }
.benefit-icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--warm-surface);
  border: 1px solid var(--divider);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--purple);
}
.benefit-icon svg { width: 21px; height: 21px; }
.benefit h3 { margin-bottom: 8px; }
.benefit p { font-size: 14px; line-height: 1.65; }

/* ── Why join beta ─────────────────────────────────────────────────────────── */
.beta-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 860px) { .beta-why-grid { grid-template-columns: 1fr; } }
.beta-why-card {
  background: var(--warm-surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.beta-why-num { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 600; color: var(--purple); margin-bottom: 10px; }
.beta-why-card h3 { margin-bottom: 8px; }
.beta-why-card p { font-size: 14px; line-height: 1.65; }
.beta-intro { font-size: 17px; line-height: 1.75; max-width: 680px; }

/* ── Beta signup section ───────────────────────────────────────────────────── */
.signup-section {
  background: var(--warm-surface);
  border-radius: 28px;
  border: 1px solid var(--divider);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 640px) { .signup-section { padding: 44px 22px; border-radius: 20px; } }
.signup-inner { max-width: 460px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.signup-inner h2 { margin-bottom: 12px; }
.signup-inner > p.section-sub { margin: 0 auto 32px; }

.signup-form .form-row { text-align: left; }
.optional-question { margin: 18px 0 6px; text-align: left; }
.optional-question label { font-size: 13px; font-weight: 600; color: var(--text-2); display: block; margin-bottom: 4px; }
.optional-hint { font-size: 12px; color: var(--text-3); margin-bottom: 10px; display: block; }
.chip-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-option {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--warm-bg);
  color: var(--text-2);
  cursor: pointer;
  transition: all .15s;
}
.chip-option:hover { border-color: var(--purple-light); }
.chip-option.selected { background: var(--purple); border-color: var(--purple); color: white; }

.signup-form-full { margin-top: 28px; }
.signup-form-full .btn { margin-top: 6px; }
.signup-success { display: none; text-align: center; padding: 20px 0; }
.signup-form-full.success .signup-fields { display: none; }
.signup-form-full.success .signup-success { display: block; }
.signup-success .emoji { font-size: 42px; margin-bottom: 10px; }
.signup-success h3 { font-family: 'Fraunces', serif; font-size: 24px; margin-bottom: 8px; }

.trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 22px;
}
.trust-note svg { flex-shrink: 0; color: var(--text-3); }
.trust-note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }

/* ── Emotional brand moment ────────────────────────────────────────────────── */
.moment {
  background: linear-gradient(160deg, #241C3A 0%, #4A3B78 55%, #3F5FA0 100%);
  padding: 130px 0;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.moment::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.12), transparent 55%);
}
.moment blockquote {
  position: relative;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.35;
  color: white;
  max-width: 760px;
  margin: 0 auto;
}
.moment .heart-mark { color: var(--gold); font-style: normal; margin-top: 22px; font-size: 22px; display: block; }

/* ── Final CTA ─────────────────────────────────────────────────────────────── */
.final-cta { padding: 110px 0; text-align: center; }
.final-cta h2 { margin-bottom: 16px; }
.final-cta p { font-size: 17px; max-width: 480px; margin: 0 auto 32px; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
footer { background: #14111C; color: white; padding: 60px 0 0; }
.footer-inner {
  display: flex;
  gap: 60px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo img { height: 34px; }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 14px; max-width: 260px; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.62); transition: color .2s; }
.footer-col a:hover { color: white; }
.footer-bottom { padding: 20px 0; text-align: center; }
.footer-bottom span { font-size: 13px; color: rgba(255,255,255,0.32); }

/* ── Animations ────────────────────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ── Legal pages (kept for privacy.html / terms.html compatibility) ─────────── */
.legal-page { max-width: 760px; margin: 120px auto 80px; padding: 0 24px; }
.legal-page h1 { font-family: 'Fraunces', serif; font-size: 34px; font-weight: 600; margin-bottom: 8px; }
.legal-page .updated { color: var(--text-3); font-size: 14px; margin-bottom: 48px; }
.legal-page h2 { font-size: 18px; font-weight: 700; margin: 36px 0 12px; color: var(--text); font-family: 'Inter', sans-serif; }
.legal-page p { margin-bottom: 14px; line-height: 1.75; }
.legal-page ul { padding-left: 20px; margin-bottom: 14px; list-style: disc; }
.legal-page li { margin-bottom: 6px; line-height: 1.75; color: var(--text-2); }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--purple); font-weight: 600; font-size: 14px; margin-bottom: 40px; }
.back-link:hover { opacity: 0.8; }

/* Consent line under signup forms */
.consent-note { font-size: 11.5px; line-height: 1.5; color: var(--text-3); text-align: center; margin-top: 10px; }
