/* Self-hosted web fonts.
 *
 * These used to come from fonts.googleapis.com, which the VAPT scan flagged:
 * a third-party stylesheet the browser cannot verify (no Subresource
 * Integrity). An SRI hash is not an option there either, because Google
 * serves different CSS per browser, so any hash we pinned would break for
 * somebody. Hosting the files ourselves removes the third party instead.
 *
 * The .woff2 files live in static/fonts/. Add a weight here only when a
 * matching file exists, or the browser silently falls back to a system font.
 */

/* --- Nunito Sans - base.html, used across the whole app ----------------- */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('../fonts/nunito-sans-v19-latin-200.woff2') format('woff2');
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/nunito-sans-v19-latin-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/nunito-sans-v19-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/nunito-sans-v19-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/nunito-sans-v19-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/nunito-sans-v19-latin-800.woff2') format('woff2');
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/nunito-sans-v19-latin-900.woff2') format('woff2');
}

/* --- DM Sans - login page and the daily test screens -------------------- */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-sans-v17-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/dm-sans-v17-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/dm-sans-v17-latin-600.woff2') format('woff2');
}

/* --- Syne - login page headings ----------------------------------------- */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/syne-v24-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/syne-v24-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/syne-v24-latin-800.woff2') format('woff2');
}

/* --- DM Serif Display - daily test headings ----------------------------- */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-serif-display-v17-latin-regular.woff2') format('woff2');
}
