/* ==========================================================================
   badumbaby.com — styles
   Palette mirrors the app: peach→cream home gradient, coral CTA, ink text,
   and the deep-red "womb" of the recording screen for the dark band.
   Mobile-first. No frameworks.
   ========================================================================== */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --peach: #f7dbcf;
  --peach-2: #f2e6e0;
  --cream: #efe8e3;
  --white: #ffffff;
  --coral: #ff5e79;
  --coral-deep: #ec4569;
  --coral-soft: rgba(255, 94, 121, 0.12);
  --ink: #1c1b1f;
  --text: #1c1b1f;
  --muted: #6b6970;
  --muted-2: #9b9aa0;
  --line: rgba(28, 27, 31, 0.08);
  --womb-1: #5a0f1e;
  --womb-2: #2a060c;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-card: 0 10px 30px -12px rgba(28, 27, 31, 0.18);
  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --gutter: 20px;
}

/* ---------- Reset-ish ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 800;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: 64px 0;
}

.section__head {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.section__head h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  margin-bottom: 12px;
}

.section__head p {
  color: var(--muted);
  font-size: 17px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

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

.btn--ink {
  background: var(--ink);
  color: #fff;
}

.btn--ink:hover { background: #2c2b30; }

.btn--coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(255, 94, 121, 0.7);
}

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

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--ghost:hover { background: #fff; }

.btn svg { width: 18px; height: 18px; }

/* Store badges */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-block;
  border-radius: 9px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-btn img {
  width: 160px;
  height: 48px;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5);
}

.store-btn:active { transform: scale(0.97); }

.store {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.store__rating {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.store__rating b { color: var(--ink); font-weight: 800; }

.store__rating .star { color: #ffb02e; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 219, 207, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(28, 27, 31, 0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav {
  display: none;
  gap: 28px;
  font-weight: 700;
  font-size: 15px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

.nav a:hover { color: var(--ink); }

.header .btn { padding: 10px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 56px;
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(255, 94, 121, 0.16), transparent 65%),
    radial-gradient(50% 40% at 0% 100%, rgba(255, 94, 121, 0.10), transparent 60%),
    linear-gradient(180deg, var(--peach) 0%, var(--peach-2) 60%, var(--cream) 100%);
}

.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero__copy {
  text-align: center;
}

.hero__icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 20px;
  box-shadow: 0 18px 36px -16px rgba(236, 69, 105, 0.55);
}

.hero h1 {
  font-size: clamp(32px, 6.2vw, 54px);
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.hero h1 .accent { color: var(--coral-deep); }

.hero__lead {
  margin-top: 16px;
  font-size: clamp(19px, 2.6vw, 23px);
  font-weight: 700;
  color: var(--ink);
}

.hero__sub {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero .store-buttons {
  justify-content: center;
  margin-top: 28px;
}

.fineprint {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted-2);
}

.hero__visual {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.hero__photo {
  position: absolute;
  inset: 0 10% 8% 0;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(90, 15, 30, 0.45);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.hero__visual .hero__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
}

.hero__chip {
  position: absolute;
  top: 5%;
  left: -2%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}

.hero__chip .heart {
  width: 22px;
  height: 22px;
  color: var(--coral);
  animation: beat 1.3s ease-in-out infinite;
  transform-origin: center;
}

@keyframes beat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.22); }
  28% { transform: scale(1); }
  42% { transform: scale(1.14); }
  70% { transform: scale(1); }
}

/* ---------- Phone frame ---------- */
.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 1125 / 2436;
  background: linear-gradient(160deg, #3b3b42 0%, #1a1a1e 35%, #0e0e10 100%);
  border-radius: 15% / 6.9%;
  padding: 2.4%;
  box-shadow:
    0 40px 70px -30px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.phone::after {
  /* dynamic island */
  content: "";
  position: absolute;
  top: 3.3%;
  left: 50%;
  transform: translateX(-50%);
  width: 27%;
  height: 2.5%;
  background: #000;
  border-radius: 999px;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13.4% / 6.2%;
  background: #2a060c;
}

.phone--placeholder {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}

.phone--placeholder .ph {
  width: 100%;
  height: 100%;
  border-radius: 13.4% / 6.2%;
  background: linear-gradient(180deg, #4a0c19, #2a060c);
  display: grid;
  place-items: center;
  padding: 16px;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: 24px;
}

.step {
  position: relative;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px 30px;
  box-shadow: var(--shadow-card);
}

.step__img {
  width: 168px;
  height: 168px;
  margin: 0 auto 18px;
  border-radius: 50%;
}

.step__num {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 8px 18px -8px rgba(255, 94, 121, 0.8);
}

.step h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- Features ---------- */
.features {
  background:
    radial-gradient(60% 50% at 100% 100%, rgba(255, 94, 121, 0.10), transparent 60%),
    var(--peach-2);
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.feature__icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--coral-soft);
  color: var(--coral-deep);
  display: grid;
  place-items: center;
}

.feature__icon svg { width: 26px; height: 26px; }

.feature__icon--solid {
  background: linear-gradient(160deg, var(--coral), var(--coral-deep));
}

.feature__icon--solid img { width: 30px; height: 30px; }

.feature h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.feature p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Screenshots (dark womb band) ---------- */
.shots-band {
  position: relative;
  color: #fff;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(255, 94, 121, 0.28), transparent 60%),
    linear-gradient(180deg, var(--womb-1) 0%, var(--womb-2) 100%);
  overflow: hidden;
}

.shots-band .section__head p { color: rgba(255, 255, 255, 0.72); }

.shots-band .eyebrow { color: #ff8ba0; }

.shots-band__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -40%);
  opacity: 0.12;
  pointer-events: none;
  filter: blur(2px);
}

.shots {
  position: relative;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px var(--gutter) 24px;
  margin: 0 calc(-1 * var(--gutter));
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.shots::-webkit-scrollbar { display: none; }

.shot {
  flex: 0 0 auto;
  width: 224px;
  scroll-snap-align: center;
  margin: 0;
  text-align: center;
}

.shot figcaption {
  margin-top: 14px;
  font-weight: 800;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Harpers ---------- */
.harpers .section__head { margin-bottom: 28px; }

.reels {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 12px;
  margin: 0 calc(-1 * var(--gutter));
  scrollbar-width: none;
}

.reels::-webkit-scrollbar { display: none; }

.reels .reel {
  flex: 0 0 200px;
  scroll-snap-align: center;
}

.reel {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(160deg, #ff8ba0 0%, var(--coral) 45%, #b8203f 100%);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  transition: transform 0.2s ease;
}

.reel:hover { transform: translateY(-4px); }

.reel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #3a0a14;
}

.reel::after {
  /* legibility gradient behind the label */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
  pointer-events: none;
}

.reel__label { position: relative; z-index: 1; }

.reel__views {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px 5px 7px;
  border-radius: 999px;
  background: rgba(20, 8, 12, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.reel__views svg { width: 12px; height: 12px; }

.reel.is-playing .reel__play { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }

.reel:hover .reel__play,
.reel:focus-visible .reel__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.reel__video { transition: filter 0.25s ease; }

.reel:hover .reel__video,
.reel:focus-visible .reel__video { filter: brightness(0.78); }

.reel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--coral-deep);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4);
  z-index: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.reel__play svg { width: 22px; height: 22px; margin-left: 3px; }

.reel__label {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.reel__label small {
  display: block;
  font-weight: 600;
  opacity: 0.85;
}

.follow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.follow .btn { background: var(--white); color: var(--ink); border: 1px solid var(--line); }

.follow .btn:hover { background: var(--ink); color: #fff; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  border: 1px solid transparent;
}

.faq[open] { border-color: rgba(255, 94, 121, 0.35); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 20px;
  font-weight: 800;
  font-size: 17px;
  position: relative;
  border-radius: 18px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--coral-deep);
  border-bottom: 2.5px solid var(--coral-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.faq__body {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Disclaimer ---------- */
.disclaimer {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px dashed rgba(236, 69, 105, 0.35);
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 36px;
}

.footer__top {
  display: grid;
  gap: 28px;
  align-items: center;
  text-align: center;
}

.footer .brand { color: #fff; }

.footer__tag {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
}

.footer .store-buttons { justify-content: center; }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 36px;
  font-weight: 700;
  font-size: 15px;
}

.footer__links a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }

.footer__links a:hover { color: #fff; text-decoration: underline; }

.footer__legal {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal p + p { margin-top: 6px; }

/* ---------- Simple pages (privacy / support) ---------- */
.page {
  padding: 48px 0 80px;
}

.page__inner {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  box-shadow: var(--shadow-card);
}

.page h1 {
  font-size: clamp(30px, 5vw, 40px);
  margin-bottom: 8px;
}

.page .updated {
  color: var(--muted-2);
  font-size: 14px;
  margin-bottom: 28px;
}

.page h2 {
  font-size: 21px;
  margin: 32px 0 10px;
}

.page p { color: var(--muted); margin-bottom: 12px; }

.page ul { padding-left: 20px; list-style: disc; color: var(--muted); }

.page li { margin-bottom: 6px; }

.page a { color: var(--coral-deep); }

.page .btn { color: #fff; }

.placeholder {
  background: #fff6f8;
  border: 1px dashed rgba(236, 69, 105, 0.4);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--coral-deep) !important;
  font-style: italic;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__chip .heart { animation: none; }
  .btn, .store-btn, .reel { transition: none; }
}

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .reels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
  }
  .reels .reel { flex: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .shots { justify-content: center; }
  .footer__top { text-align: left; }
}

@media (min-width: 900px) {
  .section { padding: 88px 0; }
  .nav { display: flex; }
  .hero { padding: 56px 0 80px; }
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }
  .hero__copy { text-align: left; }
  .hero__icon { margin-left: 0; }
  .hero__sub { margin-left: 0; }
  .hero .store-buttons { justify-content: flex-start; }
  .hero__visual { width: min(100%, 520px); margin-right: 0; }
  .hero__visual .hero__phone { width: 38%; }
  .feature-grid { grid-template-columns: repeat(6, 1fr); }
  .feature { grid-column: span 2; flex-direction: column; padding: 24px; }
  .feature:nth-child(4) { grid-column: 2 / span 2; }
  .feature:nth-child(5) { grid-column: 4 / span 2; }
  .shot { width: 240px; }
  .footer__top {
    grid-template-columns: 1fr auto;
  }
  .footer .store-buttons { justify-content: flex-end; }
  .page__inner { padding: 48px 56px; }
}
