/* Site-wide colour and card system (every page).
   Borrowed discipline: one accent (the hero-sky blue), ink plus two greys
   for text, and one card treatment: white, 1px hairline, 4px corners, no
   shadow or glass. Loaded last on every page so it settles drifted rules. */
:root{
  --fb-ink:#FFFFFF;
  --fb-body:rgba(169,174,181,1);
  --fb-meta:rgba(169,174,181,0.9);
  --fb-line:rgba(94,99,107,0.264);
  --fb-accent:#3CCBC4;
}

/* One card */
html body .leak-card,html body .audit-step-in,html body .hr-card,html body .eg-card:not(.eg-card--lead),
html body .testi-card,html body .roi-card,html body .why-card,html body .ab-quote,html body .blog-card,
html body .key-takeaways,html body .nl-box,html body .related-reading,html body .res-mini,
html body .lead-calculator-card,html body main .card,html body .wk-strip,html body .sa-item,
html body .svcb,html body .ind-card,html body .step-item,html body .svc-card,html body .ab-guarantee{
  border-radius:4px!important;box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body .leak-card,html body .audit-step-in,html body .testi-card,html body .roi-card,html body .why-card,
html body .ab-quote,html body .blog-card,html body .key-takeaways,html body .nl-box,html body .related-reading,
html body .res-mini,html body main .card,html body .wk-strip,html body .sa-item,html body .ind-card,html body .svc-card{
  background:#15171C!important;border:1px solid var(--fb-line)!important}
html body .sa-item[open]{background:#15171C!important;box-shadow:none!important}
html body .testi-card:hover,html body .why-card:hover,html body .blog-card:hover,html body .wk-strip:hover,
html body .sa-item:hover,html body .roi-card:hover{transform:none!important;box-shadow:none!important;border-color:rgba(255,255,255,0.35)!important}

/* Location pages: the old dark route cards become the light card */
html body .svcb.dark-card.dark-card.dark-card.dark-card{background:#15171C!important;border:1px solid var(--fb-line)!important;color:var(--fb-ink)!important}
html body .svcb.dark-card.dark-card.dark-card.dark-card .svcb-meta,
html body .svcb.dark-card.dark-card.dark-card.dark-card .svcb-meta p{color:var(--fb-body)!important}
html body .svcb.dark-card.dark-card.dark-card.dark-card .svcb-photo-title{color:#FFFFFF!important}
html body .svcb.dark-card.dark-card.dark-card.dark-card .svcb-photo{border-radius:3px 3px 0 0!important}
html body .svcb[data-tilt]{transform:none!important}

/* ── One type scale (every page) ───────────────────────────────────────────
   Each text role has one size, weight and tracking site-wide. The :not(#\#)
   adds id-level specificity so these settle the older per-page !important
   rules. Long-form reading (blog article bodies, legal pages) keeps its own
   scale, as do one-off pieces: the location-page opening statement and the
   lead calculator's form heading. */

/* Eyebrow labels above headings */
html body :is(.section-label,.a-eyebrow,.ab-eyebrow,.pb-eyebrow,.card-label,.res-eyebrow,.h1-kicker,.hf-eyebrow,.hero-tag,.hero-tag span):not(#\#){
  font-size:11px!important;font-weight:500!important;letter-spacing:.16em!important;text-transform:uppercase!important}

/* Page headlines: sizes stay with each hero; weight and tracking match.
   Regular (400): at this size the scale already carries the hierarchy. */
html body h1:not(:is(.article-body,.article-header,.legal-wrap) *):not(#\#){
  font-weight:400!important;letter-spacing:-.03em!important}

/* Section titles */
html body h2:not(.card-h,.st-statement):not(:is(nav,footer,#mobileMenu,.article-body,.legal-wrap) *):not(#\#){
  font-size:clamp(32px,4.2vw,52px)!important;font-weight:400!important;line-height:1.06!important;letter-spacing:-.03em!important}

/* Card and item titles */
html body h3:not(:is(nav,footer,#mobileMenu,.article-body,.legal-wrap) *):not(#\#){
  font-size:20px!important;font-weight:500!important;line-height:1.25!important;letter-spacing:-.02em!important}

/* Subtext directly under a section title */
html body h2:not(.card-h):not(:is(nav,footer,#mobileMenu,.article-body,.legal-wrap) *) + p:not(#\#),
html body :is(.section-sub,.ab-body,.eg-head p,.roi-head p,.why-head p,.a-head p):not(#\#){
  font-size:17px!important;font-weight:400!important;line-height:1.6!important;letter-spacing:0!important}

/* Card and item text */
html body h3:not(:is(nav,footer,#mobileMenu,.article-body,.legal-wrap) *) + p:not(.hr-line,.eg-line):not(#\#){
  font-size:15px!important;font-weight:400!important;line-height:1.6!important;letter-spacing:0!important}

/* Bold phrases inside text */
html body :is(p,li,dd,td) :is(strong,b):not(#\#){font-weight:500!important}

/* Display headings (32px and up) are regular weight everywhere, including the
   blog article titles and the location-page opening statement; headings below
   that size (card titles, article and legal sub-heads) stay medium. */
html body :is(.article-header h1,h1.article-title,.st-statement):not(#\#){font-weight:400!important}

/* ---- Phone consistency (2026-11-07) ------------------------------------
   One size for each kind of thing on every page at phone width: the main
   buttons, the small caps labels and the footer form button. (Blog headlines
   share the page-headline size in typography.css.) */
@media (max-width: 767px){
  html body :is(a.btn-primary, a.btn-primary-dark, a.btn-primary-light, a.hf-btn, .btn-ghost):not(#\#){font-size:15px !important;line-height:20px !important;padding-top:17px !important;padding-bottom:17px !important}
  html body .wk-tag, html body .nl-covers-label, html body .nf-more-label, html body .related-label{font-size:11px !important}
  html body footer.fb-footer .gf-btn{min-height:43px !important}
}
