/* Sousa Murray typography system — website, My Sousa Murray and Directory.
   Body/UI: Inter. Headings: Plus Jakarta Sans.
   Apply to every first-party interface without changing brand icons or SVGs. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font-sans: "Inter", sans-serif;
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --sm-font-body: "Inter", sans-serif;
  --sm-font-heading: "Plus Jakarta Sans", sans-serif;
}

/* Consolidate legacy storefront, portal and Directory font declarations.
   Deliberately do not override icon-font glyphs or generated SVG artwork. */
html body,
#root :where(
  div, section, article, aside, header, footer, main, nav, dialog,
  p, span, small, strong, em, b, i, label, a, button, input, textarea,
  select, option, legend, fieldset, summary, details, li, ul, ol,
  table, thead, tbody, tfoot, tr, th, td, blockquote, cite, time
) {
  font-family: var(--sm-font-body) !important;
}

#root :is(h1, h2, h3, h4, h5, h6, [role="heading"]) {
  font-family: var(--sm-font-heading) !important;
}

#root :where(input, textarea, select, button) {
  font: inherit;
  font-family: var(--sm-font-body) !important;
}

#root :where(input, textarea)::placeholder {
  font-family: var(--sm-font-body);
}

html body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
