:root {
  --cream: #FFF6EC;
  --cream-deep: #FBEBDA;
  --ink: #2B1B2E;
  --ink-soft: #5A4A5E;
  --raspberry: #E8556F;
  --raspberry-deep: #C93E57;
  --candle: #FFC857;
  --sky: #5BB8D4;
  --white: #FFFFFF;
  --radius: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

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

a { color: inherit; text-decoration: none; }

/* ---------- Frosting divider (signature element) ---------- */
.frosting-divider {
  width: 100%;
  height: 40px;
  display: block;
  margin: 0 auto;
}

/* ---------- Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 246, 236, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(43, 27, 46, 0.08);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.logo {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--raspberry-deep);
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-note {
  display: inline-block;
  transform: rotate(-8deg);
  font-size: 1.3rem;
}

.nav-cta {
  background: var(--ink);
  color: var(--cream);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.nav-cta:hover { background: var(--raspberry-deep); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 24px 40px;
  text-align: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--white);
  border: 2px solid var(--candle);
  color: var(--raspberry-deep);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto 18px;
}

.hero h1 .highlight {
  color: var(--raspberry);
  position: relative;
  white-space: nowrap;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.btn-primary {
  background: var(--raspberry);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 6px 0 var(--raspberry-deep);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--raspberry-deep); }
.btn-primary:active { transform: translateY(6px); box-shadow: 0 0 0 var(--raspberry-deep); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  border: 2px solid var(--ink);
  transition: background 0.15s ease;
}
.btn-secondary:hover { background: var(--ink); color: var(--cream); }

.trust-line {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 48px;
}

.trust-line--card {
  text-align: center;
  margin: 14px 0 0;
}

.trust-line--dark {
  color: rgba(255,246,236,0.75);
  margin: 18px 0 0;
}

/* ---------- Hero video showcase ---------- */
.hero-video-frame {
  max-width: 320px;
  margin: 0 auto;
  position: relative;
}

.phone-mock {
  background: var(--ink);
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 24px 48px -12px rgba(43, 27, 46, 0.35);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 18px;
  background: var(--ink);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.video-slot {
  aspect-ratio: 9 / 16;
  background: linear-gradient(160deg, var(--sky) 0%, var(--raspberry) 100%);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-slot-placeholder {
  color: var(--white);
  text-align: center;
  padding: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

.play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43,27,46,0.15);
}

.play-circle {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--raspberry-deep);
}

.confetti-decor {
  position: absolute;
  font-size: 1.8rem;
  opacity: 0.85;
}
.c1 { top: 10%; left: 4%; transform: rotate(-15deg); }
.c2 { top: 65%; right: 3%; transform: rotate(20deg); }
.c3 { top: 30%; right: 8%; transform: rotate(-8deg); font-size: 1.4rem; }

/* ---------- Sections shared ---------- */
section { padding: 20px 0 60px; }

.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto 44px;
  font-size: 1.05rem;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.step-number {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--candle);
  -webkit-text-stroke: 2px var(--ink);
  margin-bottom: 8px;
}

.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Demo gallery ---------- */
.demo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 560px;
  margin: 0 auto;
}

.demo-card {
  background: var(--white);
  border-radius: 20px;
  padding: 12px;
}

.demo-card .video-slot { aspect-ratio: 9/16; border-radius: 14px; }

.demo-name {
  text-align: center;
  font-weight: 600;
  padding: 10px 0 2px;
  font-size: 0.95rem;
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 420px;
  margin: 0 auto;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 3px solid transparent;
  position: relative;
}

.price-card.featured {
  border-color: var(--raspberry);
}

.badge-featured {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--raspberry);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-name { font-size: 1.1rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.price-amount { font-family: 'Baloo 2', sans-serif; font-size: 2.6rem; font-weight: 800; color: var(--ink); margin-bottom: 18px; }
.price-amount span { font-size: 1.1rem; font-weight: 600; color: var(--ink-soft); }

.price-features { list-style: none; margin-bottom: 28px; }
.price-features li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(43,27,46,0.12);
  font-size: 0.95rem;
  display: flex;
  gap: 8px;
}
.price-features li:last-child { border-bottom: none; }
.check { color: var(--raspberry); font-weight: 700; }

.price-cta {
  display: block;
  text-align: center;
  background: var(--ink);
  color: var(--cream);
  padding: 14px;
  border-radius: 999px;
  font-weight: 700;
}
.price-card.featured .price-cta { background: var(--raspberry); }
.price-cta:hover { opacity: 0.9; }

/* ---------- FAQ ---------- */
.faq { max-width: 680px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 12px;
  padding: 20px 24px;
}
.faq-item h3 { font-size: 1.05rem; margin-bottom: 6px; font-family: 'Work Sans', sans-serif; font-weight: 600; }
.faq-item p { color: var(--ink-soft); font-size: 0.95rem; }
.contact-link { text-decoration: underline; font-weight: 600; color: var(--raspberry-deep); }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--ink);
  border-radius: 32px;
  text-align: center;
  padding: 56px 32px;
  margin: 0 24px;
  color: var(--cream);
}
.final-cta h2 { color: var(--cream); margin-bottom: 12px; }
.final-cta p { color: rgba(255,246,236,0.75); margin-bottom: 28px; }

footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.footer-legal {
  margin-top: 10px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-legal a { text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 8px;
}
.legal-page .legal-updated {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 1.3rem;
  margin: 36px 0 12px;
}
.legal-page p, .legal-page li {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 12px;
}
.legal-page ul, .legal-page ol {
  padding-left: 20px;
  margin-bottom: 12px;
}
.legal-page strong { color: var(--ink); }
.legal-page a { text-decoration: underline; color: var(--raspberry-deep); }
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 600;
  color: var(--raspberry-deep);
  text-decoration: underline;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .demo-gallery { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}
