@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700;800&family=Onest:wght@600;700;800&display=swap");

/* Design tokens — светлая/тёмная тема, синий акцент как у Автокод/Сравни/VIN-01.
   Tech-first палитра для авто-ниши: чистый белый/тёмный фон, контрастный синий CTA,
   кластеры получают разные оттенки акцента без смены главного характера. */
:root,
:root[data-theme="light"] {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-soft: #f1f5f9;       /* slate-100 */
  --text: #0f172a;               /* slate-900 */
  --text-soft: #64748b;          /* slate-500 */
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.16);
  --cluster: #2563eb;            /* blue-600 — дефолт */
  --cluster-soft: rgba(37, 99, 235, 0.10);
  --cluster-deep: #1d4ed8;       /* blue-700 */
  --accent: #2563eb;             /* CTA — синий, как у конкурентов */
  --accent-soft: rgba(37, 99, 235, 0.10);
  --accent-deep: #1d4ed8;
  --success: #16a34a;            /* green-600 */
  --warning: #f59e0b;            /* amber-500 */
  --deep: #0f172a;
  --header-bg: rgba(255, 255, 255, 0.88);
  --hero-grad-1: rgba(37, 99, 235, 0.06);
  --hero-grad-2: rgba(37, 99, 235, 0.03);
  --body-bg-1: #ffffff;
  --body-bg-2: #f8fafc;
  --shadow-sm:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md:
    0 4px 12px rgba(15, 23, 42, 0.06),
    0 12px 32px rgba(15, 23, 42, 0.06),
    0 24px 64px rgba(15, 23, 42, 0.05);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1180px;
  --ease: cubic-bezier(0.165, 0.85, 0.45, 1);
}

:root[data-theme="dark"] {
  --bg: #0b1220;
  --surface: #111827;
  --surface-strong: #1e293b;
  --surface-soft: #1e293b;
  --text: #f1f5f9;
  --text-soft: #94a3b8;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --cluster: #60a5fa;             /* blue-400 — чуть светлее для контраста */
  --cluster-soft: rgba(96, 165, 250, 0.14);
  --cluster-deep: #3b82f6;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.16);
  --accent-deep: #2563eb;
  --success: #22c55e;
  --warning: #fbbf24;
  --deep: #f1f5f9;                /* инверсия для кнопок primary */
  --header-bg: rgba(11, 18, 32, 0.88);
  --hero-grad-1: rgba(59, 130, 246, 0.16);
  --hero-grad-2: rgba(59, 130, 246, 0.08);
  --body-bg-1: #0b1220;
  --body-bg-2: #0f172a;
  --shadow-sm:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md:
    0 4px 12px rgba(0, 0, 0, 0.5),
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 24px 64px rgba(0, 0, 0, 0.3);
}

/* Кластерные акценты — в рамках единой tech-палитры, но отличаются. */
body[data-page-cluster="utility_hub"] {
  --cluster: var(--accent);
  --cluster-soft: var(--accent-soft);
  --cluster-deep: var(--accent-deep);
}

body[data-page-cluster="risk_source"] {
  --cluster: #dc2626;              /* red-600 — риск */
  --cluster-soft: rgba(220, 38, 38, 0.10);
  --cluster-deep: #b91c1c;
}

:root[data-theme="dark"] body[data-page-cluster="risk_source"] {
  --cluster: #f87171;
  --cluster-soft: rgba(248, 113, 113, 0.16);
  --cluster-deep: #ef4444;
}

body[data-page-cluster="transaction"] {
  --cluster: #16a34a;              /* green-600 — сделка */
  --cluster-soft: rgba(22, 163, 74, 0.10);
  --cluster-deep: #15803d;
}

:root[data-theme="dark"] body[data-page-cluster="transaction"] {
  --cluster: #4ade80;
  --cluster-soft: rgba(74, 222, 128, 0.16);
  --cluster-deep: #22c55e;
}

body[data-page-cluster="brand"] {
  --cluster: #64748b;              /* slate-500 */
  --cluster-soft: rgba(100, 116, 139, 0.12);
  --cluster-deep: #475569;
}

:root[data-theme="dark"] body[data-page-cluster="brand"] {
  --cluster: #94a3b8;
  --cluster-soft: rgba(148, 163, 184, 0.14);
  --cluster-deep: #cbd5e1;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(1400px 800px at 5% -5%, var(--hero-grad-1), transparent 55%),
    radial-gradient(1100px 700px at 100% 20%, var(--hero-grad-2), transparent 55%),
    linear-gradient(180deg, var(--body-bg-1) 0%, var(--body-bg-2) 100%);
  background-attachment: fixed;
  font: 16px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.container {
  width: min(100% - 24px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-header__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.20);
}

.site-header__brand-mark svg {
  width: 22px;
  height: 22px;
}

.site-header__brand-copy {
  display: grid;
  gap: 2px;
}

.site-header__brand-copy strong,
.site-footer strong {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.site-header__brand-copy small,
.site-footer p,
.breadcrumbs,
.section-heading__eyebrow,
.router__status,
.preview-card__label,
.feature-card__kicker {
  color: var(--text-soft);
}

.site-header__nav,
.site-footer__nav,
.hero__actions,
.router__actions,
.share-panel,
.sticky-bar__actions,
.osago-widget-placeholder__actions,
.offer-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-header__nav a,
.site-footer__nav a {
  font-weight: 700;
}

.trust-ribbon {
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.trust-ribbon__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 0;
}

.trust-ribbon__item,
.hero__sources span,
.router__chip,
.offer-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}

/* Мини-иконки перед текстом trust-ribbon — lucide-style, принимают цвет текста. */
.trust-ribbon__item[data-icon]::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  background-color: var(--cluster-deep);
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}

.trust-ribbon__item[data-icon="shield-check"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/><path d='m9 12 2 2 4-4'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/><path d='m9 12 2 2 4-4'/></svg>");
}

.trust-ribbon__item[data-icon="lock"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect width='18' height='11' x='3' y='11' rx='2' ry='2'/><path d='M7 11V7a5 5 0 0 1 10 0v4'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect width='18' height='11' x='3' y='11' rx='2' ry='2'/><path d='M7 11V7a5 5 0 0 1 10 0v4'/></svg>");
}

.trust-ribbon__item[data-icon="badge-check"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z'/><path d='m9 12 2 2 4-4'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z'/><path d='m9 12 2 2 4-4'/></svg>");
}

.trust-ribbon__item[data-icon="landmark"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='3' x2='21' y1='22' y2='22'/><line x1='6' x2='6' y1='18' y2='11'/><line x1='10' x2='10' y1='18' y2='11'/><line x1='14' x2='14' y1='18' y2='11'/><line x1='18' x2='18' y1='18' y2='11'/><polygon points='12 2 20 7 4 7'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='3' x2='21' y1='22' y2='22'/><line x1='6' x2='6' y1='18' y2='11'/><line x1='10' x2='10' y1='18' y2='11'/><line x1='14' x2='14' y1='18' y2='11'/><line x1='18' x2='18' y1='18' y2='11'/><polygon points='12 2 20 7 4 7'/></svg>");
}

.trust-ribbon__item[data-icon="file-search"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><circle cx='11.5' cy='14.5' r='2.5'/><path d='M13.27 16.27 15 18'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><circle cx='11.5' cy='14.5' r='2.5'/><path d='M13.27 16.27 15 18'/></svg>");
}

.trust-ribbon__item[data-icon="scan-line"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 7V5a2 2 0 0 1 2-2h2'/><path d='M17 3h2a2 2 0 0 1 2 2v2'/><path d='M21 17v2a2 2 0 0 1-2 2h-2'/><path d='M7 21H5a2 2 0 0 1-2-2v-2'/><path d='M7 12h10'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 7V5a2 2 0 0 1 2-2h2'/><path d='M17 3h2a2 2 0 0 1 2 2v2'/><path d='M21 17v2a2 2 0 0 1-2 2h-2'/><path d='M7 21H5a2 2 0 0 1-2-2v-2'/><path d='M7 12h10'/></svg>");
}

.hero {
  padding: 30px 0 6px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 430px);
  gap: 22px;
  align-items: stretch;
}

.hero--focused {
  padding-bottom: 0;
}

.hero__inner--single {
  grid-template-columns: minmax(0, 1fr);
}

.hero__inner--single .hero__content {
  max-width: 980px;
}

/* Сильные контейнеры: смысловые блоки и главный денежный оффер */
.hero__content,
.hero__panel-card,
.article-card,
.offer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

/* Утилитарные блоки: кирпичи контента, без лишней плашечности.
   Левый акцентный бордер отделяет их друг от друга без визуального шума. */
.feature-card,
.preview-card,
.trust-card,
.related-card,
.home-cluster-card {
  border: 0;
  border-left: 2px solid var(--cluster-soft);
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  padding-left: 18px;
}

/* Главный денежный оффер — единственный контейнер с акцентом. */
.offer-card {
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.hero__panel-card {
  border-radius: 18px;
}

.hero__content {
  position: relative;
  overflow: hidden;
  padding: 36px;
  background:
    radial-gradient(circle at top right, var(--cluster-soft), transparent 55%),
    var(--surface);
}

/* Декоративный квадрат убрал — Claude-стиль не любит декор ради декора. */

.hero__eyebrow,
.section-heading__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__eyebrow,
.section-heading__eyebrow,
.preview-card__label,
.feature-card__kicker {
  color: var(--cluster-deep);
}

.breadcrumbs {
  margin: 0 0 16px;
  font-size: 13px;
}

.hero__title,
.section-heading h2,
.offer-card__title,
.feature-card__title,
.trust-card__title,
.related-card__title,
.checklist h3,
.hero__panel-title,
.osago-widget-placeholder__title {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
}

.hero__title {
  max-width: 24ch;
  font-size: clamp(30px, 3.4vw, 44px);
}

body[data-page-slug="home"] .hero__title {
  max-width: 26ch;
}

.hero__lead,
.article-card__intro,
.site-footer p,
.offer-card__copy,
.trust-card__copy,
.related-card__copy,
.preview-card__copy,
.osago-widget-placeholder__text {
  margin: 16px 0 0;
  color: var(--text-soft);
}

.hero__promise {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero__promise li,
.router__outcomes li {
  position: relative;
  padding-left: 22px;
}

.hero__promise li::before,
.router__outcomes li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cluster);
}

.hero__actions {
  margin-top: 24px;
}

.hero__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero__panel-card,
.article-card,
.offer-card {
  padding: 24px;
}

.hero__panel-card {
  height: 100%;
  background: var(--surface);
}

.router {
  display: grid;
  gap: 14px;
}

.router__label {
  font-weight: 700;
}

.router__input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.router__input:focus {
  outline: none;
  border-color: var(--cluster-deep);
  box-shadow: 0 0 0 3px var(--cluster-soft);
}

.router__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.router__chip {
  cursor: pointer;
  background: var(--surface);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.router__chip:hover {
  background: var(--surface-soft);
  border-color: var(--line-strong);
}

.router__outcomes {
  display: grid;
  gap: 10px;
  margin: 6px 0 0;
  padding: 14px 16px;
  list-style: none;
  border-radius: var(--radius-sm);
  background: var(--cluster-soft);
}

.button,
.osago-widget-fallback,
.osago-widget-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
  cursor: pointer;
}

.button:hover,
.osago-widget-fallback:hover,
.osago-widget-secondary:hover {
  transform: translateY(-1px);
}

.button:active,
.osago-widget-fallback:active,
.osago-widget-secondary:active {
  transform: scale(0.98);
}

/* Primary CTA — синий акцент, как у Автокод/Сравни/VIN-01. */
.button--primary,
.osago-widget-fallback {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.24), 0 8px 20px rgba(37, 99, 235, 0.16);
}

.button--primary:hover,
.osago-widget-fallback:hover {
  background: var(--accent-deep);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.30), 0 12px 28px rgba(37, 99, 235, 0.20);
}

.button--ghost,
.osago-widget-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line-strong);
}

/* Accent CTA — оранжевый, для ярких точек вроде "скачать бланк". */
.button--accent {
  background: #f97316;            /* orange-500 */
  color: #fff;
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.24), 0 8px 20px rgba(249, 115, 22, 0.16);
}

.button--accent:hover {
  background: #ea580c;
}

/* Тумблер темы (solar/lunar) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 12px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.theme-toggle:hover {
  background: var(--surface-soft);
  border-color: var(--accent);
}

.theme-toggle:active {
  transform: scale(0.94);
}

.theme-toggle__icon {
  width: 20px;
  height: 20px;
  display: block;
}

:root[data-theme="light"] .theme-toggle__icon--moon { display: block; }
:root[data-theme="light"] .theme-toggle__icon--sun { display: none; }
:root[data-theme="dark"] .theme-toggle__icon--moon { display: none; }
:root[data-theme="dark"] .theme-toggle__icon--sun { display: block; }

.page-section {
  padding: 18px 0;
}

.page-section--cards,
.page-section--preview,
.page-section--accent {
  padding-top: 8px;
}

.page-section--offer-top {
  padding-top: 10px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.feature-grid,
.preview-grid,
.trust-grid,
.offer-stack,
.related-grid,
.home-clusters {
  display: grid;
  gap: 16px;
}

.feature-grid,
.preview-grid,
.related-grid,
.home-clusters {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.preview-card,
.trust-card,
.related-card,
.home-cluster-card {
  padding: 22px;
}

.feature-card__title {
  font-size: 24px;
}

.preview-card__copy {
  margin-top: 10px;
}

.home-cluster-card,
.extra-panel {
  background: var(--surface-soft);
}

.article-shell {
  max-width: 1080px;
}

.article-card__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.checklist {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}

.checklist--soft {
  background: var(--surface-soft);
}

.checklist__list,
.offer-card__mini-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.checklist__list li + li,
.offer-card__mini-list li + li {
  margin-top: 10px;
}

.extra-panel {
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.offer-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offer-stack--single {
  grid-template-columns: minmax(0, 1fr);
}

.offer-card {
  position: relative;
  overflow: hidden;
}

.offer-card--report {
  background: var(--surface);
}

.offer-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cluster), var(--accent));
}

.offer-card--osago::before {
  background: linear-gradient(90deg, var(--success), var(--cluster));
}

.offer-card__mini-list {
  color: var(--text-soft);
}

.offer-card__note {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}

.faq-item:hover {
  border-color: var(--line-strong);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-item__answer {
  padding: 16px 20px 20px;
  color: var(--text-soft);
}

.osago-widget-container {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.osago-widget-placeholder {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.osago-widget-placeholder__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cluster-deep);
}

.osago-widget-placeholder__actions {
  margin-top: 6px;
}

.site-footer {
  margin-top: 32px;
  padding-bottom: 102px;
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  min-height: 90px;
}

.sticky-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 45;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--header-bg);
}

.sticky-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-bar__title {
  margin: 0;
  font-weight: 700;
}

.sticky-bar--muted {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

body[data-page-slug="home"] .offer-stack {
  grid-template-columns: 1fr;
}

@media (max-width: 1023px) {
  .hero__inner,
  .feature-grid,
  .preview-grid,
  .article-card__columns,
  .offer-stack,
  .trust-grid,
  .related-grid,
  .home-clusters {
    grid-template-columns: 1fr;
  }

  .site-header__inner,
  .site-footer__inner,
  .sticky-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 14px 0;
  }

  .hero {
    padding-top: 20px;
  }

  .site-footer {
    padding-bottom: 132px;
  }
}

@media (max-width: 640px) {
  .hero__content,
  .hero__panel-card,
  .article-card,
  .offer-card,
  .feature-card,
  .preview-card,
  .trust-card,
  .related-card,
  .home-cluster-card {
    padding: 20px;
  }

  .hero__title {
    max-width: none;
    font-size: 28px;
  }

  .button,
  .osago-widget-fallback,
  .osago-widget-secondary {
    width: 100%;
  }

  .site-header__nav,
  .site-footer__nav,
  .hero__actions,
  .router__actions,
  .share-panel,
  .osago-widget-placeholder__actions,
  .offer-card__actions,
  .sticky-bar__actions {
    width: 100%;
  }
}

/* Visual pass 2026-04-24: real image anchors instead of pseudo-decor. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(circle at 11% 8%, rgba(37, 99, 235, 0.08), transparent 22%),
    radial-gradient(circle at 86% 20%, rgba(37, 99, 235, 0.07), transparent 24%),
    radial-gradient(circle at 82% 78%, rgba(37, 99, 235, 0.05), transparent 30%);
}

body::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), transparent 18%) top / 100% 420px no-repeat;
}

.site-header,
.trust-ribbon,
.hero,
.page-section,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero__content,
.hero__panel-card,
.article-card,
.home-cluster-card,
.checklist,
.extra-panel,
.faq-item,
.related-card {
  position: relative;
  overflow: hidden;
}

.hero__content {
  isolation: isolate;
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.98)),
    var(--surface);
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: auto -124px -18px auto;
  width: min(70%, 720px);
  aspect-ratio: 1792 / 1024;
  background: url("/assets/hero-vehicle-illustrated.webp") no-repeat center / contain;
  opacity: 0.56;
  filter: drop-shadow(0 22px 42px rgba(59, 130, 246, 0.12));
  mix-blend-mode: normal;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.22) 12%, rgba(0, 0, 0, 0.9) 30%, #000 100%);
  pointer-events: none;
  z-index: 0;
}

.hero__content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 46%, rgba(255, 255, 255, 0.36) 74%, rgba(255, 255, 255, 0.04) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero__content > * {
  position: relative;
  z-index: 1;
}

.hero__panel-card {
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.99)),
    var(--surface);
}

.hero__panel-card::before {
  content: "";
  position: absolute;
  inset: auto -104px -120px auto;
  width: min(108%, 440px);
  aspect-ratio: 1792 / 1024;
  background: url("/assets/route-dossier-illustrated.webp") no-repeat center / contain;
  opacity: 0.2;
  filter: saturate(0.94);
  mix-blend-mode: normal;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.54) 28%, #000 100%);
  pointer-events: none;
  z-index: 0;
}

.hero__panel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.92) 36%, rgba(255, 255, 255, 0.84) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero__panel-card > * {
  position: relative;
  z-index: 1;
}

.article-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98)),
    var(--surface);
}

body[data-page-slug="home"] main > section:nth-of-type(3) .article-card::before {
  content: "";
  position: absolute;
  inset: 34px -96px auto auto;
  width: min(46%, 500px);
  aspect-ratio: 3 / 2;
  background: url("/assets/route-risk-illustrated.webp") no-repeat center / contain;
  opacity: 0.16;
  filter: saturate(0.96);
  mix-blend-mode: normal;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.82) 22%, #000 100%);
  pointer-events: none;
}

body[data-page-slug="home"] main > section:nth-of-type(4) .article-card::before {
  content: "";
  position: absolute;
  inset: 16px -74px auto auto;
  width: min(46%, 480px);
  aspect-ratio: 3 / 2;
  background: url("/assets/route-risk-illustrated.webp") no-repeat center / contain;
  opacity: 0.14;
  filter: saturate(0.94);
  mix-blend-mode: normal;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.86) 28%, #000 100%);
  pointer-events: none;
}

body[data-page-slug="home"] main > section:nth-of-type(5) .article-card::before {
  content: "";
  position: absolute;
  inset: auto -26px -26px auto;
  width: min(42%, 440px);
  aspect-ratio: 3 / 2;
  background: url("/assets/route-dossier-illustrated.webp") no-repeat center / contain;
  opacity: 0.18;
  filter: saturate(0.94);
  mix-blend-mode: normal;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.4) 14%, rgba(0, 0, 0, 0.92) 34%, #000 100%);
  pointer-events: none;
}

.home-cluster-card,
.checklist--soft,
.extra-panel,
.related-card {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(37, 99, 235, 0.02) 24%, transparent 56%),
    var(--surface-soft);
}

.checklist {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.98)),
    var(--surface);
}

.faq-item {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 255, 0.92) 100%),
    var(--surface);
}

.button--primary,
.button--accent {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.button--primary::before,
.button--accent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.24) 18%, transparent 36%);
  transform: translateX(-160%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
  z-index: 0;
}

.button--primary:hover::before,
.button--accent:hover::before {
  transform: translateX(145%);
}

.button--primary > *,
.button--accent > * {
  position: relative;
  z-index: 1;
}

:root[data-theme="dark"] body::before {
  background:
    radial-gradient(circle at 10% 8%, rgba(96, 165, 250, 0.14), transparent 22%),
    radial-gradient(circle at 86% 20%, rgba(96, 165, 250, 0.10), transparent 24%),
    radial-gradient(circle at 82% 78%, rgba(96, 165, 250, 0.08), transparent 30%);
}

:root[data-theme="dark"] body::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 18%) top / 100% 420px no-repeat;
}

:root[data-theme="dark"] .hero__content {
  background:
    radial-gradient(circle at 0% 0%, rgba(96, 165, 250, 0.10), transparent 28%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(15, 23, 42, 0.98)),
    var(--surface);
}

:root[data-theme="dark"] .hero__content::before {
  opacity: 0.22;
  filter: brightness(0.8) saturate(0.9) contrast(1.02);
  mix-blend-mode: screen;
}

:root[data-theme="dark"] .hero__content::after {
  background: linear-gradient(90deg, rgba(11, 18, 32, 0.94) 0%, rgba(11, 18, 32, 0.88) 46%, rgba(11, 18, 32, 0.48) 74%, rgba(11, 18, 32, 0.10) 100%);
}

:root[data-theme="dark"] .hero__panel-card {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.99)),
    var(--surface);
}

:root[data-theme="dark"] .hero__panel-card::before,
:root[data-theme="dark"] body[data-page-slug="home"] main > section:nth-of-type(3) .article-card::before,
:root[data-theme="dark"] body[data-page-slug="home"] main > section:nth-of-type(4) .article-card::before,
:root[data-theme="dark"] body[data-page-slug="home"] main > section:nth-of-type(5) .article-card::before {
  opacity: 0.15;
  filter: brightness(0.76) saturate(0.84) contrast(1.02);
  mix-blend-mode: screen;
}

:root[data-theme="dark"] .hero__panel-card::after {
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.76) 0%, rgba(11, 18, 32, 0.84) 100%);
}

:root[data-theme="dark"] .article-card,
:root[data-theme="dark"] .checklist {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.03)),
    var(--surface);
}

:root[data-theme="dark"] .home-cluster-card,
:root[data-theme="dark"] .checklist--soft,
:root[data-theme="dark"] .extra-panel,
:root[data-theme="dark"] .related-card,
:root[data-theme="dark"] .faq-item {
  background:
    linear-gradient(135deg, rgba(96, 165, 250, 0.10), rgba(96, 165, 250, 0.04) 24%, transparent 56%),
    var(--surface-soft);
}

@media (max-width: 1023px) {
  .hero__content::before {
    width: min(64%, 420px);
    inset: auto -64px -8px auto;
    opacity: 0.42;
  }

  .hero__panel-card::before {
    width: min(96%, 318px);
    inset: auto -54px -62px auto;
    opacity: 0.16;
  }

  body[data-page-slug="home"] main > section:nth-of-type(3) .article-card::before {
    width: min(52%, 340px);
    inset: 34px -52px auto auto;
    opacity: 0.12;
  }

  body[data-page-slug="home"] main > section:nth-of-type(4) .article-card::before {
    width: min(50%, 330px);
    inset: 16px -44px auto auto;
    opacity: 0.11;
  }

  body[data-page-slug="home"] main > section:nth-of-type(5) .article-card::before {
    width: min(48%, 320px);
    inset: auto -14px -18px auto;
    opacity: 0.14;
  }
}

@media (max-width: 640px) {
  body::before,
  body::after {
    opacity: 0.8;
  }

  .hero__content::before {
    width: 84%;
    inset: auto -32px 4px auto;
    opacity: 0.34;
  }

  .hero__content::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.88) 58%, rgba(255, 255, 255, 0.82) 100%);
  }

  .hero__panel-card::before,
  body[data-page-slug="home"] main > section:nth-of-type(3) .article-card::before {
    display: none;
  }

  body[data-page-slug="home"] main > section:nth-of-type(4) .article-card::before {
    width: 76%;
    inset: 18px -42px auto auto;
    opacity: 0.1;
  }

  body[data-page-slug="home"] main > section:nth-of-type(5) .article-card::before {
    width: 72%;
    inset: auto -6px -6px auto;
    opacity: 0.12;
  }
}

/* Strategy packaging pass: переносим сильную упаковку из прототипа на VPS-snapshot без смены контента. */
body {
  font-family: "IBM Plex Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero__title,
.section-heading h2,
.offer-card__title,
.feature-card__title,
.trust-card__title,
.related-card__title,
.checklist h3,
.hero__panel-title,
.home-cluster-card h3,
.lookup-preview__title {
  font-family: "Onest", "IBM Plex Sans", "Inter", sans-serif;
  letter-spacing: -0.045em;
}

.site-header {
  padding: 14px 0 8px;
  border-bottom: 0;
  background: transparent;
}

.site-header__inner {
  min-height: 66px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 56px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

:root[data-theme="dark"] .site-header__inner {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(11, 18, 32, 0.78);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.34);
}

.trust-ribbon {
  border-bottom: 0;
  background: transparent;
}

.trust-ribbon__inner {
  padding: 12px 0 0;
}

.trust-ribbon__item {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.hero {
  padding-top: 34px;
}

.hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
  gap: 28px;
}

.hero__content {
  padding: clamp(30px, 4vw, 48px);
  border: 0;
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(700px 420px at 92% 12%, rgba(43, 124, 255, 0.40), transparent 62%),
    linear-gradient(135deg, #081222 0%, #101b2e 58%, #07111f 100%);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.24);
}

.hero__content::before {
  inset: auto -104px -12px auto;
  width: min(64%, 620px);
  opacity: 0.34;
  filter: drop-shadow(0 28px 46px rgba(23, 105, 255, 0.12));
  mix-blend-mode: screen;
}

.hero__content::after {
  background: linear-gradient(90deg, rgba(8, 18, 34, 0.92) 0%, rgba(8, 18, 34, 0.84) 46%, rgba(8, 18, 34, 0.42) 74%, rgba(8, 18, 34, 0.10) 100%);
}

.hero__eyebrow {
  width: fit-content;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.80);
  background: rgba(255, 255, 255, 0.08);
}

.hero__title {
  max-width: 12ch;
  color: #ffffff;
  font-size: clamp(40px, 5.2vw, 74px);
  line-height: 0.95;
}

body[data-page-slug="home"] .hero__title {
  max-width: 10.6ch;
}

.hero__lead {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 1.55vw, 21px);
}

.breadcrumbs,
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.72);
}

.hero__promise {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero__promise li {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
}

.hero__promise li::before {
  display: none;
}

.hero__content .button--ghost,
.hero__sources span {
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.hero__sources span {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__panel-card {
  padding: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(37, 99, 235, 0.12), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 255, 0.98));
  box-shadow: 0 28px 78px rgba(15, 23, 42, 0.13);
}

.hero__panel-card::before,
.hero__panel-card::after {
  opacity: 0;
}

.hero__panel-title {
  color: #0b1424;
  font-size: clamp(30px, 2.5vw, 38px);
  line-height: 1.02;
}

.router {
  margin-top: 18px;
}

.router__label {
  color: #334155;
}

.router__input {
  min-height: 60px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  font-size: 18px;
  font-weight: 800;
}

.router__status {
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.04);
}

.router__chip {
  font-weight: 800;
}

.router__outcomes {
  display: none;
}

.lookup-preview {
  display: grid;
  gap: 14px;
  margin-top: 2px;
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(37, 99, 235, 0.10), transparent 44%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.lookup-preview__head {
  display: grid;
  gap: 7px;
}

.lookup-preview__kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.10);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.lookup-preview__title {
  color: #0b1424;
  font-size: 23px;
  line-height: 1.08;
}

.lookup-preview__subject,
.lookup-preview__note {
  margin: 0;
  color: #5c6472;
  font-size: 14px;
  line-height: 1.45;
}

.lookup-preview__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lookup-preview__row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.90);
}

.lookup-preview__dot {
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 999px;
  background: #64748b;
  box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.12);
}

.lookup-preview__row--free .lookup-preview__dot {
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

.lookup-preview__row--warn .lookup-preview__dot {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.lookup-preview__row strong {
  display: block;
  margin-bottom: 3px;
  color: #0b1424;
  font-size: 15px;
  line-height: 1.15;
}

.lookup-preview__row p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.38;
}

.lookup-preview__row em {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #334155;
  background: #eef2f7;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.lookup-preview__note {
  padding: 12px 13px;
  border-radius: 16px;
  color: #334155;
  background: rgba(37, 99, 235, 0.08);
}

.home-clusters {
  counter-reset: route-card;
  gap: 18px;
}

.home-cluster-card {
  counter-increment: route-card;
  min-height: 260px;
  padding: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(260px 180px at 100% 0%, rgba(37, 99, 235, 0.12), transparent 68%),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.08);
}

.home-cluster-card::before {
  content: "0" counter(route-card);
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.10);
  font-weight: 900;
}

.home-cluster-card .feature-card__title {
  color: #0b1424;
  font-size: 28px;
}

.home-cluster-card .checklist__list {
  margin-top: 18px;
}

.home-cluster-card a {
  font-weight: 800;
}

.article-card,
.offer-card,
.faq-item,
.related-card {
  border-radius: 28px;
}

:root[data-theme="dark"] .hero__panel-card {
  border-color: rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(96, 165, 250, 0.20), transparent 68%),
    linear-gradient(180deg, #111827, #0f172a);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .hero__panel-title,
:root[data-theme="dark"] .lookup-preview__title,
:root[data-theme="dark"] .lookup-preview__row strong {
  color: #f8fafc;
}

:root[data-theme="dark"] .router__label,
:root[data-theme="dark"] .lookup-preview__subject,
:root[data-theme="dark"] .lookup-preview__row p {
  color: #a8b3c5;
}

:root[data-theme="dark"] .router__input,
:root[data-theme="dark"] .router__chip,
:root[data-theme="dark"] .lookup-preview,
:root[data-theme="dark"] .lookup-preview__row {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(15, 23, 42, 0.78);
  color: #f8fafc;
}

:root[data-theme="dark"] .router__status,
:root[data-theme="dark"] .lookup-preview__note {
  background: rgba(96, 165, 250, 0.12);
  color: #dbeafe;
}

:root[data-theme="dark"] .lookup-preview__row em {
  color: #dbeafe;
  background: rgba(96, 165, 250, 0.14);
}

:root[data-theme="dark"] .home-cluster-card {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(260px 180px at 100% 0%, rgba(96, 165, 250, 0.12), transparent 68%),
    rgba(15, 23, 42, 0.82);
}

:root[data-theme="dark"] .home-cluster-card .feature-card__title {
  color: #f8fafc;
}

@media (max-width: 1023px) {
  .site-header__inner {
    border-radius: 28px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__promise {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 10px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero__content,
  .hero__panel-card {
    border-radius: 28px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__content::before {
    width: 92%;
    opacity: 0.22;
  }

  .hero__content::after {
    background: linear-gradient(180deg, rgba(8, 18, 34, 0.94) 0%, rgba(8, 18, 34, 0.88) 64%, rgba(8, 18, 34, 0.70) 100%);
  }

  .lookup-preview {
    padding: 14px;
    border-radius: 20px;
  }

  .lookup-preview__row {
    grid-template-columns: 12px minmax(0, 1fr);
  }

  .lookup-preview__row em {
    grid-column: 2;
    width: fit-content;
  }

  .home-cluster-card {
    min-height: 0;
  }
}

/* Second packaging pass: делаем живым не только hero, но и весь путь до следующего действия. */
.page-section {
  padding: 42px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 24px;
}

.section-heading h2 {
  color: var(--text);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.98;
}

.section-heading__eyebrow {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.10);
}

.article-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(37, 99, 235, 0.10), transparent 66%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.article-card__intro {
  max-width: 820px;
  color: #475569;
  font-size: clamp(17px, 1.4vw, 20px);
}

.article-card__columns {
  gap: 18px;
  margin-top: 26px;
}

.checklist {
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
}

.checklist--soft {
  background:
    radial-gradient(300px 190px at 100% 0%, rgba(245, 158, 11, 0.12), transparent 70%),
    rgba(248, 250, 252, 0.92);
}

.checklist h3 {
  font-size: 26px;
}

.checklist__list {
  gap: 13px;
}

.checklist__list li {
  color: #475569;
}

.extra-panel {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(280px 180px at 100% 0%, rgba(37, 99, 235, 0.14), transparent 68%),
    rgba(239, 246, 255, 0.74);
}

.offer-card {
  padding: clamp(24px, 3vw, 36px);
}

.offer-card--report {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(37, 99, 235, 0.46), transparent 66%),
    linear-gradient(145deg, #07111f 0%, #10264d 100%);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.20);
}

.offer-card--report .offer-card__badge {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.offer-card--report .offer-card__title {
  color: #ffffff;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
}

.offer-card--report .offer-card__copy,
.offer-card--report .offer-card__note,
.offer-card--report .offer-card__mini-list li {
  color: rgba(255, 255, 255, 0.76);
}

.offer-card--report .button--primary {
  background: #ffffff;
  color: #0b1424;
  box-shadow: none;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.05);
}

.faq-item summary {
  font-weight: 900;
}

.related-grid {
  gap: 14px;
}

.related-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(260px 160px at 100% 0%, rgba(37, 99, 235, 0.10), transparent 70%),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06);
}

:root[data-theme="dark"] .section-heading h2,
:root[data-theme="dark"] .checklist h3,
:root[data-theme="dark"] .home-cluster-card .feature-card__title {
  color: #f8fafc;
}

:root[data-theme="dark"] .article-card,
:root[data-theme="dark"] .checklist,
:root[data-theme="dark"] .faq-item,
:root[data-theme="dark"] .related-card {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(96, 165, 250, 0.10), transparent 66%),
    rgba(15, 23, 42, 0.82);
}

:root[data-theme="dark"] .article-card__intro,
:root[data-theme="dark"] .checklist__list li,
:root[data-theme="dark"] .related-card__copy {
  color: #a8b3c5;
}

:root[data-theme="dark"] .extra-panel {
  border-color: rgba(96, 165, 250, 0.16);
  background:
    radial-gradient(280px 180px at 100% 0%, rgba(96, 165, 250, 0.12), transparent 68%),
    rgba(15, 23, 42, 0.82);
}

:root[data-theme="dark"] .hero__panel-card .button--ghost {
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.07);
}

@media (max-width: 640px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 12px;
    border-radius: 24px;
  }

  .site-header__nav {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
  }

  .site-header__nav a {
    min-height: 36px;
  }

  .hero__content {
    padding: 28px;
  }

  .hero__title {
    font-size: 36px;
    line-height: 0.98;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__promise {
    gap: 10px;
  }

  .hero__promise li {
    min-height: 0;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .hero__sources {
    margin-top: 16px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .article-card,
  .checklist,
  .offer-card,
  .related-card {
    border-radius: 24px;
  }
}

/* Final polish: темная тема и мобильный первый экран должны продавать проверку, а не прятать ввод. */
:root[data-theme="dark"] .site-header__brand-copy strong,
:root[data-theme="dark"] .site-header__nav a {
  color: #f8fafc;
}

:root[data-theme="dark"] .site-header__brand-copy small {
  color: #a8b3c5;
}

:root[data-theme="dark"] .hero__panel-card .button.button--ghost {
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #f8fafc !important;
  background: rgba(255, 255, 255, 0.08) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  background-image: none !important;
}

:root[data-theme="dark"] .hero__panel-card .button.button--ghost:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  background-color: rgba(255, 255, 255, 0.12) !important;
}

:root[data-theme="dark"] .router__chip {
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
  background: rgba(255, 255, 255, 0.08) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  background-image: none !important;
}

:root[data-theme="dark"] .router__chip:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  background-color: rgba(255, 255, 255, 0.12) !important;
}

@media (max-width: 640px) {
  .hero__panel {
    order: -1;
  }

  .hero__panel-card {
    padding: 22px;
  }

  .hero__panel-title {
    font-size: 30px;
  }

  .router {
    gap: 12px;
  }

  .router__input {
    min-height: 56px;
    font-size: 16px;
  }

  .lookup-preview__list {
    gap: 7px;
  }

  .lookup-preview__row {
    padding: 10px;
  }

  .lookup-preview__row p {
    font-size: 12px;
  }

  .hero__content {
    margin-top: 16px;
  }
}

/* === Avtocod widget section (real partner widget) === */
.avtocod-widget-section {
  padding-top: 8px;
}

.avtocod-widget-host {
  max-width: 720px;
  margin: 24px auto 0;
  display: flex;
  justify-content: center;
}

.avtocod-widget-host avtocod-widget {
  display: block;
  width: 100%;
}

.section-heading__lead {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted, #5e6877);
  max-width: 640px;
}

:root[data-theme="dark"] .section-heading__lead {
  color: #a8b3c5;
}

/* === Lookup-preview action buttons (4 working buttons in lookup preview) === */
.lookup-preview__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  min-width: 138px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(37, 99, 235, 0.20);
  background: rgba(37, 99, 235, 0.06);
  color: #1d4ed8;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  text-align: left;
}

.lookup-preview__btn:hover {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.40);
}

.lookup-preview__btn:active {
  transform: translateY(1px);
}

.lookup-preview__btn-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}

.lookup-preview__btn-hint {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  color: #5e6877;
  white-space: nowrap;
}

.lookup-preview__btn--primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.lookup-preview__btn--primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.lookup-preview__btn--primary .lookup-preview__btn-hint {
  color: rgba(255, 255, 255, 0.85);
}

/* На строках row — кнопка занимает третью колонку (вместо старого <em>) */
.lookup-preview__row .lookup-preview__btn {
  align-self: center;
}

/* Тёмная тема */
:root[data-theme="dark"] .lookup-preview__btn {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.30);
  color: #dbeafe;
}

:root[data-theme="dark"] .lookup-preview__btn:hover {
  background: rgba(96, 165, 250, 0.22);
  border-color: rgba(96, 165, 250, 0.55);
}

:root[data-theme="dark"] .lookup-preview__btn-hint {
  color: #a8b3c5;
}

:root[data-theme="dark"] .lookup-preview__btn--primary {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
}

:root[data-theme="dark"] .lookup-preview__btn--primary:hover {
  background: #2563eb;
  border-color: #2563eb;
}

/* Мобильный: кнопка под текстом, full-width */
@media (max-width: 720px) {
  .lookup-preview__btn {
    grid-column: 2;
    width: 100%;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
  }
  .lookup-preview__btn-label {
    white-space: normal;
  }
  .lookup-preview__btn-hint {
    white-space: normal;
    text-align: right;
    flex-shrink: 0;
  }
}
