/**
 * Softmatic global typography v1.2.0
 * One font family for all public-facing site typography. This sheet loads last,
 * after old page CSS bundles, to override legacy heading/body font stacks.
 */
:root {
  --sm-brand-font: 'Instrument Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sm-system-font: var(--sm-brand-font);
  --sm-heading-font: var(--sm-brand-font);
  --sm-body-font: var(--sm-brand-font);
  --sm-section-heading-font: var(--sm-brand-font);
  --sm-type-font: var(--sm-brand-font);
  --sm-font: var(--sm-brand-font);
  --sm-header-typeface: var(--sm-brand-font);
  --wp--preset--font-family--heading: var(--sm-brand-font);
  --wp--preset--font-family--body: var(--sm-brand-font);
}

/* The :not(#...) sentinel adds specificity intentionally. Legacy v1.x bundles
   contain deeply scoped !important font rules; these override them safely
   without changing font size, weight, color, spacing, or layout properties. */
html body,
html body :not(#sm-font-sentinel):not(svg):not(svg *):not(code):not(pre):not(kbd):not(samp):not(pre *):not(code *) {
  font-family: var(--sm-brand-font) !important;
}

/* Keep code examples typographically distinct and legible. */
html body :is(code, pre, kbd, samp),
html body :is(code, pre) * {
  font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace !important;
}
