/* WRT home type system. One family (Manrope, 400-600 and 700-900 faces already loaded).
   One role scale replaces ~19 ad-hoc sizes. Scoped to the home page; inner pages untouched. */
body.wb-home.wc-revised.wc-site{
 --t-display:clamp(2.5rem,1.5rem + 4vw,4.5rem);
 --t-h2:clamp(1.875rem,1.4rem + 2vw,2.75rem);
 --t-h3:clamp(1.375rem,1.2rem + .8vw,1.75rem);
 --t-h4:1.25rem;
 --t-lede:clamp(1.0625rem,1rem + .3vw,1.25rem);
 --t-q:1.0625rem;
 --t-body:1rem;
 --t-ui:.9375rem;
 --t-meta:.875rem;
 --t-measure:68ch;
 font-size:var(--t-body);line-height:1.65;
}

/* Display: the hero H1 outranks every section heading by a clear step */
body.wb-home.wc-revised.wc-site h1{font-size:var(--t-display);line-height:1.04;letter-spacing:-.03em;font-weight:800;text-wrap:balance}

/* Section headings: one role */
body.wb-home.wc-revised.wc-site :is(.wb-villari-copy>h2,.wb-t8-grid h2,.wb-section-intro h2,.wb-answer-grid h2,.wb-contact h2){font-size:var(--t-h2);line-height:1.1;letter-spacing:-.02em;font-weight:800;text-wrap:balance}

/* Sub-headings: one role */
body.wb-home.wc-revised.wc-site :is(.wb-workflows h2,.wb-villari-copy h3,.wb-panel-heading h3,.wb-contact-email){font-size:var(--t-h3);line-height:1.2;letter-spacing:-.015em;text-wrap:balance}

/* Card and tab titles */
body.wb-home.wc-revised.wc-site :is(.wb-case-list h4,.wb-industry-tabs button span){font-size:var(--t-h4);line-height:1.25}
body.wb-home.wc-revised.wc-site .wc-footer h2{font-size:var(--t-q);line-height:1.3;letter-spacing:0}

/* Lede paragraphs */
body.wb-home.wc-revised.wc-site :is(.wb-hero-copy>p,.wb-section-intro p,.wb-contact p){font-size:var(--t-lede);line-height:1.6}

/* Body copy: 16px floor, 68ch measure */
body.wb-home.wc-revised.wc-site :is(.wb-workflows p:not(.wb-range-note),.wb-villari-copy p:not(.wb-qualification),.wb-t8-grid p,.wb-answer-grid p,.wb-case-list p,.wb-faq-list p,.wb-problems li){font-size:var(--t-body);line-height:1.65}
body.wb-home.wc-revised.wc-site :is(.wb-hero-copy>p,.wb-section-intro p,.wb-workflows p,.wb-villari-copy p,.wb-t8-grid p,.wb-answer-grid p,.wb-faq-list p,.wb-contact p){max-width:var(--t-measure)}
body.wb-home.wc-revised.wc-site :is(p,li,figcaption){text-wrap:pretty}

/* Questions */
body.wb-home.wc-revised.wc-site .wb-faq-list summary{font-size:var(--t-q);line-height:1.4}

/* UI text: buttons, links, qualification note */
body.wb-home.wc-revised.wc-site :is(.wb-button,.wb-workflows div>a,.wb-range-note a,.wb-panel-heading a,.wb-answer-grid>div>a,.wb-case-list span,.wb-qualification,.wc-footer a,.wc-footer p){font-size:var(--t-ui);line-height:1.5}

/* Meta: captions and fine print, never below 14px */
body.wb-home.wc-revised.wc-site :is(.wb-range-note,.wb-eot figcaption,.wb-t8-grid figcaption,.wc-footer span){font-size:var(--t-meta);line-height:1.5}

/* Buttons: earlier layer pins 14px */
body.wb-home.wc-revised.wc-site a.wb-button{font-size:var(--t-ui)!important}

/* Footer: earlier layers pin these with higher specificity */
body.wb-home .wc-footer h2{font-size:var(--t-q)!important;line-height:1.3!important}
body.wb-home .wc-footer span:not([class]){font-size:var(--t-meta)!important;line-height:1.5!important}

/* Phones: let headings reflow naturally instead of honouring desktop hard breaks */
@media (max-width:600px){
 body.wb-home.wc-revised.wc-site :is(h1,h2,h3) br{display:none}
}
