/* Shared product-page layout rhythm */
:root{
  --book-rhythm-section:clamp(3rem,5vw,4rem);
  --book-rhythm-hero-end:clamp(3.25rem,5vw,4.25rem);
  --book-rhythm-heading-gap:1.1rem;
  --book-rhythm-cta:clamp(4.5rem,7vw,6rem);
}

.bd-hero{
  gap:clamp(2.5rem,5vw,4rem);
  padding:clamp(2rem,4vw,3rem) 0 var(--book-rhythm-hero-end);
}

.bd-section{padding:var(--book-rhythm-section) 0}

.bd-section .overline{margin-bottom:.75rem}

.bd-section-title{
  line-height:1.2;
  margin-bottom:var(--book-rhythm-heading-gap);
}

.bd-section .bd-learn-grid,
.bd-section .bd-faq,
.bd-section .bd-related-grid,
.bd-section .bd-specs{margin-top:0}

.bd-section .bd-reviews-empty{margin:0 auto}

.bd-section .inside-book-carousel{margin-top:1.75rem}

.bd-section .bd-word-card{margin-top:.25rem}

.bd-learning-together{background:var(--cream,#f5edd6)}
.bd-learning-graphic{display:block;width:min(100%,900px);height:auto;margin:1.5rem auto 0;border-radius:18px;box-shadow:0 12px 32px rgba(74,46,26,.14)}

.cta-strip{padding:var(--book-rhythm-cta) 0}
.cta-inner .overline{margin-bottom:.85rem}
.cta-heading{margin-bottom:1rem}
.cta-sub{margin-bottom:2rem}

footer{padding:clamp(3.5rem,5vw,4.5rem) 0 clamp(2rem,3vw,2.5rem)}
.footer-grid{
  gap:clamp(2rem,4vw,3rem);
  padding-bottom:clamp(2.5rem,4vw,3.25rem);
}

@media(max-width:900px){
  .bd-hero{padding-top:1.5rem}
}

@media(max-width:640px){
  :root{--book-rhythm-heading-gap:1rem}
  .bd-section .overline{margin-bottom:.65rem}
  .bd-section .inside-book-carousel{margin-top:1.5rem}
}
