/* ============================================================
   Lactation Exam Mastery Bundle — sales page styles
   Mobile-first. Warm-neutral palette with #eea1cd accent only.
   Playfair Display + DM Sans.
============================================================ */

:root {
  /* Pinks — dusty/mauve, matching the product mockups */
  --pink-50:       #f4eaef;
  --pink-100:      #ead0db;
  --pink-200:      #d9b1c2;
  --pink-300:      #c897ab;
  --pink-400:      #b07c92;
  --pink-deep:     #8e5468;
  --pink-wordmark: #b48294;

  /* Warm creams (matching mockups — slightly more saturated than before) */
  --cream-50:      #f7f1e8;
  --cream-100:     #f1ebe0;
  --cream-200:     #e3d9c6;
  --cream-300:     #d2c5ae;

  /* Ink */
  --ink-900:       #1a1416;
  --ink-800:       #2a2226;
  --ink-700:       #4a4046;
  --ink-600:       #6b6065;
  --ink-500:       #8a7f84;
  --ink-400:       #b3a8ad;

  --white:         #ffffff;

  /* Aliases — keep the rest of this stylesheet unchanged */
  --cream:         var(--cream-100);
  --cream-2:       var(--cream-50);
  --stone-50:      var(--cream-50);
  --stone-100:     var(--cream-200);
  --stone-200:     var(--cream-300);
  --stone-300:     var(--ink-400);
  --line:          var(--cream-200);
  --accent:        var(--pink-300);
  --accent-soft:   var(--pink-50);
  --accent-text:   var(--pink-deep);

  --shadow-sm:     0 2px 8px rgba(42, 34, 38, 0.06);
  --shadow-md:     0 8px 24px rgba(42, 34, 38, 0.08);
  --shadow-lg:     0 16px 48px rgba(42, 34, 38, 0.10);
  --shadow-accent: 0 12px 36px rgba(200, 151, 171, 0.28);

  --font-display:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:     'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

::selection { background: var(--accent-soft); color: var(--ink-900); }

/* ---------- Layout containers ---------- */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 720px; }

.section {
  padding: 64px 0;
}
.section--white { background: var(--white); }
.section--cream { background: var(--cream-2); }
.section--stone {
  background: linear-gradient(180deg, var(--stone-50) 0%, var(--stone-100) 100%);
}
.section--final-cta {
  background: var(--ink-900);
  color: var(--cream);
  text-align: center;
  padding: 80px 0 96px;
}
.section--final-cta .h2 { color: var(--cream); }

.section--ink {
  background: var(--ink-900);
  color: var(--cream-50);
  padding: 96px 0;
}
.h2--inverted { color: var(--cream-50); }
.eyebrow--inverted { color: var(--pink-200); }

.section--ink .h2--center { text-align: center; }
.section--ink .eyebrow {
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.32em;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .section--ink .eyebrow { font-size: 22px; }
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 32px;
}

.preview-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.preview-card__frame {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--cream-100);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32),
              0 4px 12px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.preview-card__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.preview-card__caption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 0 4px;
}
.preview-card__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  color: var(--pink-300);
  font-variant-numeric: tabular-nums;
}
.preview-card__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: var(--cream-50);
}

/* Pink button on the dark preview section */
.section--ink .btn--primary {
  background: var(--pink-300);
  color: var(--ink-900);
  box-shadow: var(--shadow-accent);
}
.section--ink .btn--primary:hover {
  background: var(--pink-400);
  color: var(--white);
}

@media (min-width: 768px) {
  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* ---------- Type ---------- */

.h2, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0 0 28px 0;
}
.h2--center { text-align: center; }
.h2--xl { font-size: clamp(32px, 6vw, 56px); }

.h3, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 24px);
  line-height: 1.25;
  color: var(--ink-900);
  margin: 0 0 12px 0;
}

p { margin: 0 0 18px 0; }
p:last-child { margin-bottom: 0; }

.prose p { font-size: 17px; line-height: 1.75; color: var(--ink-800); }
.prose strong { font-weight: 600; color: var(--ink-900); }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  padding: 40px 0 64px;
  text-align: center;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink-wordmark);
  margin: 0 0 24px 0;
}

/* Italic Playfair emphasis inside headings — matches the mockups */
.h2 em, h2 em, .hero__headline em {
  font-style: italic;
  font-weight: 600;
  color: var(--pink-deep);
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 6.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 auto 24px;
  max-width: 22ch;
}

.hero__subhead {
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  color: var(--ink-700);
  max-width: 56ch;
  margin: 0 auto 32px;
}
.hero__subhead strong { color: var(--ink-900); font-weight: 700; }

.hero__photo {
  margin: 0 auto 32px;
  max-width: 280px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--stone-100);
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-accent);
  border: 3px solid var(--accent);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 100% center; transform: scale(1.15); }

.hero__anchor {
  margin: 16px auto 0;
  font-size: 14px;
  color: var(--ink-700);
  max-width: 36ch;
}

.hero__trust {
  margin: 24px auto 0;
  font-size: 13px;
  color: var(--ink-700);
  max-width: 52ch;
  line-height: 1.55;
}

/* ---------- Countdown ---------- */

.countdown {
  margin: 32px auto;
  padding: 20px 16px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  display: inline-block;
  border: 1px solid var(--stone-100);
}
.countdown__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-wordmark);
  margin: 0 0 12px;
}
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.countdown__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
  padding: 8px 4px;
}
.countdown__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}
.countdown__unit {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.countdown--inverted {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}
.countdown--inverted .countdown__label { color: var(--accent); }
.countdown--inverted .countdown__value { color: var(--cream); }
.countdown--inverted .countdown__unit { color: var(--stone-200); }
.countdown--ended .countdown__value { color: var(--ink-500); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out, background 180ms ease-out;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--ink-900);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26, 20, 22, 0.18);
}
.btn--primary:hover {
  background: var(--ink-800);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(26, 20, 22, 0.24);
  text-decoration: none;
}

.btn--secondary {
  background: var(--white);
  color: var(--ink-900);
  border-color: var(--ink-900);
}
.btn--secondary:hover {
  background: var(--ink-900);
  color: var(--white);
  text-decoration: none;
}

.btn--lg { padding: 18px 36px; font-size: 17px; }
.btn--xl { padding: 22px 44px; font-size: 18px; }

/* On the dark final-CTA, swap the primary button to accent so it pops */
.section--final-cta .btn--primary {
  background: var(--accent);
  color: var(--ink-900);
  box-shadow: var(--shadow-accent);
}
.section--final-cta .btn--primary:hover {
  background: var(--accent-text);
  color: var(--white);
}

.cta-wrap {
  text-align: center;
  margin: 32px 0 0;
}

/* ---------- Section: Who this is for (now horizontal rows) ---------- */

.who__rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}
.who__block {
  padding: 28px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent);
}
.who__close {
  margin-top: 32px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  color: var(--ink-800);
}

/* ---------- Cards (What's inside) ---------- */

.cards {
  display: grid;
  gap: 20px;
  margin: 16px 0 40px;
}
.card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stone-100);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.card__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink-900);
}
.card__tag {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-wordmark);
}
.card__price {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-700);
}
.card__price-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink-900);
  margin-right: 4px;
}
.card__body { font-size: 15.5px; line-height: 1.65; color: var(--ink-800); }

/* ---------- Savings table ---------- */

.savings {
  background: var(--white);
  padding: 24px 20px 28px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--stone-200);
}
.savings__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.savings__table td {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.savings__amount {
  text-align: right;
  font-weight: 600;
  color: var(--ink-900);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.savings__detail {
  display: block;
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 400;
  margin-top: 2px;
}
.savings__total td {
  border-top: 2px solid var(--ink-900);
  padding-top: 16px;
  font-weight: 600;
}
.savings__bundle td {
  background: var(--accent-soft);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-900);
}
.savings__bundle .savings__amount {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--accent-text);
}
.savings__save td {
  font-weight: 700;
  color: var(--accent-text);
  border-bottom: none;
  padding-top: 8px;
}
.savings__note {
  margin: 16px 0 0;
  padding: 12px 16px;
  background: var(--cream-2);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-700);
}

/* ---------- What changes ---------- */

.changes__block {
  margin: 32px 0;
  padding: 24px;
  background: var(--cream-2);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
}
.changes__close {
  margin: 32px 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink-800);
  font-style: italic;
}

/* ---------- About Margaret (no image now) ---------- */

.signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-800);
  margin-top: 24px;
}

/* ---------- FAQ ---------- */

.faq { margin-top: 24px; }
.faq__item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.faq__item:last-child { border-bottom: none; }
.faq__q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink-900);
  margin: 0 0 8px;
}
.faq__a {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
}

/* ---------- Final CTA ---------- */

.section--final-cta .countdown {
  margin: 24px auto 32px;
}
.final-cta__sub {
  margin: 0 auto 16px;
  font-size: 17px;
  max-width: 48ch;
  color: var(--stone-200);
}
.final-cta__micro {
  margin: 24px auto 0;
  font-size: 13px;
  color: var(--stone-200);
  max-width: 56ch;
  line-height: 1.6;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--cream-2);
  padding: 32px 0 96px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-700);
  border-top: 1px solid var(--stone-100);
}
.footer p { margin: 0 0 8px; }
.footer a { color: var(--ink-700); text-decoration: underline; }
.footer__legal a { margin: 0 4px; }

/* ---------- Testimonials / pull-quotes ---------- */

.pullquote {
  margin: 0;
  padding: 24px 24px 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--pink-300);
}
.pullquote blockquote {
  margin: 0;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-800);
  letter-spacing: 0;
}
.pullquote figcaption {
  margin-top: 14px;
  font-size: 11px;
  color: var(--pink-wordmark);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.pullquote figcaption strong {
  color: var(--ink-900);
  font-weight: 600;
}

/* Larger pull-quote — used in the dedicated hero testimonial band */
.pullquote--lg {
  padding: 32px 32px 28px;
}
.pullquote--lg blockquote {
  font-size: 17.5px;
  line-height: 1.65;
}

/* Big mid-page callout pull-quote */
.pullquote--callout {
  text-align: center;
  border-left: none;
  background: var(--cream-50);
  padding: 40px 28px 32px;
  border: 1px solid var(--cream-200);
  position: relative;
}
.pullquote--callout::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 0.4;
  color: var(--pink-300);
  margin-bottom: 12px;
}
.pullquote--callout blockquote {
  font-size: 18px;
  line-height: 1.65;
  max-width: 56ch;
  margin: 0 auto;
}
.pullquote--callout figcaption {
  margin-top: 20px;
}

/* Pull-quote on the dark final-CTA section */
.section--final-cta .pullquote {
  background: rgba(255, 255, 255, 0.04);
  border-left-color: var(--pink-300);
  text-align: left;
  max-width: 56ch;
  margin: 0 auto 32px;
}
.section--final-cta .pullquote blockquote {
  color: var(--cream-50);
}
.section--final-cta .pullquote figcaption {
  color: var(--pink-200);
}
.section--final-cta .pullquote figcaption strong {
  color: var(--cream-50);
}

/* Two-up "results" strip — score testimonials side-by-side */
.results-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.result-card {
  background: var(--white);
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-200);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.result-card__score {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(48px, 7vw, 72px);
  line-height: 1;
  color: var(--pink-deep);
  letter-spacing: -0.03em;
}
.result-card__score-total {
  font-size: 0.4em;
  color: var(--ink-500);
  font-weight: 500;
  font-style: normal;
  margin-left: 4px;
  letter-spacing: 0;
}
.result-card__score-pct {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-wordmark);
  margin-top: 4px;
}
.result-card blockquote {
  margin: 0;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-800);
}
.result-card figcaption {
  font-size: 12px;
  color: var(--pink-wordmark);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.result-card figcaption strong {
  color: var(--ink-900);
  font-weight: 600;
}

/* Section variants for testimonial bands */
.section--testimonial-band {
  background: var(--cream-50);
  padding: 64px 0;
}
.section--testimonial-callout {
  background: var(--white);
  padding: 80px 0;
}
.section--results {
  background: var(--cream-100);
  padding: 64px 0;
  text-align: center;
}
.section--results .h2 { text-align: center; }

@media (min-width: 768px) {
  .results-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .section--testimonial-band { padding: 80px 0; }
  .section--testimonial-callout { padding: 96px 0; }
  .section--results { padding: 96px 0; }
}

/* ---------- Sticky mobile CTA ---------- */

.sticky-cta {
  display: none;
}
@media (max-width: 767px) {
  .sticky-cta:not([hidden]) {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px 20px;
    background: var(--ink-900);
    color: var(--white);
    text-align: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(26, 20, 22, 0.30);
    z-index: 100;
    animation: stickyIn 280ms ease-out;
  }
  .sticky-cta:hover { background: var(--ink-800); text-decoration: none; }
  body.has-sticky-cta { padding-bottom: 80px; }
}
@keyframes stickyIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ============================================================
   DESKTOP / TABLET
============================================================ */

@media (min-width: 768px) {
  .section { padding: 96px 0; }

  .hero { padding: 64px 0 96px; }
  .hero__photo { max-width: 320px; margin-bottom: 40px; }

  /* who blocks stay as horizontal rows on desktop too */

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .savings { padding: 32px 40px 36px; }
  .savings__table { font-size: 16px; }

  .footer { padding: 40px 0; }
}

@media (min-width: 1024px) {
  .hero__photo { max-width: 360px; }
}
