/* Self-hosted fonts - Inter & Fira Code (OFL license) */

/* Inter Variable */
@font-face {
  font-family: 'Inter';
  src: url('/static/s/fonts/inter/InterVariable.woff2') format('woff2-variations'),
       url('/static/s/fonts/inter/InterVariable.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/static/s/fonts/inter/InterVariable-Italic.woff2') format('woff2-variations'),
       url('/static/s/fonts/inter/InterVariable-Italic.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Inter Static (fallback for older browsers) */
@font-face {
  font-family: 'Inter';
  src: url('/static/s/fonts/inter/Inter-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

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

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

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

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

/* Fira Code */
@font-face {
  font-family: 'Fira Code';
  src: url('/static/s/fonts/firacode/FiraCode-Regular.woff2') format('woff2'),
       url('/static/s/fonts/firacode/FiraCode-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fira Code';
  src: url('/static/s/fonts/firacode/FiraCode-Medium.woff2') format('woff2'),
       url('/static/s/fonts/firacode/FiraCode-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
