:root {
  --c-bg: #FFFFFF;
  --c-primary: #3B82F6;
  --c-primary-600: #2563EB;
  --c-primary-100: #EAF2FF;
  --c-text: #1F2937;
  --c-text-2: #6B7280;
  --c-border: #E5E7EB;
  --shadow-elev: 0 6px 24px rgba(0,0,0,0.06);
  --radius-lg: 16px;
  --radius-md: 12px;
  --container-max: 1200px;

  /* основной синий (как было) */
  --accent: #3B82F6;
  --accent-600: #2563EB;
  --accent-100: #EAF2FF;

  /* новый зелёный акцент */
  --accent2: #10B981; /* emerald 500 */
  --accent2-600: #059669; /* hover */
  --accent2-100: #ECFDF5; /* light bg */
  --accent2-border: #A7F3D0; /* light border */
}

/* Утилиты (точечно подключаем зелёный) */
.u-accent2-text { color: var(--accent2) !important; }
.u-accent2-bg { background: var(--accent2) !important; color: #fff !important; }
.u-accent2-bg-soft { background: var(--accent2-100) !important; }
.u-accent2-border { border-color: var(--accent2-border) !important; }

/* Hero: дуо‑полоска — только если добавите модификатор */
.hero__underline--duo { background: linear-gradient(90deg, var(--accent), var(--accent2)); }

/* CTA «успех» — дополнительный вариант, не влияет на обычные кнопки */
.cta--success { background: var(--accent2); }
.cta--success:hover { background: var(--accent2-600); }

/* Бейдж/чипы — зелёные опциональные версии */
.badge--success {
  background: var(--accent2-100);
  color: var(--accent2);
  border: 1px solid var(--accent2-border);
}

.chip--success {
  background: var(--accent2-100);
  color: var(--accent2);
  border: 1px solid var(--accent2-border);
}

/* Точка статуса OK (для статусов/индикаторов) */
.dot--ok {
  background: var(--accent2);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent2) 20%, #fff);
}

/* Callout подсказка — только если используете .is-tip */
.callout.is-tip {
  border-color: var(--accent2-border);
  background: var(--accent2-100);
}

.callout.is-tip .callout_title {
  color: var(--accent2);
}

/* Преимущества: лёгкое зелёное сияние — по модификатору */
.benefit__icon--glow-green {
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.03),
              0 0 0 2px color-mix(in oklab, var(--accent2) 12%, transparent);
}

/* Прогресс‑бар с дуо‑градиентом — только если добавите класс */
.progress__fill--duo {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

/* Эффект «аврора» с зелёным слоем — не активен, пока не добавите класс */
.fx-aurora--green::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(100% 70% at 70% 60%, color-mix(in oklab, var(--accent2) 12%, transparent) 0%, transparent 60%);
  opacity: .7;
  pointer-events: none;
}

html,
body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  background-color: #F5F7FB;
}

* {
  box-sizing: border-box;
  cursor: default;
  caret-color: transparent;
}

*:not(input):not(textarea):not([contenteditable]) {
  -webkit-user-select: text;
  user-select: text;
  outline: none;
}

*:not(input):not(textarea):not([contenteditable]):focus {
  outline: none;
}

input,
textarea,
[contenteditable] {
  cursor: text;
  caret-color: auto;
  -webkit-user-select: text;
  user-select: text;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Styles */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.header_inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: env(safe-area-inset-top);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text);
  text-decoration: none;
}

.brandicon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c-primary-100), #fff);
  border: 1px solid #EEF2F7;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand_text {
  font: 700 18px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.brand_text b {
  color: var(--c-primary);
}

/* Бургер */
.burger {
  width: 40px;
  height: 40px;
  border: 0;
  background: #fff;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: .2s;
  display: block;
}

/* Оверлей */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.45);
  backdrop-filter: saturate(120%) blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: .2s;
  z-index: 110;
}

/* Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 420px);
  background: #fff;
  border-left: 1px solid var(--c-border);
  box-shadow: -12px 0 32px rgba(0,0,0,.12);
  transform: translateX(100%);
  transition: transform .25s ease;
  outline: none;
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 120;
}

/* Ensure mobile elements are available on mobile breakpoint */
@media (max-width: 1100px) {
  .nav, .desktop-account {
    display: none !important;
  }

  .burger {
    display: inline-flex !important;
    margin-left: auto;
  }

  /* drawer и overlay должны существовать в DOM (не display:none) */
  .mobile-overlay, .mobile-drawer {
    display: block;
  }
}

.drawer_head {
  height: 56px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--c-border);
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 16px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--c-text);
  text-decoration: none;
}

.drawer_head .brand_icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c-primary-100), #fff);
  border: 1px solid #EEF2F7;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.04);
  overflow: hidden;
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer_head .brand_icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.drawer_head .brand_text b {
  color: var(--c-primary);
}

.drawer_close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer_nav {
  padding: 8px 8px 12px;
  overflow: auto;
}

.drawer_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.drawer_list > li > a {
  display: block;
  padding: 12px 10px;
  border-radius: 10px;
  color: var(--c-text);
  text-decoration: none;
  font: 600 14px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.drawer_list > li > a:hover {
  background: var(--c-primary-100);
  color: var(--c-primary);
}

/* Аккордеоны */
.dd details {
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: #fff;
}

.dd summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 10px;
  border-radius: 12px;
  font: 700 14px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--c-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dd summary::-webkit-details-marker {
  display: none;
}

.dd summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
  opacity: .6;
}

.dd[open] summary {
  color: var(--c-primary);
  background: var(--c-primary-100);
}

.dd[open] summary::after {
  transform: rotate(-135deg);
  opacity: 1;
}

.dd ul {
  list-style: none;
  margin: 0;
  padding: 6px 6px 10px 10px;
  display: grid;
  gap: 4px;
}

.dd ul a {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  color: var(--c-text);
  text-decoration: none;
  font: 500 13px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.dd ul a:hover {
  background: #F8FAFC;
  color: var(--c-primary-600);
}

.drawer__actions {
  margin-top: auto;
  padding: 12px 16px;
  border-top: 1px solid var(--c-border);
}

/* Открытое состояние */
.mobile-open .mobile-drawer {
  transform: none;
}

.mobile-open .mobile-overlay {
  opacity: 1;
  pointer-events: auto;
}

.mobile-open .burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-open .burger span:nth-child(2) {
  opacity: 0;
}

.mobile-open .burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Десктопная навигация */
@media (min-width: 1101px) {
  .burger {
    display: none !important;
  }

  .mobile-overlay, .mobile-drawer {
    display: none !important;
  }

  .header_inner {
    height: 64px;
    padding: 0 24px;
  }

  .brand_text {
    font-size: 19px;
  }

  .brandicon {
    width: 32px;
    height: 32px;
  }
}

.desktop-nav {
  display: none;
}

@media (min-width: 1101px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
  }
}

.desktop-account {
  display: none;
}

@media (min-width: 1101px) {
  .desktop-account {
    display: inline-block;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav_list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Общий вид ссылок/кнопок в меню */
.nav_list a.nav_link, .nav_list .nav_link {
  color: var(--c-text);
  text-decoration: none;
  font: 500 15px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  padding: 20px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav_list a.nav_link:hover, .nav_list .nav_link:hover {
  color: var(--c-primary-600);
}

.nav_link:focus-visible {
  outline: 2px solid #93C5FD;
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-link-active {
  color: #3B82F6 !important;
  font-weight: 600;
}

.nav-link-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #3B82F6;
  border-radius: 9999px;
}

/* Обёртка для выпадашек */
.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: 0;
  cursor: pointer;
}

/* Индикатор (стрелка) */
.chev {
  width: 10px;
  height: 10px;
  position: relative;
  display: inline-block;
}

.chev::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid currentColor;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

/* Подменю (десктоп) */
.nav_submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  box-shadow: var(--shadow-elev);
  padding: 8px;
  list-style: none;
  margin: 10px 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: .18s ease;
  pointer-events: none;
  z-index: 60;
}

/* Hover-bridge + стрелочка для десктопа */
@media (min-width: 961px) {
  .nav_submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
    background: transparent;
  }

  .nav_submenu::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 16px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid var(--c-border);
    border-top: 1px solid var(--c-border);
    transform: rotate(45deg);
  }
}

.nav_submenu li a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--c-text);
  text-decoration: none;
  font: 500 14px/1.3 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav_submenu li a:hover {
  background: var(--c-primary-100);
  color: var(--c-primary);
}

/* Открытое состояние */
.has-dropdown.open > .nav_submenu,
.has-dropdown .dropdown-toggle[aria-expanded="true"] + .nav_submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.has-dropdown.open .dropdown-toggle,
.has-dropdown .dropdown-toggle[aria-expanded="true"] {
  color: var(--c-primary);
}

.has-dropdown.open .chev::before,
.has-dropdown .dropdown-toggle[aria-expanded="true"] .chev::before {
  transform: rotate(225deg);
}

/* Удалено открытие по ховеру из CSS - управляется JS с задержкой */

/* Мобайл: делаем подменю аккордеоном внутри панели */
@media (max-width: 1100px) {
  .has-dropdown {
    width: 100%;
  }

  .nav_submenu {
    position: static;
    top: auto;
    left: auto;
    min-width: auto;
    border: none;
    border-top: 1px solid #F1F5F9;
    border-radius: 0;
    box-shadow: none;
    padding: 6px 0 6px 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }

  .nav_submenu::before {
    display: none;
  }

  .has-dropdown.open > .nav_submenu,
  .has-dropdown .dropdown-toggle[aria-expanded="true"] + .nav_submenu {
    max-height: 480px; /* достаточно для 6–8 пунктов */
  }

  .nav_submenu li a {
    padding: 10px 8px;
  }
}

/* Фокус-доступность */
.dropdown-toggle:focus-visible,
.nav_submenu a:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--c-primary-100);
  border-radius: 8px;
}

.account-link {
  color: #3B82F6;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.account-link:hover {
  color: #2563EB;
}

.account-link:focus-visible {
  outline: 2px solid #93C5FD;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 64px);
}

/* Hero Section */
.hero-section.hero--welcome {
  position: relative;
  background:
    radial-gradient(1200px 420px at 50% -10%, rgba(59,130,246,0.14), rgba(59,130,246,0) 70%),
    linear-gradient(180deg, rgba(59,130,246,0.06), rgba(59,130,246,0) 60%),
    var(--c-bg);
  padding-block: 80px;
  overflow: hidden;
}

.hero-section.hero--welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(17,24,39,0.03) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(17,24,39,0.03) 0 1px, transparent 1px 40px);
}

.hero_inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}

.heroeyebrow {
  display: inline-block;
  font: 500 13px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--c-primary);
  background: var(--c-primary-100);
  padding: 8px 12px;
  border-radius: 9999px;
}

.herotitle {
  margin: 14px 0 6px;
  font: 700 40px/1.15 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--c-text);
}

.herousername {
  color: var(--c-primary);
}

.herounderline {
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 9999px;
  margin: 10px 0 14px;
}

.hero_subtitle {
  max-width: 56ch;
  color: var(--c-text-2);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0 0 22px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: 600 14px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-decoration: none;
  transition: .2s ease;
}

.btn--primary {
  color: #fff;
  background: var(--c-primary);
  box-shadow: var(--shadow-elev);
}

.btn--primary:hover {
  background: var(--c-primary-600);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--c-primary);
  background: #fff;
  border-color: var(--c-border);
}

.btn--ghost:hover {
  border-color: #cfd5df;
  color: var(--c-primary-600);
}

.hero__meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 10px 0 18px;
  padding: 0;
  list-style: none;
  color: var(--c-text-2);
  font: 500 13px/1.4 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.hero__meta li {
  position: relative;
  padding-left: 18px;
}

.hero__meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent2);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent2) 20%, #fff);
}

/* Прогресс онбординга */
.hero_progress {
  background: #FFF;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  box-shadow: var(--shadow-elev);
  padding: 16px;
  max-width: 560px;
}

.progresshead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--c-text);
  font: 600 13px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin-bottom: 10px;
}

.progresspercent {
  color: var(--c-primary);
}

.progressbar {
  position: relative;
  height: 8px;
  background: #F1F5F9;
  border-radius: 9999px;
  overflow: hidden;
}

.progressfill {
  position: absolute;
  inset-block: 0;
  left: 0;
  background: linear-gradient(90deg, #60A5FA, #2F80ED);
  border-radius: 9999px;
}

.progress_todo {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  color: var(--c-text-2);
  font: 500 13px/1.4 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.progress_todo li {
  position: relative;
  padding-left: 18px;
}

.progress_todo li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9CA3AF;
}

.progress_todo li.done {
  color: #16A34A;
}

.progress_todo li.done::before {
  background: var(--accent2);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent2) 20%, #fff);
}

/* Правая колонка: приветственные карточки */
.hero_visual {
  display: grid;
  gap: 16px;
  align-content: start;
}

.welcome-card {
  background: #FFF;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  box-shadow: var(--shadow-elev);
  padding: 16px;
}

.cardhead {
  font: 600 14px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--c-text);
  margin-bottom: 10px;
}

.card_row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text-2);
  font: 500 13px/1.4 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.card_link {
  display: inline-block;
  margin-top: 8px;
  color: var(--c-primary);
  font: 600 13px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-decoration: none;
}

.card_link:hover {
  color: var(--c-primary-600);
  text-decoration: underline;
}

.card_head {
  font: 600 14px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--c-text);
  margin-bottom: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot--ok {
  background: var(--accent2);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent2) 20%, #fff);
}

.quick-actions .qagrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.qaitem {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--c-primary-100);
  color: var(--c-primary);
  font: 600 13px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-decoration: none;
  border: 1px solid #DCE8FF;
}

.qaitem:hover {
  background: #DFEAFF;
  color: var(--c-primary-600);
}

.qa_item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--c-primary-100);
  color: var(--c-primary);
  font: 600 13px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-decoration: none;
  border: 1px solid #DCE8FF;
}

.qa_item:hover {
  background: #DFEAFF;
  color: var(--c-primary-600);
}

.announcement p {
  font: 400 14px/1.4 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--c-text-2);
  margin: 8px 0;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: #F8FAFC;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.features-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 60px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(17, 24, 39, 0.08);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: #EBF8FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px auto;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: #1F2937;
  margin: 0 0 12px 0;
}

.feature-description {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.5;
  margin: 0;
}

/* Sections spacing */
.comparison-section {
  padding: 80px 0;
}

.docs-section {
  padding: 80px 0;
  background: #F8FAFC;
}

.comparison-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-title {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #6B7280;
  margin: 16px 0 24px 0;
  line-height: 1.5;
}

.comparison-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(17, 24, 39, 0.08);
  overflow: hidden;
  margin: 0 auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.comparison-table thead tr {
  background: #3B82F6;
  color: #FFFFFF;
  height: 56px;
}

.comparison-table thead th {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

.comparison-table thead th:first-child {
  text-align: left;
  border-top-left-radius: 12px;
}

.comparison-table thead th:last-child {
  border-top-right-radius: 12px;
}

.comparison-table tbody tr {
  border-bottom: 1px solid #E5E7EB;
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

.comparison-table tbody td {
  padding: 18px 20px;
  height: 56px;
  vertical-align: middle;
  color: #1F2937;
  font-weight: 400;
}

.feature-name {
  text-align: left !important;
  font-weight: 500;
  width: 40%;
}

.comparison-table tbody td:not(.feature-name) {
  text-align: center;
  font-weight: 500;
}

.check-icon {
  color: #22C55E;
  font-size: 16px;
  font-weight: bold;
}

.cross-icon {
  color: #9CA3AF;
  font-size: 16px;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .hero-container {
    padding: 0 20px;
    gap: 40px;
  }

  .hero-title {
    font-size: 40px;
  }

  .features-container {
    padding: 0 20px;
  }

  .features-grid {
    gap: 24px;
  }

  .comparison-section {
    padding: 60px 20px;
  }

  .comparison-card {
    overflow-x: auto;
  }

  .comparison-table {
    min-width: 600px;
  }

  .docs-section {
    padding: 60px 0;
  }
}

@media (max-width: 1024px) {
  .hero_inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .herotitle {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: row;
    height: 64px;
    padding: 0 16px;
  }

  .nav {
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-link {
    font-size: 14px;
    white-space: nowrap;
    padding: 16px 0;
  }

  .dropdown-arrow {
    width: 10px;
    height: 10px;
  }

  .account-link {
    font-size: 14px;
  }

  .logo-text {
    font-size: 17px;
  }

  .features-section {
    padding: 60px 0;
  }

  .features-container {
    padding: 0 16px;
  }

  .features-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 24px;
  }

  .section-title {
    font-size: 15px;
    margin: 12px 0 20px 0;
    padding: 0 8px;
  }

  .comparison-section {
    padding: 60px 16px;
  }

  .comparison-table {
    font-size: 14px;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 12px 16px;
  }

  .comparison-table tbody td {
    height: 48px;
  }

  .comparison-table thead tr {
    height: 48px;
  }

  .docs-section {
    padding: 60px 0;
  }
}

@media (max-width: 640px) {
  .hero-section.hero--welcome {
    padding-block: 60px;
  }

  .herotitle {
    font-size: 30px;
  }

  .quick-actions .qagrid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Universal Hero Styles */
.universal-hero {
  position: relative;
  overflow: hidden;
  padding-block: 80px;
  background: var(--c-bg);
  background:
    radial-gradient(1200px 420px at 50% -10%, color-mix(in oklab, var(--accent) 18%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, color-mix(in oklab, var(--accent) 8%, transparent), transparent 60%),
    var(--c-bg);
}

.universal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(17,24,39,0.03) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(17,24,39,0.03) 0 1px, transparent 1px 40px);
}

.universal-hero .hero_inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}

.universal-hero .hero_eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--accent) 12%, white);
  color: var(--accent);
  font: 500 13px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.universal-hero .hero__title {
  margin: 14px 0 6px;
  color: var(--c-text);
  font: 700 40px/1.15 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: -0.01em;
}

.universal-hero .hero__underline {
  display: block;
  width: 56px;
  height: 4px;
  margin: 10px 0 14px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.universal-hero .hero__subtitle {
  max-width: 60ch;
  margin: 0 0 20px;
  color: var(--c-text-2);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.universal-hero .hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.universal-hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font: 600 14px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  transition: .2s ease;
}

.universal-hero .btn--primary {
  color: #fff;
  background: var(--accent);
  box-shadow: var(--shadow-elev);
}

.universal-hero .btn--primary:hover {
  background: color-mix(in oklab, var(--accent) 85%, black);
  transform: translateY(-1px);
}

.universal-hero .btn--ghost {
  color: var(--accent);
  background: #fff;
  border-color: var(--c-border);
}

.universal-hero .btn--ghost:hover {
  color: color-mix(in oklab, var(--accent) 85%, black);
  border-color: #cfd5df;
}

/* Glass Tiles Effect */
.fx-tiles {
  position: relative;
  width: min(520px, 100%);
  height: 340px;
  margin-left: auto;
  pointer-events: none;
}

.fx-tiles .tile {
  position: absolute;
  inset: auto;
  width: 64%;
  height: 110px;
  background: #fff;
  border: 1px solid var(--c-border, #E5E7EB);
  border-radius: 14px;
  box-shadow: var(--shadow-elev, 0 6px 24px rgba(0,0,0,.06));
  backdrop-filter: saturate(120%) blur(0.5px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  opacity: .98;
  transform: translateZ(0);
}

.fx-tiles .t1 {
  right: 12px;
  top: 6px;
  transform: rotate(-1.2deg);
  z-index: 3;
}

.fx-tiles .t2 {
  right: 0;
  top: 116px;
  transform: translateX(18px) rotate(0.6deg);
  z-index: 2;
  opacity: .97;
  width: 68%;
}

.fx-tiles .t3 {
  right: 22px;
  top: 226px;
  transform: translateX(32px) rotate(-0.6deg);
  z-index: 1;
  opacity: .95;
  width: 72%;
}

.fx-tiles .bar {
  flex: 1;
  height: 12px;
  border-radius: 9999px;
  background: linear-gradient(90deg, color-mix(in oklab, var(--accent, #3B82F6) 12%, #EAF2FF), #FFFFFF);
  border: 1px solid #EEF2F7;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.04);
}

.fx-tiles .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent, #3B82F6);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent, #3B82F6) 14%, #ffffff);
  margin-left: 14px;
  opacity: .9;
}

/* Лёгкая "плавающая" анимация */
@keyframes tile-float-1 {
  0% { transform: rotate(-1.2deg) translateY(0); }
  50% { transform: rotate(-1.2deg) translateY(-4px); }
  100% { transform: rotate(-1.2deg) translateY(0); }
}

@keyframes tile-float-2 {
  0% { transform: translateX(18px) rotate(0.6deg); }
  50% { transform: translateX(18px) rotate(0.6deg) translateY(4px); }
  100% { transform: translateX(18px) rotate(0.6deg); }
}

@keyframes tile-float-3 {
  0% { transform: translateX(32px) rotate(-0.6deg); }
  50% { transform: translateX(32px) rotate(-0.6deg) translateY(-3px); }
  100% { transform: translateX(32px) rotate(-0.6deg); }
}

.fx-tiles .t1 {
  animation: tile-float-1 9s ease-in-out infinite;
}

.fx-tiles .t2 {
  animation: tile-float-2 11s ease-in-out infinite;
}

.fx-tiles .t3 {
  animation: tile-float-3 13s ease-in-out infinite;
}

/* Уважение prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .fx-tiles .t1,
  .fx-tiles .t2,
  .fx-tiles .t3 {
    animation: none;
  }
}

/* Domain Check Section Styles */
.domain {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 24px;
  background: var(--c-bg);
}

.domain_inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.domain_head {
  margin-bottom: 32px;
}

.domaineyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 9999px;
  background: var(--c-primary-100);
  color: var(--c-primary);
  font: 600 12px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.domain_title {
  margin: 10px 0 6px;
  color: var(--c-text);
  font: 800 28px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.domainunderline {
  display: block;
  width: 56px;
  height: 4px;
  margin: 8px auto;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.domain_sub {
  margin: 8px 0 0;
  color: var(--c-text-2);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.domain_form {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elev);
  padding: 20px;
}

.domain_field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8FAFC;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 8px 8px 8px 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.domain_field:focus-within {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-100);
}

.domain_icon {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary-100), #fff);
  border: 1px solid #EEF2F7;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.04);
}

.domain_icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid var(--c-primary);
  border-radius: 50%;
  border-right-color: transparent;
  transform: rotate(25deg);
}

#domain-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--c-text);
  font: 600 15px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

#domain-input::placeholder {
  color: #9CA3AF;
  font-weight: 500;
}

/* Domain responsive */
@media (max-width: 1024px) {
  .domain {
    padding: 60px 20px;
  }

  .domain_title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .domain {
    padding: 60px 16px;
  }

  .domain_title {
    font-size: 22px;
  }

  .domain_sub {
    font-size: 15px;
  }

  .domain_form {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .domain_field {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    align-items: stretch;
  }

  .domain_icon {
    position: relative;
    left: auto;
    align-self: center;
  }

  #domain-input {
    text-align: center;
  }

  .cta {
    width: 100%;
  }
}

/* VDS Pricing Styles */
.pricing-simple {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 24px;
  background: #F8FAFC;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plan-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elev);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.plan-card--popular {
  border-color: color-mix(in oklab, var(--c-primary) 30%, var(--c-border));
  box-shadow: 0 10px 28px rgba(59,130,246,0.10);
  position: relative;
}

.plan-card--popular:hover {
  box-shadow: 0 16px 40px rgba(59,130,246,0.15);
}

.plan-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 9999px;
  background: var(--c-primary-100);
  color: var(--c-primary);
  font: 600 12px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.badge--green {
  background: var(--accent2-100);
  color: var(--accent2);
  border: 1px solid var(--accent2-border);
}

.mark {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 9999px;
  background: var(--accent2);
  color: #fff;
  font: 700 10px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-title {
  width: 100%;
  margin: 6px 0 2px;
  color: var(--c-text);
  font: 700 18px/1.3 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.plan-sub {
  margin: 0;
  color: var(--c-text-2);
  font: 500 13px/1.5 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.plan-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}

.plan-list li {
  position: relative;
  padding-left: 20px;
  color: var(--c-text);
  font: 500 14px/1.5 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 2px #E9FCEB;
}

.plan-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #F1F5F9;
}

.price strong {
  color: var(--c-text);
  font: 800 20px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.price span {
  color: var(--c-text-2);
  font: 500 13px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin-left: 2px;
}

.pricing-simple .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: 600 13px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-decoration: none;
  transition: .2s ease;
  white-space: nowrap;
}

.pricing-simple .btn--primary {
  color: #fff;
  background: var(--c-primary);
  box-shadow: var(--shadow-elev);
}

.pricing-simple .btn--primary:hover {
  background: var(--c-primary-600);
  transform: translateY(-1px);
}

/* Респонсив для pricing */
@media (max-width: 1024px) {
  .pricing-simple {
    padding: 60px 20px;
  }

  .plans {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .pricing-simple {
    padding: 60px 16px;
  }

  .plans {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plan-foot {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .pricing-simple .btn {
    width: 100%;
  }
}

/* Universal Table Block Styles */
.table-block {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 24px;
  background: var(--c-bg);
}

.table-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elev);
  padding: 16px;
}

.table-head {
  margin-bottom: 10px;
}

.table-eyebrow {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 9999px;
  background: var(--c-primary-100);
  color: var(--c-primary);
  font: 600 12px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.table-title {
  margin: 8px 0 4px;
  color: var(--c-text);
  font: 800 22px/1.25 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.table-underline {
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #60A5FA, #2F80ED);
}

.table-sub {
  margin: 8px 0 0;
  color: var(--c-text-2);
  font: 500 13px/1.5 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Таблица: сохраняем вид, без горизонтального скролла */
.table-wrap {
  margin-top: 12px;
  overflow: hidden;
}

.u-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed; /* фиксируем сетку, чтобы не расползалась */
  background: #fff;
  color: var(--c-text);
  font: 500 clamp(11px, 1.15vw, 13px)/1.45 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  word-break: normal;
  overflow-wrap: anywhere; /* переносим длинные слова/URL */
  hyphens: auto; /* перенос по слогам (учитывает lang) */
}

/* Ширины колонок (по умолчанию: первая — шире, остальные равные) */
.u-table col:first-child {
  width: var(--c1, 42%);
}

.u-table col:not(:first-child) {
  width: var(--cN, 19%);
}

/* Шапка */
.u-table thead th {
  background: var(--c-primary);
  color: #fff;
  text-align: left;
  padding: 12px 12px;
  font: 700 clamp(11px, 1.2vw, 13px)/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  white-space: normal; /* разрешаем перенос */
}

.u-table thead th:first-child {
  text-align: left;
  border-top-left-radius: 10px;
}

.u-table thead th:last-child {
  border-top-right-radius: 10px;
}

/* Тело */
.u-table tbody th[scope="row"],
.u-table tbody td {
  padding: 12px 12px;
  border-top: 1px solid #EEF2F7;
  vertical-align: top;
  white-space: normal; /* перенос текста везде */
}

.u-table tbody th[scope="row"] {
  font-weight: 700;
}

.u-table tbody tr:nth-child(2n) {
  background: #FCFDFE;
}

.u-table tbody tr:hover {
  background: #F8FAFF;
}

.is-left {
  text-align: left;
}

/* Чипы внутри ячеек */
.chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font: 600 12px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Подвал карточки */
.table-foot {
  margin-top: 10px;
  color: var(--c-text-2);
  font: 500 12px/1.4 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Адаптивное уплотнение, сохраняя табличный вид */
@media (max-width: 900px) {
  .u-table thead th,
  .u-table tbody th[scope="row"],
  .u-table tbody td {
    padding: 10px 10px;
  }

  .u-table {
    font-size: clamp(10px, 1.8vw, 12px);
  }
}

@media (max-width: 600px) {
  .table-block {
    padding: 16px;
  }

  .table-card {
    padding: 12px;
  }

  .u-table thead th,
  .u-table tbody th[scope="row"],
  .u-table tbody td {
    padding: 8px 8px;
  }

  .u-table {
    font-size: clamp(10px, 2.4vw, 11.5px);
  }
}

/* FAQ Section Styles */
.faq {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 24px;
}

.faq_head {
  text-align: center;
  margin-bottom: 40px;
}

.faqeyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 9999px;
  background: var(--c-primary-100);
  color: var(--c-primary);
  font: 600 12px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.faqtitle {
  margin: 10px 0 6px;
  color: var(--c-text);
  font: 800 28px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.faqunderline {
  display: block;
  width: 56px;
  height: 4px;
  margin: 8px auto;
  border-radius: 9999px;
  background: linear-gradient(90deg, #60A5FA, #2F80ED);
}

.faq_sub {
  margin: 8px 0 0;
  color: var(--c-text-2);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.faq__list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elev);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-q {
  list-style: none;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  color: var(--c-text);
  font: 600 15px/1.4 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  transition: color 0.2s ease;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex: 0 0 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: auto;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-text-2);
  transform: translate(-50%, -50%);
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-a {
  padding: 0 20px 18px;
  color: var(--c-text-2);
  font: 500 14px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  border-top: 1px solid #F1F5F9;
  animation: faq-reveal 0.25s ease;
}

@keyframes faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* FAQ states */
.faq-item[open] .faq-q {
  color: var(--c-primary);
}

.faq-item[open] {
  border-color: color-mix(in oklab, var(--c-primary) 30%, var(--c-border));
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.10);
}

.faq-item[open] .faq-icon::after {
  opacity: 0;
}

.faq-q:hover .faq-icon::before,
.faq-q:hover .faq-icon::after {
  background: var(--accent2);
}

.faq-q:focus-visible {
  box-shadow: inset 0 0 0 3px var(--c-primary-100);
  border-radius: 8px;
}

/* FAQ responsive */
@media (max-width: 768px) {
  .faq {
    padding: 60px 20px;
  }

  .faqtitle {
    font-size: 24px;
  }

  .faq_sub {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .faq {
    padding: 60px 16px;
  }

  .faqtitle {
    font-size: 22px;
  }

  .faq-q {
    padding: 16px 18px;
    font-size: 14px;
  }

  .faq-a {
    padding: 0 18px 16px;
    font-size: 13px;
  }
}

/* Варианты компоновки */
.universal-hero.hero--centered .hero_inner {
  grid-template-columns: 1fr;
  text-align: center;
}

.universal-hero.hero--centered .hero__visual {
  order: -1;
  min-height: 220px;
}

.universal-hero.hero--compact {
  padding-block: 48px;
}

.universal-hero.hero--compact .hero__subtitle,
.universal-hero.hero--compact .hero__actions {
  display: none;
}

/* Респонсив для универсального hero */
@media (max-width: 1024px) {
  .universal-hero .hero_inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .universal-hero .hero__title {
    font-size: 36px;
  }

  .fx-tiles {
    height: 300px;
  }

  .universal-hero .hero__visual {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .universal-hero {
    padding-block: 60px;
  }

  .universal-hero .hero__title {
    font-size: 30px;
  }
}

/* Aurora Effect */
.fx-aurora {
  position: absolute;
  right: -40px;
  top: -20px;
  width: 520px;
  height: 520px;
  pointer-events: none;
  opacity: .9;
  filter: blur(8px);
}

/* Слои свечения */
.fx-aurora::before,
.fx-aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(120% 80% at 20% 30%, color-mix(in oklab, var(--accent) 26%, transparent) 0%, transparent 60%),
    radial-gradient(100% 70% at 70% 60%, color-mix(in oklab, var(--accent) 18%, white 10%) 0%, transparent 60%),
    radial-gradient(80% 60% at 50% 80%, color-mix(in oklab, var(--accent) 12%, white 20%) 0%, transparent 60%);
  animation: aurora-drift 16s ease-in-out infinite;
  transform: rotate(8deg) scale(1.02);
  mix-blend-mode: normal;
}

/* Лёгкий параллакс второго слоя с зеленым акцентом */
.fx-aurora::after {
  background:
    radial-gradient(100% 70% at 70% 60%, color-mix(in oklab, var(--accent2) 12%, transparent) 0%, transparent 60%),
    radial-gradient(80% 60% at 50% 80%, color-mix(in oklab, var(--accent) 10%, white 10%) 0%, transparent 60%);
  animation-duration: 22s;
  animation-direction: reverse;
  transform: rotate(-6deg) scale(1.06);
  mix-blend-mode: normal;
  opacity: .7;
}

/* Мягкое покачивание/дрейф */
@keyframes aurora-drift {
  0% { transform: translate3d(0,0,0) rotate(0deg) scale(1.00); }
  25% { transform: translate3d(-6px,4px,0) rotate(3deg) scale(1.03); }
  50% { transform: translate3d(0,8px,0) rotate(0deg) scale(1.05); }
  75% { transform: translate3d(6px,2px,0) rotate(-3deg) scale(1.02); }
  100% { transform: translate3d(0,0,0) rotate(0deg) scale(1.00); }
}

/* Адаптив для Aurora */
@media (max-width: 1024px) {
  .fx-aurora {
    right: 0;
    top: -10px;
    width: 420px;
    height: 420px;
  }
}

@media (max-width: 640px) {
  .fx-aurora {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 220px;
  }

  .fx-tiles {
    height: 220px;
  }

  .fx-tiles .tile {
    height: 88px;
  }
}

/* Исправления для хедера */
:root {
  --max: 1200px;
}

/* 1) Логотип — чтобы не «пропадал» и не ломал высоту */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-text);
}

.brand_icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c-primary-100), #fff);
  border: 1px solid #EEF2F7;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.04);
  overflow: hidden;
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand_icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 2) Меню на десктопе — не «скачет» при сужении */
.nav_list {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 24px);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.header_inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav {
  margin-left: auto;
}

/* 3) Ранний переход на мобильную версию, чтобы пункты не переносились строкой */
@media (max-width: 1100px) {
  .nav, .desktop-account {
    display: none !important;
  }
  .burger {
    display: inline-flex !important;
    margin-left: auto;
  }
}

/* Десктоп — показать навигацию, скрыть бургер */
@media (min-width: 1101px) {
  .nav {
    display: block !important;
  }
  .burger {
    display: none !important;
  }
}

/* 4) Убираем горизонтальный скролл из-за «выезжающих» и псевдо-слоёв */
html, body {
  overflow-x: hidden;
}

.site-header {
  overflow-x: clip;
}

.mobile-drawer {
  right: 0;
  transform: translateX(100%);
  will-change: transform;
}

.mobile-overlay {
  inset: 0;
}

/* 5) Подменю не должно выходить за край (и вызывать горизонтальный скролл) */
.nav_submenu {
  top: 100%;
  margin-top: 10px;
  left: 0;
  right: auto;
  max-width: min(90vw, 340px);
}

.has-dropdown:last-child .nav_submenu {
  right: 0;
  left: auto;
}

/* 6) Очень узкие экраны — прячем слово-бренд, оставляем иконку */
@media (max-width: 360px) {
  .brand_text {
    display: none;
  }
}

/* 7) Плавная высота шапки при изменении брейкпоинта (без «прыжка») */
.site-header {
  transition: height .15s ease;
}

/* Benefits Section Styles */
.benefits {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 24px;
}

.benefits_head {
  text-align: center;
  margin-bottom: 48px;
}

.benefitseyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 9999px;
  background: var(--c-primary-100);
  color: var(--c-primary);
  font: 600 12px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.benefitstitle {
  margin: 10px 0 6px;
  color: var(--c-text);
  font: 800 28px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.benefitsunderline {
  display: block;
  width: 56px;
  height: 4px;
  margin: 8px auto;
  border-radius: 9999px;
  background: linear-gradient(90deg, #60A5FA, #2F80ED);
}

.benefits_sub {
  margin: 8px 0 0;
  color: var(--c-text-2);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.benefits_grid {
  margin-top: 32px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elev);
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 16px;
  align-items: start;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.benefit:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--c-primary) 30%, var(--c-border));
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.10);
}

.benefit_icon,
.benefiticon {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: none;
  background: linear-gradient(135deg, var(--c-primary-100), #fff);
  border: 1px solid #EEF2F7;
  position: relative;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .03), 0 0 0 2px color-mix(in oklab, var(--accent2) 10%, transparent);
}

.benefittitle {
  margin: 2px 0 4px;
  color: var(--c-text);
  font: 700 16px/1.3 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.benefit_text {
  margin: 0;
  color: var(--c-text-2);
  font: 500 14px/1.5 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* CSS Icons */
.i-ssd::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  width: 28px;
  height: 12px;
  border-radius: 6px;
  background: var(--c-primary);
  opacity: .18;
}

.i-ssd::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 20px;
  height: 4px;
  border-radius: 4px;
  background: var(--c-primary);
}

.i-shield::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 20px;
  height: 24px;
  border-radius: 12px 12px 10px 10px;
  background: var(--c-primary);
  opacity: .16;
}

.i-shield::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 12px;
  height: 8px;
  border: 2px solid var(--c-primary);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.i-uptime::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  height: 6px;
  border-radius: 9999px;
  background: var(--c-primary);
  opacity: .16;
}

.i-uptime::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 14px;
  width: 24px;
  height: 14px;
  border: 2px solid var(--c-primary);
  border-bottom: none;
  border-left: none;
  transform: skewX(-10deg);
}

.i-rocket::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  width: 12px;
  height: 18px;
  border-radius: 50% 50% 40% 40%;
  background: var(--c-primary);
  opacity: .18;
}

.i-rocket::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 26px;
  width: 6px;
  height: 8px;
  border-radius: 3px;
  background: var(--c-primary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--c-primary) 14%, #fff);
}

.i-lock::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 20px;
  width: 20px;
  height: 14px;
  border-radius: 4px;
  background: var(--c-primary);
  opacity: .16;
}

.i-lock::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  width: 12px;
  height: 10px;
  border: 2px solid var(--c-primary);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
}

.i-support::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 24px;
  height: 20px;
  border-radius: 12px;
  background: var(--c-primary);
  opacity: .14;
}

.i-support::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 28px;
  width: 12px;
  height: 8px;
  border-radius: 0 8px 8px 8px;
  background: var(--c-primary);
}

/* Benefits responsive */
@media (max-width: 1024px) {
  .benefits {
    padding: 60px 20px;
  }

  .benefits_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefitstitle {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .benefits {
    padding: 60px 16px;
  }

  .benefitstitle {
    font-size: 22px;
  }

  .benefits_sub {
    font-size: 15px;
  }
}

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

  .benefit {
    padding: 18px;
  }
}

/* OS Section Styles */
.os {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 24px;
  background: #F8FAFC;
}

.os_head {
  text-align: center;
  margin-bottom: 48px;
}

.oseyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 9999px;
  background: var(--c-primary-100);
  color: var(--c-primary);
  font: 600 12px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.ostitle {
  margin: 10px 0 6px;
  color: var(--c-text);
  font: 800 28px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.osunderline {
  display: block;
  width: 56px;
  height: 4px;
  margin: 8px auto;
  border-radius: 9999px;
  background: linear-gradient(90deg, #60A5FA, #2F80ED);
}

.os_sub {
  margin: 8px 0 0;
  color: var(--c-text-2);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.os__grid {
  margin-top: 32px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.os-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elev);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.os-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--c-primary) 30%, var(--c-border));
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.10);
}

.os-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-primary-100), #fff);
  border: 1px solid #EEF2F7;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  font: 800 14px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow: hidden;
}

.os-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.os-name {
  margin: 0;
  color: var(--c-text);
  font: 700 16px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.os-note {
  margin: 0;
  color: var(--c-text-2);
  font: 500 12px/1.5 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.os-versions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font: 600 11px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.chip--accent {
  background: var(--c-primary-100);
  border-color: color-mix(in oklab, var(--c-primary) 30%, var(--c-border));
  color: var(--c-primary);
}

.chip--accent2 {
  background: var(--accent2-100);
  border: 1px solid var(--accent2-border);
  color: var(--accent2);
}

.os_more {
  text-align: center;
  margin-top: 24px;
}

.os_link {
  color: var(--c-primary);
  font: 600 14px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-decoration: none;
}

.os_link:hover {
  color: var(--c-primary-600);
  text-decoration: underline;
}

/* OS responsive */
@media (max-width: 1024px) {
  .os {
    padding: 60px 20px;
  }

  .os__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ostitle {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .os {
    padding: 60px 16px;
  }

  .ostitle {
    font-size: 22px;
  }

  .os_sub {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .os__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .os-card {
    padding: 16px;
  }
}

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

/* Documentation Component Styles */
.doc {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 24px;
  background: #F8FAFC;
}

.doc_inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

/* TOC */
.doc_toc {
  position: sticky;
  top: 84px;
  align-self: start;
}

.toccard {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elev);
  padding: 16px;
}

.toctitle {
  font: 700 14px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--c-text);
  margin-bottom: 12px;
}

.toc_list {
  display: grid;
  gap: 6px;
}

.toc_list a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--c-text-2);
  text-decoration: none;
  font: 500 13px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  transition: color 0.2s ease, background 0.2s ease;
}

.toc_list a:hover {
  color: var(--c-primary);
  background: var(--c-primary-100);
}

/* Prose Typography */
.prose {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elev);
  padding: 24px;
  color: var(--c-text);
  font: 400 16px/1.7 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.prose__eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 9999px;
  background: var(--c-primary-100);
  color: var(--c-primary);
  font: 600 12px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin-bottom: 16px;
}

.prose h1 {
  font: 800 28px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 10px 0 16px;
  letter-spacing: -0.01em;
  color: var(--c-text);
}

.prose h2 {
  font: 700 22px/1.3 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 24px 0 12px;
  color: var(--c-text);
}

.prose h3 {
  font: 700 18px/1.3 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 20px 0 8px;
  color: var(--c-text);
}

.prose p {
  margin: 12px 0;
  color: var(--c-text);
}

.prose a {
  color: var(--c-primary);
  text-decoration: none;
}

.prose a:hover {
  color: var(--c-primary-600);
  text-decoration: underline;
}

.prose ul,
.prose ol {
  margin: 12px 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.prose li {
  color: var(--c-text);
  font: 500 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.prose blockquote {
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--c-primary);
  background: #FAFBFF;
  color: var(--c-text-2);
  border-radius: 10px;
}

/* Code Styles */
.prose code {
  font: 500 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  background: #F8FAFC;
  border: 1px solid #EEF2F7;
  border-radius: 6px;
  padding: 2px 6px;
  color: #0F172A;
}

.prose pre {
  margin: 16px 0;
  padding: 16px;
  background: #0B1220;
  color: #E2E8F0;
  border-radius: 12px;
  overflow: auto;
  border: 1px solid #101826;
}

.prose pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
}

/* Tables */
.prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 16px 0;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  overflow: hidden;
}

.prose thead th {
  background: var(--c-primary);
  color: #fff;
  text-align: left;
  font: 700 14px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  padding: 12px 16px;
}

.prose tbody td {
  border-top: 1px solid #EEF2F7;
  padding: 12px 16px;
  color: var(--c-text);
  font: 500 14px/1.4 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.prose tbody tr:nth-child(2n) {
  background: #FCFDFE;
}

/* Images */
.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #EEF2F7;
  margin: 16px 0;
}

.prose figure {
  margin: 16px 0;
}

.prose figcaption {
  color: var(--c-text-2);
  font: 500 13px/1.4 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin-top: 8px;
  text-align: center;
}

/* Callout Blocks */
.callout {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: #FFFFFF;
}

.callout_title {
  font: 700 15px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin-bottom: 8px;
  color: var(--c-text);
}

.callout_body {
  color: var(--c-text-2);
  font: 500 14px/1.5 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
}

.callout.is-info {
  border-color: color-mix(in oklab, var(--c-primary) 30%, var(--c-border));
  background: var(--c-primary-100);
}

.callout.is-info .callout_title {
  color: var(--c-primary);
}

.callout.is-tip {
  border-color: var(--accent2-border);
  background: var(--accent2-100);
}

.callout.is-tip .callout_title {
  color: var(--accent2);
}

.callout.is-warning {
  border-color: #FDE68A;
  background: #FFFBEB;
}

.callout.is-warning .callout_title {
  color: #D97706;
}

.callout.is-danger {
  border-color: #FCA5A5;
  background: #FEF2F2;
}

.callout.is-danger .callout_title {
  color: #DC2626;
}

/* Variants */
.doc--simple .doc_inner {
  grid-template-columns: 1fr;
}

.doc--simple .doc_toc {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .doc {
    padding: 60px 20px;
  }

  .doc_inner {
    grid-template-columns: 1fr;
  }

  .doc_toc {
    position: static;
    order: -1;
    margin-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .doc {
    padding: 60px 16px;
  }

  .prose {
    padding: 20px;
  }

  .prose h1 {
    font-size: 24px;
  }

  .prose h2 {
    font-size: 20px;
  }

  .prose h3 {
    font-size: 16px;
  }

  .toccard {
    padding: 12px;
  }
}

/* Universal CTA Component */
.cta {
  --h: 44px;
  --px: 18px;
  --fs: 14px;
  --rad: 10px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--h);
  padding: 0 var(--px);
  border-radius: var(--rad);
  border: 1px solid transparent;
  background: var(--c-primary);
  color: #fff;
  text-decoration: none;
  font: 600 var(--fs)/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  box-shadow: var(--shadow-elev);
  cursor: pointer;
  user-select: none;
  transition: .18s ease background, .18s ease transform, .18s ease box-shadow;
  position: relative;
}

.cta:hover {
  background: var(--c-primary-600);
  transform: translateY(-1px);
}

.cta:active {
  transform: translateY(0);
  background: #1D4ED8;
}

.cta:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px var(--c-primary-100), var(--shadow-elev);
}

/* Зеленый CTA как дополнительный вариант */
.cta--success {
  background: var(--accent2);
}

.cta--success:hover {
  background: var(--accent2-600);
}

/* CTA Icon (optional) */
.cta_icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta_icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.cta_text {
  display: inline-block;
}

/* CTA Sizes */
.cta[data-size="sm"] {
  --h: 36px;
  --px: 14px;
  --fs: 13px;
}

.cta[data-size="lg"] {
  --h: 52px;
  --px: 22px;
  --fs: 15px;
}

/* Full width */
.cta[data-full="true"] {
  display: flex;
  width: 100%;
}

/* Disabled state */
.cta[disabled],
.cta[aria-disabled="true"] {
  pointer-events: none;
  opacity: .6;
  transform: none;
}

/* Loading state */
.cta[data-loading="true"] {
  pointer-events: none;
}

.cta[data-loading="true"]::after {
  content: "";
  position: absolute;
  right: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .6);
  border-top-color: #fff;
  animation: cta-spin .9s linear infinite;
}

.cta[data-loading="true"] .cta_text {
  opacity: .9;
}

@keyframes cta-spin {
  to {
    transform: rotate(360deg);
  }
}

/* CTA внутри .prose — всегда белый текст */
.prose .cta,
.prose .cta:visited { color: #fff; }

.prose .cta:hover { color: #fff; text-decoration: none; }

.prose .cta .cta_text { color: inherit; }

@media (max-width: 480px) {
  .header .container {
    padding: 0 12px;
  }

  .logo {
    gap: 8px;
  }

  .logo-text {
    font-size: 16px;
  }

  .logo-icon {
    width: 24px;
    height: 24px;
  }

  .nav {
    gap: 12px;
  }

  .nav-link {
    font-size: 13px;
    padding: 14px 0;
  }

  .account-link {
    font-size: 13px;
  }

  .dropdown-arrow {
    width: 8px;
    height: 8px;
  }
}

  .features-section {
    padding: 40px 0;
  }

  .features-container {
    padding: 0 12px;
  }

  .features-title {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-title {
    font-size: 18px;
  }

  .feature-description {
    font-size: 15px;
  }

  .section-title {
    font-size: 14px;
    margin: 8px 0 16px 0;
  }

  .comparison-section {
    padding: 40px 12px;
  }

  .docs-section {
    padding: 40px 0;
  }

/* Умеренное сжатие на узких телефонах */
@media (max-width: 360px){
  .doc{ padding:12px; }
  .doc_inner{ gap:12px; }
  .prose{
    padding:12px; border-radius:12px;
    font-size:14px; line-height:1.65;
  }
  .prose h1{ font-size:22px; line-height:1.25; margin:8px 0 6px; }
  .prose h2{ font-size:18px; line-height:1.3; margin:14px 0 6px; }
  .prose h3{ font-size:15px; line-height:1.25; margin:10px 0 6px; }

  .prose p{ margin:6px 0; }
  .prose ul, .prose ol{ margin:6px 0 6px 16px; gap:4px; }

  /* Код — перенос строк и компактнее отступы */
  .prose pre{
    padding:10px; font-size:12px; line-height:1.4;
    white-space:pre-wrap; word-break:break-word;
  }
  .prose code{
    font-size:12px; line-height:1.35;
  }

  /* Таблицы — меньше кегль и паддинги */
  .prose table{ font-size:12px; }
  .prose thead th{ padding:8px; }
  .prose tbody td{ padding:8px; }

  /* Иллюстрации и фигуры */
  .prose figure{ margin:10px 0; }
  .prose img{ border-radius:10px; }

  /* Врезки/подсказки */
  .callout{ padding:10px; border-radius:10px; }
  .callout_title{ font-size:13px; }
  .callout_body{ font-size:12.5px; }

  /* Оглавление (если используется) — компактнее */
  .doc_toc{ position:static; }
  .toccard{ padding:10px; border-radius:12px; }
  .toctitle{ font-size:12px; margin-bottom:6px; }
  .toc_list{ gap:4px; }
  .toc_list a{ padding:8px; font-size:12px; }
  /* Длинные ссылки не ломают вёрстку */
  .prose a{ overflow-wrap:anywhere; }
}

/* Экстремально узко: 330 px и меньше */
@media (max-width: 330px){
  .doc{ padding:8px; }
  .doc_inner{ gap:10px; }
  .prose{
    padding:10px; border-radius:10px;
    font-size:14px; line-height:1.65;
  }
  .prose h1{ font-size:20px; margin:6px 0 4px; }
  .prose h2{ font-size:16px; margin:10px 0 4px; }
  .prose h3{ font-size:14px; margin:8px 0 4px; }
  .prose p, .prose li{ font-size:13.5px; }

  /* Ещё плотнее код и таблицы */
  .prose pre{ padding:8px; font-size:11.5px; }
  .prose table{ font-size:11.5px; }
  .prose thead th, .prose tbody td{ padding:6px; }

  .callout{ padding:8px; }
  .callout_title{ font-size:12.5px; }
  .callout_body{ font-size:12px; }

  /* Фигуры */
  .prose figcaption{ font-size:11.5px; }
}

/* 1) Базовая защита от переполнения */
.doc, .doc_inner, .prose{ box-sizing:border-box; min-width:0; }
.prose{ overflow-wrap:anywhere; word-break:normal; hyphens:auto; } /* перенос слов и URL */
.prose *{ min-width:0; max-width:100%; } /* никакой элемент не шире контейнера */

/* 2) Ссылки и инлайн‑код — ломаем длинные URL/токены */
.prose a, .prose code{ overflow-wrap:anywhere; word-break:break-word; }

/* 3) Блоки кода — без горизонтального скролла, с переносом строк */
.prose pre{
  white-space:pre-wrap; /* переносить длинные строки */
  word-break:break-word;
  overflow-x:hidden; /* чтобы не появлялась горизонтальная полоса */
}
.prose pre code{ white-space:inherit; word-break:inherit; }

/* 4) Таблицы внутри текста — ужимаем в 100% ширины */
.prose table{ width:100%; table-layout:fixed; border-collapse:separate; border-spacing:0; }
.prose th, .prose td{ overflow-wrap:anywhere; word-break:break-word; }

/* 5) Медиа — не шире контейнера */
.prose img, .prose svg, .prose video, .prose iframe{ max-width:100%; height:auto; display:block; }
.prose figure{ overflow:hidden; }

/* 6) Сетки/обёртки — не порождаем горизонтальный скролл */
.doc_inner{ display:grid; gap:24px; overflow-x:hidden; }
@media (max-width:1024px){ .doc_inner{ grid-template-columns:1fr; } } /* как у вас было */

/* 7) Страховка на уровне страницы */
html, body{ overflow-x:hidden; }

/* Domain: выравнивание поля и кнопки в одну линию */
.domain .cta {
  --h: 36px;   /* высота кнопки */
  --px: 16px;  /* горизонтальные отступы */
  --fs: 14px;  /* кегль */
}

.domain input[name="q"] {
  height: 36px;         /* под высоту кнопки */
  padding: 0 10px;      /* визуальный баланс */
  line-height: 36px;    /* страховка для вертикального центрирования текста */
}

/* на всякий случай фиксируем высоту поля ввода на мобильных */
@media (max-width: 640px) {
  .domain input[name="q"] {
    height: 36px !important;
  }
}

/* на всякий случай фиксируем высоту поля ввода на мобильных */
@media (max-width: 640px) {
  .domain input[name="q"] {
    height: 36px !important;
  }
}

/* Catalog — фирменный светлый фон и контраст без «чёрного» */
.services#catalog {
  padding: 64px 24px 72px;
  background: #EAF2FF; /* primary light */
  border: 1px solid rgba(59,130,246,0.12); /* тонкий акцентный бордер */
  border-radius: 16px;
}
.services#catalog .services_head {
  max-width: 960px; margin: 0 auto 20px; text-align: center;
}
.services#catalog .services_title {
  margin: 0;
  color: #1E293B; /* Slate-800 (не чёрный) */
}
.services#catalog .hero__underline { display: block; margin: 10px auto 0; }

/* Сетка чипов */
.services#catalog .os_list {
  list-style: none; margin: 24px auto 0; padding: 0; max-width: 1100px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px;
}

/* Чипы — белый фон, тёмно‑сланцевый текст, аккуратный бордер */
.services#catalog .chip {
  --chip-h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--chip-h); padding: 0 16px; border-radius: 16px;
  background: #FFFFFF;
  color: #1E293B; /* читаемый, не чёрный */
  border: 1px solid #D6E3FB; /* светло‑акцентный бордер */
  text-decoration: none; font-weight: 600; letter-spacing: .01em;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}
.services#catalog .chip:hover {
  background: #FFFFFF; /* оставляем белым */
  color: #2563EB; /* hover primary */
  border-color: #3B82F6; /* primary */
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.12); /* лёгкий акцентный */
}
.services#catalog .chip:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.18), 0 6px 24px rgba(0,0,0,0.06);
  border-color: #3B82F6;
}
.services#catalog .chip.is-active,
.services#catalog .chip[aria-current="page"] {
  color: #2563EB; border-color: #3B82F6;
}

/* Мобайл */
@media (max-width: 640px) {
  .services#catalog { padding: 40px 16px 56px; border-radius: 12px; }
  .services#catalog .os_list { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
  .services#catalog .chip { --chip-h: 42px; padding: 0 14px; }
}

/* Как начать — два столбца с медиа слева */
.benefits.benefits--with-media .benefits_body {
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: center;
}
.benefits.benefits--with-media .benefits_media {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  border: 1px solid var(--c-border, #E5E7EB);
  aspect-ratio: 4 / 3; /* удерживаем пропорции */
}
.benefits.benefits--with-media .benefits_media svg {
  width: 100%;
  height: 100%;
  display: block;
}
.benefits.benefits--with-media .benefits_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.benefits.benefits--with-media .benefit {
  background: #fff;
  border: 1px solid var(--c-border, #E5E7EB);
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

@media (max-width: 1100px) {
  .benefits.benefits--with-media .benefits_body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Иллюстрация CSS-only для блока «Как начать» */
.benefits-media--cssart {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--c-border, #E5E7EB);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #EAF2FF 0%, #CFE3FF 100%);
}

.benefits-media--cssart .cssart {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Базовый стиль «карточек» */
.benefits-media--cssart .card {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid #D6E3FB;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

/* Карточка 1 (верхняя) */
.benefits-media--cssart .card.c1 {
  left: 8%;
  top: 9%;
  width: 46%;
  height: 22%;
}
.benefits-media--cssart .card.c1::before,
.benefits-media--cssart .card.c1::after {
  content: "";
  position: absolute;
  left: 8%;
  border-radius: 6px;
  background: #94BDFE;
}
.benefits-media--cssart .card.c1::before { top: 24%; width: 22%; height: 12px; }
.benefits-media--cssart .card.c1::after { top: 45%; width: 56%; height: 10px; background: #B4CFFE; }

/* Карточка 2 (середина) */
.benefits-media--cssart .card.c2 {
  left: 16%;
  top: 40%;
  width: 58%;
  height: 22%;
}
.benefits-media--cssart .card.c2::before,
.benefits-media--cssart .card.c2::after {
  content: "";
  position: absolute;
  left: 8%;
  border-radius: 6px;
}
.benefits-media--cssart .card.c2::before { top: 24%; width: 26%; height: 12px; background: #94BDFE; }
.benefits-media--cssart .card.c2::after { top: 46%; width: 64%; height: 10px; background: #B4CFFE; }

/* Карточка 3 (нижняя) */
.benefits-media--cssart .card.c3 {
  left: 10%;
  top: 68%;
  width: 38%;
  height: 20%;
}
.benefits-media--cssart .card.c3::before,
.benefits-media--cssart .card.c3::after {
  content: "";
  position: absolute;
  left: 8%;
  border-radius: 6px;
}
.benefits-media--cssart .card.c3::before { top: 24%; width: 38%; height: 12px; background: #94BDFE; }
.benefits-media--cssart .card.c3::after { top: 46%; width: 52%; height: 10px; background: #B4CFFE; }

/* Акцентная «кнопка» на второй карточке */
.benefits-media--cssart .pill {
  position: absolute;
  top: 50%;
  right: 14%;
  width: 14%;
  height: 7%;
  border-radius: 12px;
  background: linear-gradient(90deg, #3B82F6 0%, #2563EB 100%);
  box-shadow: 0 10px 28px rgba(59,130,246,0.22);
}

/* Успешная чек‑марка (зелёный — только как success) */
.benefits-media--cssart .check {
  position: absolute;
  top: 22%;
  right: 16%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #EAF2FF;
  border: 2px solid #3B82F6;
  box-shadow: 0 6px 18px rgba(59,130,246,0.18) inset;
}
.benefits-media--cssart .check::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 15px;
  width: 20px;
  height: 12px;
  border: 4px solid #22C55E; /* success */
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
  border-radius: 2px;
}

/* Прогресс‑бар снизу (25%) */
.benefits-media--cssart .progress {
  position: absolute;
  left: 10%;
  bottom: 8%;
  width: 60%;
  height: 10px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #D6E3FB;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04) inset;
}
.benefits-media--cssart .progress i {
  display: block;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #3B82F6 0%, #2563EB 100%);
  border-right: 1px solid rgba(255,255,255,0.6);
}

/* Декоративные «точки» */
.benefits-media--cssart .dot {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #D6E3FB;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}
.benefits-media--cssart .dot.d1 { top: 14%; left: 64%; }
.benefits-media--cssart .dot.d2 { top: 34%; left: 74%; }
.benefits-media--cssart .dot.d3 { top: 62%; left: 66%; }

/* Адаптив */
@media (max-width: 1100px) {
  .benefits-media--cssart { aspect-ratio: 16 / 10; }
  .benefits-media--cssart .check { width: 44px; height: 44px; }
  .benefits-media--cssart .pill { height: 7.5%; }
}
@media (max-width: 640px) {
  .benefits-media--cssart { aspect-ratio: 16 / 11; }
  .benefits-media--cssart .dot { display: none; }
}

/* ===== CSS-only иллюстрация — PRO-версия ===== */
.benefits-media--cssart {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--c-border, #E5E7EB);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(60% 80% at 10% 10%, rgba(59,130,246,0.10) 0%, rgba(59,130,246,0) 60%),
    radial-gradient(60% 80% at 90% 85%, rgba(37,99,235,0.14) 0%, rgba(37,99,235,0) 60%),
    linear-gradient(180deg, #EAF2FF 0%, #CFE3FF 100%);
  isolation: isolate;
}
.benefits-media--cssart.benefits-media--pro::after {
  /* тонкая сетка для глубины */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(255,255,255,0.35), rgba(255,255,255,0.35)),
    repeating-linear-gradient(0deg, rgba(59,130,246,0.06), rgba(59,130,246,0.06) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(90deg, rgba(59,130,246,0.05), rgba(59,130,246,0.05) 1px, transparent 1px, transparent 20px);
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.benefits-media--cssart .cssart { position: absolute; inset: 0; pointer-events: none; }

/* «Аура»/свечения */
.benefits-media--pro .blob {
  position: absolute; filter: blur(20px); opacity: .55; transform: translateZ(0);
}
.benefits-media--pro .blob.b1 { left: -6%; top: -6%; width: 34%; height: 34%; background: radial-gradient(circle at 40% 40%, rgba(99,151,255,0.35), rgba(99,151,255,0) 60%); }
.benefits-media--pro .blob.b2 { right: -8%; bottom: -10%; width: 40%; height: 40%; background: radial-gradient(circle at 60% 60%, rgba(37,99,235,0.35), rgba(37,99,235,0) 60%); }

/* Базовый стиль стеклянных карточек */
.benefits-media--pro .glass {
  position: absolute;
  background: rgba(255,255,255,0.78);
  border: 1px solid #D6E3FB;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(59,130,246,0.10), 0 6px 24px rgba(0,0,0,0.06);
  backdrop-filter: saturate(120%) blur(8px);
}
@supports not (backdrop-filter: blur(8px)) {
  .benefits-media--pro .glass { background: #FFFFFF; }
}

/* Карточка 1 — хедер, строка, чек */
.benefits-media--pro .card.c1 { left: 7%; top: 8%; width: 46%; height: 22%; }
.benefits-media--pro .card.c1 .bar { position: absolute; left: 8%; top: 22%; width: 24%; height: 12px; border-radius: 6px; background: #94BDFE; }
.benefits-media--pro .card.c1 .line { position: absolute; left: 8%; top: 44%; width: 56%; height: 10px; border-radius: 6px; background: #B4CFFE; }
.benefits-media--pro .card.c1 .tick {
  position: absolute; right: 6%; top: 28%; width: 46px; height: 46px; border-radius: 50%;
  background: #EAF2FF; border: 2px solid #3B82F6; box-shadow: inset 0 6px 18px rgba(59,130,246,0.18);
}
.benefits-media--pro .card.c1 .tick::after {
  content: ""; position: absolute; left: 14px; top: 12px; width: 18px; height: 12px;
  border: 4px solid #22C55E; border-top: 0; border-left: 0; transform: rotate(45deg); border-radius: 2px;
}

/* Карточка 2 — текст + «кнопка» с шиммером */
.benefits-media--pro .card.c2 { left: 15%; top: 39%; width: 58%; height: 23%; }
.benefits-media--pro .card.c2 .bar { position: absolute; left: 8%; top: 22%; width: 28%; height: 12px; border-radius: 6px; background: #94BDFE; }
.benefits-media--pro .card.c2 .line { position: absolute; left: 8%; top: 46%; width: 64%; height: 10px; border-radius: 6px; background: #B4CFFE; }
.benefits-media--pro .card.c2 .pill {
  position: absolute; right: 8%; top: 50%; width: 18%; height: 22%; border-radius: 999px;
  background: linear-gradient(90deg, #3B82F6 0%, #2563EB 100%); box-shadow: 0 12px 28px rgba(59,130,246,0.25);
  overflow: hidden;
}
.benefits-media--pro .card.c2 .pill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 20%, transparent 40%);
  transform: translateX(-100%); animation: shimmer 2.2s ease-in-out infinite;
  mix-blend-mode: screen;
}

/* Карточка 3 — мелкие строки + мини-аватар */
.benefits-media--pro .card.c3 { left: 9%; top: 68%; width: 40%; height: 20%; }
.benefits-media--pro .card.c3 .avatar {
  position: absolute; left: 8%; top: 18%; width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, #CFE3FF, #94BDFE);
  box-shadow: inset 0 2px 6px rgba(255,255,255,0.6);
}
.benefits-media--pro .card.c3 .line1 { position: absolute; left: calc(8% + 40px); top: 22%; width: 52%; height: 10px; background: #B4CFFE; border-radius: 6px; }
.benefits-media--pro .card.c3 .line2 { position: absolute; left: calc(8% + 40px); top: 44%; width: 38%; height: 10px; background: #C9DAFF; border-radius: 6px; }

/* Доп. «модальное» стекло поверх */
.benefits-media--pro .card.c4 {
  right: 6%; top: 12%; width: 26%; height: 24%;
  background: rgba(255,255,255,0.82); border: 1px solid #D6E3FB; border-radius: 16px;
  box-shadow: 0 14px 38px rgba(37,99,235,0.18);
}
.benefits-media--pro .card.c4 .tab {
  position: absolute; top: 10%; left: 8%; right: 8%; height: 28%;
  background: rgba(234,242,255,0.8); border: 1px solid #D6E3FB; border-radius: 10px;
}
.benefits-media--pro .card.c4 .chips { position: absolute; left: 8%; right: 8%; bottom: 12%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.benefits-media--pro .card.c4 .chips i {
  display: block; height: 12px; border-radius: 999px; background: #B4CFFE; border: 1px solid #D6E3FB;
}

/* Прогресс‑бар (25%) + круговой прогресс справа */
.benefits-media--pro .progress {
  position: absolute; left: 10%; bottom: 8%; width: 56%; height: 12px; border-radius: 999px;
  background: #FFFFFF; border: 1px solid #D6E3FB; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.04) inset;
}
.benefits-media--pro .progress i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, #3B82F6 0%, #2563EB 100%); border-right: 1px solid rgba(255,255,255,0.6);
  animation: fillGrow 900ms cubic-bezier(.22,.8,.36,1) forwards 120ms;
}
.benefits-media--pro .ring {
  position: absolute; right: 6%; bottom: 10%; width: 90px; height: 90px; border-radius: 50%;
  background:
    conic-gradient(#3B82F6 0 90deg, rgba(59,130,246,0.18) 90deg 360deg);
}
.benefits-media--pro .ring::before {
  content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #FFFFFF; border: 1px solid #D6E3FB;
  box-shadow: inset 0 6px 18px rgba(59,130,246,0.08);
}

/* Мини‑гистограмма */
.benefits-media--pro .bars { position: absolute; right: 8%; top: 44%; width: 20%; height: 18%; display: grid; grid-template-columns: repeat(5,1fr); align-items: end; gap: 6px; }
.benefits-media--pro .bars i {
  display: block; height: 30%;
  background: linear-gradient(180deg, #CFE3FF 0%, #3B82F6 100%); border-radius: 6px; box-shadow: 0 6px 20px rgba(59,130,246,0.18);
}
.benefits-media--pro .bars i:nth-child(2){ height: 60%; }
.benefits-media--pro .bars i:nth-child(3){ height: 38%; }
.benefits-media--pro .bars i:nth-child(4){ height: 72%; }
.benefits-media--pro .bars i:nth-child(5){ height: 46%; }

/* Декоративные «узлы» */
.benefits-media--pro .dot {
  position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: #FFFFFF; border: 1px solid #D6E3FB; box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}
.benefits-media--pro .dot.d1 { top: 16%; left: 64%; }
.benefits-media--pro .dot.d2 { top: 34%; left: 74%; }
.benefits-media--pro .dot.d3 { top: 62%; left: 66%; }

/* Мягкие анимации */
@keyframes shimmer { 0% { transform: translateX(-120%); } 60% { transform: translateX(110%); } 100% { transform: translateX(110%); } }
@keyframes fillGrow { to { width: 25%; } }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .benefits-media--pro .card.c2 .pill::after,
  .benefits-media--pro .progress i { animation: none; }
}

/* Адаптив мелкий */
@media (max-width: 1100px) {
  .benefits-media--cssart { aspect-ratio: 16 / 10; }
  .benefits-media--pro .ring { width: 80px; height: 80px; }
}
@media (max-width: 640px) {
  .benefits-media--cssart { aspect-ratio: 16 / 11; }
  .benefits-media--pro .dot { display: none; }
}

/* ===== ULTRA версия CSS-иллюстрации — максимальная детализация ===== */
.benefits-media--ultra{
/* Локальные токены под гайд */
--p:#3B82F6; /* primary */
--p2:#2563EB; /* primary hover/dark */
--pl:#EAF2FF; /* primary light */
--bd:#D6E3FB; /* light border */
--shadow:0 6px 24px rgba(0,0,0,.06);

position:relative; border-radius:16px; overflow:hidden;
border:1px solid var(--bd);
box-shadow: var(--shadow);
aspect-ratio:4/3;
background:
radial-gradient(60% 80% at 12% 10%, rgba(59,130,246,.10) 0%, rgba(59,130,246,0) 60%),
radial-gradient(60% 80% at 88% 86%, rgba(37,99,235,.14) 0%, rgba(37,99,235,0) 60%),
linear-gradient(180deg, var(--pl) 0%, #CFE3FF 100%);
isolation:isolate;
will-change: transform;
}
.benefits-media--ultra .cssart{position:absolute; inset:0; pointer-events:none}

/* Тонкая сетка + «шум» для тактильности */
.benefits-media--ultra::before{
content:""; position:absolute; inset:-1px;
background:
linear-gradient(0deg, rgba(255,255,255,.45), rgba(255,255,255,.45)),
repeating-linear-gradient(0deg, rgba(59,130,246,.06) 0 1px, transparent 1px 20px),
repeating-linear-gradient(90deg, rgba(59,130,246,.05) 0 1px, transparent 1px 20px);
mix-blend-mode:soft-light; pointer-events:none;
}
.benefits-media--ultra::after{
content:""; position:absolute; inset:0;
background:
radial-gradient(120% 140% at 0% 0%, rgba(255,255,255,.6), rgba(255,255,255,0) 45%),
radial-gradient(160% 160% at 100% 100%, rgba(37,99,235,.10), rgba(37,99,235,0) 55%);
pointer-events:none;
}

/* Ауры */
.benefits-media--ultra .blob{position:absolute; filter:blur(20px); opacity:.55; transform:translateZ(0)}
.benefits-media--ultra .b1{left:-6%; top:-6%; width:34%; height:34%; background:radial-gradient(circle at 40% 40%, rgba(99,151,255,.35), rgba(99,151,255,0) 60%)}
.benefits-media--ultra .b2{right:-8%; bottom:-10%; width:40%; height:40%; background:radial-gradient(circle at 60% 60%, rgba(37,99,235,.35), rgba(37,99,235,0) 60%)}

/* «Стекло»: градиентная кайма, внутренний блик, лёгкая цветная тень */
.benefits-media--ultra .glass{
position:absolute;
background:
linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.78)) padding-box,
linear-gradient(180deg, rgba(59,130,246,.35), rgba(37,99,235,.15)) border-box;
border:1px solid transparent;
border-radius:14px;
box-shadow:
0 10px 30px rgba(59,130,246,.10),
var(--shadow),
inset 0 1px 0 rgba(255,255,255,.65);
backdrop-filter:saturate(120%) blur(8px);
}
@supports not (backdrop-filter:blur(8px)){
.benefits-media--ultra .glass{background:#FFF; border:1px solid var(--bd)}
}

/* Карточка 1 */
.benefits-media--ultra .card.c1{left:7%; top:8%; width:46%; height:22%}
.benefits-media--ultra .card.c1 .bar{position:absolute; left:8%; top:22%; width:24%; height:12px; border-radius:6px; background:#94BDFE}
.benefits-media--ultra .card.c1 .line{position:absolute; left:8%; top:44%; width:56%; height:10px; border-radius:6px; background:#B4CFFE}
.benefits-media--ultra .card.c1 .tick{
position:absolute; right:6%; top:28%; width:46px; height:46px; border-radius:50%;
background: radial-gradient(120% 120% at 30% 30%, #FFF, #EAF2FF);
border:2px solid var(--p);
box-shadow: inset 0 6px 18px rgba(59,130,246,.18);
}
.benefits-media--ultra .card.c1 .tick::after{
content:""; position:absolute; left:12px; top:18px; width:20px; height:10px;
border:3px solid #22C55E; border-top:0; border-left:0; border-radius:1px;
transform: rotate(45deg) scale(0);
transition: transform .4s cubic-bezier(.34,1.56,.64,1);
animation: tickShow 1ms linear both calc(var(--progDur) + var(--progDelay) + 200ms);
}

/* Карточка 2 */
.benefits-media--ultra .card.c2{left:15%; top:39%; width:58%; height:23%}
.benefits-media--ultra .card.c2 .bar{position:absolute; left:8%; top:22%; width:28%; height:12px; border-radius:6px; background:#94BDFE}
.benefits-media--ultra .card.c2 .line{position:absolute; left:8%; top:46%; width:64%; height:10px; border-radius:6px; background:#B4CFFE}
.benefits-media--ultra .card.c2 .pill{
position:absolute; right:8%; top:50%; width:18%; height:22%; border-radius:999px;
background:linear-gradient(90deg, var(--p) 0%, var(--p2) 100%);
box-shadow:0 12px 28px rgba(59,130,246,.25);
overflow:hidden;
}
.benefits-media--ultra .card.c2 .pill::after{
content:""; position:absolute; inset:0;
background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.38) 20%, transparent 42%);
transform:translateX(-120%);
animation:shimmer 2.1s ease-in-out infinite 220ms;
mix-blend-mode:screen;
}

/* Карточка 3 */
.benefits-media--ultra .card.c3{left:9%; top:68%; width:40%; height:20%}
.benefits-media--ultra .card.c3 .avatar{
position:absolute; left:8%; top:18%; width:30px; height:30px; border-radius:50%;
background: radial-gradient(circle at 60% 40%, #CFE3FF, #94BDFE);
box-shadow: inset 0 2px 6px rgba(255,255,255,.6);
}
.benefits-media--ultra .card.c3 .line1{position:absolute; left:calc(8% + 40px); top:22%; width:52%; height:10px; background:#B4CFFE; border-radius:6px}
.benefits-media--ultra .card.c3 .line2{position:absolute; left:calc(8% + 40px); top:44%; width:38%; height:10px; background:#C9DAFF; border-radius:6px}

/* «Модальное» стекло с табом и чипами */
.benefits-media--ultra .card.c4{right:6%; top:12%; width:26%; height:24%}
.benefits-media--ultra .card.c4 .tab{
position:absolute; top:10%; left:8%; right:8%; height:28%;
background:rgba(234,242,255,.85);
border:1px solid var(--bd); border-radius:10px;
box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
.benefits-media--ultra .card.c4 .chips{position:absolute; left:8%; right:8%; bottom:12%; display:grid; grid-template-columns:1fr 1fr; gap:8px}
.benefits-media--ultra .card.c4 .chips i{
display:block; height:12px; border-radius:999px; background:#B4CFFE; border:1px solid var(--bd)
}



/* Мини‑гистограмма */
.benefits-media--ultra .bars{position:absolute; right:8%; top:44%; width:20%; height:18%; display:grid; grid-template-columns:repeat(5,1fr); align-items:end; gap:6px}
.benefits-media--ultra .bars i{
display:block; height:30%;
background:linear-gradient(180deg, #CFE3FF 0%, var(--p) 100%);
border-radius:6px; box-shadow:0 6px 20px rgba(59,130,246,.18)
}
.benefits-media--ultra .bars i:nth-child(2){height:60%}
.benefits-media--ultra .bars i:nth-child(3){height:38%}
.benefits-media--ultra .bars i:nth-child(4){height:72%}
.benefits-media--ultra .bars i:nth-child(5){height:46%}

/* Декоративные узлы */
.benefits-media--ultra .dot{position:absolute; width:16px; height:16px; border-radius:50%; background:#FFF; border:1px solid var(--bd); box-shadow:0 4px 14px rgba(0,0,0,.05)}
.benefits-media--ultra .d1{top:16%; left:64%}
.benefits-media--ultra .d2{top:34%; left:74%}
.benefits-media--ultra .d3{top:62%; left:66%}

/* Плавание карточек (микро‑параллакс) */
.benefits-media--ultra .card.c1{animation:floatA 7s ease-in-out infinite}
.benefits-media--ultra .card.c2{animation:floatB 8s ease-in-out infinite 120ms}
.benefits-media--ultra .card.c3{animation:floatA 7.6s ease-in-out infinite 240ms}
.benefits-media--ultra .card.c4{animation:floatB 9s ease-in-out infinite 360ms}
@keyframes floatA{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-3px,0)}}
@keyframes floatB{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-4px,0)}}

/* Шиммер и рост прогресса */
@keyframes shimmer{0%{transform:translateX(-130%)}60%,100%{transform:translateX(115%)}}
@keyframes fillGrow{to{width:25%}}

/* Accessibility: отключаем движения при системной настройке */
/* @media (prefers-reduced-motion: reduce){
.benefits-media--ultra .card.c1,
.benefits-media--ultra .card.c2,
.benefits-media--ultra .card.c3,
.benefits-media--ultra .card.c4,
.benefits-media--ultra .card.c2 .pill::after{ animation:none }
} */

/* Адаптив */
@media (max-width:1100px){
.benefits_media.benefits-media--ultra{ aspect-ratio:16/10 }
.benefits-media--ultra .ring{ width:84px; height:84px }
}
@media (max-width:640px){
.benefits_media.benefits-media--ultra{ aspect-ratio:16/11 }
.benefits-media--ultra .dot{ display:none }
}

/* CSS Icons для шагов */
.i-list::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 14px;
  width: 24px;
  height: 16px;
  border: 2px solid var(--c-primary);
  border-radius: 4px;
  opacity: .16;
}

.i-list::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 16px;
  height: 2px;
  background: var(--c-primary);
  box-shadow: 0 4px 0 var(--c-primary), 0 8px 0 var(--c-primary);
}

.i-wallet::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 20px;
  height: 14px;
  border-radius: 4px;
  background: var(--c-primary);
  opacity: .16;
}

.i-wallet::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  width: 12px;
  height: 6px;
  border: 2px solid var(--c-primary);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
}

.i-migrate::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 16px;
  width: 24px;
  height: 12px;
  border-radius: 6px;
  background: var(--c-primary);
  opacity: .14;
}

.i-migrate::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 14px;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-left-color: var(--c-primary);
}

/* Титульный hero: центр, компактная высота и гарантированный зазор снизу */
.universal-hero.hero--centered .hero_inner {
  grid-template-columns: 1fr;
  justify-items: center;
}

.universal-hero.hero--centered .herocontent {
  text-align: center;
  margin-inline: auto;
  max-width: 72ch;
}

/* Только титульный hero (текстовый) */
.universal-hero.hero--centered.hero--compact .hero_content {
  text-align: center;
}
.universal-hero.hero--centered.hero--compact .hero_underline,
.universal-hero.hero--centered.hero--compact .hero_underline,
.universal-hero.hero--centered.hero--compact .herounderline {
  display: block;
  margin: 10px auto 0; /* центр под заголовком */
}

/* Компактный титульный hero + зазор ниже */
.universal-hero.hero--centered.hero--compact {
  padding-block: 56px 40px; /* верх/низ внутри hero */
  margin-bottom: 48px; /* ВОТ ЭТО — расстояние до следующего блока */
}

/* На мобильных чуть плотнее */
@media (max-width: 640px) {
  .universal-hero.hero--centered.hero--compact {
    padding-block: 40px 28px;
    margin-bottom: 36px;
  }
}

/* В титульном hero визуальная часть не нужна */
.universal-hero.hero--centered.hero--compact .hero__visual {
  display: none;
}

/* Table section: внутренний отступ сверху */
.table-block {
  padding: 64px 24px 80px; /* top right/left bottom */
}

/* Чуть больше зазора между шапкой и таблицей */
.table-wrap {
  margin-top: 16px;
}

/* Мобильнее — компактнее */
@media (max-width: 600px) {
  .table-block {
    padding: 40px 16px 60px;
  }
}
/* Квадратная карта, аккуратно по центру, в стиле системы */
.prose .map-embed {
  width: min(720px, 100%);
  margin: 16px auto;
  aspect-ratio: 1 / 1; /* делает блок квадратным */
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elev);
  overflow: hidden; /* скругление для iframe */
  background: #fff;
}

.prose .map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .prose .map-embed {
    width: 100%; /* на мобилке — на всю ширину колонки */
    aspect-ratio: 1 / 1; /* сохраняем квадрат */
  }
}

/* ==========================================
   BENEFITS MEDIA ULTRA VERSION
   ========================================== */

.benefits-media--ultra{
/* Локальные токены под гайд */
--p:#3B82F6; /* primary */
--p2:#2563EB; /* primary hover/dark */
--pl:#EAF2FF; /* primary light */
--bd:#D6E3FB; /* light border */
--shadow:0 6px 24px rgba(0,0,0,.06);

position:relative; border-radius:16px; overflow:hidden;
border:1px solid var(--bd);
box-shadow: var(--shadow);
aspect-ratio:4/3;
background:
radial-gradient(60% 80% at 12% 10%, rgba(59,130,246,.10) 0%, rgba(59,130,246,0) 60%),
radial-gradient(60% 80% at 88% 86%, rgba(37,99,235,.14) 0%, rgba(37,99,235,0) 60%),
linear-gradient(180deg, var(--pl) 0%, #CFE3FF 100%);
isolation:isolate;
will-change: transform;
}
.benefits-media--ultra .cssart{position:absolute; inset:0; pointer-events:none}

/* Тонкая сетка + «шум» для тактильности */
.benefits-media--ultra::before{
content:""; position:absolute; inset:-1px;
background:
linear-gradient(0deg, rgba(255,255,255,.45), rgba(255,255,255,.45)),
repeating-linear-gradient(0deg, rgba(59,130,246,.06) 0 1px, transparent 1px 20px),
repeating-linear-gradient(90deg, rgba(59,130,246,.05) 0 1px, transparent 1px 20px);
mix-blend-mode:soft-light; pointer-events:none;
}
.benefits-media--ultra::after{
content:""; position:absolute; inset:0;
background:
radial-gradient(120% 140% at 0% 0%, rgba(255,255,255,.6), rgba(255,255,255,0) 45%),
radial-gradient(160% 160% at 100% 100%, rgba(37,99,235,.10), rgba(37,99,235,0) 55%);
pointer-events:none;
}

/* Ауры */
.benefits-media--ultra .blob{position:absolute; filter:blur(20px); opacity:.55; transform:translateZ(0)}
.benefits-media--ultra .b1{left:-6%; top:-6%; width:34%; height:34%; background:radial-gradient(circle at 40% 40%, rgba(99,151,255,.35), rgba(99,151,255,0) 60%)}
.benefits-media--ultra .b2{right:-8%; bottom:-10%; width:40%; height:40%; background:radial-gradient(circle at 60% 60%, rgba(37,99,235,.35), rgba(37,99,235,0) 60%)}

/* «Стекло»: градиентная кайма, внутренний блик, лёгкая цветная тень */
.benefits-media--ultra .glass{
position:absolute;
background:
linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.78)) padding-box,
linear-gradient(180deg, rgba(59,130,246,.35), rgba(37,99,235,.15)) border-box;
border:1px solid transparent;
border-radius:14px;
box-shadow:
0 10px 30px rgba(59,130,246,.10),
var(--shadow),
inset 0 1px 0 rgba(255,255,255,.65);
backdrop-filter:saturate(120%) blur(8px);
}
@supports not (backdrop-filter:blur(8px)){
.benefits-media--ultra .glass{background:#FFF; border:1px solid var(--bd)}
}

/* Карточка 1 */
.benefits-media--ultra .card.c1{left:7%; top:8%; width:46%; height:22%}
.benefits-media--ultra .card.c1 .bar{position:absolute; left:8%; top:22%; width:24%; height:12px; border-radius:6px; background:#94BDFE}
.benefits-media--ultra .card.c1 .line{position:absolute; left:8%; top:44%; width:56%; height:10px; border-radius:6px; background:#B4CFFE}
.benefits-media--ultra .card.c1 .tick{
position:absolute; right:6%; top:28%; width:46px; height:46px; border-radius:50%;
background: radial-gradient(120% 120% at 30% 30%, #FFF, #EAF2FF);
border:2px solid var(--p);
box-shadow: inset 0 6px 18px rgba(59,130,246,.18);
}
.benefits-media--ultra .card.c1 .tick::after{
content:""; position:absolute; left:12px; top:18px; width:20px; height:10px;
border:3px solid #22C55E; border-top:0; border-left:0; border-radius:1px;
transform: rotate(45deg) scale(0);
transition: transform .4s cubic-bezier(.34,1.56,.64,1);
animation: tickShow 1ms linear both calc(var(--progDur) + var(--progDelay) + 200ms);
}

/* Карточка 2 */
.benefits-media--ultra .card.c2{left:15%; top:39%; width:58%; height:23%}
.benefits-media--ultra .card.c2 .bar{position:absolute; left:8%; top:22%; width:28%; height:12px; border-radius:6px; background:#94BDFE}
.benefits-media--ultra .card.c2 .line{position:absolute; left:8%; top:46%; width:64%; height:10px; border-radius:6px; background:#B4CFFE}
.benefits-media--ultra .card.c2 .pill{
position:absolute; right:8%; top:50%; width:18%; height:22%; border-radius:999px;
background:linear-gradient(90deg, var(--p) 0%, var(--p2) 100%);
box-shadow:0 12px 28px rgba(59,130,246,.25);
overflow:hidden;
}
.benefits-media--ultra .card.c2 .pill::after{
content:""; position:absolute; inset:0;
background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.38) 20%, transparent 42%);
transform:translateX(-120%);
animation:shimmer 2.1s ease-in-out infinite 220ms;
mix-blend-mode:screen;
}

/* Карточка 3 */
.benefits-media--ultra .card.c3{left:9%; top:68%; width:40%; height:20%}
.benefits-media--ultra .card.c3 .avatar{
position:absolute; left:8%; top:18%; width:30px; height:30px; border-radius:50%;
background: radial-gradient(circle at 60% 40%, #CFE3FF, #94BDFE);
box-shadow: inset 0 2px 6px rgba(255,255,255,.6);
}
.benefits-media--ultra .card.c3 .line1{position:absolute; left:calc(8% + 40px); top:22%; width:52%; height:10px; background:#B4CFFE; border-radius:6px}
.benefits-media--ultra .card.c3 .line2{position:absolute; left:calc(8% + 40px); top:44%; width:38%; height:10px; background:#C9DAFF; border-radius:6px}

/* «Модальное» стекло с табом и чипами */
.benefits-media--ultra .card.c4{right:6%; top:12%; width:26%; height:24%}
.benefits-media--ultra .card.c4 .tab{
position:absolute; top:10%; left:8%; right:8%; height:28%;
background:rgba(234,242,255,.85);
border:1px solid var(--bd); border-radius:10px;
box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
.benefits-media--ultra .card.c4 .chips{position:absolute; left:8%; right:8%; bottom:12%; display:grid; grid-template-columns:1fr 1fr; gap:8px}
.benefits-media--ultra .card.c4 .chips i{
display:block; height:12px; border-radius:999px; background:#B4CFFE; border:1px solid var(--bd)
}



/* Мини‑гистограмма */
.benefits-media--ultra .bars{position:absolute; right:8%; top:44%; width:20%; height:18%; display:grid; grid-template-columns:repeat(5,1fr); align-items:end; gap:6px}
.benefits-media--ultra .bars i{
display:block; height:30%;
background:linear-gradient(180deg, #CFE3FF 0%, var(--p) 100%);
border-radius:6px; box-shadow:0 6px 20px rgba(59,130,246,.18)
}
.benefits-media--ultra .bars i:nth-child(2){height:60%}
.benefits-media--ultra .bars i:nth-child(3){height:38%}
.benefits-media--ultra .bars i:nth-child(4){height:72%}
.benefits-media--ultra .bars i:nth-child(5){height:46%}

/* Декоративные узлы */
.benefits-media--ultra .dot{position:absolute; width:16px; height:16px; border-radius:50%; background:#FFF; border:1px solid var(--bd); box-shadow:0 4px 14px rgba(0,0,0,.05)}
.benefits-media--ultra .d1{top:16%; left:64%}
.benefits-media--ultra .d2{top:34%; left:74%}
.benefits-media--ultra .d3{top:62%; left:66%}

/* Плавание карточек (микро‑параллакс) */
.benefits-media--ultra .card.c1{animation:floatA 7s ease-in-out infinite}
.benefits-media--ultra .card.c2{animation:floatB 8s ease-in-out infinite 120ms}
.benefits-media--ultra .card.c3{animation:floatA 7.6s ease-in-out infinite 240ms}
.benefits-media--ultra .card.c4{animation:floatB 9s ease-in-out infinite 360ms}
@keyframes floatA{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-3px,0)}}
@keyframes floatB{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-4px,0)}}

/* Шиммер и рост прогресса */
@keyframes shimmer{0%{transform:translateX(-130%)}60%,100%{transform:translateX(115%)}}
@keyframes fillGrow{to{width:25%}}

/* Accessibility: отключаем движения при системной настройке */
/* @media (prefers-reduced-motion: reduce){
.benefits-media--ultra .card.c1,
.benefits-media--ultra .card.c2,
.benefits-media--ultra .card.c3,
.benefits-media--ultra .card.c4,
.benefits-media--ultra .card.c2 .pill::after{ animation:none }
} */

/* Адаптив */
@media (max-width:1100px){
.benefits_media.benefits-media--ultra{ aspect-ratio:16/10 }
.benefits-media--ultra .ring{ width:84px; height:84px }
}
@media (max-width:640px){
.benefits_media.benefits-media--ultra{ aspect-ratio:16/11 }
.benefits-media--ultra .dot{ display:none }
}

/* ==========================================
   ENHANCED ANIMATIONS FOR ULTRA VERSION
   ========================================== */


/* Общие тайминги и цвета */
.benefits-media--ultra { 
--progDelay: 120ms; --progDur: 3000ms; 
--p: #3B82F6; --p2: #2563EB; --bd: #D6E3FB; 
}

/* 1) Линейный прогресс: ОДИН РАЗ до 100% (по умолчанию) */
.benefits-media--ultra .progress {
position: absolute; left: 10%; bottom: 8%; width: 56%; height: 12px; border-radius: 999px;
background: #FFF; border: 1px solid var(--bd); overflow: hidden;
box-shadow: 0 2px 10px rgba(0,0,0,.04) inset;
}
.benefits-media--ultra .progress i {
display: block; height: 100%; width: 0%;
background: linear-gradient(90deg, var(--p) 0%, var(--p2) 100%);
border-right: 1px solid rgba(255,255,255,.6);
animation: fillGrowFull var(--progDur) cubic-bezier(.22,.8,.36,1) forwards var(--progDelay);
animation-play-state: running;
}
@keyframes fillGrowFull { 
  from { width: 0%; } 
  to { width: 100%; } 
}
@keyframes tickShow { to { transform: rotate(45deg) scale(1); } }

/* 2) Круговой прогресс — совместимая реализация без @property */
.benefits-media--ultra .ring.ring--compat {
position: absolute; right: 6%; bottom: 10%; width: 96px; height: 96px; border-radius: 50%;
background: radial-gradient(circle at 50% 50%, #FFF 65%, transparent 66%) , #E3ECFF;
box-shadow: 0 10px 26px rgba(59,130,246,.18);
}
.benefits-media--ultra .ring.ring--compat .slice,
.benefits-media--ultra .ring.ring--compat .fill { 
position: absolute; inset: 0; border-radius: 50%; 
}
.benefits-media--ultra .ring.ring--compat .right { 
clip: rect(0, 96px, 96px, 48px); 
}
.benefits-media--ultra .ring.ring--compat .right .fill {
background: var(--p); clip: rect(0, 48px, 96px, 0);
transform: rotate(0deg); transform-origin: 48px 48px;
animation: rRight var(--progDur) linear forwards var(--progDelay);
}
.benefits-media--ultra .ring.ring--compat .left { 
clip: rect(0, 48px, 96px, 0); 
}
.benefits-media--ultra .ring.ring--compat .left .fill {
background: var(--p); clip: rect(0, 96px, 96px, 48px);
transform: rotate(0deg); transform-origin: 48px 48px;
animation: rLeft var(--progDur) linear forwards calc(var(--progDelay) + var(--progDur)/2);
}
@keyframes rRight { to { transform: rotate(180deg); } }
@keyframes rLeft { to { transform: rotate(180deg); } }
/* белый центр и обводка */
.benefits-media--ultra .ring.ring--compat::before {
content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #FFF; border: 1px solid var(--bd);
box-shadow: inset 0 6px 18px rgba(59,130,246,.08), inset 0 1px 0 rgba(255,255,255,.7);
}
/* Ровная, центрированная галочка внутри кольца */
.benefits-media--ultra .ring.ring--compat { position: relative; }
.benefits-media--ultra .ring.ring--compat .checkmark {
/* Толщина штриха: под 96px кольцо ~6px; на меньших экранах уменьшим */
--t: 6px;

position: absolute;
left: 50%; top: 50%;
width: 56%; height: 36%; /* пропорции «галочки» */
transform: translate(-50%, -50%) rotate(45deg) scale(0.96);
transform-origin: center;
opacity: 0; /* по умолчанию скрыта */
transition: opacity .28s ease, transform .28s ease;
/* Появление строго после завершения прогресса (синхронизировано со временем) */
animation: chkAppearTidy 1ms linear both calc(var(--progDelay,120ms) + var(--progDur,3000ms) + 120ms);
}
@keyframes chkAppearTidy { to { opacity: 1; transform: translate(-50%, -50%) rotate(45deg) scale(1); } }

/* Два штриха одинаковой толщины — без «ломаных» краёв */
.benefits-media--ultra .ring.ring--compat .checkmark::before,
.benefits-media--ultra .ring.ring--compat .checkmark::after {
content: "";
position: absolute;
height: var(--t);
background: #22C55E; /* success */
border-radius: 999px; /* идеальный «скошенный» край */
left: 0;
top: calc(50% - var(--t)/2);
}

/* Длинная ножка — тянется слева направо внутри контейнера */
.benefits-media--ultra .ring.ring--compat .checkmark::before {
width: 70%; /* основная длинная линия */
}

/* Короткая ножка — вертикальная, аккуратно примыкает к длинной */
.benefits-media--ultra .ring.ring--compat .checkmark::after {
width: 38%;
left: 64%; /* точка стыка с длинной ножкой */
transform: rotate(-90deg);
transform-origin: left center;
}



/* 4) Бары — плавно, по очереди и медленнее */
.benefits-media--ultra .bars {
position: absolute; right: 8%; top: 44%; width: 20%; height: 18%; 
display: grid; grid-template-columns: repeat(5,1fr); align-items: end; gap: 6px;
transform: translateZ(0);
}
.benefits-media--ultra .bars i {
height: 100%; border-radius: 6px;
background: linear-gradient(180deg, #CFE3FF 0%, var(--p) 100%);
box-shadow: 0 6px 20px rgba(59,130,246,.18);
transform-origin: bottom center;
animation: barDrift 5.6s ease-in-out infinite;
}
.benefits-media--ultra .bars i:nth-child(1){ animation-duration: 6.2s; animation-delay: .00s }
.benefits-media--ultra .bars i:nth-child(2){ animation-duration: 6.8s; animation-delay: .22s }
.benefits-media--ultra .bars i:nth-child(3){ animation-duration: 6.0s; animation-delay: .44s }
.benefits-media--ultra .bars i:nth-child(4){ animation-duration: 7.0s; animation-delay: .66s }
.benefits-media--ultra .bars i:nth-child(5){ animation-duration: 5.8s; animation-delay: .88s }
@keyframes barDrift {
0% { transform: scaleY(.32) }
20% { transform: scaleY(.58) }
40% { transform: scaleY(.42) }
60% { transform: scaleY(.82) }
80% { transform: scaleY(.50) }
100% { transform: scaleY(.62) }
}

/* ===== РЕЖИМ ДЕМО‑ЦИКЛА (включается классом .anim-loop на figure) ===== */
.benefits-media--ultra.anim-loop { --cycle: 4200ms; --fillDur: 2600ms; --pause: 800ms; --reset: 800ms; }

/* Прогресс (цикл): 0→100% → пауза → 0 → снова */
.benefits-media--ultra.anim-loop .progress i {
animation: fillCycle var(--cycle) linear infinite var(--progDelay);
}
@keyframes fillCycle {
0% { width: 0% }
62% { width: 100% } /* ~2.6s из 4.2s */
80% { width: 100% } /* пауза на полном */
100% { width: 0% } /* сброс */
}

/* Круг (цикл): наливка 0→360°, пауза, сброс */
.benefits-media--ultra.anim-loop .ring {
animation: ringCycle var(--cycle) linear infinite var(--progDelay);
}
@keyframes ringCycle {
0% { --ang: 0deg }
62% { --ang: 360deg }
80% { --ang: 360deg }
100% { --ang: 0deg }
}


/* Тоньше штрих на уменьшенном кольце (например, при адаптиве 84px) */
@media (max-width: 1100px){
.benefits-media--ultra .ring.ring--compat .checkmark { --t: 5px; }
}
@media (max-width: 640px){
.benefits-media--ultra .ring.ring--compat .checkmark { --t: 4.5px; }
}

/* На случай reduce-motion — показываем финальное состояние без анимации */
@media (prefers-reduced-motion: reduce){
.benefits-media--ultra .ring.ring--compat .checkmark {
animation: none;
opacity: 1;
transform: translate(-50%, -50%) rotate(45deg) scale(1);
}
}

/* ==========================================
   FOOTER
   ========================================== */

/* Footer */
.site-footer {
background: #fff;
border-top: 1px solid var(--c-border);
}
.site-footer .foot-inner {
max-width: var(--container-max);
margin: 0 auto;
padding: 40px 24px;
}
.foot-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 24px;
}
.foot-title {
margin: 0 0 12px;
color: var(--c-text);
font: 700 14px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.foot-list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 8px;
}
.foot-list a {
color: var(--c-text-2);
text-decoration: none;
font: 500 13px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.foot-list a:hover {
color: var(--c-primary);
text-decoration: underline;
}
/* === FIX: прогресс + бары (override) === */

/* Линейный прогресс: анимируем через scaleX, даже если где-то задан width:100% */
.benefits-media--ultra .progress i {
width: 100% !important; /* пусть ширина всегда 100% */
transform: scaleX(0) !important; /* старт: пусто */
transform-origin: 0 50%;
will-change: transform;
background: linear-gradient(90deg, #3B82F6 0%, #2563EB 100%);
border-right: 1px solid rgba(255,255,255,.6);
animation: pgFill 3000ms cubic-bezier(.22,.8,.36,1) forwards 120ms !important;
}
@keyframes pgFill { to { transform: scaleX(1) } }

/* Блок баров: обеспечиваем высоту контейнера и анимацию столбцов */
.benefits-media--ultra .bars {
position: absolute; right: 8%; top: 44%;
width: 20%; height: 18% !important; /* явная высота, чтобы scaleY было куда расти */
display: grid; grid-template-columns: repeat(5,1fr);
align-items: end; gap: 6px; transform: translateZ(0);
}
.benefits-media--ultra .bars i {
display: block !important;
height: 100% !important; /* базовая высота = вся колонка */
transform-origin: bottom center;
background: linear-gradient(180deg, #CFE3FF 0%, #3B82F6 100%);
border-radius: 6px;
box-shadow: 0 6px 20px rgba(59,130,246,.18);
animation: barDrift 5.8s ease-in-out infinite;
}
.benefits-media--ultra .bars i:nth-child(1){ animation-duration: 6.4s; animation-delay: .00s }
.benefits-media--ultra .bars i:nth-child(2){ animation-duration: 7.0s; animation-delay: .20s }
.benefits-media--ultra .bars i:nth-child(3){ animation-duration: 6.2s; animation-delay: .40s }
.benefits-media--ultra .bars i:nth-child(4){ animation-duration: 7.2s; animation-delay: .60s }
.benefits-media--ultra .bars i:nth-child(5){ animation-duration: 6.0s; animation-delay: .80s }
@keyframes barDrift {
0% { transform: scaleY(.30) }
20% { transform: scaleY(.56) }
40% { transform: scaleY(.42) }
60% { transform: scaleY(.80) }
80% { transform: scaleY(.52) }
100% { transform: scaleY(.62) }
}

/* Reduce-motion: показываем финал, НЕ обнуляем */
@media (prefers-reduced-motion: reduce){
.benefits-media--ultra .progress i { animation: none !important; transform: scaleX(1) !important; }
.benefits-media--ultra .bars i { animation: none !important; transform: scaleY(.6) !important; }
}

.foot-bottom {
margin-top: 24px;
padding-top: 16px;
border-top: 1px solid var(--c-border);
color: var(--c-text-2);
font: 500 12px/1.4 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
}
@media (max-width: 640px) {
.foot-grid {
grid-template-columns: 1fr;
}
}

/* Footer brand and description */
.site-footer .foot-brand {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 8px;
}
.site-footer .foot-desc {
color: var(--c-text-2);
font: 500 13px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
margin: 4px 0 24px;
max-width: 720px;
}
@media (max-width: 640px) {
.site-footer .foot-brand { justify-content: center; }
.site-footer .foot-desc { text-align: center; margin-left: auto; margin-right: auto; }
}

/* ==========================================
   WIKI PAGE STYLES
   ========================================== */

/* Hero компактный для Wiki */
.hero--compact {
padding: 60px 0 40px;
}
.hero--compact .hero_title {
font-size: 2.5rem;
}
.hero--compact .herosubtitle {
font-size: 1.125rem;
margin-top: 16px;
}

/* Поиск по статьям */
.search-section {
padding: 40px 0;
background: #F8FAFC;
border-bottom: 1px solid var(--c-border);
}
.search_inner {
max-width: var(--container-max);
margin: 0 auto;
padding: 0 24px;
}
.search_form {
max-width: 600px;
margin: 0 auto;
}
.search_field {
position: relative;
display: flex;
align-items: center;
background: #fff;
border: 1px solid var(--c-border);
border-radius: 12px;
padding: 4px 4px 4px 16px;
box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.search_icon {
width: 20px;
height: 20px;
margin-right: 12px;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.search_field input {
flex: 1;
border: none;
outline: none;
background: transparent;
font: 500 16px/1.5 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
color: var(--c-text);
}
.search_field input::placeholder {
color: var(--c-text-2);
}
.search_field .btn {
margin-left: 12px;
}

/* Список статей */
.wiki-list {
padding: 60px 0;
}
.doc_inner {
max-width: var(--container-max);
margin: 0 auto;
padding: 0 24px;
}
.cards-grid {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 24px;
}
.cards-grid--3 {
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.doc-card {
display: block;
padding: 24px;
background: #fff;
border: 1px solid var(--c-border);
border-radius: 12px;
text-decoration: none;
color: inherit;
transition: all 0.2s ease;
position: relative;
}
.doc-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 32px rgba(0,0,0,.08);
border-color: var(--c-primary);
}
.doc-card_title {
margin: 0 0 12px;
font: 700 18px/1.4 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
color: var(--c-text);
}
.doc-card_desc {
margin: 0;
font: 500 14px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
color: var(--c-text-2);
}
.doc-card_arrow {
position: absolute;
top: 24px;
right: 24px;
width: 20px;
height: 20px;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
opacity: 0.5;
transition: all 0.2s ease;
}
.doc-card:hover .doc-card_arrow {
opacity: 1;
transform: translateX(4px);
}

/* Активная ссылка в навигации */
.nav_link--current {
color: var(--c-primary);
font-weight: 600;
}

/* Screen reader only */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}

/* Адаптив для Wiki */
@media (max-width: 768px) {
.hero--compact {
padding: 40px 0 30px;
}
.hero--compact .hero_title {
font-size: 2rem;
}
.search-section {
padding: 30px 0;
}
.search_field {
flex-direction: column;
align-items: stretch;
padding: 12px;
gap: 12px;
}
.search_field input {
padding: 12px 0;
}
.search_field .btn {
margin-left: 0;
}
.cards-grid--3 {
grid-template-columns: 1fr;
}
.doc-card {
padding: 20px;
}
.doc-card_arrow {
right: 20px;
}
}

/* Allow hero text to shrink and wrap on narrow screens. */
@media (max-width: 320px) {
    .hero_inner .herocontent,
    .hero_inner .hero_content {
        min-width: 0;
    }

    .hero_inner .herotitle,
    .hero_inner .hero_title,
    .hero_inner .hero__title,
    .hero_inner .herosubtitle,
    .hero_inner .hero_subtitle,
    .hero_inner .hero__subtitle {
        overflow-wrap: anywhere;
    }
}

/* Wiki Search */
.wiki-search .search_meta {
margin-top: 8px; 
text-align: center; 
color: #475569; 
font-size: 14px;
}
.wiki-search .search_meta .count { 
font-weight: 600; 
color: #1E293B; 
}
.wiki-search .clear-btn {
background: none; 
border: 0; 
color: #2563EB; 
cursor: pointer; 
padding: 6px 8px; 
margin-left: 8px;
}
.doc-card mark {
background: #EAF2FF;
color: inherit;
border-radius: 4px;
padding: 0 .12em;
box-shadow: inset 0 0 0 1px rgba(59,130,246,.25);
}
