/* Type scale for the whole site (loaded last on every page). One size, weight, line height and
   tracking per level, each growing smoothly from phone to desktop:
     H1 page heading        36 → 56px    600   1.10  -0.05em
     H2 section heading     28 → 44px    600   1.15  -0.045em
     H3 large (feature)     22 → 26px    700   1.25  -0.035em
     H3 card title          18 → 20px    700   1.30  -0.02em
     Lead (intro) text      16 → 19px    400   1.65
     Body / card text       15.5 → 17px  400   1.65
     Sources and notes      13px at every width
   Tracking tightens as size grows; leading loosens as it shrinks. Selectors start with #main#main
   so they outrank the older per-page rules without !important. Text inside the interactive
   panels (scan, value gates) keeps its own sizes. */
/* Each size grows in a straight line from a 375px phone to a 1280px desktop, then holds */
:root{--t-h1:clamp(36px,2.21vw + 27.7px,56px);--t-h2:clamp(28px,1.77vw + 21.4px,44px);--t-h3l:clamp(22px,.44vw + 20.3px,26px);
  --t-h3:clamp(18px,.22vw + 17.2px,20px);--t-lead:clamp(16px,.33vw + 14.76px,19px);--t-card:clamp(15.5px,.166vw + 14.88px,17px);--t-note:13px}

/* H1: the heading at the top of each page */
#main#main :is(.scan-hero-copy,.sub-hero,.contact-deck-layout) h1{font-size:var(--t-h1);font-weight:600;line-height:1.1;letter-spacing:-.05em}

/* H2: section headings and the closing panels */
#main#main :is(.section-intro,.closing-content,.phase-copy,.gateway-intro) h2{
  font-size:var(--t-h2);font-weight:600;line-height:1.15;letter-spacing:-.045em}

/* H3 card titles */
#main#main :is(.deck-card,.capability-step,.join-step,.cf-body,.bv-cmp-way) h3{
  font-size:var(--t-h3);font-weight:700;line-height:1.3;letter-spacing:-.02em}
/* H3 large: headings that lead a panel of their own */
#main#main :is(.deck-chart-head,.founder-preview) h3,
.page-methodology #main#main>.muon-section:nth-of-type(2) .deck-card h3{
  font-size:var(--t-h3l);font-weight:700;line-height:1.25;letter-spacing:-.035em}

/* Lead text: the line under a page or section heading */
#main#main .hero-desc,#main#main .section-intro .intro-side,#main#main .scan-hero-copy>p:not(.hero-kicker),
#main#main .closing-content>p:not(.kicker),#main#main .contact-deck-layout>div>p,#main#main .phase-copy>p:not([class]){
  font-size:var(--t-lead);line-height:1.65}

/* Body text: cards, tables, captions, points and other running text */
#main#main :is(.deck-card,.capability-step,.join-step,.cf-body,.research-card,.research-bottom,.deck-chart-head) p:not([class]),
#main#main :is(.bv-cmp-without,.bv-cmp-with,.ve-text,.deck-postscript),
#main#main .wq-item p,#main#main .phase-points small,#main#main .ce-stat span,
#main#main .gwb-frame p,#main#main .gwb-cap-desc{font-size:var(--t-card);line-height:1.65}
#main#main .phase-copy .phase-pull{font-size:var(--t-card)!important} /* styles.css forces 15px with !important */

/* Sources and notes */
#main#main :is(.ce-source,.form-note),#main#main .deck-chart-legend span,#main#main p small,
#main#main :is(.research-card,.research-bottom) small{font-size:var(--t-note)}
#main#main .deck-note{font-size:var(--t-note)!important} /* styles.css forces 12px with !important */
