/* Alte Haas Grotesk is the marketing headline face; body copy keeps SF Pro / Geist. */

@font-face {
  font-family: "Alte Haas Grotesk";
  src: url("alte-haas-grotesk.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
}

:root {
  --dims-font-headline: "Alte Haas Grotesk", "SF Pro Display Medium", system-ui, sans-serif;
}

/* Product LP / Loops statement + section headlines */
html[data-dims-page],
html [data-dims-page] {
  --ls-display: var(--dims-font-headline);
}

/* Headings, plus big display text that isn't marked up as a heading.
   AT Brunea pixel accents and in-mockup theme fonts keep their own face. */
:is(h1, h2, h3, h4, h5, h6, .dims-ov-num, .dims-sales-card__stat, .dims-presaves-story__line,
  [data-dims-modes-goto], .ls-mw),
:is(h1, h2, h3, h4, h5, h6) *:not(.dims-hero__rotator-word, .dims-hero__rotator-word *, .dims-claim-pixel, .dims-claim-pixel *, .dims-modes__n) {
  font-family: var(--dims-font-headline) !important;
  font-synthesis: none;
}

/* Nav + footer wordmark ("Dimensions.FM") in the headline face. */
.dims-logo .dims-logo__word {
  font-family: var(--dims-font-headline);
  font-synthesis: none;
}
