/* =========================================================
   Beget Free — базовые стили и переменные
   ========================================================= */

/* ---------- 1. Переменные ---------- */
:root {
  /* Цвета фона */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F7F9FC;
  --color-bg-soft: #F3F6FA;

  /* Текст */
  --color-text: #172033;
  --color-text-muted: #667085;
  --color-text-faint: #98A2B3;

  /* Линии/границы */
  --color-border: #E4E9F2;
  --color-border-strong: #D0D7E6;

  /* Акцент */
  --color-primary: #4F46E5;
  --color-primary-dark: #4034C4;
  --color-primary-light: #EEF0FE;
  --color-accent: #06B6D4;

  /* Статусы */
  --color-success: #12B76A;
  --color-success-bg: #ECFDF3;
  --color-star: #F59E0B;

  /* Геометрия */
  --container-width: 1200px;
  --container-padding: 24px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  /* Тени */
  --shadow-sm: 0 1px 2px rgba(23, 32, 51, .06);
  --shadow-md: 0 12px 28px -8px rgba(23, 32, 51, .14);
  --shadow-lg: 0 28px 56px -12px rgba(23, 32, 51, .22);

  /* Прочее */
  --transition: .2s ease;
  --transition-slow: .4s cubic-bezier(.16,1,.3,1);
  --font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-height: 76px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, picture, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }

::selection { background: var(--color-primary); color: #fff; }

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

.cookie {
    max-width:50%;
    width: 70%;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    bottom: 50px;
    box-shadow: 0 4px 30px 0 rgba(0, 0, 0, .25);
    background: #d8d8d8;
    color: #000;
    border-radius: .25rem;
}
.cookie__wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: .625rem 1rem;
}
.cookie__text {
    max-width: 60rem;
}
.text--underline {
    text-decoration: underline;
    text-underline-position: under;
}
.cookie__buttons {
    display: flex;
    align-items: center;
    gap: .625rem;
}
.button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    min-width: 8.25rem;
}
.cookie__accept{
	
}


.article-body pre {
    overflow-x: auto;
}
.article-body table{
	border: 1px solid var(--color-border);
}
.article-body table td{
	border: 1px solid var(--color-border);
	padding:20px;
}
.article-body table th{
	border: 1px solid var(--color-border);
	padding:12px;
	background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 999;
  transition: top var(--transition);
}
.skip-link:focus { top: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 2.1 Иконки (sprite, use) ---------- */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* ---------- 3. Типографика ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.25rem, 1.85rem + 1.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.75rem, 1.55rem + 0.9vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.375rem);
  font-weight: 700;
}

h4 { font-size: 1.0625rem; font-weight: 600; }

p { color: var(--color-text); }

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }

strong { font-weight: 700; }

/* ---------- 4. Контейнеры и сетка секций ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container--narrow { max-width: 820px; }
.container--wide { max-width: 1360px; }

.section {
  padding-block: clamp(56px, 8vw, 112px);
}
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--alt { background: var(--color-bg-alt); }
.section--soft { background: var(--color-bg-soft); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.section-head p { margin-top: 14px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: 16px;
}
.eyebrow svg { width: 15px; height: 15px; }

/* ---------- 5. Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(79,70,229,.15);
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: #fff;
  color: var(--color-text);
  border: 1.5px solid var(--color-border-strong);
}
.btn-secondary:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-ghost { background: transparent; color: var(--color-primary); padding-inline: 6px; }
.btn-ghost:hover { color: var(--color-primary-dark); gap: 12px; }

.btn-white { background: #fff; color: var(--color-primary); }
.btn-white:hover { background: var(--color-bg-soft); transform: translateY(-2px); }

.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }

.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: .875rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px -8px rgba(23,32,51,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-height);
}

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.0625rem; flex-shrink: 0; }
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), #8B7CFF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.logo-mark svg { width: 19px; height: 19px; }
.logo-text-muted { color: var(--color-text-muted); font-weight: 500; }

.nav-main { display: flex; align-items: center; gap: 2px; }
.nav-main ul{ display: flex; align-items: center; gap: 2px; } 
.nav-main a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--radius-full);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition);
}
.nav-main a:hover { background: var(--color-bg-soft); }
.nav-main a.is-active { color: var(--color-primary); background: var(--color-primary-light); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.burger:hover { background: var(--color-bg-soft); }
.burger svg { width: 22px; height: 22px; }
.burger .icon-close { display: none; }
.burger.is-open .icon-open { display: none; }
.burger.is-open .icon-close { display: block; }

.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: #fff;
  z-index: 90;
  padding: 24px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), transform var(--transition-slow), visibility 0s linear .4s;
}
.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: opacity var(--transition-slow), transform var(--transition-slow), visibility 0s;
}
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 1.125rem;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a.is-active { color: var(--color-primary); }
.mobile-nav .btn { margin-top: 24px; }

/* ---------- 7. Хлебные крошки ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .875rem; color: var(--color-text-muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--color-text-muted); transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs svg { width: 14px; height: 14px; opacity: .5; }
.breadcrumbs .is-current { color: var(--color-text); font-weight: 500; }

/* ---------- 8. Hero (главная) ---------- */
.hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-content .eyebrow { }
.hero-content h1 { margin-bottom: 20px; }
.hero-content .lead { max-width: 480px; margin-bottom: 32px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; }
.hero-point { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 500; color: var(--color-text-muted); }
.hero-point svg { width: 18px; height: 18px; color: var(--color-success); flex-shrink: 0; }

/* Визуал hero — мокап панели управления */
.hero-visual { position: relative; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  opacity: .55;
}
.hero-blob--1 { width: 320px; height: 320px; top: -60px; right: -40px; background: radial-gradient(circle, #C7D2FE, transparent 70%); }
.hero-blob--2 { width: 260px; height: 260px; bottom: -40px; left: -40px; background: radial-gradient(circle, #A5F3FC, transparent 70%); }

.panel-mock {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  max-width: 440px;
  margin-inline: auto;
}
.panel-mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-mock-dots { display: flex; gap: 6px; }
.panel-mock-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--color-border-strong); }
.panel-mock-status { display: flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--color-success); }
.panel-mock-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-success); animation: pulse-dot 1.8s infinite; }

.panel-mock-title { font-size: .8125rem; font-weight: 700; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 16px; }

.panel-metric { margin-bottom: 16px; }
.panel-metric:last-child { margin-bottom: 0; }
.panel-metric-top { display: flex; justify-content: space-between; font-size: .8125rem; font-weight: 600; margin-bottom: 8px; }
.panel-metric-top span:last-child { color: var(--color-text-muted); font-weight: 500; }
.panel-bar { height: 8px; border-radius: var(--radius-full); background: var(--color-bg-soft); overflow: hidden; }
.panel-bar i { display: block; height: 100%; border-radius: var(--radius-full); background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); }

.panel-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  font-size: .8125rem;
  font-weight: 700;
}
.panel-float svg { width: 20px; height: 20px; color: var(--color-primary); }
.panel-float--1 { top: 6%; left: -8%; }
.panel-float--2 { bottom: 8%; right: -10%; }
.panel-float span.faint { display: block; font-weight: 500; color: var(--color-text-muted); font-size: .75rem; }

@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ---------- 9. Карточки преимуществ ---------- */
.cards-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--color-text-muted); font-size: .9375rem; }

/* ---------- 10. Блок продуктов (bento) ---------- */
.products-grid { display: grid; grid-template-columns: 1.3fr 1fr;  gap: 20px;    align-items: start; }
.products-grid .product-card--featured { grid-row: span 3; }
.products-col { display: grid; grid-template-rows: repeat(3, 1fr); gap: 20px; }

.product-card {
  position: relative;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card--featured { background: linear-gradient(160deg, var(--color-primary-light), var(--color-bg-alt) 65%); justify-content: center; padding: 40px; }
.product-card-icon {
  width: 50px; height: 50px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.product-card-icon svg { width: 26px; height: 26px; }
.product-card h3 { margin-bottom: 8px; }
.product-card p { color: var(--color-text-muted); font-size: .9375rem; margin-bottom: 20px; }
.product-card-list { margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.product-card-list li { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--color-text); }
.product-card-list svg { width: 16px; height: 16px; color: var(--color-success); flex-shrink: 0; }
.product-card .btn { align-self: flex-start; margin-top: auto; }
.product-card-deco { position: absolute; right: -20px; bottom: -20px; opacity: .06; }
.product-card-deco svg { width: 140px; height: 140px; }

/* ---------- 11. Конфигурации / тарифы ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }

.pricing-card {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border-color: var(--color-primary); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.pricing-badge {
  position: absolute; top: -13px; left: 28px;
  background: var(--color-primary); color: #fff;
  font-size: .75rem; font-weight: 700;
  padding: 6px 14px; border-radius: var(--radius-full);
}

.pricing-name { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-text-muted); margin-bottom: 10px; }
.pricing-card h3 { margin-bottom: 10px; }
.pricing-card > p.pricing-desc { color: var(--color-text-muted); font-size: .9375rem; margin-bottom: 22px; min-height: 44px; }

.pricing-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.pricing-price strong { font-size: 1.75rem; font-weight: 800; }
.pricing-price span { color: var(--color-text-muted); font-size: .875rem; }
.pricing-note { font-size: .8125rem; color: var(--color-text-faint); margin-bottom: 24px; }

.pricing-specs { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex-grow: 1; }
.pricing-specs li { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; }
.pricing-specs svg { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; margin-top: 1px; }

/* ---------- 12. Таблица сравнения ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
.compare-table { min-width: 640px; background: #fff; }
.compare-table th, .compare-table td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--color-border); font-size: .9375rem; }
.compare-table thead th { background: var(--color-bg-alt); font-size: .8125rem; text-transform: uppercase; letter-spacing: .03em; color: var(--color-text-muted); font-weight: 700; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--color-bg-alt); }
.compare-table td:first-child, .compare-table th:first-child { font-weight: 700; }
.compare-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-full); background: var(--color-primary-light); color: var(--color-primary); font-size: .8125rem; font-weight: 600; }

/* ---------- 13. Почему мы / статистика ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.stat-card strong {
  display: block;
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.stat-card span { font-size: .875rem; color: var(--color-text-muted); font-weight: 500; }

.topic-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; justify-content: center; }
.topic-pill { padding: 9px 16px; border-radius: var(--radius-full); background: #fff; border: 1px solid var(--color-border); font-size: .875rem; font-weight: 600; color: var(--color-text-muted); }

/* ---------- 14. FAQ ---------- */
.accordion { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin-inline: auto; }
.accordion-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.accordion-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
}
.accordion-trigger svg { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; transition: transform var(--transition-slow); }
.accordion-item.is-open .accordion-trigger svg { transform: rotate(180deg); }
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-slow);
}
.accordion-panel-inner { overflow: hidden; }
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel p { padding: 0 24px 22px; color: var(--color-text-muted); font-size: .9375rem; }

/* ---------- 15. CTA перед футером ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, #6D5AE8 55%, #7C6EFF 100%);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.cta-band::before { width: 280px; height: 280px; top: -140px; right: -60px; }
.cta-band::after { width: 200px; height: 200px; bottom: -100px; left: -40px; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 520px; margin-inline: auto 24px; margin-bottom: 28px; font-size: 1.0625rem; }
.cta-band .btn-row { justify-content: center; position: relative; z-index: 1; }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); padding-block: 64px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--color-text-muted); font-size: .9375rem; max-width: 300px; margin-bottom: 20px; }
.footer-disclaimer { font-size: .8125rem; color: var(--color-text-faint); line-height: 1.6; max-width: 320px; }
.footer-col h4 { font-size: .875rem; text-transform: uppercase; letter-spacing: .03em; color: var(--color-text-faint); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: .9375rem; color: var(--color-text); transition: color var(--transition); }
.footer-col a:hover { color: var(--color-primary); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding-top: 28px; border-top: 1px solid var(--color-border);
  font-size: .8125rem; color: var(--color-text-faint);
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: var(--color-text-faint); }
.footer-legal a:hover { color: var(--color-primary); }

/* ---------- 17. Скролл-анимации ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 18. Внутренний hero страниц продуктов ---------- */
.page-hero { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(48px, 7vw, 80px); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero .lead { max-width: 520px; margin-bottom: 28px; }

.icon-showcase {
  position: relative;
  background: linear-gradient(160deg, var(--color-primary-light), #fff 70%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
}
.icon-showcase svg { width: 120px; height: 120px; color: var(--color-primary); }

/* ---------- 19. Спецификации / характеристики ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spec-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.spec-card svg { width: 22px; height: 22px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.spec-card h3 { font-size: 1rem; margin-bottom: 4px; }
.spec-card p { font-size: .875rem; color: var(--color-text-muted); }

/* Этапы (шаги процесса) */
.steps-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps-list--4 { grid-template-columns: repeat(4, 1fr); }
.step-card { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 28px 24px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 18px;
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { color: var(--color-text-muted); font-size: .9375rem; }

/* ---------- 20. Блог: сетка статей ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-tab {
  padding: 10px 18px; border-radius: var(--radius-full);
  border: 1px solid var(--color-border); font-size: .875rem; font-weight: 600;
  color: var(--color-text-muted); transition: all var(--transition);
}
.filter-tab:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-tab.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.article-card { display: flex; flex-direction: column; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: transform var(--transition-slow), box-shadow var(--transition-slow); }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.article-cover {
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.article-cover svg { width: 44px; height: 44px; color: #fff; opacity: .9; position: relative; z-index: 1; }
.article-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 60%); }
.cover-1 { background: linear-gradient(135deg, #4F46E5, #7C6EFF); }
.cover-2 { background: linear-gradient(135deg, #0EA5E9, #06B6D4); }
.cover-3 { background: linear-gradient(135deg, #6D5AE8, #C026D3); }
.cover-4 { background: linear-gradient(135deg, #4338CA, #0EA5E9); }

.article-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.article-tag { align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--color-primary); background: var(--color-primary-light); padding: 5px 11px; border-radius: var(--radius-full); margin-bottom: 12px; }
.article-card-body h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.article-card-body p { font-size: .875rem; color: var(--color-text-muted); margin-bottom: 18px; flex-grow: 1; }
.article-meta { display: flex; align-items: center; gap: 14px; font-size: .8125rem; color: var(--color-text-faint); padding-top: 16px; border-top: 1px solid var(--color-border); }
.article-meta span { display: flex; align-items: center; gap: 5px; }
.article-meta svg { width: 14px; height: 14px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-weight: 600; font-size: .9375rem; }
.pagination a { color: var(--color-text); transition: background var(--transition); }
.pagination a:hover { background: var(--color-bg-soft); }
.pagination .is-active { background: var(--color-primary); color: #fff; }
.pagination .arrow svg { width: 18px; height: 18px; }

/* ---------- 21. Страница статьи ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }

.article-head { max-width: 760px; margin-bottom: 32px; }
.article-head .article-tag { margin-bottom: 16px; }
.article-head h1 { margin-bottom: 18px; }
.article-head-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: .875rem; color: var(--color-text-muted); }
.article-head-meta span { display: flex; align-items: center; gap: 6px; }
.article-head-meta svg { width: 16px; height: 16px; }

.article-cover-lg {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.article-cover-lg svg { width: 80px; height: 80px; color: #fff; position: relative; z-index: 1; }
.article-cover-lg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 25% 25%, rgba(255,255,255,.25), transparent 55%); }

.article-body { max-width: 760px; font-size: 1.0625rem; }
.article-body h2 { margin-top: 44px; margin-bottom: 16px; }
.article-body h3 { margin-top: 32px; margin-bottom: 12px; }
.article-body p { margin-bottom: 20px; color: var(--color-text); }
.article-body ul, .article-body ol { margin: 0 0 20px 0; display: flex; flex-direction: column; gap: 10px; }
.article-body ul li, .article-body ol li { padding-left: 26px; position: relative; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary); }
.article-body ol { counter-reset: item; }
.article-body ol li::before { counter-increment: item; content: counter(item); position: absolute; left: 0; top: -1px; width: 20px; height: 20px; border-radius: 50%; background: var(--color-primary-light); color: var(--color-primary); font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.article-body blockquote { border-left: 3px solid var(--color-primary); background: var(--color-bg-alt); padding: 18px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 20px; color: var(--color-text-muted); font-style: italic; }
.article-body code { background: var(--color-bg-soft); padding: 2px 7px; border-radius: 6px; font-size: .875em; font-family: "SFMono-Regular", Consolas, Menlo, monospace; }
.article-body strong { color: var(--color-text); }

.article-aside { position: sticky; top: calc(var(--header-height) + 24px); display: flex; flex-direction: column; gap: 24px; }
.aside-card { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 22px; }
.aside-card h4 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .03em; color: var(--color-text-faint); margin-bottom: 14px; }
.toc-list { display: flex; flex-direction: column; gap: 10px; }
.toc-list a { font-size: .9375rem; color: var(--color-text-muted); display: block; padding: 3px 0; transition: color var(--transition); }
.toc-list a:hover, .toc-list a.is-active { color: var(--color-primary); font-weight: 600; }
.aside-cta p { font-size: .875rem; color: var(--color-text-muted); margin-bottom: 16px; }

.related-list { display: flex; flex-direction: column; gap: 14px; }
.related-list a { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; font-weight: 600; color: var(--color-text); }
.related-list a:hover { color: var(--color-primary); }
.related-list .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); flex-shrink: 0; margin-top: 7px; }

.related-articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }

/* ---------- 22. Прочее ---------- */
hr.divider { border: none; border-top: 1px solid var(--color-border); margin-block: clamp(40px, 6vw, 72px); }

.badge-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--radius-full); background: var(--color-primary); color: #fff; font-size: .6875rem; font-weight: 700; }
