/* ==========================================================================
   TYPOGRAPHY SYSTEM — single source of truth, loaded LAST on EVERY page.
   ----------------------------------------------------------------------------
   ONE consistent rule site-wide:
     • Headings + UI chrome → Inter          (var --font-primary)
     • Body / reading text  → Source Sans 3  (var --font-secondary)

   The theme historically hardcoded fonts ~600 times across many stylesheets
   (and their .css / .unmin.css twins), with conflicts (e.g. .ac-approach__subtext
   was Inter in one file and Source Sans 3 in another) — so the running font
   varied by page and load order. This file normalises all of it with !important
   so the rule is identical everywhere. Fully reversible: dequeue this file.

   Scope notes:
   - Icon fonts / <code>/<pre> are NOT targeted, so they keep their own faces.
   - The decorative serif quote glyph (.ac-capp-bigquote__mark) is intentionally
     left alone — it's an ornament, not reading text.
   ========================================================================== */

:root {
  --font-primary:   'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-secondary: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* ---- Body / reading text → Source Sans 3 -------------------------------- */
body,
p, li, dd, dt,
blockquote, figcaption,
table, th, td,
input, textarea, select {
  font-family: var(--font-secondary) !important;
}

/* ---- Headings + UI chrome → Inter -------------------------------------- */
h1, h2, h3, h4, h5, h6,
.wp-block-heading,
button, .ac-btn, .wp-block-button__link,
.ac-nav__list a, .ac-nav-cta, .ac-mobile-menu a,
.ac-badge, .ac-label, .racetrack-badge, .friction-tag,
[class*="__title"],
[class*="__headline"],
[class*="__heading"],
[class*="__eyebrow"] {
  font-family: var(--font-primary) !important;
}
