/* The type scale for every page. One family, eight styles, two weights (400 and 500).
   Loaded last. :is(#t,…) lifts each rule above the older page styles. */
:root{
  --ty-display:clamp(36px,4.6vw,52px);
  --ty-h2:clamp(28px,3.2vw,38px);
  --ty-title:clamp(24px,2.4vw,28px);
  --ty-h3:18px;
  --ty-lead:18px;
  --ty-body:16px;
  --ty-small:14px;
  --ty-label:12px;
}
/* body: the default for running text */
:is(#t,body) :is(p,li,dd,blockquote,blockquote p){font-family:Onest,system-ui,sans-serif!important;font-size:var(--ty-body)!important;line-height:24px!important;font-weight:400!important;letter-spacing:0!important}
/* emphasis inside text keeps the size, only the weight changes */
:is(#t,body) :is(p,li,dd,td,th,figcaption,span) :is(b,strong,em,mark,a,.tt){font-size:inherit!important;line-height:inherit!important;letter-spacing:inherit!important}
:is(#t,body) :is(p,li,dd,td,th,figcaption) :is(b,strong){font-weight:500!important}
:is(#t,body) :is(p,li,dd,td,th,figcaption) :is(em,mark,.tt){font-weight:inherit!important}
:is(#t,body) p.key{font-weight:500!important}

/* display */
:is(#t,body) h1,:is(#t,body) h1 em{font-family:Onest,system-ui,sans-serif!important;font-size:var(--ty-display)!important;line-height:1.15!important;line-height:round(up,1.12em,4px)!important;font-weight:400!important;letter-spacing:-.02em!important}
/* heading */
:is(#t,body) :is(h2,h2.sh,h2.part-t),:is(#t,body) h2 :is(span,em){font-family:Onest,system-ui,sans-serif!important;font-size:var(--ty-h2)!important;line-height:1.2!important;line-height:round(up,1.16em,4px)!important;font-weight:500!important;letter-spacing:-.02em!important}
/* subheading: card, row, slide and link titles */
:is(#t,body) :is(h3,h4,.pt,.gname,.pn b,.res.goals .rc>b,.who>b){font-family:Onest,system-ui,sans-serif!important;font-size:var(--ty-h3)!important;line-height:24px!important;font-weight:500!important;letter-spacing:-.01em!important}
/* title: figures, statements, large slide titles */
:is(#t,body) :is(.res:not(.goals) .rc>b,.dk b,.pstate p,.pstate p em,.principle p,.principle p em,.bc-s h3,.cm-car .steps h3,.story-car:not(.wf-car) .steps h3,.hhero .htt,.logos span,.pc.lead .pt){font-family:Onest,system-ui,sans-serif!important;font-size:var(--ty-title)!important;line-height:1.25!important;line-height:round(up,1.2em,4px)!important;font-weight:500!important;letter-spacing:-.01em!important}
/* lead */
:is(#t,body) :is(p.lede,p.lede2,p.part-s,.hero .sub,.hero .eyebrow,.ab-hero p:not(.ab-cta),.hhero .ht p:not(.htt)){font-size:var(--ty-lead)!important;line-height:28px!important;font-weight:400!important;letter-spacing:0!important}
/* card text is body text, not a style of its own */
:is(#t,body) :is(#t,.rc,.dk) :is(h3,p){font-size:var(--ty-body)!important;line-height:24px!important;font-weight:400!important;letter-spacing:0!important}
:is(#t,body) .card p{line-height:24px!important}
/* small: captions, notes, tables, meta */
:is(#t,body) :is(td,tbody td,figcaption,figcaption span,p.note-sm,p.gcap,.gcap,.fine,.car-count,.bc-count,.lnk,.d,.ab-list span,.ab-skills li,.pgrid .pc p,.dk p,.clipfoot p,.stage-cap,.btn,.chip,.mono.one,.sitefoot~footer span,.fl a,.udx,.nav a,.links a,.ab-cta :is(a,button)){font-family:Onest,system-ui,sans-serif!important;font-size:var(--ty-small)!important;line-height:20px!important;letter-spacing:0!important}
:is(#t,body) :is(.lnk,.btn,.ab-cta a,.ab-cta button){font-weight:500!important}
:is(#t,body) :is(td,figcaption,p.note-sm,.gcap,.fine,.car-count,.bc-count) {font-weight:400!important}
/* label: the only uppercase style */
:is(#t,body) :is(.label,.mono:not(p),dt,dt.mono,thead th,tbody th,.tags span,.tag,.udbtn,.chip.mono,.card>.chip,.logos small,.rule-ref,.part-n,.eyebrow.mono){font-family:Onest,system-ui,sans-serif!important;font-size:var(--ty-label)!important;line-height:16px!important;font-weight:400!important;letter-spacing:.04em!important}
/* strays from the older page styles */
:is(#t,body) :is(.chips .chip,.card>.chip,span.chip.mono,main .chip){font-size:var(--ty-label)!important;line-height:16px!important;font-weight:400!important;letter-spacing:.04em!important}
:is(#t,body) .hero .chip{font-size:inherit!important;font-weight:inherit!important;letter-spacing:0!important}
:is(#t,body) :is(.bc-count,.car-count){text-transform:none!important}
:is(#t,body) p.mono{font-size:var(--ty-label)!important;line-height:16px!important;letter-spacing:.04em!important}
:is(#t,body) p.mono.stage-cap,:is(#t,body) p.mono.gal-cap{font-size:var(--ty-small)!important}
:is(#t,body) :is(th,th b,th span):not(.sr){font-family:Onest,system-ui,sans-serif!important;font-size:var(--ty-label)!important;font-weight:400!important;letter-spacing:.04em!important;text-transform:uppercase!important}
:is(#t,body) :is(.tl,.ab-role,.ab-list,.about) b{font-size:var(--ty-body)!important;font-weight:500!important;line-height:24px!important;letter-spacing:0!important}
/* the post on X keeps its own look */
:is(#t,body) :is(#t,.twc) *{letter-spacing:0!important}
:is(#t,body) :is(#t,.twc) blockquote p{font-size:17px!important;line-height:1.42!important}
:is(#t,body) :is(#t,.twc) :is(.who,.who b,.who span,.twt){font-size:15px!important;line-height:1.35!important}
:is(#t,body) :is(#t,.twc) .who b{font-weight:700!important}
:is(#t,body) :is(#t,.dk) p{font-size:var(--ty-small)!important}
/* 8px spacing: the last browser defaults */
:is(#t,body) :is(p.lede2,p.note-sm){margin-bottom:16px}
:is(#t,body) :is(.car-btn,.bc-btn){padding:0}
/* the post follows the same grid: 4px line rhythm */
:is(#t,body) :is(#t,.twc) blockquote p{line-height:24px!important}
:is(#t,body) :is(#t,.twc) :is(.who,.who b,.who span,.twt){line-height:20px!important}
