/* =============================================================================
   PrescriberNow — self-hosted webfonts
   -----------------------------------------------------------------------------
   Replaces the previous Google Fonts cross-origin load. Every request now
   stays first-party, so the CDN providers (fonts.googleapis.com /
   fonts.gstatic.com) never see the patient IP + User-Agent — required for
   our HIPAA posture since neither host is BAA-covered.

   Font weights kept in sync with the original Google Fonts URL:
     family=Fahkwang:wght@300;400;500;600;700
     family=Source+Serif+4:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700

   Format: woff2 only — every browser PrescriberNow supports (the same set
   that supports our PWA install criteria) handles woff2 natively.
   ============================================================================= */

/* ---------------------------- Fahkwang (sans) ---------------------------- */

@font-face {
  font-family: 'Fahkwang';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/vendor/fonts/fahkwang/fahkwang-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Fahkwang';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/vendor/fonts/fahkwang/fahkwang-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Fahkwang';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/vendor/fonts/fahkwang/fahkwang-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Fahkwang';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/vendor/fonts/fahkwang/fahkwang-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fahkwang';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/vendor/fonts/fahkwang/fahkwang-700.woff2') format('woff2');
}

/* ------------------------- Source Serif 4 (serif) ------------------------ */
/* Upright */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/vendor/fonts/source-serif-4/source-serif-4-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/vendor/fonts/source-serif-4/source-serif-4-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/vendor/fonts/source-serif-4/source-serif-4-700.woff2') format('woff2');
}
/* Italic */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/vendor/fonts/source-serif-4/source-serif-4-500italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('/vendor/fonts/source-serif-4/source-serif-4-600italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/vendor/fonts/source-serif-4/source-serif-4-700italic.woff2') format('woff2');
}
