/* r48 (3 Nov 2026): one type scale for every subpage, taken from the homepage. Loaded last on each subpage by
   build-templates.py, so the same kind of text has the same size, weight and colour on every page.
   Section labels 16px; section headings 56px, weight 500; body text 18px; hero intro 20px; text on charcoal #c4cacd.
   Left alone on purpose: the CTA banner headings, small banners, the Credentials display type and the legal page. */

/* section labels */
html body.subpage main .sp-label{font-size:16px!important;font-weight:500!important}

/* section headings, including the FAQ heading */
html body.subpage main h2:not(.t-cta h2):not(.sp-cta h2):not(.t-small-banner h2):not(.t-project-facts h2):not(.t-project-cover h2):not(.ab-careers h2):not(.t-legal h2){
 font-size:clamp(36px,3.9vw,56px)!important;font-weight:500!important;line-height:1.02!important;letter-spacing:-.04em!important}

/* hero headings: 86px on full-width heroes, 72px where the heading shares the row with a picture */
html body.subpage main h1:not(.cx-cred-top h1){font-size:clamp(44px,6vw,86px)!important}
html body.subpage main .t-service-cover h1:not(#_),html body.subpage main .ix-hero-duo h1:not(#_),html body.subpage main .cx-gc-hero h1:not(#_),
html body.subpage main .ab-hero h1:not(#_),html body.subpage main .cx-car-hero h1:not(#_){font-size:clamp(44px,5vw,72px)!important}

/* body text */
html body.subpage main p:not(.sp-label):not(.ab-statement):not(.cx-big):not(.sp-form-note):not(.cx-paths-note):not(.cx-logo-label):not(.tf-foot):not(.t-legal p):not(.cx-path-k):not(.cx-mark):not(.cx-sheet-h):not(.sp-files){font-size:18px!important}
/* hero intro */
html body.subpage main .ix-lead,html body.subpage main .t-cover-base,html body.subpage main .cover-base,
html body.subpage main .sp-intro-bottom p,html body.subpage main .ab-hero-copy>p:not(.sp-label),
html body.subpage main .cx-car-hero p:not(.sp-label),html body.subpage main .cx-gc-hero p:not(.sp-label):not(.cx-sheet-h){font-size:20px!important}

/* text on charcoal */
html body.subpage main :is(.t-dark,.ab-shop,.ab-cred) p:not(.sp-label):not(.cx-big){color:#c4cacd!important}

@media(max-width:750px){
 html body.subpage main .sp-label{font-size:15px!important}
 html body.subpage main h2:not(.t-cta h2):not(.sp-cta h2):not(.t-small-banner h2):not(.t-project-facts h2):not(.t-project-cover h2):not(.ab-careers h2):not(.t-legal h2){font-size:36px!important;line-height:1.04!important}
 html body.subpage main h1:not(.cx-cred-top h1),html body.subpage main .t-service-cover h1:not(#_),html body.subpage main .ix-hero-duo h1:not(#_),
 html body.subpage main .cx-gc-hero h1:not(#_),html body.subpage main .ab-hero h1:not(#_),html body.subpage main .cx-car-hero h1:not(#_){font-size:44px!important}
 html body.subpage main p:not(.sp-label):not(.ab-statement):not(.cx-big):not(.sp-form-note):not(.cx-paths-note):not(.cx-logo-label):not(.tf-foot):not(.t-legal p):not(.cx-path-k):not(.cx-mark):not(.cx-sheet-h):not(.sp-files){font-size:17px!important}
 html body.subpage main .ix-lead,html body.subpage main .t-cover-base,html body.subpage main .cover-base,
 html body.subpage main .sp-intro-bottom p,html body.subpage main .ab-hero-copy>p:not(.sp-label),
 html body.subpage main .cx-car-hero p:not(.sp-label),html body.subpage main .cx-gc-hero p:not(.sp-label):not(.cx-sheet-h){font-size:18px!important}
}
