/*
 * Inter (https://rsms.me/inter/) — SIL OFL 1.1. License: public/fonts/OFL.txt
 *
 * Single source of truth for font families across the whole app. Loaded
 * directly via stylesheet_link_tag from every layout so it stays in scope
 * even on pages that don't load application.css.
 *
 * One mirror lives in invoices.scss ($font-family-sans-serif) because
 * Bootstrap reads that at SCSS compile time and can't consume the
 * --font-sans custom property. Any change here must be mirrored there.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/InterVariable.woff2) format('woff2-variations');
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/InterVariable-Italic.woff2) format('woff2-variations');
}

:root {
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
}
