/* ============================================================================
   КИБ — рейтинг компаний по информационной безопасности
   global.css — дизайн-система «Sentinel Intelligence»

   Токены перенесены из design-source/DESIGN.md (YAML-фронтматтер) и из
   фактического Tailwind-конфига Stitch-экспорта. Прозаическая часть DESIGN.md
   называет другую палитру (#0E1420 / #3B82C4) — она не соответствует ни YAML,
   ни одному из шести экспортированных макетов, поэтому не используется.

   Дисплейная гарнитура заменена: Hanken Grotesk из DESIGN.md не содержит
   базового кириллического блока (только cyrillic-ext), поэтому все русские
   заголовки уходили в засечный фолбэк — это видно в самих Stitch-скриншотах.
   Замена — Onest: геометрический гротеск с кириллицей как первичным письмом,
   совпадающий по характеру (тугой ритм, институциональный тон).
   Inter и JetBrains Mono сохранены из оригинальной системы без изменений.
   ========================================================================== */

/* ---------- 1. Шрифты (self-hosted) --------------------------------------- */

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/onest-600-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/onest-600-latin.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;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/onest-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/onest-700-latin.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;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400-latin.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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500-latin.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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600-latin.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;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jbmono-500-cyrillic.woff2") 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: 500;
  font-display: swap;
  src: url("../fonts/jbmono-500-latin.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;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/jbmono-700-cyrillic.woff2") 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: 700;
  font-display: swap;
  src: url("../fonts/jbmono-700-latin.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;
}

/* ---------- 2. Токены ------------------------------------------------------ */

:root {
  /* Поверхности — тональные уровни вместо теней */
  --surface: #101417;
  --surface-bright: #363a3d;
  --surface-container-lowest: #0b0f11;
  --surface-container-low: #191c1f;
  --surface-container: #1d2023;
  --surface-container-high: #272a2d;
  --surface-container-highest: #323538;

  /* Текст */
  --on-surface: #e0e2e6;
  --on-surface-variant: #c1c7d2;

  /* Границы — «блюпринт» */
  --outline: #8b919b;
  --outline-variant: #414750;

  /* Акцент — только интерактив и фокусные данные */
  --primary: #9dcaff;
  --on-primary: #003257;
  --primary-container: #5195d8;
  --on-primary-container: #002b4c;
  --inverse-primary: #0162a2;

  --secondary-container: #42495b;
  --on-secondary-container: #b1b8cd;

  --error: #ffb4ab;

  /* Плашка под логотипы: нормализует тёмночернильные и светлые марки */
  --logo-plate: #e8eaee;

  /* Радиусы — из фактического Tailwind-конфига Stitch, не из прозы DESIGN.md */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;

  /* Ритм — всё кратно 4px */
  --unit: 4px;
  --gutter: 24px;
  --container-padding: 32px;
  --section-gap: 64px;
  --max-width: 1440px;
  --measure: 68ch;

  /* Гарнитуры */
  --font-display: "Onest", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-data: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 3. Reset ------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

::selection {
  background: var(--primary-container);
  color: var(--on-primary-container);
}

/* ---------- 4. Типографика ------------------------------------------------- */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--on-surface);
  margin: 0;
  text-wrap: balance;
}

/* Дискретная шкала — токены Stitch (display-lg 48/56, headline-md 32/40,
   headline-sm 24/32) плюс отдельный мобильный размер, как в mobile_3.
   Флюидный clamp намеренно не используется: он размывает заданные системой
   значения и в части движков вычисляется некорректно. */

h1 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

@media (min-width: 1024px) {
  h1 {
    font-size: 48px;
    line-height: 56px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
}

h2 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

@media (min-width: 1024px) {
  h2 {
    font-size: 32px;
    line-height: 40px;
  }
}

h3 {
  font-size: 20px;
  line-height: 27px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

@media (min-width: 1024px) {
  h3 {
    font-size: 24px;
    line-height: 32px;
  }
}

h4 {
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.15s var(--ease);
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

strong {
  font-weight: 600;
  color: var(--on-surface);
}

/* Утилиты типографики — имена соответствуют токенам Stitch */

.t-body-lg {
  font-size: 18px;
  line-height: 28px;
  color: var(--on-surface-variant);
}

.t-body-md {
  font-size: 16px;
  line-height: 24px;
  color: var(--on-surface-variant);
}

.t-body-sm {
  font-size: 14px;
  line-height: 21px;
  color: var(--on-surface-variant);
}

.t-data {
  font-family: var(--font-data);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.t-label {
  font-family: var(--font-data);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--outline);
}

.t-lead {
  font-size: 16px;
  line-height: 25px;
  color: var(--on-surface-variant);
  max-width: var(--measure);
}

@media (min-width: 1024px) {
  .t-lead {
    font-size: 18px;
    line-height: 28px;
  }
}

/* ---------- 5. Фоновые слои ------------------------------------------------ */

/* Блюпринт-сетка 24px — тот же шаг, что и gutter */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(
      to right,
      rgba(65, 71, 80, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(65, 71, 80, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Фотофон под затемняющим градиентом */
.bg-photo {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(
      rgba(16, 20, 23, 0.86),
      rgba(16, 20, 23, 0.96)
    ),
    url("../images/bg-cyber.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}

/* Ambient glow — два размытых пятна */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
  overflow: hidden;
}

.bg-glow::before,
.bg-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.bg-glow::before {
  top: -10%;
  left: -10%;
  width: 40%;
  height: 40%;
  background: var(--primary);
  filter: blur(120px);
}

.bg-glow::after {
  bottom: -10%;
  right: -10%;
  width: 30%;
  height: 30%;
  background: var(--inverse-primary);
  filter: blur(100px);
}

/* Точечный тех-паттерн внутри карточек */
.bg-tech {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    circle,
    rgba(157, 202, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 8px 8px;
  opacity: 0.6;
  transition: opacity 0.25s var(--ease);
}

/* ---------- 6. Каркас ------------------------------------------------------ */

.shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 1024px) {
  .container {
    padding-inline: var(--container-padding);
  }
}

main {
  flex: 1 0 auto;
}

/* Вертикальный ритм повторяет Stitch: между соседними блоками ровно
   section-gap (64px), а не удвоенный паддинг. Поэтому секция несёт
   половину интервала, а первая и последняя добирают её у main. */
.section {
  padding-block: 22px;
}

@media (min-width: 1024px) {
  .section {
    padding-block: calc(var(--section-gap) / 2);
  }
}

main > .section:first-child,
main > .hero:first-child {
  padding-top: 44px;
}

main > *:last-child {
  padding-bottom: 44px;
}

@media (min-width: 1024px) {
  main > .section:first-child,
  main > .hero:first-child {
    padding-top: var(--section-gap);
  }

  main > *:last-child {
    padding-bottom: var(--section-gap);
  }
}

.section--tight {
  padding-block: 16px;
}

@media (min-width: 1024px) {
  .section--tight {
    padding-block: 24px;
  }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.rule {
  border: 0;
  border-top: 1px solid rgba(65, 71, 80, 0.3);
  margin: 0;
}

/* ---------- 7. Шапка ------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(65, 71, 80, 0.3);
  background: rgba(16, 20, 23, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--on-surface);
  text-decoration: none;
  flex-shrink: 0;
}

.wordmark:hover {
  text-decoration: none;
}

.wordmark__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-xs);
  color: var(--primary);
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  background: rgba(157, 202, 255, 0.07);
}

.wordmark__sub {
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--outline);
  border-left: 1px solid var(--outline-variant);
  padding-left: 10px;
}

@media (max-width: 620px) {
  .wordmark__sub {
    display: none;
  }
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 500;
  color: var(--on-surface-variant);
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.site-nav a:hover {
  color: var(--on-surface);
  background: var(--surface-container-high);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--primary);
  box-shadow: inset 0 -2px 0 var(--primary);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--on-surface-variant);
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--surface-container-lowest);
    border-bottom: 1px solid rgba(65, 71, 80, 0.3);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(65, 71, 80, 0.3);
  }

  .site-nav a[aria-current="page"] {
    box-shadow: none;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- 8. Подвал ------------------------------------------------------ */

.site-footer {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid rgba(65, 71, 80, 0.3);
  background: rgba(11, 15, 17, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-block: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px var(--gutter);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-col h2 {
  font-family: var(--font-data);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--outline);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  font-size: 14px;
  color: var(--on-surface-variant);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-about p {
  font-size: 14px;
  line-height: 21px;
  color: var(--on-surface-variant);
  max-width: 42ch;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(65, 71, 80, 0.3);
}

.footer-bottom p {
  margin: 0;
  font-family: var(--font-data);
  font-size: 11px;
  line-height: 18px;
  letter-spacing: 0.03em;
  color: var(--outline);
}

/* ---------- 9. Кнопки ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn--primary:hover {
  background: #b9d9ff;
}

.btn--ghost {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(157, 202, 255, 0.1);
}

.btn--quiet {
  border-color: var(--outline-variant);
  color: var(--on-surface-variant);
  background: transparent;
}

.btn--quiet:hover {
  border-color: var(--outline);
  color: var(--on-surface);
}

.btn .icon {
  width: 18px;
  height: 18px;
}

/* ---------- 10. Иконки ----------------------------------------------------- */

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--lg {
  width: 28px;
  height: 28px;
}

/* ---------- 11. Панели, чипы, callout -------------------------------------- */

.panel {
  position: relative;
  background: var(--surface-container-low);
  border: 1px solid rgba(65, 71, 80, 0.3);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.panel > * {
  position: relative;
}

.panel--flat {
  background: rgba(11, 15, 17, 0.5);
}

.panel__title {
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  margin-bottom: 8px;
}

.panel-grid {
  display: grid;
  gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(65, 71, 80, 0.3);
  border-radius: var(--radius-xs);
  background: var(--surface-container-high);
  font-family: var(--font-data);
  font-size: 10px;
  line-height: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  white-space: nowrap;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Callout — обязательная разбивка длинных текстовых участков.
   Мера ограничена: внутри широких секций строка иначе уходит за предел
   читаемости (на 1440px контейнер даёт больше 1300px). */
.callout {
  display: flex;
  gap: 16px;
  max-width: 900px;
  padding: 20px 22px;
  margin-block: 28px;
  background: var(--surface-container-low);
  border: 1px solid rgba(65, 71, 80, 0.3);
  border-left: 2px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.callout .icon {
  color: var(--primary);
  margin-top: 2px;
}

.callout__body {
  min-width: 0;
}

.callout__label {
  display: block;
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.callout p {
  font-size: 15px;
  line-height: 24px;
  color: var(--on-surface-variant);
  margin-bottom: 10px;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* ---------- 12. Логотипы: светлая плашка ----------------------------------- */
/* Исходные марки разнородны: квадратные знаки и горизонтальный леттеринг,
   тёмная и светлая печать, прозрачный и залитый фон. Светлая плашка
   с contain-вписыванием приводит их к одному визуальному знаменателю. */

.logo-plate {
  display: grid;
  place-items: center;
  background: var(--logo-plate);
  border: 1px solid rgba(65, 71, 80, 0.3);
  border-radius: var(--radius-xs);
  flex-shrink: 0;
  overflow: hidden;
}

.logo-plate img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-plate--sm {
  width: 44px;
  height: 30px;
  padding: 3px;
}

.logo-plate--md {
  width: 92px;
  height: 58px;
  padding: 9px;
}

/* ---------- 13. Таблицы (общие) -------------------------------------------- */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(65, 71, 80, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(11, 15, 17, 0.55);
  scrollbar-width: thin;
  scrollbar-color: var(--surface-bright) transparent;
}

.table-scroll::-webkit-scrollbar {
  height: 8px;
}

.table-scroll::-webkit-scrollbar-track {
  background: var(--surface-container-lowest);
}

.table-scroll::-webkit-scrollbar-thumb {
  background: var(--surface-bright);
  border-radius: var(--radius-pill);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table thead th {
  font-family: var(--font-data);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--outline);
  padding: 14px 18px;
  border-bottom: 1px solid rgba(65, 71, 80, 0.3);
  white-space: nowrap;
  vertical-align: bottom;
}

.data-table tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(65, 71, 80, 0.3);
  font-size: 14px;
  line-height: 21px;
  color: var(--on-surface-variant);
  vertical-align: middle;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr {
  transition: background-color 0.15s var(--ease);
}

.data-table tbody tr:hover {
  background: rgba(28, 37, 57, 0.5);
}

.table-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 20px;
  color: var(--outline);
  max-width: 82ch;
}

.scroll-hint {
  display: none;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--outline);
}

@media (max-width: 900px) {
  .scroll-hint {
    display: flex;
  }
}

/* ---------- 14. Списки ----------------------------------------------------- */

.list-check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-check li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 21px;
  color: var(--on-surface-variant);
}

.list-check .icon {
  color: var(--primary);
  margin-top: 2px;
  width: 16px;
  height: 16px;
}

/* Нумерованная последовательность — только там, где порядок несёт смысл */
.list-steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.list-steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 0 18px 62px;
  border-bottom: 1px solid rgba(65, 71, 80, 0.3);
}

.list-steps li:last-child {
  border-bottom: 0;
}

.list-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
  border: 1px solid rgba(157, 202, 255, 0.35);
  border-radius: var(--radius-xs);
  padding: 4px 8px;
}

.list-steps h3 {
  font-size: 17px;
  line-height: 24px;
  margin-bottom: 6px;
}

.list-steps p {
  font-size: 14px;
  line-height: 22px;
  color: var(--on-surface-variant);
  margin: 0;
}

/* ---------- 15. Cookie-уведомление ----------------------------------------- */

.cookie-bar {
  position: fixed;
  z-index: 60;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--gutter);
  max-width: 640px;
  margin-inline: auto;
  display: none;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface-container);
  border: 1px solid rgba(65, 71, 80, 0.3);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.cookie-bar.is-visible {
  display: flex;
}

.cookie-bar p {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--on-surface-variant);
}

.cookie-bar button {
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-bar button:hover {
  background: rgba(157, 202, 255, 0.1);
}

@media (max-width: 560px) {
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---------- 16. Хлебные крошки --------------------------------------------- */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--outline);
}

.breadcrumbs a {
  color: var(--outline);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span[aria-current] {
  color: var(--on-surface-variant);
}

/* ---------- 17. Служебное -------------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ext-link .icon {
  width: 13px;
  height: 13px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
