/* Self-hosted IBM Plex subsets (D-038). GENERATED by scripts/build_fonts.py
 * from design/mockup/assets/fonts.css - regenerate, never hand-edit.
 *
 * NO CDN, by requirement: a CDN outage must never restyle the app, and the PDF
 * renderer must resolve the same bytes on Windows dev and on the droplet.
 *
 * The mockup shipped each family/weight as two shadowed faces - a `latin`
 * subset and a `latin-ext` subset holding U+20B9 RUPEE SIGN - with no
 * unicode-range, so the rupee only ever came from a system fallback font that
 * a bare Linux droplet does not have. Each pair is merged into ONE face, so the
 * shipped file itself carries the rupee sign.
 *
 * scripts/check_glyphs.py asserts that against the binaries' cmap, on every
 * test run. A declared unicode-range is not evidence; the cmap is.
 *
 * Each file also carries a real `name` table naming it QC Sans / QC Serif /
 * QC Mono. That is NOT cosmetic and must not be stripped: a browser binds a
 * face by the font-family below, but WeasyPrint goes through fontconfig, which
 * indexes a font by its own INTERNAL family name. Google's subsetter drops the
 * name table, and with it dropped every face here silently rendered as Verdana,
 * Times New Roman and Courier New in the PDF - valid output, wrong typeface, no
 * warning. tests/test_fonts.py renders each face and fails if it falls back.
 *
 * Rendering also requires a FontConfiguration on both the stylesheet and the
 * write_pdf() call: use app.fonts.pdf_font_setup(), never a bare WeasyPrint
 * call, or the faces below are not registered and you ship Verdana invoices.
 */

@font-face {
  font-family: 'QC Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('qc-sans-400.woff2') format('woff2');
}

@font-face {
  font-family: 'QC Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('qc-sans-500.woff2') format('woff2');
}

@font-face {
  font-family: 'QC Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('qc-sans-600.woff2') format('woff2');
}

@font-face {
  font-family: 'QC Serif';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('qc-serif-600.woff2') format('woff2');
}

@font-face {
  font-family: 'QC Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('qc-mono-500.woff2') format('woff2');
}
