/* ---------- Shared type scale: one size, weight and line-height for headings and paragraphs on every page ----------
   Family, weight and letter-spacing come from design.css (Poppins headings, Inter body). This file only fixes the sizes,
   so a page sheet can no longer make its own H1/H2/H3 bigger or smaller. It loads last on purpose and uses !important
   so that page sheets written before the scale existed do not win by specificity. Change the scale here, nowhere else.

   Role                      Desktop      <=1100   <=640
   Page title (h1)           46 / 1.1     40       32
   Section heading (h2)      32 / 1.22    32       25
   Card heading (h3)         15.5 / 1.5   15.5     15.5
   Hero sub-paragraph        16.5 / 1.6   16.5     15
   Section intro paragraph   15.5 / 1.5   15.5     15.5
   Card paragraph            14 / 1.55    14       14
   Body paragraph (plain p)  14 / 1.55    14       14
   Classed p (badge, note, caption, eyebrow) and chart legends are UI labels and keep their own size.
   Every size is the same at every width above, apart from the h1, h2 and hero sub steps in the table.
*/
.site-shell main h1 {
  font-size: 46px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
}
.site-shell main h2 {
  font-size: 32px !important;
  line-height: 1.22 !important;
  font-weight: 700 !important;
}
.site-shell main :is(section, article, div) h3:not(.demo-card h3) {
  font-size: 15.5px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}
.site-shell main .hero .sub,
.site-shell main .hero-sub,
.site-shell main .kh .sub {
  font-size: 16.5px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}
.site-shell main .ctr > p,
.site-shell main .lead,
.site-shell main .section-sub {
  font-size: 15.5px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}
.site-shell main .bc p {
  font-size: 14px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

/* Body paragraphs: every plain <p> (no class of its own) is 14px, whatever card, tile or step it sits in.
   Classed <p> (badges, notes, captions, eyebrows) are UI labels and keep their own size, and so do chart
   legends and the utility-styled bits on the guided tour. */
.site-shell main p:not([class]):not(.legend p):not([class*="text-["] p):not(:is(.ctr, .sec-head, .section-head, .dhead, .faq-title) > p) {
  font-size: 14px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}
/* Paragraph under a section heading: one size, same as .ctr > p */
.site-shell main :is(.ctr, .sec-head, .section-head, .dhead, .faq-title) > p,
.site-shell main :is(.bigger-copy, .ns-copy) {
  font-size: 15.5px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}

@media (max-width: 1100px) {
  .site-shell main h1 { font-size: 40px !important; }
}
@media (max-width: 640px) {
  .site-shell main h1 { font-size: 32px !important; }
  .site-shell main h2 { font-size: 25px !important; }
  .site-shell main .hero .sub,
  .site-shell main .hero-sub,
  .site-shell main .kh .sub { font-size: 15px !important; }
}
