/* automatic — лендинг. Фирменный стиль карточек обновлений: ночной фиолетовый,
   градиент фиолет → розовый → оранжевый, Unbounded в заголовках, Manrope в тексте. */

@font-face { font-family: "Unbounded"; font-weight: 900; font-display: swap; src: url("fonts/unbounded-latin-900-normal.woff2") format("woff2"); unicode-range: U+0000-00FF; }
@font-face { font-family: "Unbounded"; font-weight: 900; font-display: swap; src: url("fonts/unbounded-cyrillic-900-normal.woff2") format("woff2"); unicode-range: U+0400-04FF; }
@font-face { font-family: "Unbounded"; font-weight: 800; font-display: swap; src: url("fonts/unbounded-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF; }
@font-face { font-family: "Unbounded"; font-weight: 800; font-display: swap; src: url("fonts/unbounded-cyrillic-800-normal.woff2") format("woff2"); unicode-range: U+0400-04FF; }

@font-face { font-family: "Onest"; font-weight: 400 800; font-display: swap; src: url("fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2010-206F, U+20BD, U+2116, U+2190-21FF; }
@font-face { font-family: "Onest"; font-weight: 400 800; font-display: swap; src: url("fonts/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0400-04FF; }

:root {
  --bg: #0a0617;
  --bg2: #120a28;
  --card: rgba(255, 255, 255, .045);
  --card2: rgba(255, 255, 255, .075);
  --line: rgba(255, 255, 255, .1);
  --line2: rgba(255, 255, 255, .18);
  --text: #f4f0ff;
  --sub: #b3a8d1;
  --dim: #7f74a0;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --orange: #fb923c;
  --green: #34d399;
  --grad: linear-gradient(90deg, #8b5cf6, #ec4899 55%, #fb923c);
  --grad-text: linear-gradient(90deg, #c4b5fd 0%, #f0abfc 45%, #fdba74 100%);
  --radius: 22px;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 "Onest", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }

/* --- фон: свечения и перспективная сетка ---------------------------------------- */
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.grid-floor {
  position: absolute; left: -30%; right: -30%; bottom: -160px; height: 520px; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(170, 140, 255, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 140, 255, .16) 1px, transparent 1px);
  background-size: 70px 70px;
  transform: perspective(520px) rotateX(64deg); transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 80%);
          mask-image: linear-gradient(to top, #000 0%, transparent 80%);
}

/* --- шапка ------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(10, 6, 23, .72); backdrop-filter: blur(16px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.bolt {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, #8b5cf6, #ec4899 70%, #f97316);
  box-shadow: 0 8px 22px rgba(168, 85, 247, .5), inset 0 1px 0 rgba(255,255,255,.35);
}
.bolt svg { width: 19px; height: 22px; }
.logo {
  font: 900 20px/1 "Unbounded"; letter-spacing: 1.5px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--sub); font-weight: 600; }
.nav-links a:hover { color: var(--text); }

/* --- кнопки ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 800; font-size: 16px; white-space: nowrap;
  border: 1px solid var(--line2); background: var(--card2); transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); }
.btn.primary {
  border-color: transparent; background: var(--grad);
  box-shadow: 0 14px 38px rgba(236, 72, 153, .38), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn.primary:hover { box-shadow: 0 18px 50px rgba(236, 72, 153, .55), inset 0 1px 0 rgba(255,255,255,.3); }
.btn.small { padding: 10px 18px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* --- первый экран ------------------------------------------------------------- */
.hero { position: relative; padding: 150px 0 110px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 50px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px;
  background: var(--card2); border: 1px solid var(--line2); font-size: 14px; font-weight: 700; color: var(--sub);
}
.pill b {
  font: 800 11px/1 "Onest"; letter-spacing: 1px; color: #fff; padding: 6px 9px; border-radius: 999px; background: var(--grad);
}
h1, h2, h3 { margin: 0; }
.hero h1 { font: 800 clamp(44px, 5.8vw, 80px)/0.98 "Onest"; letter-spacing: -0.045em; margin: 24px 0 24px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; color: var(--sub); max-width: 540px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.facts { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 28px; color: var(--sub); font-size: 15px; font-weight: 600; }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.hero-visual { position: relative; }
.browser {
  border-radius: 18px; overflow: hidden; background: #0d0820; border: 1px solid var(--line2);
  box-shadow: 0 40px 100px rgba(8, 2, 30, .7), 0 0 0 1px rgba(255,255,255,.04), 0 0 80px rgba(139, 92, 246, .25);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span {
  margin-left: 14px; flex: 1; max-width: 300px; padding: 5px 14px; border-radius: 8px; background: rgba(255,255,255,.06);
  font-size: 12px; color: var(--dim);
}
.phone {
  position: absolute; width: 190px; border-radius: 30px; padding: 7px; background: #05030c;
  border: 1px solid rgba(255,255,255,.2); box-shadow: 0 30px 70px rgba(5, 2, 20, .75), 0 0 50px rgba(236, 72, 153, .25);
}
.phone img { border-radius: 24px; aspect-ratio: 9 / 18.5; object-fit: cover; object-position: top; width: 100%; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  background: rgba(20, 12, 44, .82); border: 1px solid var(--line2); backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(5, 2, 20, .55); font-weight: 800; font-size: 15px; white-space: nowrap;
}
.chip small { display: block; font-weight: 600; font-size: 12px; color: var(--sub); }
.chip .dot { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; }
.chip .dot svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* --- секции ------------------------------------------------------------------- */
section { position: relative; padding: 110px 0; overflow-x: clip; }
.eyebrow {
  display: inline-block; font: 700 13px/1 "Onest"; letter-spacing: .14em; text-transform: uppercase;
  color: #f0abfc; margin-bottom: 16px;
}
h2 { font: 800 clamp(32px, 4vw, 54px)/1.02 "Onest"; letter-spacing: -0.04em; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p { color: var(--sub); font-size: 19px; margin: 18px 0 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* полоса логотипов-фактов */
.strip { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.strip div { text-align: center; }
.strip b { display: block; font: 900 30px/1.1 "Onest"; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip span { color: var(--sub); font-size: 14px; font-weight: 600; }

/* почему телефоны */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  transition: border-color .25s, background .25s; transform-style: preserve-3d; will-change: transform;
}
.card:hover { border-color: var(--line2); background: var(--card2); }
.card h3 { font: 800 20px/1.25 "Onest"; margin: 18px 0 10px; }
.card p { margin: 0; color: var(--sub); font-size: 16px; }
.ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 12px 28px color-mix(in srgb, var(--b) 45%, transparent);
}
.ico svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* возможности: крупные блоки с экранами */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; margin-bottom: 120px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip { grid-template-columns: 1.25fr 1fr; }
.feature.flip .feature-text { order: 2; }
.feature h3 { font: 800 clamp(26px, 2.8vw, 38px)/1.08 "Onest"; letter-spacing: -0.035em; margin: 0 0 18px; }
.feature p { color: var(--sub); font-size: 18px; margin: 0 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 7px;
  background: var(--grad) center / 100% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='7'/%3E%3C/svg%3E") center/contain,
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain;
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.shot { position: relative; }
.shot .browser { transition: transform .4s; }
.shot:hover .browser { transform: translateY(-6px); }
.shot .phone { width: 160px; right: -30px; bottom: -40px; }
.shot .phone.left { right: auto; left: -34px; }

/* сетка всех возможностей */
.all { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.all .card { padding: 24px; }
.all .card h3 { font-size: 17px; margin: 14px 0 6px; }
.all .card p { font-size: 14.5px; }
.all .ico { width: 44px; height: 44px; border-radius: 13px; }
.all .ico svg { width: 22px; height: 22px; }

/* витрина экранов */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.tab {
  padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: var(--sub); font: 700 15px/1 "Onest"; cursor: pointer; transition: all .2s;
}
.tab:hover { color: var(--text); border-color: var(--line2); }
.tab.on { color: #fff; border-color: transparent; background: var(--grad); box-shadow: 0 10px 30px rgba(236, 72, 153, .35); }
.showcase { max-width: 1080px; margin: 0 auto; }
.showcase .stage { position: relative; aspect-ratio: 16 / 10; background: #0d0820; }
.showcase .stage img { width: 100%; height: 100%; object-fit: contain; }
.showcase .stage .over { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform; }
.caption { text-align: center; color: var(--sub); margin-top: 22px; font-size: 16px; min-height: 26px; }

/* шаги */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 28px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font: 900 40px/1 "Onest"; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font: 800 18px/1.3 "Onest"; margin: 16px 0 8px; }
.step p { color: var(--sub); margin: 0; font-size: 15px; }
.step code { font-size: 13px; padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,.08); color: #f0abfc; }

/* менторство */
.mentor {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; padding: 56px; border-radius: 30px;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(139, 92, 246, .35), transparent 60%),
    radial-gradient(500px 300px at 100% 100%, rgba(236, 72, 153, .28), transparent 60%),
    rgba(255,255,255,.035);
  border: 1px solid var(--line2);
}
.mentor h2 { font-size: clamp(26px, 3vw, 38px); }
.mentor p { color: var(--sub); font-size: 18px; margin: 18px 0 0; }
.mentor .ticks { gap: 14px; }

/* тарифы */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 22px; justify-content: center; }
.plan { padding: 36px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.best {
  background:
    linear-gradient(var(--bg2), var(--bg2)) padding-box,
    linear-gradient(135deg, #8b5cf6, #ec4899, #fb923c) border-box;
  border: 1.5px solid transparent; box-shadow: 0 30px 80px rgba(236, 72, 153, .18);
}
.plan .tag { align-self: flex-start; font: 800 11px/1 "Onest"; letter-spacing: 1px; padding: 7px 11px; border-radius: 999px; background: var(--grad); margin-bottom: 18px; }
.plan h3 { font: 900 26px/1.2 "Onest"; }
.plan .price { font: 800 18px/1.3 "Onest"; color: var(--sub); margin: 10px 0 24px; }
.plan .ticks { margin-bottom: 30px; flex: 1; }
.plan .btn { width: 100%; }
.plans-note { text-align: center; color: var(--dim); font-size: 14px; margin-top: 22px; }

/* вопросы */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); padding: 4px 24px; transition: background .2s; }
details[open] { background: var(--card2); border-color: var(--line2); }
summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 800; font-size: 17px;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 26px/1 "Onest"; color: #f0abfc; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 20px; color: var(--sub); }

/* финал */
.final { text-align: center; overflow: hidden; padding: 130px 0 150px; }
.final h2 { font-size: clamp(32px, 4.6vw, 60px); max-width: 900px; margin: 0 auto 22px; }
.final p { color: var(--sub); font-size: 19px; margin: 0 auto 36px; max-width: 600px; }
.final .wrap { position: relative; z-index: 2; }

footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; gap: 20px; justify-content: space-between; align-items: center; flex-wrap: wrap; }


/* --- адаптив ------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .all { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding-top: 120px; }
  .hero .wrap, .feature, .feature.flip, .mentor { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
  .why { grid-template-columns: 1fr; }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .shot .phone { width: 110px; right: -6px; }
  .shot .phone.left { left: -6px; }
  .mentor { padding: 34px 26px; }
  .plans { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
  .feature { margin-bottom: 90px; gap: 34px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .all, .steps { grid-template-columns: 1fr; }
  .lead { font-size: 18px; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
  .hide-sm { display: none; }
  .chip { font-size: 13px; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


/* ================= живые эффекты (GSAP + Lenis) ================= */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
body { background: transparent; }
html { background: var(--bg); }
.grid-floor { display: none; }
.glow { opacity: .8; }

/* без JS всё видно; с JS GSAP показывает сам */
.js .reveal, .js .split, .js #hero-title, .js .hero-copy > *:not(h1), .js .depth { visibility: hidden; }

/* прогресс прокрутки */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; }
.scroll-progress i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* разбивка текста */
.split .char, #hero-title .char { display: inline-block; will-change: transform, opacity, filter; }
.split .word, #hero-title .word { display: inline-block; white-space: nowrap; }
#hero-title .line { display: block; }
.shimmer { background-size: 220% 100%; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }

/* первый экран: слои глубины */
.hero-visual { position: relative; }
.depth { will-change: transform; }
.hero-browser-wrap { position: relative; }
.hero-browser { position: relative; z-index: 1; }
.glare { display: none; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 300px at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,.14), transparent 60%); mix-blend-mode: soft-light; }
.phone-wrap { position: absolute; right: -28px; bottom: -64px; z-index: 2; }
.phone-wrap .phone { position: relative; right: auto; bottom: auto; }
.chip-wrap { position: absolute; z-index: 3; }
.chip-wrap .chip { position: relative; }
.chip-wrap.a { left: -40px; top: -30px; }
.chip-wrap.b { left: 6%; bottom: -40px; }

/* бегущая строка */
.marquee { overflow: hidden; padding: 26px 0; transform: rotate(-2deg); margin: 30px -2vw 0; background: var(--grad);
  box-shadow: 0 20px 60px rgba(236, 72, 153, .3); }
.marquee-track { display: flex; gap: 34px; width: max-content; align-items: center; will-change: transform; }
.marquee span { font: 800 32px/1 "Onest"; letter-spacing: -0.03em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.marquee b { color: rgba(255,255,255,.75); font-size: 22px; }

/* карточки: подсветка за курсором */
.spot::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(236, 72, 153, .22), transparent 45%);
}
.spot::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 171, 252, .9), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* скриншоты в возможностях — 3D-сцена */
.shot { perspective: 1600px; }
.shot .browser { transform-style: preserve-3d; will-change: transform; }
.shot:hover .browser { transform: none; }

/* витрина: закреплённая сцена */
.show-progress { height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); margin-bottom: 18px; overflow: hidden; }
.show-progress i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.showcase .browser { position: relative; }
.showcase .browser img { transition: none; }

/* шаги: линия */
.steps-wrap { position: relative; }
.steps-line { position: absolute; left: 0; right: 0; top: 46px; width: 100%; height: 4px; overflow: visible; z-index: 0; }
.steps-line path { fill: none; stroke: url(#none); stroke: #ec4899; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 8px #ec4899); }
.step { z-index: 1; background: rgba(18, 10, 40, .85); backdrop-filter: blur(6px); }

@media (max-width: 920px) {
  .phone-wrap { right: -6px; bottom: -40px; }
  .phone-wrap .phone { width: 130px; }
  .chip-wrap.a { left: -6px; top: -26px; }
  .chip-wrap.b { display: none; }
  .steps-line { display: none; }
  .marquee span { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .split, .js #hero-title, .js .hero-copy > *:not(h1), .js .depth { visibility: visible; }
}

/* контент — под шапкой: 3D-повороты в Chrome иначе вылезают поверх fixed-шапки */
main { position: relative; z-index: 1; isolation: isolate; }
.nav { z-index: 50; }
.feature, .feature.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.feature.flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 920px) { .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); } }

/* страница не шире экрана (бегущая строка повёрнута и выступает за края) */
html, main { overflow-x: clip; }

.nav .btn { gap: 0; }
.nav .btn .hide-sm { margin-left: .3em; }

/* финал: мягкое свечение фоном секции (отдельный размытый блок обрезался с резким краем) */
.final { background: radial-gradient(60% 55% at 50% 45%, rgba(236, 72, 153, .16), transparent 70%); }

/* ================= первый экран v3: кольцо, веер телефонов, журнал ================= */
.hero { padding-bottom: 150px; }
.hero .wrap { grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); }
.hero-visual { position: relative; min-height: 520px; }
.ring {
  position: absolute; left: 50%; top: 46%; width: 620px; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; z-index: 0;
  background: conic-gradient(from 0deg, #8b5cf6, #ec4899, #fb923c, #22d3ee, #8b5cf6);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  filter: drop-shadow(0 0 28px rgba(236, 72, 153, .6)); opacity: .55;
}
.hero-stage { position: relative; z-index: 1; padding: 30px 0 0; }
.hero-browser { position: relative; z-index: 2; width: 92%; margin-left: 4%; }
.hv-phone { position: absolute; z-index: 3; }
.hv-phone .phone { position: relative; width: 168px; right: auto; bottom: auto; }
.hv-phone.front { right: -34px; bottom: -86px; rotate: 6deg; }
.hv-phone.back { left: -46px; top: -18px; z-index: 1; rotate: -9deg; opacity: .9; }
.hv-phone.back .phone { width: 150px; }
.live-pill {
  position: absolute; z-index: 4; right: 14%; top: -8px; display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: rgba(16, 10, 36, .85); border: 1px solid var(--line2); backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(5, 2, 20, .5);
}
.live-pill i { width: 9px; height: 9px; border-radius: 50%; background: #34d399; animation: ping 1.8s infinite; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.feed {
  position: absolute; z-index: 4; left: -56px; bottom: -120px; width: 330px; padding: 14px 14px 8px; border-radius: 20px;
  background: rgba(16, 10, 36, .9); border: 1px solid var(--line2); backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(5, 2, 20, .6);
}
.feed-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 4px 8px; }
.feed-head b { font-size: 14px; }
.feed-head span { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
#feed { list-style: none; margin: 0; padding: 0; height: 176px; overflow: hidden; position: relative; }
#feed li {
  display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 12px; font-size: 13px; line-height: 1.25;
  border-top: 1px solid rgba(255,255,255,.05);
}
#feed li:first-child { border-top: 0; background: rgba(255,255,255,.05); }
#feed li .ic { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--c); }
#feed li .ic svg { width: 15px; height: 15px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
#feed li small { display: block; color: var(--dim); font-size: 11.5px; margin-top: 2px; }
#feed li time { margin-left: auto; color: var(--dim); font-size: 11px; white-space: nowrap; }

/* ================= бенто ================= */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 18px; }
.tile {
  position: relative; overflow: hidden; padding: 24px; border-radius: 26px; display: flex; flex-direction: column;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line);
}
.tile h3 { font: 700 19px/1.2 "Onest"; letter-spacing: -.02em; margin: 18px 0 6px; }
.tile p { margin: 0; color: var(--sub); font-size: 14.5px; line-height: 1.5; }
.tile code { font-size: 12.5px; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.08); color: #f0abfc; }
.viz { position: relative; flex: 1; min-height: 120px; border-radius: 18px; }
.t-reels { grid-row: span 2; }
.t-stats, .t-wall { grid-column: span 2; }

.fan { display: grid; place-items: center; min-height: 330px; }
.fan img { position: absolute; width: 46%; aspect-ratio: 9 / 18; object-fit: cover; object-position: top; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.25); box-shadow: 0 18px 40px rgba(5,2,20,.6); }
.fan .f1 { z-index: 3; }
.fan .f2 { z-index: 2; translate: -42% 6%; rotate: -12deg; opacity: .9; }
.fan .f3 { z-index: 1; translate: 42% 6%; rotate: 12deg; opacity: .9; }
.badge-x { position: absolute; z-index: 4; bottom: 4px; padding: 7px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; background: var(--grad); box-shadow: 0 10px 24px rgba(236,72,153,.4); }

.chart { display: flex; flex-direction: column; justify-content: space-between; padding: 6px 2px 0; }
.chart .big b { font: 800 42px/1 "Onest"; letter-spacing: -.04em; color: #f4f0ff; }
.chart .big span { display: block; color: var(--sub); font-size: 13px; margin-top: 4px; }
.chart svg { width: 100%; height: 110px; margin-top: 10px; overflow: visible; }

.otp { display: flex; align-items: center; justify-content: center; gap: 14px; }
.digits { display: flex; gap: 6px; }
.digits i { font: 800 26px/1 "Onest"; font-style: normal; width: 34px; height: 46px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(255,255,255,.07); border: 1px solid var(--line2); }
.timer { width: 40px; height: 40px; rotate: -90deg; }
.timer circle { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 3.5; }
#otp-ring { stroke: #34d399; stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: 0; }

.clones { display: grid; place-items: center; }
.clones .app { position: absolute; width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(135deg, #feda75, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5);
  box-shadow: 0 14px 30px rgba(5,2,20,.55), inset 0 1px 0 rgba(255,255,255,.4); }
.clones .app span { font: 800 22px/1 "Onest"; color: #fff; }
.clones .app em { position: absolute; right: -10px; bottom: -8px; font: 800 11px/1 "Onest"; font-style: normal; padding: 5px 7px; border-radius: 8px;
  background: #0f0a22; border: 1px solid var(--line2); }
.clones .a1 { translate: -64px 6px; rotate: -10deg; }
.clones .a2 { z-index: 2; translate: 0 -6px; }
.clones .a3 { translate: 64px 6px; rotate: 10deg; }

.uniq { display: flex; gap: 8px; align-items: center; justify-content: center; }
.uniq img { width: 30%; aspect-ratio: 9 / 14; object-fit: cover; object-position: center 30%; border-radius: 12px;
  filter: hue-rotate(var(--h)) saturate(1.2); border: 1px solid rgba(255,255,255,.2); }
.uniq img:nth-child(2) { transform: scale(1.06) scaleX(-1); }
.uniq img:nth-child(3) { transform: rotate(2deg) scale(.98); }

.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-items: center; }
.wall img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); }
.wall .live { position: absolute; z-index: 2; top: -4px; left: -4px; display: inline-flex; gap: 6px; align-items: center; font: 800 11px/1 "Onest"; letter-spacing: .08em;
  padding: 6px 9px; border-radius: 8px; background: #ef4444; box-shadow: 0 8px 20px rgba(239,68,68,.45); }
.wall .live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }

.warm, .prep { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.bar span, .inst b { display: block; font-size: 12.5px; color: var(--sub); font-weight: 600; margin-bottom: 5px; }
.bar i, .inst i { position: relative; display: block; height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar i::after, .inst i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 1)); }
.inst { position: relative; }
.inst em { position: absolute; right: 0; top: 0; font-size: 11.5px; font-style: normal; color: #34d399; font-weight: 700; }

@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-reels { grid-row: span 1; }
  .fan { min-height: 260px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { margin-top: 30px; }
}
@media (max-width: 920px) {
  .ring { width: 420px; }
  .hv-phone.back { display: none; }
  .hv-phone.front { right: -8px; bottom: -50px; }
  .hv-phone.front .phone { width: 120px; }
  .feed { position: relative; left: auto; bottom: auto; width: auto; margin-top: 70px; }
  .live-pill { right: 8px; top: -10px; font-size: 12px; }
  .hero { padding-bottom: 80px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .t-stats, .t-wall { grid-column: span 1; }
}

/* бенто: 2FA на два ряда — сетка 4x3 без пустых клеток */
.t-2fa { grid-row: span 2; }
.t-2fa .otp { flex-direction: column; gap: 22px; }
.t-2fa .digits i { width: 38px; height: 52px; font-size: 28px; }
.t-2fa .timer { width: 58px; height: 58px; }
@media (max-width: 1080px) { .t-2fa { grid-row: span 1; } }
/* кнопки первого экрана в одну строку */
.hero-cta .btn { padding: 14px 22px; font-size: 15px; }

/* первый экран: только кольцо, панель и один телефон */
.hero-visual { min-height: 0; }
.hero-stage { padding: 20px 0 40px; }
.hero-browser { width: 94%; margin-left: 0; }
.hv-phone.front { right: -10px; bottom: -40px; rotate: 5deg; }
.ring { left: 46%; top: 50%; width: 560px; opacity: .45; }

/* «Почему это работает»: номер, полоса тона, факт */
.why-card { --tone: #8b5cf6; overflow: hidden; padding: 34px 30px 28px; display: flex; flex-direction: column;
  transition: transform .35s ease, border-color .25s, background .25s; }
.why-card.c-cyan { --tone: #22d3ee; }
.why-card.c-violet { --tone: #a78bfa; }
.why-card.c-pink { --tone: #f472b6; }
.why-card::before { opacity: 1 !important; inset: 0 0 auto 0 !important; height: 3px !important; border-radius: 0 !important; padding: 0 !important;
  background: linear-gradient(90deg, transparent, var(--tone), transparent) !important; -webkit-mask: none !important; mask: none !important; }
.why-card:hover { transform: translateY(-6px); }
.why-card .num { position: absolute; right: 18px; top: 4px; font: 800 96px/1 "Onest"; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.09); pointer-events: none; z-index: 0; }
.why-card .ico { box-shadow: 0 12px 34px color-mix(in srgb, var(--tone) 55%, transparent); }
.why-card h3 { font-size: 21px; letter-spacing: -.02em; }
.why-card p { flex: 1; }
.why-card .fact { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 700; color: #e9e3ff; }
.why-card .fact i { width: 8px; height: 8px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 12px var(--tone); flex: none; }

/* ================= первый экран: минимальный ================= */
.hero-min { padding: 150px 0 40px; overflow: visible; }
.hero-min .wrap { display: block; text-align: center; }
.hero-min .hero-copy { max-width: 860px; margin: 0 auto; }
.hero-min h1 { font-size: clamp(44px, 7vw, 92px); line-height: .98; letter-spacing: -0.05em; margin: 26px 0 22px; }
.hero-min .lead { margin: 0 auto 34px; max-width: 560px; font-size: 19px; }
.hero-min .hero-cta { justify-content: center; }
.hero-note { margin: 22px 0 0; color: var(--dim); font-size: 14px; letter-spacing: .02em; }
.hero-shot { position: relative; max-width: 1080px; margin: 72px auto 0; }
.hero-shot::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 8%; bottom: -6%; z-index: -1; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .55), rgba(236, 72, 153, .25) 60%, transparent);
  filter: blur(60px);
}
.hero-min .hero-browser { width: 100%; margin: 0; }
@media (max-width: 920px) {
  .hero-min { padding-top: 120px; }
  .hero-shot { margin-top: 48px; }
}

/* финальный призыв: покупка + канал */
.final-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final-cta .btn svg { width: 17px; height: 17px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }

/* цена в тарифах */
.plan .price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; color: var(--text); }
.plan .price b { font: 800 44px/1 "Onest"; letter-spacing: -.04em; }
.plan.best .price b { font-size: 32px; }
.plan .price span { color: var(--sub); font-size: 16px; font-weight: 600; }
.plan .rub { color: var(--dim); font-size: 14px; margin-bottom: 24px; min-height: 20px; }

/* плашка cookie — показывается только при включённой Метрике */
.cookie { position: fixed; left: 50%; bottom: 20px; translate: -50% 0; z-index: 70; width: min(640px, calc(100% - 32px));
  display: flex; align-items: center; gap: 18px; padding: 16px 18px; border-radius: 18px;
  background: rgba(16, 10, 36, .94); border: 1px solid var(--line2); backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(5, 2, 20, .6); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; color: var(--sub); font-size: 14px; line-height: 1.5; }
.cookie a { color: #f0abfc; }
@media (max-width: 560px) { .cookie { flex-direction: column; align-items: stretch; } }

/* статьи на главной */
.articles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.article-card { display: flex; flex-direction: column; text-decoration: none; }
.article-card h3 { font: 700 20px/1.25 "Onest"; letter-spacing: -0.02em; margin: 0 0 10px; color: var(--text); }
.article-card p { flex: 1; }
.article-card .more { margin-top: 18px; font-weight: 700; font-size: 14px; color: #f0abfc; }
.articles-all { text-align: center; margin: 30px 0 0; }
@media (max-width: 760px) { .articles-grid { grid-template-columns: minmax(0, 1fr); } }

.article-card { padding: 0 0 24px; overflow: hidden; }
.article-card img { display: block; width: 100%; height: auto; margin-bottom: 20px; border-bottom: 1px solid var(--line); transition: transform .5s; }
.article-card:hover img { transform: scale(1.03); }
.article-card h3, .article-card p, .article-card .more { padding: 0 24px; }
