/*
 * Self-hosted webfonts.
 *
 * These were served from fonts.googleapis.com until the offline desktop build,
 * which has no internet: a CDN link there falls back to a system font on every
 * screen and every printed invoice, silently, with nothing in any log to
 * explain it. Files are copied from the @fontsource packages (see
 * package.json) into public/fonts by build tooling, so the version is pinned
 * rather than whatever the CDN serves today.
 *
 * Only the weights the app actually uses are shipped — Inter 400/500/600 and
 * Playfair Display 400/700, matching the original Google Fonts request. Latin
 * subset only; adding a weight means adding the file here too.
 *
 * font-display: swap keeps text readable while the file loads. From local disk
 * that window is imperceptible, but it also means a missing file degrades to a
 * fallback face instead of invisible text.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./inter-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./inter-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./inter-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./playfair-display-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./playfair-display-latin-700-normal.woff2') format('woff2');
}
