/* Shared public typeface. Component sizes and weights are independent. */
:root {
  --editorial-face: 'Manrope', Arial, sans-serif;
  --title-weight: 700;
  --title-tracking: .024em;
  --text-tracking: .012em;
}
body[data-page] { letter-spacing: var(--text-tracking); }
body[data-page] :is(button,input,textarea,select)::placeholder { letter-spacing: var(--text-tracking); }
body[data-page] :is(button,input,textarea,select), body[data-page] #main-nav a {
  letter-spacing: var(--text-tracking);
}
body[data-page] .service-forms .sf-quote-total,
html:root body main#top :is(h1,h2,h3,h4),
html:root body #site-footer :is(h2,.foot-brand) {
  font-family: var(--editorial-face);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-tracking);
  text-wrap: balance;
}
html:root body main :is(h1,h2,h3,h4,.job-title,.button,.mp-related a,.mp-cta a,.mast-copy .actions a) {
  font-family: var(--editorial-face);
  font-weight: 500;
}
html:root body main :is(p,.intro,.mp-group li,.policy-text li) {
  font-family: var(--editorial-face);
}

/* Older page and component styles used underlines for links and focus. */
@layer interaction {
  :where(*, *::before, *::after) {
    text-decoration-line: none !important;
  }
  :focus-visible {
    outline: 2px solid currentColor !important;
    outline-offset: 3px;
  }
}

/* Some legacy page templates still set their own font shorthand. Apply the public
   typeface to copy and controls while preserving icon glyphs and code samples. */
@layer public-typography {
  :where(body, h1, h2, h3, h4, h5, h6, p, a, nav, ul, ol, li, label, legend,
         button, input, select, option, textarea, small, strong, em, b, span,
         dt, dd, summary, table, th, td, figcaption, blockquote, address, output,
         section, article, header, footer, form, fieldset, main, div) {
    font-family: var(--editorial-face) !important;
  }
  input::file-selector-button {
    font-family: var(--editorial-face) !important;
  }
}
