/* ============================================================
   TenScan Blog — стили
   Тёмная тема, плотная типографика, ориентир на читаемость.
   ============================================================ */

:root {
  --blog-max: 1200px;
  --article-max: 760px;
  --grad-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --reading-text: #d7dde4;
  --reading-text-muted: #8b949e;
  --reading-heading: #f0f6fc;
  --code-bg: #161b22;
  --quote-bar: #238636;
}

/* ===== БАЗА ===== */
.blog-page {
  background: var(--bg);
  color: var(--reading-text);
  font: 16px/1.7 var(--sans);
}

.blog-page .article-container,
.blog-page .blog-container {
  max-width: var(--blog-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Прогресс-бар чтения ===== */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-purple);
  z-index: 1100;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ===== АКТИВНАЯ ССЫЛКА В ШАПКЕ ===== */
.nav-link.nav-link-active {
  color: var(--accent);
}
.nav-link.nav-link-active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--accent);
  margin-top: 4px;
  border-radius: 2px;
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.article-topbar {
  padding: 28px 0 0;
}
.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}
.breadcrumbs a:hover { color: var(--accent); }
.crumb-sep { color: #4b5563; }
.crumb-current { color: var(--reading-text); }

/* ===== HERO СТАТЬИ ===== */
.article-hero {
  padding: 32px 0 48px;
  border-bottom: 1px solid var(--border);
}

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.article-meta-top .article-meta-time { display: inline-flex; align-items: center; gap: 6px; }
.article-meta-top svg { width: 14px; height: 14px; }
.article-meta-dot { color: #4b5563; }

.article-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: rgba(102, 126, 234, 0.12);
  color: #a5b4fc;
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.article-title {
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.18;
  font-weight: 800;
  color: var(--reading-heading);
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 900px;
}

.article-lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: #b9c2cc;
  max-width: 820px;
  margin: 0 0 32px;
}

.article-hero-image {
  margin: 32px 0 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
}
.article-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
}
.article-hero-image figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

/* ===== СЕТКА КОНТЕНТА ===== */
.article-body-wrap {
  padding: 48px 0 80px;
}
.article-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* ===== TOC ===== */
.article-toc {
  position: relative;
}
.toc-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.toc-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 4px;
}
.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--border);
  padding-left: 16px;
}
.toc-nav a {
  display: block;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.4;
  border-left: 2px solid transparent;
  margin-left: -18px;
  padding-left: 16px;
  transition: color .2s ease, border-color .2s ease;
}
.toc-nav a:hover { color: var(--reading-text); }
.toc-nav a.is-active {
  color: #fff;
  border-left-color: var(--accent);
  font-weight: 600;
}
.toc-nav a.toc-sub {
  font-size: 12.5px;
  padding-left: 28px;
  color: #6b7280;
}

/* TOC CTA */
.toc-cta {
  background: linear-gradient(160deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.10));
  border: 1px solid rgba(102, 126, 234, 0.25);
  border-radius: 12px;
  padding: 18px;
}
.toc-cta-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.toc-cta-text {
  font-size: 13px;
  color: var(--reading-text-muted);
  margin: 0 0 14px;
  line-height: 1.5;
}
.toc-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 14px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s ease, transform .15s ease;
}
.toc-cta-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ===== КОНТЕНТ СТАТЬИ ===== */
.article-content {
  max-width: var(--article-max);
  font-size: 17px;
  line-height: 1.78;
  color: var(--reading-text);
}

.article-content > p {
  margin: 0 0 22px;
}

.article-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--reading-heading);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 56px 0 18px;
  scroll-margin-top: 90px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.article-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.article-content h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--reading-heading);
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  scroll-margin-top: 90px;
}
.article-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--reading-heading);
  margin: 24px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-content a {
  color: #a5b4fc;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(165, 180, 252, 0.4);
  transition: color .2s ease, text-decoration-color .2s ease;
}
.article-content a:hover {
  color: #c7d2fe;
  text-decoration-color: #c7d2fe;
}

.article-content strong { color: #fff; font-weight: 700; }
.article-content em { color: #e6edf3; }

.article-content ul,
.article-content ol {
  margin: 8px 0 24px;
  padding-left: 22px;
}
.article-content li {
  margin: 6px 0;
}
.article-content ul > li::marker { color: var(--accent); }
.article-content ol > li::marker { color: var(--accent); font-weight: 600; }

/* Чекбокс-список */
.article-content ul.checklist {
  list-style: none;
  padding-left: 0;
}
.article-content ul.checklist li {
  position: relative;
  padding-left: 32px;
  margin: 10px 0;
}
.article-content ul.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--accent);
  border-radius: 5px;
  background: rgba(35, 134, 54, 0.10);
}
.article-content ul.checklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Цитата */
.article-content blockquote {
  margin: 28px 0;
  padding: 16px 22px;
  border-left: 4px solid var(--quote-bar);
  background: rgba(35, 134, 54, 0.06);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #e6edf3;
  font-size: 17px;
}
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content blockquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}

/* Callout (инфо-блок) */
.callout {
  margin: 32px 0;
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  display: flex;
  gap: 16px;
}
.callout-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.15);
  color: #a5b4fc;
}
.callout-icon svg { width: 18px; height: 18px; }
.callout-body { flex: 1; }
.callout-title {
  font-weight: 700;
  color: #fff;
  font-size: 15px;
  margin-bottom: 6px;
  display: block;
}
.callout p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--reading-text); }
.callout p + p { margin-top: 8px; }

.callout.callout-warning {
  border-color: rgba(248, 81, 73, 0.35);
  background: rgba(248, 81, 73, 0.06);
}
.callout.callout-warning .callout-icon {
  background: rgba(248, 81, 73, 0.15);
  color: #f87171;
}

.callout.callout-success {
  border-color: rgba(35, 134, 54, 0.4);
  background: rgba(35, 134, 54, 0.06);
}
.callout.callout-success .callout-icon {
  background: rgba(35, 134, 54, 0.18);
  color: #2ea043;
}

.callout.callout-tip {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.05);
}
.callout.callout-tip .callout-icon {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

/* Таблицы */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14.5px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.article-content thead {
  background: var(--panel);
}
.article-content th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}
.article-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--reading-text);
}
.article-content tr:last-child td { border-bottom: none; }
.article-content tr:nth-child(even) td { background: rgba(255,255,255,0.015); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Код */
.article-content code {
  background: var(--code-bg);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font: 0.92em var(--mono);
  color: #e6edf3;
}
.article-content pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  padding: 16px 18px;
  border-radius: 10px;
  overflow-x: auto;
  font: 13px/1.6 var(--mono);
  color: #d7dde4;
  margin: 22px 0;
}
.article-content pre code {
  background: none;
  border: none;
  padding: 0;
}

/* Степ-блоки (для "пошаговых" статей) */
.steps-grid {
  display: grid;
  gap: 16px;
  margin: 28px 0;
}
.step-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s ease, transform .2s ease;
}
.step-card:hover {
  border-color: rgba(102, 126, 234, 0.5);
  transform: translateY(-2px);
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--grad-purple);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(118, 75, 162, 0.35);
}
.step-body h3 {
  margin: 0 0 6px !important;
  font-size: 18px !important;
}
.step-body p {
  margin: 0;
  color: var(--reading-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Карточки причин (для listicle-статей) */
.reason-card {
  margin: 24px 0;
  padding: 24px 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.reason-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-purple);
}
.reason-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #a5b4fc;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.reason-card h3 {
  margin: 0 0 12px !important;
  font-size: 22px !important;
  color: #fff !important;
}
.reason-card .reason-fix {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 15px;
}
.reason-card .reason-fix strong { color: #2ea043; }

/* Метрики/числа */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.stat-tile {
  padding: 22px 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}
.stat-tile-num {
  font-size: 34px;
  font-weight: 800;
  background: var(--grad-purple);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-tile-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* Сравнительные «карточки» (для 223 vs 44) */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}
.compare-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
}
.compare-card h4 {
  margin: 0 0 12px !important;
  font-size: 16px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #fff !important;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.compare-card.is-44fz h4 { color: #2ea043 !important; }
.compare-card.is-223fz h4 { color: #a5b4fc !important; }
.compare-card ul { padding-left: 18px; margin: 0; }
.compare-card li {
  font-size: 14.5px;
  color: var(--reading-text);
  margin: 6px 0;
}

/* Изображения внутри статьи */
.article-content figure {
  margin: 32px 0;
}
.article-content figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.article-content figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ===== Финальный CTA ===== */
.article-cta-final {
  margin: 80px 0 0;
  padding: 40px 36px;
  background: linear-gradient(160deg, rgba(102, 126, 234, 0.18), rgba(118, 75, 162, 0.14)), var(--panel);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.article-cta-final::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 30% 0%, rgba(102, 126, 234, 0.20), transparent 50%);
  pointer-events: none;
}
.cta-final-inner { position: relative; z-index: 1; }
.cta-final-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.015em;
}
.cta-final-text {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.cta-final-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.cta-final-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.cta-final-btn svg { width: 16px; height: 16px; }
.cta-final-btn-primary {
  background: #fff;
  color: #0d1117;
}
.cta-final-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255,255,255,0.12);
}
.cta-final-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.cta-final-btn-ghost:hover {
  background: rgba(255,255,255,0.06);
}
.cta-final-trust {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #94a3b8;
}
.cta-final-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cta-final-trust svg {
  width: 14px;
  height: 14px;
  color: #2ea043;
}

/* ===== ПОХОЖИЕ СТАТЬИ ===== */
.article-related {
  margin: 64px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.related-title {
  font-size: 20px !important;
  margin: 0 0 24px !important;
  border-top: none !important;
  padding-top: 0 !important;
  color: #fff !important;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.related-card {
  display: block;
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none !important;
  transition: transform .2s ease, border-color .2s ease;
}
.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 126, 234, 0.5);
}
.related-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 8px;
}
.related-card h3 {
  margin: 0 0 8px !important;
  font-size: 16px !important;
  color: #fff !important;
  line-height: 1.4 !important;
  border-top: none !important;
  padding-top: 0 !important;
}
.related-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

/* ============================================================
   СПИСОК БЛОГА (страница /blog)
   ============================================================ */
.blog-list-hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.blog-list-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a5b4fc;
  font-weight: 700;
  margin-bottom: 16px;
}
.blog-list-title {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 800;
  color: var(--reading-heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 18px;
}
.blog-list-subtitle {
  font-size: 18px;
  color: var(--reading-text-muted);
  max-width: 720px;
  line-height: 1.55;
  margin: 0;
}

.blog-list-section {
  padding: 48px 0 80px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.blog-card-image {
  aspect-ratio: 16/9;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.04); }

.blog-card-image-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-purple);
  color: #fff;
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -0.02em;
  opacity: 0.95;
}

.blog-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.blog-card-cat {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(102, 126, 234, 0.15);
  color: #a5b4fc;
  border-radius: 100px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.blog-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.35;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.blog-card p {
  margin: 0 0 18px;
  color: var(--reading-text-muted);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}
.blog-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a5b4fc;
  font-weight: 600;
  font-size: 13.5px;
  margin-top: auto;
  transition: gap .2s ease;
}
.blog-card-arrow svg { width: 14px; height: 14px; }
.blog-card:hover .blog-card-arrow { gap: 10px; }

/* Промо-карточка над сеткой */
.blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--panel);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 36px;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(102,126,234,0.18);
}
.blog-featured-img {
  background: var(--grad-purple);
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-featured-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 84px;
  font-weight: 800;
  color: #fff;
  background: var(--grad-purple);
}
.blog-featured-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a5b4fc;
  font-weight: 700;
  margin-bottom: 12px;
}
.blog-featured h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 14px;
}
.blog-featured p {
  font-size: 15px;
  color: var(--reading-text-muted);
  line-height: 1.6;
  margin: 0 0 20px;
}
.blog-featured-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
.blog-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c7d2fe;
  font-weight: 600;
  font-size: 14px;
}

/* ============================================================
   ФУТЕР (расширенный, для блога/лендинга)
   ============================================================ */
.footer .footer-cols {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  text-align: left;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer-logo {
  display: inline-block;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 12px;
}
.footer-tagline {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 320px;
}
.footer-col-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}
.footer-link {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  padding: 4px 0;
  transition: color .2s ease;
}
.footer-link:hover { color: var(--accent); }
.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom-note { margin-top: 6px; font-size: 12.5px; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .article-toc { display: none; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 200px; aspect-ratio: 16/8; }
  .footer .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 700px) {
  .blog-page .article-container,
  .blog-page .blog-container { padding: 0 18px; }
  .article-hero { padding: 24px 0 32px; }
  .article-body-wrap { padding: 32px 0 56px; }
  .article-content { font-size: 16px; line-height: 1.72; }
  .article-content h2 { font-size: 24px; margin-top: 40px; }
  .article-content h3 { font-size: 19px; }
  .compare-grid { grid-template-columns: 1fr; }
  .article-cta-final { padding: 28px 22px; }
  .cta-final-title { font-size: 22px; }
  .blog-list-hero { padding: 40px 0 28px; }
  .blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .reason-card { padding: 20px 18px; }
  .blog-featured-body { padding: 24px; }
  .blog-featured h2 { font-size: 22px; }
  .footer .footer-cols { grid-template-columns: 1fr; gap: 22px; }
  .article-meta-top { font-size: 12px; gap: 8px; }
  .toc-cta { padding: 16px; }
  .step-card { grid-template-columns: 36px 1fr; padding: 16px 18px; gap: 14px; }
  .step-num { width: 36px; height: 36px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card, .related-card, .reason-card, .step-card, .blog-featured, .blog-card-image img,
  .toc-cta-btn, .cta-final-btn { transition: none !important; }
}
