/* ─── reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ─── keyframe animations (from original design) ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-18px) rotate(var(--r, 0deg)); }
}
@keyframes floaty2 {
  0%,100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(14px) rotate(var(--r, 0deg)); }
}
@keyframes blobMorph {
  0%,100% { border-radius: 42% 58% 63% 37% / 45% 45% 55% 55%; }
  50%      { border-radius: 60% 40% 38% 62% / 58% 52% 48% 42%; }
}
@keyframes barGrow { from { width: 0; } }
@keyframes pulseDot {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: 0.5; }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { animation: reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

/* ─── responsive ─── */
@media (max-width: 900px) {
  .hero-grid { flex-direction: column !important; }
  .hero-art  { width: 100% !important; }
  .split     { flex-direction: column !important; }
}

@media (max-width: 640px) {
  /* hero */
  .hero-grid { padding: 40px 20px 48px !important; gap: 32px !important; }
  .hero-art  { width: 100% !important; }

  /* remove rotation on hero card so it doesn't bleed off-screen */
  .hero-art > div:last-child { transform: none !important; }

  /* art card: tighter padding, chips wrap cleanly */
  .hero-art > div:last-child > div { padding: 18px !important; }

  /* form: stack input + button vertically */
  .waitlist-form-row {
    flex-direction: column !important;
    border-radius: 20px !important;
    padding: 14px !important;
    gap: 10px !important;
  }
  .waitlist-email-input { width: 100% !important; }
  .btn-submit {
    width: 100% !important;
    text-align: center;
    padding: 14px 22px !important;
  }

  /* how it works */
  .split { gap: 14px !important; }

  /* CTA section */
  .cta-box { padding: 40px 22px !important; border-radius: 24px !important; }
  .cta-form-row {
    flex-direction: column !important;
    border-radius: 20px !important;
    padding: 14px !important;
  }

  /* footer */
  .footer-inner { flex-direction: column !important; align-items: flex-start !important; }
}

/* ─── submit buttons ─── */
.btn-submit {
  border: none; cursor: pointer;
  background: #E07A57; color: #FFFFFF;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn-submit:hover { background: #C9633F; transform: translateY(-1px); }
.btn-submit-dark { background: #382C24; }
.btn-submit-dark:hover { background: #211A15; }

/* ─── nav links ─── */
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { text-decoration: none; color: #6F6055; font-weight: 500; font-size: 15px; }
.nav-link:hover { color: #382C24; }
.nav-cta-link {
  text-decoration: none; background: #382C24; color: #FBF5EC;
  font-weight: 600; font-size: 15px; padding: 10px 20px; border-radius: 999px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.nav-cta-link:hover { background: #E07A57; transform: translateY(-1px); }

/* ─── mobile nav toggle ─── */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; border: none; background: transparent;
  cursor: pointer; padding: 0;
}
.nav-toggle-bar {
  width: 22px; height: 2px; background: #382C24; border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(251,245,236,0.98); border-bottom: 1px solid #EFE2D2;
    padding: 12px 24px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 10px 4px; }
  .nav-cta-link { text-align: center; margin-top: 6px; }
}
