/* Self-hosted Inter (localized from Google Fonts). Weights: 300, 400, 500, 600, 700, 800 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter/inter-300.woff2') format('woff2');
}

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

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

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

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

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

/* ---------------------------------------------------------------------------
   Metric-matched fallback. Before Inter finishes loading the browser paints in
   a local grotesque, and the swap used to reflow every heading and paragraph.
   These faces re-cast Arial/Helvetica with Inter's own vertical metrics and a
   per-weight size-adjust, so the fallback occupies the same box and the swap is
   invisible. Per-weight matters: Arial only ships regular and bold, so 300/400/
   500 all fall back to one face and 600/700/800 to another, and a single global
   size-adjust would be wrong for four of the six weights.
   --------------------------------------------------------------------------- */

@font-face {
  font-family: 'Inter Fallback';
  font-style: normal;
  font-weight: 300;
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 105.34%;
  ascent-override: 91.96%;
  descent-override: 22.90%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Inter Fallback';
  font-style: normal;
  font-weight: 400;
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 107.39%;
  ascent-override: 90.21%;
  descent-override: 22.46%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Inter Fallback';
  font-style: normal;
  font-weight: 500;
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 108.67%;
  ascent-override: 89.15%;
  descent-override: 22.20%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Inter Fallback';
  font-style: normal;
  font-weight: 600;
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 101.18%;
  ascent-override: 95.75%;
  descent-override: 23.84%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Inter Fallback';
  font-style: normal;
  font-weight: 700;
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 102.34%;
  ascent-override: 94.66%;
  descent-override: 23.57%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Inter Fallback';
  font-style: normal;
  font-weight: 800;
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 103.77%;
  ascent-override: 93.36%;
  descent-override: 23.24%;
  line-gap-override: 0%;
}
