/*
  Локальное подключение Inter без обращения к Google Fonts.

  Цель — повторить прежнее подключение Google Fonts:
  Inter только в весах 300, 400 и 600.

  Поэтому НЕ используйте здесь полный variable-range 100 900: если его включить,
  старые CSS-значения 800/900 начнут отображаться значительно жирнее, чем раньше.

  Положите файлы шрифта сюда:
    assets/fonts/inter/Inter-Light.woff2      — вес 300
    assets/fonts/inter/Inter-Regular.woff2    — вес 400
    assets/fonts/inter/Inter-SemiBold.woff2   — вес 600

  Используйте обычный Inter, не Inter Display и не Inter Tight.
*/

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

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

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

:root {
  --site-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-family: var(--site-font-family);
  font-optical-sizing: auto;
}

body,
button,
input,
select,
textarea {
  font-family: var(--site-font-family);
}
