/* Page rhythm. One gap unit, --g, is the space between the top bar and the headline. Every section has --g above and
   below its content, so two white sections stacked sit 2 x --g apart, and a section with its own background (hero glow,
   stats band, tinted, navy) has exactly --g between its edge and its text. On desktop --g is sized so the first screen
   (top bar, hero, six offers, stats strip) fits the window with --g above the headline and --g under the strip. */
:root{--g:28px}
@media (min-width:981px){:root{--g:clamp(20px,calc((100svh - 640px) / 8),44px)}}

.hero{padding-top:calc(var(--g) - 8px);padding-bottom:var(--g)} /* 8px: the headline's own line spacing, so the visible gap matches */
#offerings,#journey,#students,#why,.book,.nums,footer.site-footer{padding-top:var(--g);padding-bottom:var(--g)}
.sec-h,#offerings .sec-h{margin-bottom:var(--g)}

/* first screen on desktop: everything sits inside the window */
@media (min-width:981px){
  .hero h1{font-size:clamp(30px,4.4vw,min(48px,5.1svh))}
  .hero p.sub{margin-top:clamp(6px,1.4svh,14px);font-size:clamp(15px,2svh,18px)}
  .hero .cta{margin-top:clamp(8px,2svh,22px)}
  .mqt span{padding:8px 22px;margin:3px 10px}
  #offerings .offers{gap:clamp(10px,1.6svh,16px) 16px}
  #offerings .offer{min-height:clamp(76px,10.4svh,104px);padding-top:6px;padding-bottom:6px}
  #offerings .offer b{font-size:clamp(16px,2.3svh,19px);max-width:70%}
  #offerings .offer em{font-size:clamp(13px,1.8svh,15px)}
  .fs{display:flex;flex-direction:column;min-height:calc(100svh - 81px);padding-bottom:var(--g)}
  .fs #offerings{flex:1;display:flex;flex-direction:column;justify-content:center}
  .fs #offerings>.x{width:100%}
}

/* Sub-headings share one size: section eyebrows (Our admits, Why Pragmatly, ...) and the line under the hero headline */
.eyebrow,#students .eyebrow,.students .eyebrow{font-size:14px;letter-spacing:.16em}
.hero p.sub,.hero .sub{font-size:14px}
@media (min-width:981px){.hero p.sub{font-size:14px}}

/* hero line under the headline: same size as the "Our admits" label */
.hero p.sub,.hero .sub,.hero p.sub{font-size:clamp(16px,1.6vw,20px);font-weight:600;line-height:1.4}
@media (min-width:981px){.hero p.sub{font-size:clamp(16px,1.6vw,20px)}}
