/* Naven periweight: visual clean-up layered over the base44 build.
 * Scope: header button (mobile), hero spacing (mobile), hero-to-reviews gap
 * (mobile), and the Tirzepatide offer section (all sizes). Nothing else.
 */

/* ── 1. Header: center the Get Started button so it no longer touches the
 *       bottom edge (base44 shipped pt-3 inside a fixed 64px bar). ─────── */
header > div {
  padding-top: 0 !important;
  height: 64px !important;
}
header > div > button {
  height: 40px !important;
  padding: 0 20px !important;
  font-size: 14px !important;
}

/* ── 2. Hero, mobile only: calmer rhythm, consistent spacing. ──────────── */
@media (max-width: 1023px) {
  #top > div {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
    row-gap: 28px !important;
  }
  #top h1 {
    font-size: 32px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.01em !important;
  }
  #top .lg\:hidden.mb-4 { margin-bottom: 18px !important; }
  #top p.mt-6 {
    margin-top: 0 !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
  }
  #top ul.mt-8 { margin-top: 22px !important; }
  #top ul.mt-8 > li + li { margin-top: 14px !important; }
  #top .mt-10 { margin-top: 30px !important; }
  #top .mt-6.flex { margin-top: 16px !important; justify-content: center; }
}

/* ── 3. Gap between hero and the video reviews, mobile only.
 *       Was 64px + 80px = 144px of empty space; now 40px + 48px. ───────── */
@media (max-width: 639px) {
  #top + section { padding-top: 48px !important; }
}

/* ── 4. Offer section: same card language as the rest of the funnel. ─── */
#stack {
  background: linear-gradient(to bottom, #FBF6F5, #F9F0EE) !important;
}
#stack .bg-card {
  background: #fff !important;
  border: 1px solid rgba(232, 195, 188, 0.6) !important;
  border-radius: 1.5rem !important;
  box-shadow: 0 1px 2px rgba(60, 30, 20, 0.05), 0 12px 32px -16px rgba(140, 70, 55, 0.18) !important;
  padding: 28px !important;
}
/* Title row: name left, price as a soft blush pill right. */
#stack .bg-card .flex.items-baseline {
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
}
#stack .bg-card h3 {
  font-size: 32px !important;
  line-height: 1.1 !important;
}
#stack .bg-card h3 + span {
  font-family: inherit !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap;
  background: #F2DDD8;
  border: 1px solid #E8C3BC;
  border-radius: 999px;
  padding: 9px 14px;
}
#stack .bg-card .flex.items-baseline + p {
  font-size: 20px !important;
  margin-top: 4px !important;
}
#stack .bg-card > .mb-4 {
  padding-bottom: 18px;
  margin-bottom: 18px !important;
  border-bottom: 1px solid rgba(232, 195, 188, 0.6);
}
/* Checklist: match the hero list (regular weight, same size). */
#stack .bg-card ul li {
  font-weight: 400 !important;
  font-size: 15px !important;
  align-items: center !important;
}
#stack .bg-card ul li > span { margin-top: 0 !important; }
/* CTA: brand rust, same as every other Get Started on the page. */
#stack .bg-card button {
  background: hsl(var(--primary)) !important;
  color: hsl(var(--primary-foreground)) !important;
  box-shadow: 0 10px 15px -3px hsl(var(--primary) / 0.2), 0 4px 6px -4px hsl(var(--primary) / 0.2) !important;
  height: auto !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}
#stack .bg-card button:hover { background: hsl(var(--primary) / 0.9) !important; }
#stack .bg-card button::after {
  content: '\2192';
  font-weight: 400;
  margin-left: 4px;
}
/* Image: same corner radius as the step cards. */
#stack .aspect-square {
  border-radius: 1.5rem !important;
  border: 1px solid rgba(232, 195, 188, 0.6);
}

/* ── 5. Sticky bottom Get Started bar (mobile): narrower, never cut off. ── */
@media (max-width: 767px) {
  div.fixed.bottom-0.inset-x-0 {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding: 10px 24px calc(10px + env(safe-area-inset-bottom)) !important;
    display: flex !important;
    justify-content: center !important;
  }
  div.fixed.bottom-0.inset-x-0 > button,
  div.fixed.bottom-0.inset-x-0 > a {
    width: 100% !important;
    max-width: 320px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
}
