/* ═══════════════════════════════════════════════
   Movable — Teaser Site Styles
   ═══════════════════════════════════════════════ */

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

/* ─── DESIGN TOKENS ─── */
:root {
  /* Colors */
  --cream:        #E5DFD7;
  --cream-deep:   #D9D2C8;
  --black:        #1A1310;
  --body:         #6B635D;
  --coral:        #D94F1E;
  --coral-hover:  #C44518;
  --blue:         #2563EB;
  --amber:        #F5A623;
  --amber-hover:  #E09618;
  --white:        #FFFDF9;
  --note:         #A8A29E;

  /* Fonts */
  --font-main:    'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-narrow:  'Archivo Narrow', sans-serif;

  /* Spacing scale */
  --sp-xs:    0.25rem;
  --sp-sm:    0.5rem;
  --sp-md:    1rem;
  --sp-lg:    1.5rem;
  --sp-xl:    2rem;
  --sp-2xl:   3rem;
  --sp-3xl:   4.5rem;
  --sp-section: 6rem;

  /* Radii */
  --r-pill:   100px;
  --r-card:   24px;
  --r-phone:  40px;

  /* Max widths */
  --w-content: 960px;
  --w-narrow:  600px;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── BODY ─── */
html {
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-main);
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── ANIMATIONS (keyframes) ─── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}


/* ═══════════════════════════════════════════════
   BUTTONS & FORM PRIMITIVES
   ═══════════════════════════════════════════════ */

.btn {
  padding: 1rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-narrow);
  background: var(--amber);
  color: var(--black);
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--amber-hover);
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.btn--amber {
  background: var(--amber);
  color: var(--black);
}

.btn--amber:hover {
  background: var(--amber-hover);
}

.btn--white {
  background: var(--white);
  color: var(--coral);
}

.btn--white:hover {
  background: var(--cream);
}

.btn--large {
  display: inline-block;
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  text-decoration: none;
  text-align: center;
}

/* Waitlist form */
.waitlist-form .input-group {
  display: flex;
  gap: var(--sp-sm);
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  font-family: var(--font-main);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: var(--r-pill);
  outline: none;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 1px 3px rgba(26, 19, 16, 0.06);
  transition: box-shadow 0.2s ease;
}

.waitlist-form input[type="email"]:focus {
  box-shadow: 0 0 0 2px var(--coral), 0 1px 3px rgba(26, 19, 16, 0.06);
}

.waitlist-form input[type="email"]::placeholder {
  color: var(--note);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-note {
  font-size: 0.78rem;
  color: var(--note);
  margin-top: 1.25rem;
}

.success {
  display: none;
  font-family: var(--font-narrow);
  font-size: 1.25rem;
  padding: 1rem 0;
  color: var(--black);
}


/* ═══════════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════════ */

.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-2xl) var(--sp-xl);
  text-align: center;
  position: relative;
  background: var(--cream);
}

/* Margo + Wordmark lockup */
.hero-lockup {
  position: relative;
  width: 100%;
  max-width: var(--w-content);
  margin: 0 auto var(--sp-lg);
  opacity: 0;
  animation: scale-in 0.8s var(--ease-out) 0.1s forwards;
}

.hero-wordmark {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: clamp(5rem, 15vw, 13rem);
  color: var(--coral);
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: -0.02em;
  user-select: none;
  display: block;
  text-align: center;
  padding-top: clamp(160px, 22vw, 280px);
}

.hero-margo {
  position: absolute;
  z-index: 2;
  height: clamp(300px, 42vw, 500px);
  width: auto;
  left: 50%;
  transform: translateX(-50%);
  bottom: -5%;
  filter: drop-shadow(0 20px 40px rgba(26, 19, 16, 0.12));
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.hero-content h1 {
  font-family: var(--font-narrow);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.8vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--black);
  text-wrap: balance;
  opacity: 0;
  animation: fade-up 0.7s var(--ease-out) 0.4s forwards;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  text-wrap: pretty;
  opacity: 0;
  animation: fade-up 0.7s var(--ease-out) 0.55s forwards;
}

.hero .waitlist-form {
  opacity: 0;
  animation: fade-up 0.7s var(--ease-out) 0.7s forwards;
}

.hero .form-note {
  opacity: 0;
  animation: fade-in 0.5s ease 1s forwards;
}


/* ═══════════════════════════════════════════════
   2. PRODUCT SHOWCASE
   ═══════════════════════════════════════════════ */

.showcase {
  background: var(--black);
  padding: var(--sp-section) var(--sp-xl);
  text-align: center;
}

.showcase-inner {
  max-width: var(--w-content);
  margin: 0 auto;
}

.showcase-headline {
  font-family: var(--font-narrow);
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  color: var(--cream);
  margin-bottom: var(--sp-3xl);
  text-wrap: balance;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2xl);
  align-items: start;
  max-width: 820px;
  margin: 0 auto;
}

.phone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-lg);
}

.phone-frame {
  background: var(--cream);
  border-radius: var(--r-phone);
  padding: 8px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 8px 20px rgba(0, 0, 0, 0.2);
  max-width: 240px;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--r-phone) - 6px);
}

/* Float animation — applied after scroll reveal */
.phone-card.visible .phone-frame {
  animation: phone-float 4s ease-in-out infinite;
}

.phone-card:nth-child(2).visible .phone-frame {
  animation-delay: 0.6s;
}

.phone-card:nth-child(3).visible .phone-frame {
  animation-delay: 1.2s;
}

.phone-caption {
  font-family: var(--font-narrow);
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(229, 223, 215, 0.6);
  line-height: 1.4;
  text-wrap: pretty;
}


/* ═══════════════════════════════════════════════
   3. WHO IT'S FOR (Audience)
   ═══════════════════════════════════════════════ */

.audience {
  background: var(--cream);
  padding: var(--sp-section) var(--sp-xl);
  text-align: center;
}

.audience-inner {
  max-width: var(--w-narrow);
  margin: 0 auto;
}

.audience-headline {
  font-family: var(--font-narrow);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  color: var(--black);
  margin-bottom: var(--sp-lg);
  text-wrap: balance;
}

.audience-body {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--body);
  line-height: 1.65;
  text-wrap: pretty;
}


/* ═══════════════════════════════════════════════
   4. VALUE PROPS
   ═══════════════════════════════════════════════ */

.values {
  background: var(--white);
  padding: var(--sp-section) var(--sp-xl);
}

.values-inner {
  max-width: var(--w-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xl);
}

.value-item {
  display: flex;
  gap: var(--sp-xl);
  align-items: flex-start;
}

.value-num {
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--coral);
  flex-shrink: 0;
  width: 3.5rem;
}

.value-text {
  flex: 1;
}

.value-title {
  font-family: var(--font-narrow);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--black);
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.value-desc {
  font-size: 0.95rem;
  color: var(--body);
  line-height: 1.6;
  text-wrap: pretty;
}


/* ═══════════════════════════════════════════════
   5. EVIDENCE
   ═══════════════════════════════════════════════ */

.evidence {
  background: var(--black);
  padding: var(--sp-section) var(--sp-xl);
  text-align: center;
}

.evidence-inner {
  max-width: var(--w-content);
  margin: 0 auto;
}

.evidence-headline {
  font-family: var(--font-narrow);
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 0.6rem;
  text-wrap: balance;
}

.evidence-sub {
  font-size: 1.05rem;
  color: rgba(229, 223, 215, 0.55);
  margin-bottom: var(--sp-2xl);
  text-wrap: pretty;
}

.evidence-sources {
  display: flex;
  justify-content: center;
  gap: var(--sp-2xl);
  flex-wrap: wrap;
}

.evidence-source {
  font-family: var(--font-narrow);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(229, 223, 215, 0.45);
}


/* ═══════════════════════════════════════════════
   6. BOTTOM CTA
   ═══════════════════════════════════════════════ */

.cta {
  padding: var(--sp-section) var(--sp-xl);
  text-align: center;
  background: var(--coral);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Noise texture overlay */
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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;
}

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

.cta-headline {
  font-family: var(--font-narrow);
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
  color: var(--white);
  text-wrap: balance;
}

.cta-sub {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

/* CTA form overrides */
.cta .waitlist-form input[type="email"] {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  box-shadow: none;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

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

.cta .waitlist-form input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

.cta .btn {
  background: var(--white);
  color: var(--coral);
}

.cta .btn:hover {
  background: var(--cream);
}

.cta .success {
  color: var(--white);
}

.cta .form-note {
  color: rgba(255, 255, 255, 0.45);
}

.gift-tag {
  display: inline-block;
  margin-top: var(--sp-xl);
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--white);
}


/* ═══════════════════════════════════════════════
   7. FOOTER
   ═══════════════════════════════════════════════ */

.footer {
  padding: 2.5rem var(--sp-xl);
  text-align: center;
  font-size: 0.78rem;
  color: var(--note);
  background: var(--cream);
}

.footer a {
  color: var(--note);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer a:hover {
  color: var(--body);
}


/* ═══════════════════════════════════════════════
   SCROLL REVEALS
   ═══════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.24s; }


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

/* Mobile (< 600px) */
@media (max-width: 600px) {
  .hero {
    min-height: 100svh;
    padding: var(--sp-lg) var(--sp-lg) var(--sp-xl);
  }

  .hero-margo {
    height: clamp(200px, 50vw, 300px);
  }

  .hero-wordmark {
    font-size: clamp(3.5rem, 20vw, 6rem);
    padding-top: clamp(120px, 35vw, 200px);
  }

  .hero-lockup {
    margin-bottom: var(--sp-lg);
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .waitlist-form .input-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.8rem;
  }

  .showcase,
  .audience,
  .values,
  .evidence,
  .cta {
    padding: var(--sp-3xl) var(--sp-lg);
  }

  .showcase-headline {
    font-size: 1.5rem;
    margin-bottom: var(--sp-2xl);
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }

  .phone-frame {
    max-width: 220px;
    border-radius: 28px;
    padding: 6px;
  }

  .phone-frame img {
    border-radius: 22px;
  }

  .phone-caption {
    font-size: 0.85rem;
  }

  .audience-headline {
    font-size: 1.35rem;
  }

  .audience-body {
    font-size: 0.95rem;
  }

  .values-inner {
    gap: var(--sp-xl);
  }

  .value-item {
    gap: var(--sp-lg);
  }

  .value-num {
    font-size: 1.8rem;
    width: 2.5rem;
  }

  .value-title {
    font-size: 0.95rem;
  }

  .value-desc {
    font-size: 0.875rem;
  }

  .evidence-headline {
    font-size: 1.4rem;
  }

  .evidence-sub {
    font-size: 0.9rem;
  }

  .evidence-sources {
    flex-direction: column;
    gap: var(--sp-md);
  }

  .cta-headline {
    font-size: 1.5rem;
  }

  .cta-sub {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .gift-tag {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .footer {
    padding: 2rem var(--sp-lg);
  }
}

/* Tablet (600–900px) */
@media (min-width: 601px) and (max-width: 900px) {
  .showcase-grid {
    gap: var(--sp-lg);
  }

  .phone-frame {
    padding: 6px;
    max-width: 200px;
    border-radius: 30px;
  }

  .phone-frame img {
    border-radius: 24px;
  }
}


/* ═══════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
