/*
 * site-fonts.css — шрифты интерфейса changeit.kz (студия, админка, лендинги, мастер, ответы).
 * Шаблоны приглашений сюда НЕ относятся: у них свои шрифты темы (fonts.js, Invitation.dc.html).
 *
 *   --ci-font-ui    Golos Text 400–800   основной текст, кнопки, поля
 *   --ci-font-head  Montserrat 400–800   заголовки
 *   --ci-font-num   Unbounded 400–800    крупные цифры и логотип (в файле только латиница и цифры:
 *                                       казахских Ә Ғ Қ Ң Ө Ұ Ү Һ в Unbounded нет, поэтому заголовки — Montserrat)
 *   --ci-font-code  IBM Plex Mono 400–700  адреса, коды, токены (в JetBrains Mono нет казахских букв)
 *
 * Свои файлы, а не Google Fonts: нет запроса к чужому домену перед первым кадром, работает
 * там, где Google режут. Вариативные шрифты — один файл на все веса. unicode-range: браузер
 * качает только нужный алфавит (кириллица/казахские буквы/латиница). font-display: swap — текст
 * виден сразу. «… Fallback» — Arial с подогнанными метриками (как next/font), чтобы при подмене
 * шрифта строки не прыгали. Имена файлов с версией — кешируются навсегда (next.config.mjs).
 * Пересобрать: python3 scripts/fonts/build-site-fonts.py (Google Fonts → woff2, Unbounded → ASCII).
 */
/* Golos Text · cyrillic-ext */
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 800;font-display:swap;src:url(./golos-text-v7-cyrillic-ext-400-800.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
/* Golos Text · cyrillic */
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 800;font-display:swap;src:url(./golos-text-v7-cyrillic-400-800.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
/* Golos Text · latin-ext */
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 800;font-display:swap;src:url(./golos-text-v7-latin-ext-400-800.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
/* Golos Text · latin */
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 800;font-display:swap;src:url(./golos-text-v7-latin-400-800.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Montserrat · cyrillic-ext */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 800;font-display:swap;src:url(./montserrat-v31-cyrillic-ext-400-800.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
/* Montserrat · cyrillic */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 800;font-display:swap;src:url(./montserrat-v31-cyrillic-400-800.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
/* Montserrat · latin-ext */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 800;font-display:swap;src:url(./montserrat-v31-latin-ext-400-800.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
/* Montserrat · latin */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 800;font-display:swap;src:url(./montserrat-v31-latin-400-800.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* IBM Plex Mono · cyrillic-ext */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(./ibm-plex-mono-v23-cyrillic-ext-400.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
/* IBM Plex Mono · cyrillic */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(./ibm-plex-mono-v23-cyrillic-400.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
/* IBM Plex Mono · latin-ext */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(./ibm-plex-mono-v23-latin-ext-400.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
/* IBM Plex Mono · latin */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(./ibm-plex-mono-v23-latin-400.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* IBM Plex Mono · cyrillic-ext */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(./ibm-plex-mono-v23-cyrillic-ext-500.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
/* IBM Plex Mono · cyrillic */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(./ibm-plex-mono-v23-cyrillic-500.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
/* IBM Plex Mono · latin-ext */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(./ibm-plex-mono-v23-latin-ext-500.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
/* IBM Plex Mono · latin */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(./ibm-plex-mono-v23-latin-500.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* IBM Plex Mono · cyrillic-ext */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;src:url(./ibm-plex-mono-v23-cyrillic-ext-600.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
/* IBM Plex Mono · cyrillic */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;src:url(./ibm-plex-mono-v23-cyrillic-600.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
/* IBM Plex Mono · latin-ext */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;src:url(./ibm-plex-mono-v23-latin-ext-600.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
/* IBM Plex Mono · latin */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;src:url(./ibm-plex-mono-v23-latin-600.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* IBM Plex Mono · cyrillic-ext */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:700;font-display:swap;src:url(./ibm-plex-mono-v23-cyrillic-ext-700.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
/* IBM Plex Mono · cyrillic */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:700;font-display:swap;src:url(./ibm-plex-mono-v23-cyrillic-700.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
/* IBM Plex Mono · latin-ext */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:700;font-display:swap;src:url(./ibm-plex-mono-v23-latin-ext-700.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
/* IBM Plex Mono · latin */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:700;font-display:swap;src:url(./ibm-plex-mono-v23-latin-700.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Unbounded · ascii */
@font-face{font-family:'Unbounded';font-style:normal;font-weight:400 800;font-display:swap;src:url(./unbounded-v12-ascii-400-800.woff2) format('woff2');unicode-range:U+0020-007E, U+00A0, U+00B7, U+2009, U+202F, U+2212, U+2013, U+2014}
/* запасные с метриками живых шрифтов: текст не сдвигается, когда шрифт догрузился */
@font-face{font-family:'Golos Text Fallback';src:local('Arial'),local('ArialMT'),local('Helvetica Neue'),local('Roboto');size-adjust:105.5%;ascent-override:92.89%;descent-override:20.85%;line-gap-override:0%}
@font-face{font-family:'Montserrat Fallback';src:local('Arial'),local('ArialMT'),local('Helvetica Neue'),local('Roboto');size-adjust:108.53%;ascent-override:89.19%;descent-override:23.13%;line-gap-override:0%}
:root{
  --ci-font-ui:'Golos Text','Golos Text Fallback',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --ci-font-head:'Montserrat','Montserrat Fallback','Golos Text',system-ui,sans-serif;
  --ci-font-num:'Unbounded','Montserrat','Montserrat Fallback',system-ui,sans-serif;
  --ci-font-code:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
