/* ENTTEC type scale: the ONE place a heading or text size is written (#9091).

   Every heading on every page takes its size, weight and line height from here,
   through the tokens in enttec-design-system.php (base :root). Components choose a
   ROLE, never a size: a heading whose tag is right needs nothing; a heading whose
   tag and look differ (an h2 used as a card name) takes a role class (.eds-h3) or,
   where the markup is not ours, an entry in type-roles.css. Literal sizes on
   headings fail scripts/ci/type-lint.sh.

   Plain element selectors on purpose: no :where() and no @layer, because either
   would let any leftover component rule silently win. Printed after the theme and
   plugin sheets (see enttec-type-scale.php) so equal-specificity third-party rules
   (Bootstrap's h1-h6) lose to it. */

body{
  font-family:var(--enttec-font-body);
  font-size:var(--eds-text-body);
  line-height:var(--eds-lh-body);
  font-weight:var(--eds-weight-body);
}

h1,h2,h3,h4,h5,h6,.eds-h1,.eds-h2,.eds-h2-sub,.eds-h3{
  font-family:var(--enttec-font-display);
  line-height:var(--eds-lh-heading);
  letter-spacing:normal;
}
/* Tracking stays 0 on every heading, H1 included: the spec's -0.01em pinches the "TT"
   in ENTTEC (docs/DESIGN.md, Type). */
h1,.eds-h1{
  font-size:var(--eds-h1);
  font-weight:var(--eds-weight-heading);
}
/* Display: hero titles only (an H1 that opens a flagship page). Same weight as H1, tighter
   leading for the larger size. Never on a section heading or body copy. */
.eds-display,.eds-display-s,.eds-display-m,.eds-display-l,.eds-display-xl{
  font-size:var(--eds-display);
  font-weight:var(--eds-weight-heading);
  line-height:var(--eds-lh-display);
}
/* The display ramp as role classes: the step a hero or big section head had live. */
.eds-display-s{font-size:var(--eds-display-s)}
.eds-display-m{font-size:var(--eds-display-m)}
.eds-display-l{font-size:var(--eds-display-l)}
.eds-display-xl{font-size:var(--eds-display-xl)}
h2,.eds-h2{
  font-size:var(--eds-h2);
  font-weight:var(--eds-weight-heading);
}
/* h4-h6 have no row in the spec: they read as sub headings, so they share H3
   (and Bootstrap's rem sizes would put h5/h6 under the 12px floor). */
/* Between H3 and H2: headings that were 21-24px live (legal and FAQ section heads,
   accordion titles). A role class, never the default for a tag. */
.eds-h2-sub{
  font-size:var(--eds-h2-sub);
  font-weight:var(--eds-weight-h3);
}
h3,h4,h5,h6,.eds-h3{
  font-size:var(--eds-h3);
  font-weight:var(--eds-weight-h3);
}

/* Text roles, for elements that are not headings, or headings that read as text. */
.eds-text-article{font-size:var(--eds-text-article);line-height:var(--eds-lh-article)}
.eds-text-secondary{font-size:var(--eds-text-secondary)}
.eds-text-small{font-size:var(--eds-text-small)}
.eds-text-label{font-size:var(--eds-text-label)}
.eds-text-lead{font-size:var(--eds-text-lead);line-height:var(--eds-lh-lead);font-weight:var(--eds-weight-body)}
/* Stats and prices only: the one role allowed above H2, so every use is labelled. Never on words or a heading. */
.eds-text-figure{font-family:var(--enttec-font-display);font-size:var(--eds-text-figure);font-weight:var(--eds-weight-heading);line-height:1.1;font-variant-numeric:tabular-nums}
/* Pull quotes: H2 size at body weight, no token of their own. */
.eds-text-quote{font:var(--eds-weight-body) var(--eds-h2)/1.35 var(--enttec-font-display)}
