/* Lokal shriftlar — Google Fonts'ga tashqi so'rov o'rniga (render-blocking
   tashqi CSS + fonts.gstatic.com'ga qo'shimcha RTT olib tashlandi).
   Faqat latin+cyrillic subsetlar va sayt ishlatadigan og'irliklar saqlandi:
   Syne 800, Unbounded 800 (sarlavhalar), Manrope 400/500/600 (matn),
   JetBrains Mono 400/600 (label/raqamlar). */

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('syne-latin.woff2?v=kursor3') 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;
}

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('unbounded-latin.woff2?v=kursor3') 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;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('unbounded-cyrillic.woff2?v=kursor3') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('manrope-latin.woff2?v=kursor3') 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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('manrope-cyrillic.woff2?v=kursor3') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('jetbrainsmono-latin.woff2?v=kursor3') 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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('jetbrainsmono-cyrillic.woff2?v=kursor3') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ============ Metrikasi moslashtirilgan fallback'lar ============
   Shrift hali yuklanayotganda (font-display: swap) brauzer sistema
   shriftini ko'rsatadi. Agar sistema shriftining o'lchami/balandligi
   asl shriftdan farq qilsa, shrift almashganda matn balandligi
   o'zgarib, LAYOUT SURILADI (CLS). size-adjust/ascent-override/
   descent-override fallback shriftni ASL shriftning o'lchamiga
   moslaydi — shrift almashganda deyarli hech narsa joyidan jilmaydi.
   Qiymatlar har bir faylning OS/2+hhea jadvalidan fontTools bilan
   hisoblangan (Arial/Courier New fallback bazasiga nisbatan). */
@font-face {
  font-family: 'Syne Fallback';
  src: local('Arial');
  size-adjust: 124.6%;
  ascent-override: 74.24%;
  descent-override: 22.07%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Unbounded Fallback';
  src: local('Arial');
  size-adjust: 171.27%;
  ascent-override: 58.1%;
  descent-override: 14.3%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Manrope Fallback';
  src: local('Arial');
  size-adjust: 128.11%;
  ascent-override: 83.21%;
  descent-override: 23.42%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'JetBrains Mono Fallback';
  src: local('Courier New');
  size-adjust: 99.98%;
  ascent-override: 102.02%;
  descent-override: 30%;
  line-gap-override: 0%;
}
