/* x25lab v14.2 – semantics first, visuals locally scoped.
   Never apply a page-wide font-size reset: forms, legal content, modal,
   dropdown, footer and chatbot must retain their normal components. */
body:is(.x25-public-express,.x25-public-chrome-only) main :is(h4,h5,h6).x25-h3-visual{
  font-family:var(--x-font,'X25 Space Grotesk','Segoe UI',Arial,sans-serif);
  font-size:clamp(19px,1.65vw,26px);
  line-height:1.3;
  font-weight:700;
  letter-spacing:-.018em;
  color:var(--x-ink,#133c31);
  overflow-wrap:break-word;
  margin-block:0 12px;
}
/* Card headline parity with existing H3 – avoid oversized headings. */
body:is(.x25-public-express,.x25-public-chrome-only) main :is(.pitch-panel,.cert-card,.faq-topic-card,.reference-card,.about-overview-card,.x25-story-service,.x25ph-note) :is(h4,h5,h6).x25-h3-visual{
  font-size:clamp(16px,1.35vw,19px);line-height:1.33;
  margin:9px 0 10px;color:#123427;
}
body:is(.x25-public-express,.x25-public-chrome-only) main .x25prj-card :is(h4,h5,h6).x25-h3-visual{
  font-size:clamp(22px,2vw,30px);letter-spacing:-.035em;
  margin:25px 0 10px;
}
body:is(.x25-public-express,.x25-public-chrome-only) main .x25prj-card--branded :is(h4,h5,h6).x25-h3-visual{
  font-size:clamp(21px,1.7vw,28px);line-height:1.13;margin:0;
}
body:is(.x25-public-express,.x25-public-chrome-only) main .x25ph-next :is(h4,h5,h6).x25-h3-visual{
  font-size:24px;margin:0;
}
body:is(.x25-public-express,.x25-public-chrome-only) main .shop-card :is(h4,h5,h6).x25-h3-visual{
  font-size:18px;line-height:1.3;color:#123c29;
}
/* The legal-notice cards must keep their original compact title scale. */
body.job-pitch--imprint main .imprint-card :is(h4,h5,h6).x25-h3-visual{
  font-size:clamp(19px,1.55vw,23px);margin:0 0 18px;line-height:1.3;
}
/* Preserve modal/footer UI typography even after tag corrections. */
body:is(.x25-public-express,.x25-public-chrome-only) :is(.modal,[role="dialog"],#x25-public-footer,.x25-public-footer,.mcHpSection) :is(h4,h5,h6).x25-h3-visual{
  font-size:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;
}
