/* ==============================================================
   R3KA · hr_landing · v3 (marketing rebuild)
   Palette: Deep Electric Indigo + Acid Lime + Off-white
   ============================================================== */

:root {
  /* Brand */
  --indigo-950: #0B0F2C;
  --indigo-800: #1A2670;
  --indigo-700: #2751F5;
  --indigo-500: #4F6BFF;
  --indigo-100: #D9E0FF;
  --indigo-50:  #EEF1FF;
  --lime:       #C4FF3D;
  --lime-dark:  #A6E033;
  --lime-ink:   #0B0F2C;

  /* Neutrals */
  --ink:        #0A0A0A;
  --ink-70:     #2B2B2F;
  --ink-50:     #5B5B66;
  --ink-30:     #A0A0AB;
  --line:       #E7E7EC;
  --paper:      #FFFFFF;
  --bg:         #FAFAF7;
  --bg-soft:    #F3F3EE;

  /* Semantic */
  --success:    #0EA560;
  --success-bg: #E7FBF1;
  --danger:     #E64848;
  --danger-bg:  #FFECEC;

  /* Tokens */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(11,15,44,.04), 0 1px 1px rgba(11,15,44,.02);
  --shadow-md: 0 8px 24px rgba(11,15,44,.06), 0 2px 6px rgba(11,15,44,.04);
  --shadow-lg: 0 24px 48px rgba(11,15,44,.10), 0 8px 16px rgba(11,15,44,.06);
  --shadow-xl: 0 40px 80px rgba(11,15,44,.16), 0 16px 32px rgba(11,15,44,.10);

  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; overflow-x: clip; max-width: 100%; }
body { position: relative; }
main, header, footer { overflow-x: clip; max-width: 100vw; }
h1, h2, h3, p { overflow-wrap: break-word; word-wrap: break-word; hyphens: auto; }
.container { box-sizing: border-box; max-width: 100vw; }
.section { overflow-x: clip; max-width: 100vw; }

body {
  font-family: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: var(--indigo-700); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--indigo-500); }
::selection { background: var(--lime); color: var(--ink); }

/* ========== Layout ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 820px; }

.section {
  padding: clamp(56px, 7vw, 90px) 0;
  position: relative;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(32px, 4vw, 52px);
  text-align: center;
}
.section-head-left {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

/* ========== Typography ========== */
h1, h2, h3, h4 {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
}
h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(28px, 3.6vw, 48px); }
h3 { font-size: clamp(18px, 1.4vw, 22px); }
p  { margin: 0 0 12px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo-700);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--lime); }

.section-title { margin: 0 0 14px; }
.section-lead {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--ink-50);
  max-width: 640px;
  margin: 0 auto;
}
.section-head-left .section-lead { margin-left: 0; }

.muted { color: var(--ink-50); }

/* ========== Buttons ========== */
.btn, .btn-primary, .btn-ghost, .btn-lime, .btn-messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  text-decoration: none;
  font-family: inherit;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 28px; font-size: 17px; }
.btn-xl { padding: 22px 36px; font-size: 19px; font-weight: 700; }

.btn-primary {
  background: var(--indigo-700);
  color: var(--paper);
  box-shadow: 0 8px 20px rgba(39,81,245,.25);
}
.btn-primary:hover {
  background: var(--indigo-950);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(39,81,245,.30);
}
.btn-primary:active { transform: translateY(0); }

.btn-lime {
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 8px 20px rgba(196,255,61,.35);
}
.btn-lime:hover {
  background: var(--lime-dark);
  color: var(--lime-ink);
  transform: translateY(-1px);
}

.cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cta-pair.cta-pair-center { justify-content: center; }
.cta-pair .btn { flex: 0 1 auto; }
@media (max-width: 540px) {
  .cta-pair { width: 100%; gap: 10px; }
  .cta-pair .btn { flex: 1 1 100%; }
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--paper);
  border-color: var(--ink);
  color: var(--ink);
}

.btn:disabled, .btn.disabled {
  background: var(--bg-soft) !important;
  color: var(--ink-30) !important;
  box-shadow: none !important;
  cursor: not-allowed;
  transform: none !important;
}

/* ========== Chips / Badges ========== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-70);
}
.chip-live .chip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(14,165,96,.12);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(14,165,96,.12); }
  50%      { box-shadow: 0 0 0 8px rgba(14,165,96,.04); }
}

/* ========== Header ========== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,250,247,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-job {
  display: inline-block;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 2px 7px 3px;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  margin-right: 1px;
}
.brand-dot { color: var(--ink-50); margin: 0 2px; }
.footer .brand-job { background: var(--lime); color: var(--lime-ink); }
.footer .brand-dot { color: rgba(255,255,255,.5); }

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 8px;
}
.nav a {
  color: var(--ink-70);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .nav { display: none; }
  .topbar-inner { gap: 12px; }
}

/* ========== 1. HERO ========== */
.hero {
  padding: clamp(24px, 3vw, 44px) 0 clamp(32px, 4vw, 60px);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-title {
  margin: 14px 0 14px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: auto;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  word-break: keep-all;
  overflow-wrap: normal;
}
.hero-title-accent {
  display: inline-block;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 0.04em 0.22em 0.08em;
  border-radius: 0.28em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.05;
  letter-spacing: -0.03em;
  transform: rotate(-0.4deg);
  font-size: 0.88em;
  white-space: nowrap;
}
@media (max-width: 380px) {
  .hero-title-accent { font-size: 0.82em; padding: 0.04em 0.18em 0.08em; }
}
/* ----- Hero money-line — визуальный subtitle между H1 и lead ----- */
/* Маркетинг-эффект: первое что видит глаз после H1 — ДЕНЬГИ.
   Аналог swipe «Earn $1,000-$3,500 in your first week» (Uber Driver). */
.hero-money {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.32em;
  margin: 6px 0 18px;
  font-family: inherit;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.hero-money-amount {
  position: relative;
  display: inline-block;
  font-weight: 800;
  color: var(--ink);
  z-index: 0;
  padding: 0 0.06em;
}
/* Лайм-«маркер» подложка под цифрами — фирстиль indigo/lime */
.hero-money-amount::before {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.04em;
  height: 0.42em;
  background: var(--lime);
  border-radius: 0.22em;
  z-index: -1;
  transform: rotate(-0.6deg);
}
/* Верхняя сумма (9000) — крупнее по визуальному весу */
.hero-money-amount-hi {
  font-size: 1.06em;
}
.hero-money-period {
  color: var(--ink-70);
  font-weight: 700;
  letter-spacing: -0.005em;
}
@media (max-width: 620px) {
  .hero-money {
    font-size: clamp(20px, 6.2vw, 26px);
    margin: 4px 0 14px;
    gap: 0.28em;
  }
}

.hero-lead {
  font-size: clamp(16px, 1.15vw, 18px);
  color: var(--ink-50);
  max-width: 520px;
  margin: 0 0 22px;
  line-height: 1.5;
  text-wrap: pretty;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.hero-utp {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.hero-utp li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-70);
}
.utp-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Hero figure (product mock) */
.hero-figure {
  position: relative;
  max-width: 620px;
  margin-left: auto;
  width: 100%;
  padding: 24px 28px;
  isolation: isolate;
}

/* Mobile-only фото под H1 */
.hero-figure-mobile { display: none; }
@media (max-width: 720px) {
  .hero-figure-mobile {
    display: block;
    position: relative;
    margin: 16px 0 22px;
    max-width: 340px;
    isolation: isolate;
  }
  .hero-figure-mobile .hero-mockup-img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(11,15,44,.12), 0 4px 12px rgba(11,15,44,.06);
  }
  .hero-figure-mobile .mock-chiplet {
    position: absolute;
    bottom: 12px;
    right: 12px;
    top: auto;
    background: var(--paper);
    color: var(--ink);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(11,15,44,.12);
    white-space: nowrap;
  }
  .hero-figure-mobile .mock-chiplet-plus { color: var(--indigo-700); }
  .hero-figure-desktop { display: none !important; }
}

/* Декоративные blob-ы позади мока */
.mock-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  pointer-events: none;
  z-index: 0;
}
.mock-blob-a {
  width: 80%; height: 80%;
  background: var(--indigo-500);
  top: -10%; right: -12%;
  opacity: .18;
}
.mock-blob-b {
  width: 55%; height: 55%;
  background: var(--indigo-100);
  bottom: -10%; left: -8%;
  opacity: .55;
}

/* Карточка мок-приложения — flat-версия (3D убран) */
.mock-app {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow:
    0 40px 80px rgba(11,15,44,.14),
    0 16px 32px rgba(11,15,44,.08),
    0 2px 4px rgba(11,15,44,.04);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mock-app:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Новый hero-mockup (SVG от A5) вместо CSS-мока */
.hero-mockup-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  box-shadow:
    0 40px 80px rgba(11,15,44,.14),
    0 16px 32px rgba(11,15,44,.08),
    0 2px 4px rgba(11,15,44,.04);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.hero-mockup-img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Верхняя панель (mac-style traffic lights + title) */
.mock-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.mock-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mock-dot-r { background: #FF5F57; }
.mock-dot-y { background: #FEBC2E; }
.mock-dot-g { background: #28C840; }
.mock-title {
  margin-left: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-50);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(14,165,96,.12);
  color: var(--success);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.mock-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: mockPulse 1.6s var(--ease) infinite;
}
@keyframes mockPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* Тело мока: 2 колонки */
.mock-body {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1px;
  background: var(--line);
}
.mock-client,
.mock-ai {
  background: var(--paper);
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.mock-ai {
  background: linear-gradient(180deg, #F6F8FF 0%, var(--paper) 70%);
}

.mock-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.mock-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.mock-col-label-ai {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--indigo-700);
}
.mock-ai-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: var(--indigo-700);
  color: var(--paper);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.mock-col-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-30);
  font-variant-numeric: tabular-nums;
}
.mock-col-sub-ai { color: var(--indigo-500); }

/* Клиент — карточка с аватаром */
.mock-client-card {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B9D, #C54BA8);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.mock-client-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.2;
}
.mock-client-sub {
  font-size: 11px;
  color: var(--ink-50);
  margin-top: 1px;
}

/* Реплика клиента: пузырь */
.mock-bubble {
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  max-width: 100%;
}
.mock-bubble-client {
  background: var(--bg-soft);
  color: var(--ink);
  border-top-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(11,15,44,.03);
}
.mock-typing {
  align-self: flex-start;
  padding: 12px 14px;
  background: var(--bg-soft);
}
.mock-typing-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.mock-typing-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-30);
  animation: mockBlink 1.4s infinite;
}
.mock-typing-dots span:nth-child(2) { animation-delay: .2s; }
.mock-typing-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes mockBlink {
  0%, 80%, 100% { opacity: .3; transform: translateY(0); }
  40%           { opacity: 1;  transform: translateY(-2px); }
}

/* ИИ-подсказка */
.mock-ai-card {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--indigo-700);
  border-radius: 14px;
  padding: 14px 15px 12px;
  box-shadow:
    0 12px 24px rgba(39,81,245,.10),
    0 0 0 4px rgba(39,81,245,.06);
  animation: mockAppear .6s var(--ease) .4s both;
}
@keyframes mockAppear {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mock-ai-line {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}
.mock-ai-meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.mock-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mock-tag-l {
  background: var(--lime);
  color: var(--lime-ink);
}

/* Кнопка "Прочитал" */
.mock-read-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 14px;
  border: none;
  border-radius: 10px;
  background: var(--indigo-700);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  cursor: default;
  pointer-events: none;
  box-shadow: 0 6px 14px rgba(39,81,245,.22);
}
.mock-read-check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--lime-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Floating-пилюли вокруг мока */
.mock-chiplet {
  position: absolute;
  z-index: 3;
  padding: 9px 14px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow:
    0 12px 24px rgba(11,15,44,.10),
    0 2px 4px rgba(11,15,44,.04);
  white-space: nowrap;
  animation: mockFloat 6s var(--ease) infinite;
}
.mock-chiplet-plus {
  color: var(--indigo-700);
  font-weight: 800;
  margin-right: 2px;
}
.mock-chiplet-1 {
  top: 4px;
  right: -14px;
  animation-delay: 0s;
}
.mock-chiplet-2 {
  bottom: 72px;
  left: -24px;
  animation-delay: 1.8s;
}
.mock-chiplet-3 {
  bottom: -8px;
  right: 24px;
  background: var(--lime);
  border-color: var(--lime-dark);
  color: var(--lime-ink);
  animation-delay: 3.4s;
}
@keyframes mockFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Адаптив */
@media (max-width: 1100px) {
  .mock-app { transform: none; }
  .mock-app:hover { transform: translateY(-2px); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { max-width: 540px; margin: 20px auto 0; padding: 20px; }
  .mock-chiplet-1 { top: 0; right: -6px; }
  .mock-chiplet-2 { bottom: 60px; left: -10px; }
  .mock-chiplet-3 { bottom: 0; right: 16px; }
}
@media (max-width: 620px) {
  .hero-figure { padding: 16px 12px 28px; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-ai { background: linear-gradient(180deg, #F6F8FF 0%, var(--paper) 100%); }
  .mock-chiplet { font-size: 11.5px; padding: 7px 11px; }
  .mock-chiplet-1 { top: -4px; right: 8px; }
  .mock-chiplet-2 { bottom: auto; top: 46%; left: -6px; }
  .mock-chiplet-3 { bottom: -6px; right: 12px; }
  .mock-title { font-size: 11px; }
}

/* ========== 2. DEMO (indigo CTA block) ========== */
.demo { padding: clamp(32px, 5vw, 56px) 0; }
.demo-box {
  background: var(--indigo-700);
  background: linear-gradient(135deg, var(--indigo-700) 0%, var(--indigo-800) 100%);
  color: var(--paper);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px) clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.demo-box::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  background: var(--indigo-500);
  filter: blur(80px);
  opacity: .35;
  top: -120px; right: -80px;
  border-radius: 50%;
  pointer-events: none;
}
.demo-title {
  color: var(--paper);
  font-size: clamp(24px, 2.8vw, 36px);
  margin: 8px 0 10px;
}
.demo-lead {
  color: rgba(255,255,255,.82);
  font-size: clamp(15px, 1.15vw, 17px);
  margin: 0;
  max-width: 520px;
}
.demo-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.demo-micro { color: rgba(255,255,255,.65); font-size: 13px; }
@media (max-width: 820px) {
  .demo-box { grid-template-columns: 1fr; }
  .demo-cta-wrap { align-items: stretch; }
  .demo-cta-wrap .btn { width: 100%; }
}

/* ========== 3. PAY ========== */
.pay-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.pay-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pay-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pay-card-primary {
  background: var(--indigo-950);
  color: var(--paper);
  border-color: var(--indigo-950);
}
.pay-num {
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 10px;
}
.pay-card-primary .pay-num { color: var(--lime); }
.pay-num-unit {
  font-size: 0.35em;
  font-weight: 600;
  color: var(--ink-50);
  margin-left: 6px;
  vertical-align: 0.6em;
}
.pay-card-primary .pay-num-unit { color: var(--lime); opacity: .8; }
.pay-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 12px;
}
.pay-card-primary .pay-label { color: var(--ink-30); }
.pay-text { color: var(--ink-50); font-size: 15px; margin: 0; }
.pay-card-primary .pay-text { color: rgba(255,255,255,.75); }

.pay-calc {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.pay-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--ink-70);
}
.pay-calc-num {
  font-weight: 800;
  color: var(--indigo-700);
  font-size: 20px;
  letter-spacing: -0.02em;
}
.pay-foot {
  font-size: 14px;
  color: var(--ink-50);
  text-align: center;
  padding-top: 8px;
}

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

/* ========== 3b. CONNECT STRIP ("Связь — за наш счёт") ========== */
.connect-strip {
  padding: clamp(16px, 2.5vw, 28px) 0 clamp(24px, 3vw, 36px);
}
.connect-card {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
  padding: clamp(18px, 2.4vw, 26px) clamp(20px, 2.8vw, 32px);
  background: var(--paper);
  border: 1px solid var(--indigo-100);
  border-left: 4px solid var(--indigo-700);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.connect-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  color: var(--indigo-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.connect-icon svg { width: 100%; height: 100%; }
.connect-body { min-width: 0; }
.connect-title {
  margin: 0 0 6px;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink);
}
.connect-text {
  margin: 0;
  color: var(--ink-70);
  font-size: 15px;
  line-height: 1.55;
}
@media (max-width: 720px) {
  .connect-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
  }
  .connect-icon { width: 48px; height: 48px; }
}

/* ========== 5b. KONSOL.PRO ========== */
.konsol { background: var(--bg); }
.konsol-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}
.konsol-card {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.konsol-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.konsol-card-accent {
  background: linear-gradient(135deg, var(--indigo-50) 0%, var(--paper) 100%);
  border-color: var(--indigo-100);
}
.konsol-icon {
  width: 56px; height: 56px;
  color: var(--indigo-700);
  margin-bottom: 6px;
}
.konsol-icon svg { width: 100%; height: 100%; }
.konsol-card h3 {
  margin: 0 0 4px;
  font-size: 19px;
  line-height: 1.25;
}
.konsol-card p {
  color: var(--ink-70);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.konsol-disclaimer {
  margin: 16px 0 0;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-50);
  font-style: italic;
  text-align: center;
}
@media (max-width: 820px) {
  .konsol-grid { grid-template-columns: 1fr; }
}

/* ========== 4. EASY ========== */
.easy { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.easy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.easy-card {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.easy-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.easy-icon {
  width: 56px; height: 56px;
  color: var(--indigo-700);
  margin-bottom: 18px;
}
.easy-icon svg { width: 100%; height: 100%; }
.easy-card h3 { margin: 0 0 10px; font-size: 20px; }
.easy-card p { color: var(--ink-50); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .easy-grid { grid-template-columns: 1fr; } }

/* ========== 5. TRUST ========== */
.trust { background: var(--bg-soft); }

.trust-logos { margin-bottom: 36px; }
.trust-logos-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 16px;
  text-align: center;
}
.trust-logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.logo-chip {
  padding: 10px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-sm);
}

.trust-logos { width: 100%; max-width: 100%; box-sizing: border-box; }
.client-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (min-width: 960px) {
  .client-logos-grid { max-width: 880px; }
}
.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 92px;
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.client-logo img {
  max-height: 32px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(0.9);
  opacity: 0.6;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.client-logo span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-50);
  letter-spacing: -0.01em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.client-logo:hover { box-shadow: var(--shadow-md); }
.client-logo:hover img { filter: none; opacity: 1; }
.client-logo:hover span { color: var(--ink); }
@media (max-width: 720px) {
  .client-logos-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .client-logo { height: 76px; padding: 8px 6px; }
  .client-logo img { max-height: 24px; }
  .client-logo span { font-size: 10px; }
}
@media (max-width: 420px) {
  .client-logos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-logo { height: 72px; }
  .client-logo img { max-height: 28px; }
  .client-logo span { font-size: 11px; }
}

.compare-wrap {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  overflow-x: auto;
  margin-bottom: 28px;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.compare-table thead th.compare-us {
  color: var(--indigo-700);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}
.compare-table tbody th { font-weight: 600; color: var(--ink-70); }
.compare-table td.compare-us { background: var(--indigo-50); }
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: none; }
.tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.tag-ok { background: var(--success-bg); color: var(--success); }
.tag-bad { background: var(--danger-bg); color: var(--danger); }
.compare-disclaimer {
  margin: 12px 2px 0;
  font-size: 12px;
  color: var(--ink-50);
  font-style: italic;
}

.trust-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
}
.trust-bullets li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-70);
  font-size: 15px;
  line-height: 1.55;
}
.trust-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--indigo-50);
  color: var(--indigo-700);
  font-weight: 800;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.trust-bullets strong { color: var(--ink); }
@media (max-width: 720px) { .trust-bullets { grid-template-columns: 1fr; } }

/* ========== 6. STORIES ========== */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 16px;
}
.story-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.story-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.story-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.story-avatar-m { background: linear-gradient(135deg, #FF6B9D, #C54BA8); }
.story-avatar-d { background: linear-gradient(135deg, var(--indigo-500), var(--indigo-700)); }
.story-avatar-v { background: linear-gradient(135deg, #CFCFC8, #9B9B95); color: #fff; }
/* Нейтральный placeholder с SVG человечком (вместо цветных букв) */
.story-avatar-placeholder {
  background: #EDEDE8;
  padding: 0;
  overflow: hidden;
}
.story-avatar-placeholder svg { width: 100%; height: 100%; display: block; }
/* Реальное фото-аватар (P1-22) */
.story-avatar-photo {
  width: 80px; height: 80px;
  padding: 0;
  overflow: hidden;
  background: var(--indigo-50);
  border: 2px solid var(--paper);
  box-shadow: 0 4px 10px rgba(11,15,44,.08);
}
.story-avatar-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.story-meta { }
.story-name { font-weight: 700; font-size: 17px; color: var(--ink); }
.story-sub { font-size: 14px; color: var(--ink-50); margin-top: 2px; }
.story-quote {
  margin: 0;
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.6;
  font-style: italic;
  border-left: 3px solid var(--indigo-100);
  padding-left: 14px;
}
.story-amount {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 800;
  font-size: 20px;
  color: var(--indigo-700);
  letter-spacing: -0.02em;
}
.story-amount span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-50);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.stories-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-50);
  font-style: italic;
  margin: 8px 0 0;
}
@media (max-width: 900px) { .stories-grid { grid-template-columns: 1fr; } }

/* ========== 7. HOWTO ========== */
.howto-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: howto;
}
.howto-step {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.howto-step:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.howto-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 52px;
  font-weight: 800;
  color: var(--indigo-50);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
}
.howto-body { position: relative; z-index: 1; }
.howto-icon {
  width: 44px; height: 44px;
  color: var(--indigo-700);
  margin-bottom: 14px;
}
.howto-body h3 { margin: 0 0 6px; font-size: 19px; }
.howto-body p { color: var(--ink-50); font-size: 15px; margin: 0 0 12px; }
.howto-time {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--indigo-50);
  color: var(--indigo-700);
  font-size: 12px;
  font-weight: 600;
}
@media (max-width: 820px) { .howto-list { grid-template-columns: 1fr; } }

/* ========== 8. FAQ ========== */
.faq-list { display: grid; gap: 8px; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  transition: border-color .2s var(--ease);
}
.faq details[open] { border-color: var(--indigo-500); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 22px;
  position: relative;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  background: var(--ink-50);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.faq summary::before {
  width: 14px; height: 2px;
  transform: translateY(-1px);
}
.faq summary::after {
  width: 2px; height: 14px;
  transform: translate(6px, -7px);
}
.faq details[open] summary::after {
  transform: translate(6px, -7px) scaleY(0);
  opacity: 0;
}
.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--ink-50);
  font-size: 15px;
  line-height: 1.7;
}
.faq-cta { text-align: center; margin-top: 28px; }

/* ========== 9. FINAL CTA ========== */
.final {
  background: linear-gradient(180deg, var(--bg) 0%, var(--indigo-50) 100%);
  padding: clamp(72px, 10vw, 120px) 0;
}
.final-box {
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.final-title {
  font-size: clamp(32px, 4.5vw, 52px);
  margin: 0 0 12px;
}
.final-lead {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-50);
  margin: 0 auto 28px;
  max-width: 520px;
}
.final-consent {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto 24px;
  text-align: left;
}
.checkbox-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.55;
}
.checkbox-row input[type=checkbox] {
  width: 20px; height: 20px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--indigo-700);
  cursor: pointer;
}
.checkbox-row strong { color: var(--ink); font-weight: 600; }

.final-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
#final-cta-btn { min-width: 280px; }
.final-hint { margin: 0; font-size: 13px; color: var(--ink-50); }
.final-hint.ok { color: var(--success); font-weight: 600; }

.messenger-choice {
  margin-top: 12px;
  width: 100%;
  max-width: 560px;
  animation: slideIn .35s var(--ease);
}
.messenger-choice.hidden { display: none; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.messenger-title {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
  margin: 0 0 12px;
}
.messenger-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.btn-messenger {
  padding: 14px 18px;
  font-size: 15px;
  color: var(--paper);
  background: var(--indigo-700);
  box-shadow: 0 6px 16px rgba(39,81,245,.18);
}
.btn-messenger:hover { color: var(--paper); transform: translateY(-1px); }
.btn-tg { background: #2AABEE; box-shadow: 0 6px 16px rgba(42,171,238,.30); }
.btn-tg:hover { background: #1E8BC3; }
.btn-vk { background: #0077FF; box-shadow: 0 6px 16px rgba(0,119,255,.30); }
.btn-vk:hover { background: #005FCC; }
.btn-max {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(11,15,44,0.12);
  box-shadow: 0 6px 16px rgba(11,15,44,0.08);
}
.btn-max:hover { background: #f4f4f0; color: var(--ink); transform: translateY(-1px); }
.msg-icon { display: inline-flex; width: 20px; height: 20px; }
.msg-icon svg { width: 100%; height: 100%; }
.messenger-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ink-50);
  min-height: 20px;
}
.messenger-note.ok { color: var(--success); font-weight: 600; }

@media (max-width: 620px) {
  .messenger-buttons { grid-template-columns: 1fr; }
}

/* ========== ABOUT — видео-карточка (indigo) после симулятора ========== */
.about { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.about-card {
  background: linear-gradient(135deg, #1c2c6b 0%, #2751F5 100%);
  border-radius: 28px;
  padding: clamp(24px, 3.5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 44px);
  align-items: center;
  color: #fff;
  box-shadow: 0 28px 80px -32px rgba(39,81,245,0.45);
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 60%; height: 180%;
  background: radial-gradient(closest-side, rgba(196,255,61,0.18), transparent 70%);
  pointer-events: none;
}
.about-video-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
  box-shadow: 0 16px 48px -10px rgba(0,0,0,0.55);
  z-index: 1;
}
.about-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-side { position: relative; z-index: 1; }
.about-side .eyebrow-light { color: var(--lime); }
.about-h {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 12px 0 14px;
  color: #fff;
}
.about-p {
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 460px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.about-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.about-stat-num {
  font-weight: 800;
  font-size: clamp(18px, 1.8vw, 24px);
  color: var(--lime);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.about-stat-lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
  line-height: 1.3;
}
@media (max-width: 900px) {
  .about-card { grid-template-columns: 1fr; padding: 22px; border-radius: 22px; }
}
@media (max-width: 520px) {
  .about-card { padding: 18px; gap: 18px; }
  .about-stats { gap: 8px; }
  .about-stat { padding: 12px 6px; border-radius: 12px; }
  .about-stat-num { font-size: 15px; }
  .about-stat-lbl { font-size: 9.5px; letter-spacing: 0.03em; }
  .about-h { font-size: 20px; }
  .about-p { font-size: 14px; }
}

/* ========== CALC-INTRO — заголовок над калькулятором ========== */
.calc-intro {
  text-align: center;
  margin: clamp(28px, 3vw, 44px) 0 clamp(16px, 1.6vw, 22px);
}
.calc-intro-title {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--ink);
  margin: 8px 0 6px;
}
.calc-intro-lead {
  color: var(--ink-50);
  font-size: clamp(14px, 1vw, 16px);
  margin: 0;
}

/* ========== MODAL (simulator) ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,15,44,.65);
  backdrop-filter: blur(6px);
  animation: fadeIn .2s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-dialog {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 920px;
  max-height: 92vh;
  overflow: hidden;
  animation: popIn .25s var(--ease);
  display: flex;
  flex-direction: column;
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .15s var(--ease);
}
.modal-close:hover { background: var(--line); }
.modal-body {
  padding: clamp(20px, 3vw, 36px);
  overflow-y: auto;
  flex: 1;
}

/* Simulator layout inside modal */
.sim-intro { text-align: center; padding: 20px 8px 4px; }
.sim-intro h3 { margin: 0 0 8px; font-size: 22px; }
.sim-intro p { color: var(--ink-50); margin: 0 0 20px; font-size: 15px; }
.sim-intro .sim-avatar {
  font-size: 56px;
  margin: 0 auto 12px;
  display: block;
  width: 90px; height: 90px;
  line-height: 90px;
  text-align: center;
  background: var(--indigo-50);
  border-radius: 50%;
}

.sim-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.sim-col {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.sim-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.sim-col-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.sim-col-ai .sim-col-header { color: var(--indigo-700); }
.sim-col-ai .sim-col-avatar {
  background: var(--indigo-700);
  color: var(--paper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.sim-client-msg {
  background: var(--paper);
  border-radius: var(--radius-md);
  border-top-left-radius: 4px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.sim-client-msg.typing {
  color: var(--ink-50);
  font-style: italic;
}
.sim-typing-dots {
  display: inline-flex;
  gap: 3px;
  margin-left: 4px;
  vertical-align: middle;
}
.sim-typing-dots span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink-30);
  animation: blink 1.4s infinite;
}
.sim-typing-dots span:nth-child(2) { animation-delay: .2s; }
.sim-typing-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes blink {
  0%, 80%, 100% { opacity: .3; }
  40%           { opacity: 1; }
}

.sim-ai-suggestion {
  background: var(--paper);
  border: 2px solid var(--indigo-700);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 14px;
  flex: 1;
}
.sim-ai-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo-700);
  margin-bottom: 8px;
}
.sim-ai-text {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
  font-weight: 500;
}

.sim-read-btn {
  width: 100%;
  background: var(--indigo-700);
  color: var(--paper);
  border: none;
  padding: 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s var(--ease), transform .15s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sim-read-btn:hover { background: var(--indigo-950); transform: translateY(-1px); }
.sim-read-btn:disabled { background: var(--ink-30); cursor: wait; transform: none; }
.sim-read-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--indigo-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.sim-progress {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-top: 16px;
}
.sim-progress-bar {
  margin-top: 8px;
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.sim-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--indigo-500), var(--indigo-700));
  width: 0%;
  transition: width .35s var(--ease);
}

.sim-final {
  text-align: center;
  padding: 16px;
}
.sim-final-icon {
  width: 72px; height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--indigo-700);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
}
.sim-final h3 {
  font-size: clamp(22px, 2.5vw, 30px);
  margin: 0 0 10px;
}
.sim-final p {
  color: var(--ink-50);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.sim-final-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.sim-final-cta-hint {
  width: 100%;
  text-align: center;
  font-size: 15px;
  color: var(--ink-50);
  margin-bottom: 12px;
  font-weight: 500;
}

/* === Gamification payout === */
.sim-payout-big {
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  margin: 0 auto 20px;
  max-width: 420px;
}
.sim-payout-big.attempt-only {
  background: linear-gradient(145deg, #f6f6f0, #ecece6);
  border: 1px solid var(--ink-10, #e4e4df);
}
.sim-payout-big.success {
  background: linear-gradient(145deg, var(--indigo-900, #0B0F2C), var(--indigo-700));
  color: #fff;
}
.sim-payout-big.success .sim-payout-label-top,
.sim-payout-big.success .sim-payout-label {
  color: rgba(255,255,255,.7);
}
.sim-payout-label-top {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-50);
  margin-bottom: 8px;
}
.sim-payout-amount {
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.sim-payout-big.success .sim-payout-amount {
  color: var(--lime);
}
.sim-payout-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  max-width: 260px;
  margin: 0 auto;
}
.sim-payout-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 12px;
  border-radius: 8px;
}
.sim-payout-big.attempt-only .sim-payout-row { background: rgba(0,0,0,.04); }
.sim-payout-big.success .sim-payout-row { background: rgba(255,255,255,.08); }
.sim-payout-row.highlight {
  background: var(--lime) !important;
  color: var(--lime-ink, #0A0A0A);
  font-weight: 700;
}
.sim-payout-label { opacity: .7; }

.sim-result-headline {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  text-align: center;
  margin: 0 0 12px;
  line-height: 1.3;
}
.sim-result-message {
  max-width: 520px;
  margin: 0 auto 20px;
  color: var(--ink-70, #2a2a2a);
  line-height: 1.6;
  font-size: 15px;
}
.sim-result-message p { margin: 0 0 10px; }
.sim-result-message strong { color: var(--indigo-700); }
.sim-result-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
.sim-result-list li {
  padding: 4px 0 4px 18px;
  position: relative;
}
.sim-result-list li::before {
  content: '•';
  position: absolute; left: 6px;
  color: var(--indigo-700);
  font-weight: 800;
}
.btn-xl {
  font-size: 18px;
  padding: 16px 32px;
}

.sim-error {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-50);
}

@media (max-width: 720px) {
  .sim-stage { grid-template-columns: 1fr; }
  .sim-col { min-height: auto; }
}

/* ========== Footer ========== */
.footer {
  background: var(--indigo-950);
  color: rgba(255,255,255,.72);
  padding: clamp(40px, 5vw, 64px) 0 clamp(28px, 3vw, 40px);
  font-size: 14px;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  align-items: start;
}
.footer .brand-mark { color: var(--paper); font-size: 22px; }
.footer-cell p { margin-top: 8px; color: rgba(255,255,255,.6); }
.footer-cell a {
  color: rgba(255,255,255,.72);
  display: block;
  padding: 4px 0;
}
.footer-cell a:hover { color: var(--lime); }
.footer-muted { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.6; }

/* ================================================================
   Night-audit patches (2026-04-23):
   гамбургер-меню, sticky CTA, exit-modal, калькулятор, pulse,
   sim fade-in (без inline-style — под CSP), SVG-иконки через img
   ================================================================ */

/* ---- Иконки через <img src="/static/images/icon_*.svg"> ---- */
.easy-icon img,
.konsol-icon img,
.connect-icon img,
.howto-icon img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 56px;
  max-height: 56px;
}
.connect-icon img { max-width: 48px; max-height: 48px; }
.howto-icon img { max-width: 44px; max-height: 44px; }

/* ---- Гамбургер ---- */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
  transition: background .15s var(--ease);
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-cta-desktop { display: none !important; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    z-index: 40;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }
  .nav a:last-child { border-bottom: 0; }
  .topbar-inner { position: relative; }
}

/* ---- Sticky mobile CTA ---- */
.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 45;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.sticky-cta-mobile.visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}
.sticky-cta-mobile .btn {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  box-shadow: 0 12px 32px rgba(11,15,44,.24);
  padding: 14px 10px;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.sticky-cta-mobile .cta-pair {
  width: 100%;
  gap: 8px;
  flex-wrap: nowrap;
}

.hero-cta-sub {
  margin-top: -4px;
  margin-bottom: 22px;
}
.hero-cta-link {
  font-size: 14px;
  color: var(--ink-50);
  text-decoration: none;
  border-bottom: 1px dashed rgba(11,15,44,.3);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.hero-cta-link:hover {
  color: var(--indigo);
  border-bottom-color: var(--indigo);
}

.exit-secondary {
  text-align: center;
  margin-top: 14px;
  margin-bottom: 0;
}
.exit-later {
  background: transparent;
  border: none;
  color: var(--ink-50);
  font-size: 14px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  font-family: inherit;
  transition: color 0.15s ease, background 0.15s ease;
}
.exit-later:hover {
  color: var(--ink);
  background: rgba(11,15,44,.04);
}
@media (max-width: 720px) {
  .sticky-cta-mobile { display: block; }
  main { padding-bottom: 88px; }
}

/* ---- Sticky CTA на десктопе — FAB справа внизу с эффектами ---- */
@media (min-width: 721px) {
  .sticky-cta-mobile {
    display: block;
    left: auto;
    right: 24px;
    bottom: 24px;
    width: auto;
    padding: 0;
    background: transparent;
    border-top: none;
    box-shadow: none;
    z-index: 50;
    overflow: visible;
  }
  .sticky-cta-mobile .btn {
    position: relative;
    flex: 0 0 auto;
    padding: 16px 26px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(120deg, #1e3eea 0%, #4a6cff 25%, #2751F5 55%, #6b92ff 85%, #2751F5 100%);
    background-size: 240% 240%;
    box-shadow:
      0 14px 36px -6px rgba(39,81,245,0.55),
      0 4px 14px rgba(39,81,245,0.3),
      inset 0 1px 0 rgba(255,255,255,0.18);
    transform-origin: 75% 50%;
    animation:
      ctaShimmer 4.5s ease-in-out infinite,
      ctaRing 5s ease-in-out infinite;
    will-change: transform, background-position;
  }
  .sticky-cta-mobile .btn::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 999px;
    background: radial-gradient(closest-side, rgba(196,255,61,0.55), rgba(39,81,245,0.35) 60%, transparent 80%);
    filter: blur(18px);
    z-index: -1;
    pointer-events: none;
    animation: ctaGlow 2.6s ease-in-out infinite;
  }
  .sticky-cta-mobile .btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
    background-size: 220% 100%;
    background-position: -120% 0;
    animation: ctaSheen 3.6s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: overlay;
  }
  .sticky-cta-mobile .btn:hover {
    transform: scale(1.04);
    animation-play-state: paused;
  }
}
@keyframes ctaShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes ctaGlow {
  0%, 100% { opacity: 0.55; transform: scale(0.94); }
  50%      { opacity: 0.95; transform: scale(1.08); }
}
@keyframes ctaSheen {
  0%, 60%, 100% { background-position: -120% 0; }
  80%           { background-position: 220% 0; }
}
@keyframes ctaRing {
  0%, 84%, 100% { transform: rotate(0deg); }
  86% { transform: rotate(-6deg); }
  88% { transform: rotate(5deg); }
  90% { transform: rotate(-5deg); }
  92% { transform: rotate(4deg); }
  94% { transform: rotate(-3deg); }
  96% { transform: rotate(2deg); }
  98% { transform: rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta-mobile .btn,
  .sticky-cta-mobile .btn::before,
  .sticky-cta-mobile .btn::after {
    animation: none !important;
  }
}

/* ---- Exit-intent modal ---- */
.exit-modal .modal-dialog.exit-dialog {
  max-width: 440px;
  padding: 0 0 24px;
  text-align: center;
  overflow: hidden;
}
.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}
.exit-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.exit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.exit-title {
  font-size: 26px;
  margin: 18px 24px 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.exit-text {
  margin-left: 24px;
  margin-right: 24px;
}
.exit-ctas { padding: 0 24px; }
.exit-text {
  color: var(--ink-50);
  font-size: 16px;
  margin: 0 0 24px;
  line-height: 1.55;
}
.exit-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.exit-ctas .btn { width: 100%; }

/* ---- Live calculator ---- */
.pay-calc-live {
  margin: clamp(28px, 4vw, 44px) 0 24px;
  padding: clamp(24px, 3vw, 32px);
  background: linear-gradient(135deg, var(--indigo-50), #F7F9FF);
  border: 1px solid var(--indigo-100);
  border-radius: var(--radius-lg);
}
.calc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.calc-label {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.calc-hours-out {
  font-weight: 700;
  color: var(--indigo-700);
  font-size: 16px;
}
.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--indigo-500), var(--indigo-700)) 0/100% 100% no-repeat,
              var(--indigo-100);
  outline: none;
  cursor: pointer;
  margin: 4px 0 2px;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--indigo-700);
  box-shadow: 0 2px 8px rgba(39,81,245,.30);
  cursor: pointer;
  transition: transform .1s var(--ease);
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
.calc-slider::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--indigo-700);
  cursor: pointer;
}
.calc-marks {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-50);
  margin-bottom: 18px;
}
.calc-v3-result,
.calc-v5-result {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0 14px;
}
@media (min-width: 520px) {
  .calc-v3-result,
  .calc-v5-result { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
.calc-card {
  padding: 20px 16px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform .15s var(--ease, ease);
}
.calc-card-mid {
  background: var(--indigo-700);
  border-color: var(--indigo-700);
  box-shadow: 0 14px 36px rgba(39, 81, 245, .32), 0 0 0 3px rgba(196, 255, 61, .35);
  transform: translateY(-4px);
  position: relative;
  z-index: 1;
}
.calc-card-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-50);
  margin-bottom: 8px;
}
.calc-card-mid .calc-card-tag { color: rgba(255, 255, 255, .82); }
.calc-card-high { background: var(--bg-soft); border-color: var(--line); }
.calc-card-high .calc-card-tag { color: var(--ink-50); }
.calc-card-num {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--indigo-700);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.calc-card-mid .calc-card-num { color: var(--paper); }
.calc-card-high .calc-card-num { color: var(--ink); }
.calc-card-sub {
  font-size: 12px;
  color: var(--ink-50);
  margin-top: 4px;
}
.calc-card-mid .calc-card-sub { color: rgba(255, 255, 255, .76); }
.calc-card-high .calc-card-sub { color: var(--ink-50); }

.calc-formula {
  font-size: 13px;
  color: var(--ink-50);
  line-height: 1.5;
  margin: 12px 0 0;
  text-align: center;
}
.calc-formula strong { color: var(--ink-70); }

/* ---- Pulse-анимация для чекбоксов ---- */
@keyframes checkbox-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 72, 72, 0); }
  30% { box-shadow: 0 0 0 6px rgba(230, 72, 72, 0.20); }
  60% { box-shadow: 0 0 0 12px rgba(230, 72, 72, 0.08); }
}
.checkbox-row.pulse {
  animation: checkbox-pulse 1.2s var(--ease);
  border-radius: var(--radius-md);
}

.final-hint.warn { color: var(--danger); font-weight: 600; }
.messenger-note.warn { color: var(--danger); }

/* ---- Sim fade-in — вместо inline-style (CSP-friendly) ---- */
.sim-fade-in {
  opacity: 0;
  transition: opacity .3s ease;
}
.sim-fade-in.sim-fade-visible { opacity: 1; }

/* ---- sim-progress-fill через CSS custom property (без inline-style) ---- */
.sim-progress-fill {
  width: var(--pct, 0%);
  transition: width .3s var(--ease);
}

/* ---- sim intro read-btn центрированная ---- */
.sim-read-btn-intro {
  max-width: 280px;
  margin: 0 auto;
  display: flex;
}

/* ---- howto-step: кнопка CTA внутри шага 01 ---- */
.howto-step .btn.btn-sm {
  margin: 6px 0 4px;
  align-self: flex-start;
}

/* ---- Disabled button для MAX ---- */
.btn-messenger:disabled,
.btn-messenger[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(0.6);
}
.btn-messenger:disabled:hover,
.btn-messenger[aria-disabled="true"]:hover {
  transform: none;
}

/* ---- Сняли disabled с финальной кнопки — активная всегда ---- */
#final-cta-btn {
  /* override .btn.disabled если вдруг классы остались */
}
#final-cta-btn.disabled { /* игнорируем этот класс */
  background: var(--indigo-700) !important;
  color: var(--paper) !important;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(39,81,245,.25) !important;
}

/* ---- Hide chiplets 2 and 3 (keeping only chiplet-1) ---- */
.mock-chiplet-2,
.mock-chiplet-3 { display: none !important; }

/* ---- Focus-ring для FAQ (A11y) ---- */
.faq summary:focus-visible {
  outline: 2px solid var(--indigo-700);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Hero-mockup-img: на мобиле без hover ---- */
@media (max-width: 720px) {
  .hero-mockup-img:hover { transform: none; }
  .mock-app:hover { transform: none; }
}
@media (max-width: 620px) {
  .mock-blob { display: none; }
}


.hidden { display: none !important; }

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

/* ========== 4b. AI-PROGRESSION ========== */
.ai-progression { background: var(--bg); border-top: 1px solid var(--line); }
.ai-prog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 12px;
}
.ai-prog-card {
  padding: clamp(22px, 2.8vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
}
.ai-prog-card-accent {
  background: #F4F2EB;
  border-color: #DDD7C6;
}
.ai-prog-num {
  display: inline-flex;
  width: 34px; height: 34px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--indigo-700);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}
.ai-prog-card h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.35; }
.ai-prog-card p { color: var(--ink-50); font-size: 15px; margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .ai-prog-grid { grid-template-columns: 1fr; } }

/* ========== Small screens ========== */
@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .btn-lg { padding: 16px 22px; font-size: 15px; }
  .btn-xl { padding: 18px 28px; font-size: 17px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .demo-cta-wrap .btn { width: 100%; }
  .section { padding: 48px 0; }
  .modal { padding: 10px; }
  .modal-body { padding: 20px; }
}

/* ========== Усиленная форма #connect ========== */
.final-perks {
  list-style: none;
  padding: 0;
  margin: 16px 0 22px;
  display: grid;
  gap: 8px;
}
.final-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
}
.final-perks .utp-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--lime);
  color: var(--lime-ink);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.form-label {
  font-size: 13px;
  color: var(--ink-50);
  font-weight: 600;
}
.form-hint-inline {
  color: var(--ink-50);
  font-weight: 400;
  font-size: 12px;
  margin-left: 4px;
}
.form-input {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}
.form-input:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(39, 81, 245, 0.15);
}
.form-input::placeholder { color: var(--ink-30, #aaa); }

/* Подсветка формы при scrollIntoView */
.final-box.attention {
  animation: attn-pulse 1.6s ease-out;
}
@keyframes attn-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(39, 81, 245, 0); }
  20%  { box-shadow: 0 0 0 16px rgba(39, 81, 245, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(39, 81, 245, 0); }
}

/* Кнопка callback */
.btn-callback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
  background: transparent;
  border: 2px dashed rgba(11, 15, 44, 0.28);
  color: var(--ink);
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-callback:hover {
  border-color: var(--indigo);
  background: rgba(39, 81, 245, 0.05);
}
.btn-callback:disabled {
  opacity: 0.6;
  cursor: default;
  border-style: solid;
}
.msg-icon-call {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.msg-icon-call svg { width: 100%; height: 100%; }

/* ========== Двухколоночная финальная форма ========== */
.final.section {
  background: linear-gradient(180deg, var(--bg) 0%, #F0F4FF 100%);
}
.final-box {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 20px 60px rgba(11, 15, 44, 0.08);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.final-box::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  background: var(--indigo-500);
  filter: blur(100px);
  opacity: 0.22;
  pointer-events: none;
}
.final-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  position: relative;
  z-index: 1;
}
.final-col-left { padding-right: 8px; }
.final-col-right {
  background: linear-gradient(160deg, rgba(39, 81, 245, 0.03) 0%, rgba(196, 255, 61, 0.05) 100%);
  border: 1px solid rgba(39, 81, 245, 0.1);
  border-radius: 16px;
  padding: 24px;
}
.final-col-left .final-title { font-size: clamp(28px, 3.4vw, 42px); }
.final-col-left .final-lead { color: var(--ink-70); font-size: 16px; margin: 14px 0 22px; }

.final.section .container-narrow { max-width: 1100px; }

/* Container не-narrow для 2 колонок */
@media (max-width: 820px) {
  .final-grid { grid-template-columns: 1fr; gap: 24px; }
  .final-col-left { padding-right: 0; }
}

/* MAX лого через img */
.msg-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* MAX logo full (с текстом) — вместо иконки + текста */
.btn-messenger-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
}
.messenger-logo-full {
  height: 26px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ========== Form v6 — мессенджер-first + callback-fallback ========== */

/* Заголовок над мессенджер-кнопками — теперь это primary CTA */
.messenger-title-primary {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  text-align: left;
}

/* Микрокопия под мессенджерами — risk-reversal про согласие в боте */
.messenger-microcopy {
  font-size: 13px;
  color: var(--ink-50);
  line-height: 1.55;
  margin: 14px 0 0;
}

/* Разделитель «нет мессенджера?» */
.callback-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 14px;
  color: var(--ink-50);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.callback-divider::before,
.callback-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.callback-divider span {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Кнопка-аккордеон «Перезвоните мне» */
.btn-callback-toggle {
  display: block;
  width: 100%;
  background: transparent;
  border: 1.5px solid rgba(11, 15, 44, 0.18);
  color: var(--ink-70);
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.btn-callback-toggle:hover {
  border-color: var(--indigo-700);
  color: var(--ink);
  background: rgba(39, 81, 245, 0.04);
}
.btn-callback-toggle.expanded {
  border-color: var(--indigo-700);
  color: var(--ink);
  background: rgba(39, 81, 245, 0.05);
}

/* Раскрытая callback-форма */
.callback-form {
  margin-top: 14px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid rgba(39, 81, 245, 0.18);
  border-radius: 14px;
  animation: callbackSlideIn .28s var(--ease);
}
.callback-form.hidden { display: none; }

@keyframes callbackSlideIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Чекбокс согласия — выделен синей рамкой, не серая на сером */
.callback-form .checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink-70);
  line-height: 1.5;
  padding: 10px 12px;
  background: rgba(39, 81, 245, 0.04);
  border: 1px solid rgba(39, 81, 245, 0.20);
  border-radius: 10px;
  margin: 12px 0 14px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.callback-form .checkbox-row:hover {
  background: rgba(39, 81, 245, 0.07);
  border-color: rgba(39, 81, 245, 0.32);
}
.callback-form .checkbox-row input[type=checkbox] {
  width: 18px; height: 18px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--indigo-700);
  cursor: pointer;
}
.callback-form .checkbox-row a {
  color: var(--indigo-700);
  text-decoration: underline;
}

/* CTA-кнопка callback — primary, сразу под чекбоксом */
.btn-callback-submit {
  width: 100%;
  display: block;
}
.btn-callback-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Risk-reversal под кнопкой */
.callback-promise {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--ink-50);
  line-height: 1.55;
  text-align: center;
}

/* Pulse подсветка чекбокса при попытке submit без галочки */
@keyframes consent-pulse-v6 {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 72, 72, 0); }
  35% { box-shadow: 0 0 0 4px rgba(230, 72, 72, 0.25); }
  70% { box-shadow: 0 0 0 8px rgba(230, 72, 72, 0.10); }
}
.callback-form .checkbox-row.pulse {
  animation: consent-pulse-v6 1.0s var(--ease);
  border-color: #E64848;
}

/* На мобиле колонка-форма не выпирает */
@media (max-width: 620px) {
  .messenger-title-primary { font-size: 16px; }
  .btn-callback-toggle { font-size: 13px; padding: 11px 14px; }
  .callback-form { padding: 14px; }
}

/* ========== Калькулятор v6 — 2 ползунка → одна сумма + бонус ========== */
.calc-v6 {
  display: grid;
  gap: 24px;
  padding: 28px;
  background: linear-gradient(160deg, rgba(39, 81, 245, 0.04) 0%, rgba(196, 255, 61, 0.04) 100%);
  border: 1px solid rgba(39, 81, 245, 0.1);
  border-radius: 20px;
}
.calc-v6-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.calc-control {
  display: grid;
  gap: 8px;
}
.calc-control-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.calc-control-head .calc-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-70);
}
.calc-out {
  font-weight: 800;
  font-size: 20px;
  color: var(--indigo);
  font-variant-numeric: tabular-nums;
}
.calc-v6 .calc-marks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-50);
  margin-top: -2px;
}
.calc-v6-result {
  display: flex;
  justify-content: center;
}
.calc-v6-bigcard {
  width: 100%;
  max-width: 560px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(11, 15, 44, 0.06);
}
.calc-v6-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 8px;
}
.calc-v6-num {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--indigo);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}
.calc-v6-breakdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  font-size: 13px;
  color: var(--ink-70);
  margin-bottom: 12px;
}
.calc-v6-breakdown span { white-space: nowrap; }
.calc-v6-breakdown strong { color: var(--ink); font-weight: 700; }
.calc-v6-bonus {
  display: inline-block;
  padding: 8px 14px;
  background: var(--lime);
  color: var(--lime-ink);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}
@media (max-width: 720px) {
  .calc-v6-controls { grid-template-columns: 1fr; gap: 18px; }
  .calc-v6 { padding: 20px; }
  .calc-v6-bigcard { padding: 22px; }
}

/* ========== Калькулятор v6.1 — диапазон «от ~X до ~Y» ========== */
.calc-v6-range {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 14px;
  margin-bottom: 14px;
}
.calc-v6-range-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-50);
  text-transform: lowercase;
  letter-spacing: 0.02em;
}
.calc-v6-range .calc-v6-num {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
}
.calc-v6-num-hi {
  color: var(--lime-ink);
  position: relative;
  background: var(--lime);
  padding: 0.04em 0.32em 0.08em;
  border-radius: 0.22em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transform: rotate(-0.3deg);
}
.calc-disclaimer {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-50);
  font-style: italic;
}
@media (max-width: 540px) {
  .calc-v6-range { gap: 4px 8px; }
  .calc-v6-range .calc-v6-num { font-size: 24px; }
}

/* ========== Mobile fixes для calc-v6 + общий overflow guard ========== */
@media (max-width: 540px) {
  .calc-v6 { padding: 16px 12px; gap: 16px; }
  .calc-v6-controls { gap: 14px; }
  .calc-v6-bigcard { padding: 18px 14px; max-width: 100%; }
  .calc-v6-tag { font-size: 11px; }
  .calc-v6-num { font-size: 26px; }
  .calc-v6-range .calc-v6-num { font-size: 22px; }
  .calc-v6-num-hi { padding: 0.04em 0.22em 0.06em; }
  .calc-v6-breakdown { font-size: 12px; gap: 4px; }
  .calc-v6-breakdown span { display: block; }
  .calc-formula { font-size: 13px; padding: 0 4px; }
  .calc-disclaimer { font-size: 11px; }
  .calc-control-head { gap: 8px; }
  .calc-out { font-size: 16px; }
}

/* Общий overflow guard для контента на узких экранах */
.section, .pay, .demo, .hero { overflow-x: clip; }
.pay-grid, .pay-card { max-width: 100%; box-sizing: border-box; }
.calc-v6, .calc-v6 * { box-sizing: border-box; }

/* ========== АГРЕССИВНЫЙ mobile reset (≤520px) — гарантия 0 overflow ========== */
@media (max-width: 520px) {
  /* viewport-clip на корневых */
  html, body { overflow-x: hidden !important; max-width: 100vw !important; width: 100% !important; }
  body { position: relative; }

  /* все секции и контейнеры — точно по viewport */
  main, header, footer, section, .section { max-width: 100vw; overflow-x: clip; box-sizing: border-box; }
  .container, .container-narrow { padding-left: 14px !important; padding-right: 14px !important; max-width: 100vw !important; box-sizing: border-box; }

  /* типографика — переносить длинные слова */
  h1, h2, h3, p, li, span, label, blockquote, td, th { overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }

  /* Hero уменьшаем шрифт + money-line */
  h1, .hero-title { font-size: clamp(26px, 7vw, 34px) !important; line-height: 1.08 !important; }
  /* Override общего "anywhere" — hero-title не должен дефисить «выплаты»/«звонок» */
  .hero-title, .hero-title-a, .hero-title-b, .hero-title-accent {
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
  }
  .hero-money { font-size: clamp(18px, 5.6vw, 24px) !important; }
  .hero-lead { font-size: 14px !important; }
  .hero-utp li { font-size: 13px !important; }
  .hero-cta { flex-direction: column !important; }
  .hero-cta .btn { width: 100% !important; }

  /* Pay-карточки — точно в ширину */
  .pay-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .pay-card { padding: 20px 16px !important; max-width: 100% !important; box-sizing: border-box; }
  .pay-num { font-size: clamp(40px, 10vw, 56px) !important; }
  .pay-text, .pay-label { font-size: 13px !important; }

  /* Калькулятор v6 */
  .calc-v6 { padding: 14px 10px !important; gap: 14px !important; }
  .calc-v6-controls { grid-template-columns: 1fr !important; gap: 12px !important; }
  .calc-v6-bigcard { padding: 16px 12px !important; max-width: 100% !important; }
  .calc-v6-num { font-size: 24px !important; }
  .calc-v6-range { gap: 4px 6px !important; }
  .calc-v6-range .calc-v6-num { font-size: 20px !important; }
  .calc-v6-num-hi { padding: 0.04em 0.18em 0.06em !important; }
  .calc-v6-breakdown { font-size: 11px !important; }
  .calc-v6-breakdown span { display: block !important; white-space: normal !important; }
  .calc-formula { font-size: 12px !important; padding: 0 4px !important; }
  .calc-disclaimer { font-size: 10px !important; }
  .calc-control-head { gap: 8px !important; flex-wrap: wrap !important; }
  .calc-out { font-size: 14px !important; }

  /* Compare-table — горизонтальный скролл в обёртке */
  .compare-wrap { padding: 14px !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; max-width: 100% !important; }
  .compare-table { min-width: 480px; font-size: 12px; }
  .compare-table th, .compare-table td { padding: 8px 10px !important; }

  /* Stories grid */
  .stories-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .story-card { padding: 16px !important; max-width: 100% !important; box-sizing: border-box; }
  .story-quote { font-size: 13px !important; }

  /* Logos grid: 2 колонки */
  .client-logos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .client-logo { height: 64px !important; padding: 8px !important; }

  /* Final form 2-кол → 1-кол */
  .final-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
  .final-col-left, .final-col-right { padding: 0 !important; }
  .final-col-right { padding: 16px !important; }
  .final-title { font-size: clamp(22px, 6vw, 28px) !important; }
  .final-perks li { font-size: 13px !important; }

  /* Кнопки мессенджеров */
  .messenger-buttons { gap: 8px !important; }
  .btn-messenger { padding: 12px 8px !important; font-size: 13px !important; }
  .messenger-logo-full { height: 22px !important; }

  /* AI-progression carousel-like */
  .ai-prog-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .ai-prog-card { padding: 18px !important; }

  /* Howto */
  .howto-list { grid-template-columns: 1fr !important; gap: 12px !important; }
  .howto-step { padding: 18px !important; }

  /* Demo-box */
  .demo-box { padding: 24px 18px !important; flex-direction: column !important; }
  .demo-cta-wrap { width: 100% !important; }
  .demo-cta-wrap .btn { width: 100% !important; }
}

/* Очень узкий (iPhone SE 375 / Android small) */
@media (max-width: 380px) {
  .container, .container-narrow { padding-left: 10px !important; padding-right: 10px !important; }
  h1, .hero-title { font-size: 24px !important; }
  .hero-money { font-size: 16px !important; }
  .calc-v6-range .calc-v6-num { font-size: 18px !important; }
  .pay-num { font-size: 36px !important; }
  .client-logos-grid { grid-template-columns: 1fr !important; }
}

/* ========== 3d. REFERRAL PROGRAM ========== */
.referral {
  background: var(--indigo-950);
}
.referral-title { color: var(--paper); }
.referral-lead { color: rgba(255,255,255,.72); max-width: 700px; }

.ref-calc-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3.5vw, 40px);
  max-width: 820px;
  margin: 0 auto;
}

.ref-calc-example { margin-bottom: 28px; }

.ref-calc-row {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 32px);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 14px;
}

.ref-calc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.ref-calc-num {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 800;
  color: var(--paper);
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.ref-calc-num-bonus { color: var(--lime); }

.ref-calc-lbl {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.ref-calc-item-bonus .ref-calc-lbl { color: rgba(196,255,61,.7); }

.ref-calc-arrow {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  flex-shrink: 0;
}

.ref-calc-note {
  color: rgba(255,255,255,.45);
  font-size: 13px;
  text-align: center;
  margin: 0;
  font-style: italic;
}

.ref-cta-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.ref-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  text-align: center;
  margin: 0;
  font-style: italic;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .ref-calc-row { gap: 10px; }
  .ref-calc-num { font-size: clamp(20px, 5.5vw, 28px); }
  .ref-calc-arrow { font-size: 18px; }
  .ref-cta-wrap .btn { width: 100%; }
}
@media (max-width: 380px) {
  .ref-calc-card { padding: 18px 14px; }
  .ref-calc-num { font-size: 18px !important; }
}

/* ---- Exit-intent ref modal ---- */
.exit-dialog-ref { padding: 0; }

.exit-ref-body {
  padding: 28px 24px 24px;
  text-align: center;
}

.exit-ref-body .exit-title {
  margin: 0 0 14px;
  font-size: clamp(18px, 2.4vw, 24px);
}

.exit-ref-body .exit-text {
  margin: 0 0 20px;
}

.exit-ref-disclaimer {
  margin-top: 14px;
  font-size: 11px;
  color: var(--ink-30);
  font-style: italic;
  line-height: 1.45;
}
