/* Local Inter font family */

/* ===== БАЗОВЫЕ МЕТРИКИ ДЛЯ FALLBACK ===== */
@font-face {
    font-family: 'Inter-fallback';
    size-adjust: 107.64%;
    ascent-override: 90%;
    descent-override: 20%;
    line-gap-override: 0%;
    src: local('Arial'), local('Helvetica Neue'), local('Helvetica'), local('sans-serif');
}

/* ===== INTER FONT FAMILY - ТОЛЬКО ИСПОЛЬЗУЕМЫЕ ВЕСА ===== */

/* Inter Regular (400) - Основной текст */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: local('Inter Regular'), local('Inter-Regular'),
         url('../../fonts/inter/regular.woff2') format('woff2');
}

/* Inter SemiBold (600) - Заголовки и кнопки */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: block;
    src: local('Inter SemiBold'), local('Inter-SemiBold'),
         url('../../fonts/inter/600.woff2') format('woff2');
}

/* Inter Bold (700) - Важные элементы */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: block;
    src: local('Inter Bold'), local('Inter-Bold'),
         url('../../fonts/inter/700.woff2') format('woff2');
}

/* Inter ExtraBold (800) - Главные заголовки */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: block;
    src: local('Inter ExtraBold'), local('Inter-ExtraBold'),
         url('../../fonts/inter/800.woff2') format('woff2');
}


/* Inter Medium (500) - Некритический */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: block;
    src: local('Inter Medium'), local('Inter-Medium'),
         url('../../fonts/inter/500.woff2') format('woff2');
}


/* ===== ДОПОЛНИТЕЛЬНЫЕ ВЕСА (загружаются по требованию) ===== */

/* Inter Black (900) - Некритический */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: local('Inter Black'), local('Inter-Black'),
         url('../../fonts/inter/900.woff2') format('woff2');
}
