/* ==========================================================================
   Лидозвон — ldz.brokerhouse.ru
   ========================================================================== */

/* --- Inter (self-hosted, variable) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens --- */
:root {
  --bg: #070a14;
  --bg-2: #0b1120;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.15);

  --text: #f2f6fb;
  --muted: #97a4b8;
  --dim: #66748c;

  --blue: #2563eb;
  --blue-light: #60a5fa;
  --cyan: #22d3ee;
  --emerald: #34d399;
  --orange: #fb923c;
  --purple: #a78bfa;
  --rose: #fb7185;

  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 22px;

  --wrap: 1200px;
  --pad: 24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset --- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: rgba(37, 99, 235, 0.42); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: 6px; }

/* --- Texture & scroll progress --- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 150;
  pointer-events: none;
}
.progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue), var(--cyan) 55%, var(--purple));
}

/* --- Layout --- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding: 19px 0; position: relative; }
.section--tight { padding: 13px 0; }
.section--alt::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(96, 165, 250, 0.035) 30%, rgba(96, 165, 250, 0.035) 70%, transparent);
}
.section--alt > * { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-light));
}

.h2 {
  font-size: clamp(27px, 3.9vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.032em;
  font-weight: 700;
}
.h3 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.018em;
  font-weight: 650;
}
.lead {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--muted);
  max-width: 60ch;
  margin-top: 12px;
}
.section-head { margin-bottom: 28px; max-width: 760px; }

.grad {
  background: linear-gradient(100deg, #60a5fa 5%, #22d3ee 60%, #7dd3fc 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad--violet { background-image: linear-gradient(100deg, #a78bfa 5%, #60a5fa 70%); }
.grad--warn { background-image: linear-gradient(100deg, #fb923c 5%, #fb7185 75%); }


.stat, .pain, .feature, .transfer, .agent,
.compare__card, .panel, .dialer, .flow, .cycle__step {
  position: relative;
  border-radius: var(--radius);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    rgba(11, 17, 32, 0.55);
  isolation: isolate;
}
.stat::before, .pain::before, .feature::before, .transfer::before, .agent::before,
.compare__card::before, .panel::before, .dialer::before,
.flow::before, .cycle__step::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.045) 45%, rgba(96, 165, 250, 0.26));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

[data-glow]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(96, 165, 250, 0.15), transparent 60%);
  pointer-events: none;
}
[data-glow]:hover::after { opacity: 1; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: linear-gradient(135deg, #4f8dfb, var(--blue) 60%, #1e4fd8);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(37, 99, 235, 1), inset 0 1px 0 rgba(255, 255, 255, 0.28); }

.btn--ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.26); transform: translateY(-2px); }

.btn--sm { padding: 9px 17px; font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 15.5px; }

/* --- Header --- */
.header {
  position: fixed;
  inset: 2px 0 auto;
  z-index: 100;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(7, 10, 20, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
}
.header__inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(167, 139, 250, 0.24));
  border: 1px solid rgba(96, 165, 250, 0.32);
  color: var(--blue-light);
  box-shadow: 0 6px 18px -8px rgba(59, 130, 246, 0.9);
}
.logo__mark svg { width: 17px; height: 17px; }
.logo__text { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; color: #ffffff; }
.logo__text b { font-weight: 700; color: inherit; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 14.5px; color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--text); }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  place-items: center;
}
.burger span {
  display: block;
  width: 17px;
  height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger span + span { margin-top: 4.5px; }
.burger.is-open span:nth-child(1) { transform: translateY(6.1px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.1px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 68px 0 auto;
  z-index: 99;
  background: rgba(7, 10, 20, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 16px var(--pad) 24px;
  display: none;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 12px 4px;
  font-size: 16px;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-nav .btn { margin-top: 16px; }

/* --- Aurora --- */
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.aurora span:nth-child(1) {
  width: 640px; height: 640px; top: -280px; left: 6%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.62), transparent 70%);
  animation: drift1 24s var(--ease) infinite alternate;
}
.aurora span:nth-child(2) {
  width: 520px; height: 520px; top: -150px; right: 2%;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.3), transparent 70%);
  animation: drift2 30s var(--ease) infinite alternate;
}
.aurora span:nth-child(3) {
  width: 480px; height: 480px; top: 180px; left: 42%;
  background: radial-gradient(closest-side, rgba(167, 139, 250, 0.26), transparent 70%);
  animation: drift3 27s var(--ease) infinite alternate;
}
@keyframes drift1 { to { transform: translate3d(70px, 50px, 0) scale(1.12); } }
@keyframes drift2 { to { transform: translate3d(-80px, 60px, 0) scale(1.08); } }
@keyframes drift3 { to { transform: translate3d(50px, -50px, 0) scale(0.92); } }

/* --- Hero --- */
.hero {
  position: relative;
  padding: 100px 0 34px;
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 85% 60% at 50% 0%, #000 28%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 85% 60% at 50% 0%, #000 28%, transparent 76%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.3);
  background: rgba(37, 99, 235, 0.12);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 550;
  color: #c7dbff;
  letter-spacing: -0.005em;
}
.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  animation: ping 2.4s var(--ease) infinite;
  flex: none;
  margin-left: 5px;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 750;
  max-width: 13ch;
}
.hero h1 .accent {
  background: linear-gradient(112deg, #60a5fa 8%, #22d3ee 52%, #a78bfa 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: 20px;
  font-size: clamp(15.5px, 1.6vw, 17.5px);
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.6;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* --- Dialer card --- */
.dialer { padding: 22px; box-shadow: 0 40px 90px -50px rgba(37, 99, 235, 0.9); }
.dialer > * { position: relative; z-index: 2; }
.dialer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.dialer__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
}
.dialer__name { margin-top: 4px; font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.dialer__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: #9ff0d3;
  font-size: 11.5px;
  font-weight: 600;
  flex: none;
}
.dialer__live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  animation: ping 2s var(--ease) infinite;
}

.dialer__metric {
  margin-top: 18px;
  padding: 18px 18px 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.22), rgba(37, 99, 235, 0.05));
  border: 1px solid rgba(96, 165, 250, 0.22);
}
.dialer__num {
  font-size: 44px;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
  background: linear-gradient(110deg, #dbeafe, #60a5fa 60%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dialer__num span { font-size: 24px; }
.dialer__cap { margin-top: 5px; font-size: 12.5px; color: var(--muted); }

.wave { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: 14px; }
.wave span {
  flex: 1;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), rgba(37, 99, 235, 0.5));
  animation: eq 1.5s ease-in-out infinite;
  height: 30%;
}
.wave span:nth-child(2n) { animation-duration: 1.9s; }
.wave span:nth-child(3n) { animation-duration: 1.2s; }
.wave span:nth-child(4n) { animation-duration: 2.2s; }
.wave span:nth-child(1) { animation-delay: -.1s } .wave span:nth-child(2) { animation-delay: -.4s }
.wave span:nth-child(3) { animation-delay: -.8s } .wave span:nth-child(4) { animation-delay: -.2s }
.wave span:nth-child(5) { animation-delay: -.6s } .wave span:nth-child(6) { animation-delay: -1s }
.wave span:nth-child(7) { animation-delay: -.3s } .wave span:nth-child(8) { animation-delay: -.9s }
.wave span:nth-child(9) { animation-delay: -.5s } .wave span:nth-child(10) { animation-delay: -1.1s }
.wave span:nth-child(11) { animation-delay: -.7s } .wave span:nth-child(12) { animation-delay: -.25s }
.wave span:nth-child(13) { animation-delay: -.95s } .wave span:nth-child(14) { animation-delay: -.45s }
@keyframes eq { 0%, 100% { height: 22%; } 50% { height: 100%; } }

/* Цикл номера: новый заходит сверху, остальные съезжают вниз,
   нижний уходит за границу окна. Высоты фиксированы — иначе
   при подмене строк список дёргался бы. */
.dialer__rows {
  --row-h: 36px;
  --row-gap: 7px;
  margin-top: 14px;
  height: calc(var(--row-h) * 3 + var(--row-gap) * 2);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}
.drow-track {
  display: flex;
  flex-direction: column;
  gap: var(--row-gap);
  will-change: transform;
}
.drow-track.is-shifting {
  transition: transform 0.72s var(--ease);
}
.drow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--row-h, 36px);
  flex: none;
  padding: 0 13px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid var(--line);
  font-size: 13px;
  transition: opacity 0.5s var(--ease);
}
.drow.is-leaving { opacity: 0; }
.drow.is-fresh { animation: rowfresh 0.72s var(--ease) 1; }
@keyframes rowfresh {
  0% { opacity: 0; }
  60% { opacity: 1; }
}
.drow__no { color: var(--muted); font-variant-numeric: tabular-nums; }
.drow__tag {
  font-size: 11px;
  font-weight: 650;
  padding: 3px 9px;
  border-radius: 999px;
  flex: none;
}
.drow__tag--live { background: rgba(96, 165, 250, 0.14); color: #a8cbff; border: 1px solid rgba(96, 165, 250, 0.3); }
.drow__tag--warn { background: rgba(251, 146, 60, 0.13); color: #fdc48d; border: 1px solid rgba(251, 146, 60, 0.3); }
.drow__tag--quar { background: rgba(251, 113, 133, 0.13); color: #fdb2bd; border: 1px solid rgba(251, 113, 133, 0.32); }
.drow__tag.is-flip { animation: tagflip 0.6s var(--ease) 1; }
@keyframes tagflip {
  0% { transform: translateY(-4px) scale(0.9); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

.dialer__foot {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--dim);
  text-align: center;
}

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  transition: transform 0.35s var(--ease);
  overflow: hidden;
}
.stat > * { position: relative; z-index: 2; }
.stat:hover { transform: translateY(-3px); }

.stat__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--c, #60a5fa) 26%, transparent), color-mix(in srgb, var(--c, #60a5fa) 6%, transparent));
  border: 1px solid color-mix(in srgb, var(--c, #60a5fa) 34%, transparent);
  color: var(--c, var(--blue-light));
}
.stat__icon svg { width: 16px; height: 16px; }

.stat__value {
  font-size: clamp(30px, 3.4vw, 38px);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1;
  background: linear-gradient(115deg, #ffffff 10%, color-mix(in srgb, var(--c, #60a5fa) 78%, #ffffff) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__value span { font-size: 0.6em; }
.stat__pre { font-size: 0.46em; font-weight: 600; letter-spacing: -0.005em; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.stat__label {
  margin-top: 9px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.42;
}

/* --- Мини-визуализация под каждой цифрой --- */
.stat__meter,
.stat__ticks,
.stat__segs { margin-top: auto; }

.stat__meter {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  overflow: hidden;
}
.stat__meter i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c, #60a5fa) 55%, transparent), var(--c, #60a5fa));
  transition: width 1.4s var(--ease) 0.25s;
}
.js .stat.is-in .stat__meter i { width: var(--fill, 100%); }

/* «24/7» — бесконечно бегущая полоса */
.stat__meter--loop i {
  width: 42%;
  transition: none;
  animation: loopbar 2.6s var(--ease) infinite;
}
@keyframes loopbar {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(260%); }
}

/* «до 20» — 20 делений */
.stat__ticks { display: flex; gap: 3px; height: 14px; align-items: flex-end; }
.stat__ticks i {
  flex: 1;
  height: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.11);
  transform-origin: 50% 100%;
  transition: height 0.5s var(--ease), background-color 0.5s var(--ease);
}
.js .stat.is-in .stat__ticks i { height: 14px; background: color-mix(in srgb, var(--c, #22d3ee) 62%, transparent); }
.stat__ticks i:nth-child(1) { transition-delay: .30s } .stat__ticks i:nth-child(2) { transition-delay: .33s }
.stat__ticks i:nth-child(3) { transition-delay: .36s } .stat__ticks i:nth-child(4) { transition-delay: .39s }
.stat__ticks i:nth-child(5) { transition-delay: .42s } .stat__ticks i:nth-child(6) { transition-delay: .45s }
.stat__ticks i:nth-child(7) { transition-delay: .48s } .stat__ticks i:nth-child(8) { transition-delay: .51s }
.stat__ticks i:nth-child(9) { transition-delay: .54s } .stat__ticks i:nth-child(10) { transition-delay: .57s }
.stat__ticks i:nth-child(11) { transition-delay: .60s } .stat__ticks i:nth-child(12) { transition-delay: .63s }
.stat__ticks i:nth-child(13) { transition-delay: .66s } .stat__ticks i:nth-child(14) { transition-delay: .69s }
.stat__ticks i:nth-child(15) { transition-delay: .72s } .stat__ticks i:nth-child(16) { transition-delay: .75s }
.stat__ticks i:nth-child(17) { transition-delay: .78s } .stat__ticks i:nth-child(18) { transition-delay: .81s }
.stat__ticks i:nth-child(19) { transition-delay: .84s } .stat__ticks i:nth-child(20) { transition-delay: .87s }

/* «3 типа» — три сегмента */
.stat__segs { display: flex; gap: 5px; }
.stat__segs i {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  transition: background-color 0.55s var(--ease);
}
.js .stat.is-in .stat__segs i { background: var(--c, #a78bfa); }
.stat__segs i:nth-child(1) { transition-delay: .30s }
.stat__segs i:nth-child(2) { transition-delay: .45s }
.stat__segs i:nth-child(3) { transition-delay: .60s }

/* --- Pains (bento) --- */
.pains { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.pain {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  grid-column: span 2;
  transition: transform 0.35s var(--ease);
  color: inherit;
}
.pain > * { position: relative; z-index: 2; }
.pain--wide { grid-column: span 3; }
.pain:hover { transform: translateY(-3px); }

.pain__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dim);
  transition: color 0.25s var(--ease);
}
.pain__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}
.pain:hover .pain__link,
.pain:focus-visible .pain__link { color: var(--blue-light); }
.pain:hover .pain__link svg { transform: translateX(4px); }
.pain__icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(251, 113, 133, 0.2), rgba(251, 113, 133, 0.06));
  border: 1px solid rgba(251, 113, 133, 0.26);
  color: var(--rose);
  margin-bottom: 15px;
}
.pain__icon svg { width: 18px; height: 18px; }
.pain p { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* подсветка раздела, в который перешли из блока «Где вы теряете деньги».
   Цепляется к заголовку, а не к .section-head: в двухколоночных разделах
   (#leads, #transparency, #security) обёртки .section-head нет. */
.h2 { position: relative; }
.section:target .h2::after,
.section.is-flash .h2::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-light), var(--cyan) 45%, transparent);
  transform-origin: 0 50%;
  animation: headline 2.2s var(--ease) 1;
}
@keyframes headline {
  0%   { transform: scaleX(0); opacity: 1; }
  35%  { transform: scaleX(1); opacity: 1; }
  70%  { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

/* --- Cycle --- */
.cycle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.cycle__step {
  padding: 20px 18px 22px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  overflow: hidden;
}
.cycle__step > * { position: relative; z-index: 2; }
.cycle__step.is-active {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -34px rgba(37, 99, 235, 1);
}
.cycle__step.is-active::before {
  background: linear-gradient(150deg, rgba(96, 165, 250, 0.75), rgba(34, 211, 238, 0.4) 60%, rgba(96, 165, 250, 0.5));
}
.cycle__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  z-index: 3;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue-light), var(--cyan));
}
.cycle__step.is-active .cycle__bar { animation: fillbar 1.8s linear forwards; }
@keyframes fillbar { to { transform: scaleX(1); } }

.cycle__n {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--dim);
  transition: color 0.5s;
}
.cycle__step.is-active .cycle__n { color: var(--blue-light); }
.cycle__t { margin-top: 8px; font-size: 15px; font-weight: 620; letter-spacing: -0.018em; }
.cycle__d { margin-top: 5px; font-size: 13px; color: var(--muted); line-height: 1.4; }

.cycle-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(52, 211, 153, 0.24);
  background: rgba(52, 211, 153, 0.07);
  font-size: 14.5px;
  color: #d3f5e7;
  margin-bottom: 16px;
}
.cycle-note svg { width: 18px; height: 18px; flex: none; color: var(--emerald); margin-top: 2px; }
.cycle-note--inset { margin: 16px 0 0; font-size: 13px; padding: 13px 15px; }
.cycle-note--blue { border-color: rgba(96, 165, 250, 0.24); background: rgba(37, 99, 235, 0.08); color: #dbeafe; }
.cycle-note--blue svg { color: var(--blue-light); }
.cycle-note--violet { border-color: rgba(167, 139, 250, 0.26); background: rgba(167, 139, 250, 0.08); color: #e6ddff; }
.cycle-note--violet svg { color: var(--purple); }

/* --- Features --- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.features--2 { grid-template-columns: repeat(2, 1fr); }
.feature { padding: 24px 22px; transition: transform 0.35s var(--ease); }
.feature > * { position: relative; z-index: 2; }
.feature:hover { transform: translateY(-3px); }
.feature__icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--c, #60a5fa) 22%, transparent), color-mix(in srgb, var(--c, #60a5fa) 5%, transparent));
  border: 1px solid color-mix(in srgb, var(--c, #60a5fa) 30%, transparent);
  color: var(--c, var(--blue-light));
}
.feature__icon svg { width: 18px; height: 18px; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* --- Transfers --- */
.transfers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.transfer { padding: 26px 24px; }
.transfer > * { position: relative; z-index: 2; }
.transfer__tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--c, #60a5fa) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, #60a5fa) 32%, transparent);
  color: var(--c, var(--blue-light));
  margin-bottom: 14px;
}
.transfer p { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* --- Split --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.split--wide { grid-template-columns: 0.96fr 1.04fr; }

.checklist { display: grid; gap: 13px; margin-top: 20px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 13px; align-items: start; }
.checklist__mark {
  width: 23px;
  height: 23px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(52, 211, 153, 0.24), rgba(52, 211, 153, 0.07));
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--emerald);
  margin-top: 2px;
}
.checklist__mark svg { width: 12px; height: 12px; }
.checklist strong { font-weight: 620; font-size: 15px; letter-spacing: -0.014em; }
.checklist span span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }

/* --- Panel --- */
.panel { padding: 22px; }
.panel > * { position: relative; z-index: 2; }
.panel--violet::before { background: linear-gradient(150deg, rgba(167, 139, 250, 0.4), rgba(255, 255, 255, 0.05) 45%, rgba(167, 139, 250, 0.3)); }
.panel__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 16px;
}
.panel__title--mt { margin-top: 22px; }

.rec-track { display: grid; gap: 10px; }
.rec-row { display: grid; grid-template-columns: 128px 1fr; gap: 12px; align-items: center; }
.rec-row__label { font-size: 12.5px; color: var(--muted); }
.rec-row__bar {
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c, #60a5fa) 40%, transparent), color-mix(in srgb, var(--c, #60a5fa) 12%, transparent));
  border: 1px solid color-mix(in srgb, var(--c, #60a5fa) 36%, transparent);
  display: flex;
  align-items: center;
  padding: 0 11px;
  font-size: 12px;
  color: #dbeafe;
  width: var(--w, 100%);
}

.status-list { display: grid; gap: 8px; }
.status-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
}
.status-item__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c, var(--blue-light));
  box-shadow: 0 0 10px 0 var(--c, var(--blue-light));
  flex: none;
}
.status-item__meta { margin-left: auto; font-size: 12px; color: var(--dim); }

.hash-demo { display: grid; gap: 9px; font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, monospace; }
.hash-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
}
.hash-row__tag {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  flex: none;
  width: 70px;
}
.hash-row__copy {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 7px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.1);
  color: var(--purple);
}
.hash-row__copy svg { width: 12px; height: 12px; }
.hash-row--out { color: var(--purple); border-color: rgba(167, 139, 250, 0.28); background: rgba(167, 139, 250, 0.07); white-space: nowrap; }
.hash-row--in { color: var(--dim); text-decoration: line-through; }

/* --- Agents --- */
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.agent { padding: 26px 24px; }
.agent > * { position: relative; z-index: 2; }
.agent__icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--c, #60a5fa) 24%, transparent), color-mix(in srgb, var(--c, #60a5fa) 6%, transparent));
  border: 1px solid color-mix(in srgb, var(--c, #60a5fa) 32%, transparent);
  color: var(--c, var(--blue-light));
}
.agent__icon svg { width: 20px; height: 20px; }
.agent__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c, var(--blue-light));
  margin-bottom: 8px;
}
.agent p { margin-top: 10px; color: var(--muted); font-size: 14px; }

.flow {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  font-size: 14px;
}
.flow > * { position: relative; z-index: 2; }
.flow__item {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.11);
  border: 1px solid rgba(96, 165, 250, 0.24);
  color: #dbeafe;
}
.flow__arrow { color: var(--dim); }
.flow__tail { color: var(--muted); margin-left: auto; font-size: 13.5px; }

/* --- Compare --- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare__card { padding: 28px 26px; }
.compare__card > * { position: relative; z-index: 2; }
.compare__card--us {
  background:
    linear-gradient(160deg, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0.03)),
    rgba(11, 17, 32, 0.55);
}
.compare__card--us::before { background: linear-gradient(150deg, rgba(96, 165, 250, 0.6), rgba(96, 165, 250, 0.12) 50%, rgba(34, 211, 238, 0.4)); }
.compare__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}
.compare__card--us .compare__label { color: var(--blue-light); }
.compare__list { display: grid; gap: 11px; margin-top: 16px; }
.compare__list li { display: grid; grid-template-columns: 18px 1fr; gap: 11px; font-size: 14px; color: var(--muted); }
.compare__list svg { width: 15px; height: 15px; margin-top: 3px; }
.compare__card--them svg { color: var(--rose); }
.compare__card--us svg { color: var(--emerald); }
.compare__card--us .compare__list li { color: #dbeafe; }

/* --- CTA --- */

.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: linear-gradient(150deg, rgba(37, 99, 235, 0.2), rgba(11, 17, 32, 0.45) 62%);
  padding: 42px 36px;
  text-align: center;
}
.aurora--cta span:nth-child(1) { width: 560px; height: 560px; top: -300px; left: 50%; margin-left: -280px; }
.aurora--cta span:nth-child(2) { width: 420px; height: 420px; top: auto; bottom: -260px; right: 6%; }
.cta > *:not(.aurora) { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(25px, 3.6vw, 38px); line-height: 1.1; letter-spacing: -0.032em; font-weight: 700; }
.cta p { margin: 14px auto 0; color: var(--muted); max-width: 50ch; font-size: 16px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* --- Footer --- */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
  padding: 36px 0 26px;
  margin-top: 12px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.footer__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer__about { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 40ch; }
.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 15px;
}
.footer__links { display: grid; gap: 10px; }
.footer__links a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer__links a:hover { color: var(--text); }
.footer__links a[target='_blank']::after { content: '↗'; font-size: 11px; margin-left: 5px; color: var(--dim); }

.footer__bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.6;
}
.footer__legal { max-width: 70ch; }

/* --- Reveal --- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .badge__dot, .dialer__live i, .wave span, .aurora span,
  .cycle__step.is-active .cycle__bar, .stat__meter--loop i { animation: none; }
  .wave span { height: 55%; }
  .stat__meter--loop i { width: 100%; }
  .stat__meter i { width: var(--fill, 100%); }
  .stat__ticks i { height: 14px; background: color-mix(in srgb, var(--c, #22d3ee) 62%, transparent); }
  .stat__segs i { background: var(--c, #a78bfa); }
  * { transition-duration: 0.01ms !important; }
}

/* --- Responsive --- */
@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { max-width: 16ch; }
  .dialer { max-width: 520px; }
  .features, .transfers, .agents { grid-template-columns: repeat(2, 1fr); }
  .pains { grid-template-columns: repeat(4, 1fr); }
  .pain, .pain--wide { grid-column: span 2; }
  .cycle { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .compare { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header__actions .btn--ghost { display: none; }
  .burger { display: grid; }
  .section { padding: 15px 0; }
  .section--tight { padding: 10px 0; }
  .hero { padding: 84px 0 26px; }
}

@media (max-width: 620px) {
  :root { --pad: 18px; }
  .features, .features--2, .transfers, .agents, .cycle { grid-template-columns: 1fr; }
  .pains { grid-template-columns: 1fr; }
  .pain, .pain--wide { grid-column: span 1; }
  .stats { grid-template-columns: 1fr; }
  .cta { padding: 38px 22px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .flow__tail { margin-left: 0; }
  .rec-row { grid-template-columns: 1fr; gap: 5px; }
  .dialer { padding: 18px; }
  .dialer__num { font-size: 38px; }
}
