/* The two families of the brand (F24a §1/§3, F28a ADR-028 D-V2), both SIL OFL, self-hosted: Schibsted Grotesk for the
   name, the titles and ALL of the text of the landing and of the portal (the old body face is gone), IBM Plex Mono for ids, hashes
   and wallets only. Latin and Latin Extended only. The files live in web/public/fonts/ and are
   served at /app/fonts/ by the portal AND by the landing (the site build carries this same file to /site/), so
   there is one declaration. The versioned name lets the Hosting cache them as immutable. The licences are in
   /app/fonts/licenses/. Provenance and SHA-256 of each file: docs/design.md. */

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/app/fonts/schibsted-grotesk-400-v1.100.woff2') format('woff2');
}

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/app/fonts/schibsted-grotesk-500-v1.100.woff2') format('woff2');
}

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/app/fonts/schibsted-grotesk-600-v1.100.woff2') format('woff2');
}

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/app/fonts/schibsted-grotesk-700-v1.100.woff2') format('woff2');
}

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/app/fonts/schibsted-grotesk-800-v1.100.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/app/fonts/ibm-plex-mono-400-v2.5.0.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/app/fonts/ibm-plex-mono-500-v2.5.0.woff2') format('woff2');
}

/* F27a (Lighthouse CLS, P-LH): the swap from the system font to the real one used to move the text. These faces are the
   system font dressed with the real font's metrics (size-adjust and the vertical overrides, measured from the TTFs
   against Arial with a Portuguese sample), so the swap changes the letterforms but not the line breaks or the height.
   Arial, Helvetica and Liberation Sans (Linux) are metric-compatible; the real family comes first in each stack. */
@font-face {
  font-family: 'Schibsted Grotesk Fallback';
  font-style: normal;
  font-weight: 400;
  src: local('Arial'), local('Helvetica'), local('Liberation Sans'), local('Arimo');
  size-adjust: 102.78%;
  ascent-override: 95.01%;
  descent-override: 25.08%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Schibsted Grotesk Fallback';
  font-style: normal;
  font-weight: 500;
  src: local('Arial'), local('Helvetica'), local('Liberation Sans'), local('Arimo');
  size-adjust: 103.98%;
  ascent-override: 93.92%;
  descent-override: 24.79%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Schibsted Grotesk Fallback';
  font-style: normal;
  font-weight: 600;
  src: local('Arial Bold'), local('Helvetica Bold'), local('Liberation Sans Bold'), local('Arimo Bold');
  size-adjust: 99.84%;
  ascent-override: 97.81%;
  descent-override: 25.82%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Schibsted Grotesk Fallback';
  font-style: normal;
  font-weight: 700;
  src: local('Arial Bold'), local('Helvetica Bold'), local('Liberation Sans Bold'), local('Arimo Bold');
  size-adjust: 101.45%;
  ascent-override: 96.26%;
  descent-override: 25.41%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Schibsted Grotesk Fallback';
  font-style: normal;
  font-weight: 800;
  src: local('Arial Bold'), local('Helvetica Bold'), local('Liberation Sans Bold'), local('Arimo Bold');
  size-adjust: 103.15%;
  ascent-override: 94.67%;
  descent-override: 24.99%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'IBM Plex Mono Fallback';
  font-style: normal;
  font-weight: 400;
  src: local('Courier New'), local('Liberation Mono'), local('Cousine');
  size-adjust: 99.98%;
  ascent-override: 102.52%;
  descent-override: 27.5%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'IBM Plex Mono Fallback';
  font-style: normal;
  font-weight: 500;
  src: local('Courier New'), local('Liberation Mono'), local('Cousine');
  size-adjust: 99.98%;
  ascent-override: 102.52%;
  descent-override: 27.5%;
  line-gap-override: 0%;
}
