/* =========================================================
   ZETT — стили сайта
   Mobile-first: сначала телефон (360–767px),
   потом @media (min-width: 768px) — планшет,
   потом @media (min-width: 1200px) — десктоп (макет 1440).
   ========================================================= */

/* ---------- Шрифты ---------- */
/* Шрифты лежат на самом сайте (assets/fonts) — так страница открывается быстрее.
   Unbounded и Inter — лицензия SIL Open Font License, можно использовать и раздавать.
   Наборы символов: латиница и кириллица; у Inter ещё расширенная кириллица (Ө, Ү, Ң).
   В Unbounded букв Ө, Ү, Ң нет совсем — в заголовках они рисуются запасным шрифтом. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/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: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/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;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('../assets/fonts/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('../assets/fonts/unbounded-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;
}

/* ---------- Design tokens ---------- */
:root {
  --bg: #080808;
  --surface: #141414;
  --surface-2: #1A1A1A;
  --border: #262626;
  --border-2: #333333;
  --lime: #D4FF00;
  --lime-ink: #2E3A00;
  --lime-ink-2: #3A4800;
  --text: #FFFFFF;
  --text-2: #B5B5B5;
  --text-3: #A2A2A2;
  --glow: 0 0 30px rgba(212, 255, 0, 0.45);
  --radius-card: 20px;
  --radius-pill: 999px;

  --ink: #0A0A0A;          /* почти чёрный текст на светлом */
  --phone-screen: #1C1712; /* фон экрана телефона до загрузки видео */
  --font-head: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --container-pad: 16px;
  --header-h: 76px;
}

/* ---------- База ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: var(--lime); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.lime { color: var(--lime); }

/* Слово через дефис переносится только целиком (оборачивает main.js) */
.nw { white-space: nowrap; }

/* Текст только для программ чтения с экрана (не виден глазами) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Якорные ссылки (#faq, #how…): блок останавливается под липкой шапкой, а не прячется за ней */
section[id] { scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top) + 8px); }

/* Показ разных текстов на телефоне и на больших экранах */
@media (max-width: 767px) {
  .only-d,
  .br-d { display: none !important; }
}
@media (min-width: 768px) {
  .only-m { display: none !important; }
}

/* ---------- Лого (кодом; картинка подставляется из main.js) ---------- */
.logo {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  box-shadow: 0 0 14px rgba(212, 255, 0, 0.55);
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.logo__text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 9px;
  line-height: 1;
  color: var(--lime);
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo.has-img .logo__text { display: none; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s;
}
.btn--lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: var(--glow);
}
.btn--dark {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn--lime:focus-visible { outline-color: var(--text); }

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100; /* выше всего контента страницы; выше только мобильное меню (200) */
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.header.is-scrolled {
  background: rgba(8, 8, 8, 0.75);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: max(var(--container-pad), env(safe-area-inset-left));
  padding-right: max(var(--container-pad), env(safe-area-inset-right));
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 44px;
}
.brand__sub {
  display: none;
  font-size: 14px;
  color: var(--text-3);
  white-space: nowrap;
}
.nav { display: none; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-pill {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: #151515;
  border: 1px solid var(--border);
}
.lang-pill button {
  min-width: 44px;
  height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: #9A9A9A;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.lang-pill button[aria-pressed="true"] {
  background: var(--text);
  color: var(--ink);
  font-weight: 700;
}
.lang-cycle {
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: #151515;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}
.burger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--text);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Мобильное меню ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  transform: translateY(100%);
  transition: transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
}
.menu.is-open {
  visibility: visible;
  transform: translateY(0);
  transition: transform 0.3s var(--ease-out), visibility 0s;
}
.menu__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding:
    calc(16px + env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right))
    calc(24px + env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
}
.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--text);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu__nav {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
}
.menu__nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.menu__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 32px;
}
.menu__ig {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 12px;
  color: var(--text-2);
  font-weight: 600;
  text-decoration: none;
}

/* ---------- HERO (телефон) ---------- */
.hero {
  position: relative;
  z-index: 0;
  isolation: isolate; /* всё внутри hero (стикеры, свечение) всегда ниже шапки */
  overflow: hidden;
  overflow: clip;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
}
.hero__grid {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 0 24px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px 0;
}
.badge {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(212, 255, 0, 0.12);
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.hero__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 9.75vw, 38px); /* 9.75vw: ровно 38px на 390 */
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  /* Слова не режем: если длинное слово не влезает, main.js уменьшит шрифт (fitHeroTitle) */
  overflow-wrap: normal;
}
.hero__title .lime { text-shadow: 0 0 24px rgba(212, 255, 0, 0.45); }
.hero__sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
}

/* Соц. доказательство */
.social--d { display: none; }
.social--m {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 16px 0;
  padding-top: 6px;
  font-size: 13px;
  color: #CFCFCF;
  text-align: center;
}
.social strong { color: var(--text); }
/* Глаз в лаймовом кружке перед «2,2 млн+ просмотров» */
.social__eye {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 18px rgba(212, 255, 0, 0.35);
}
.social__eye svg { width: 16px; height: 16px; }

/* Сцена с телефоном */
.hero__stage {
  position: relative;
  margin-top: 30px;
  display: flex;
  justify-content: center;
}
/* Контурный ZETT. Слово в ширину ≈ 3.16 × font-size.
   Телефон: в самом низу hero, на всю ширину экрана с отступами 16px.
   Планшет/десктоп (ниже, ≥768): за телефоном; --ghost-x и --ghost-fs ставит main.js */
.hero__ghost {
  order: 2;
  margin: 8px 16px 32px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: calc((100vw - 32px) / 3.2);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(212, 255, 0, 0.14);
  pointer-events: none;
  user-select: none;
}
.hero__glow {
  position: absolute;
  left: 50%;
  top: 108px;
  width: 300px;
  height: 380px;
  margin-left: -150px;
  border-radius: 50%;
  background: rgba(212, 255, 0, 0.16);
  filter: blur(70px);
  pointer-events: none;
}

/* Параллакс (значения --mx/--my ставит main.js только на десктопе) */
.px {
  transform: translate3d(calc(var(--mx, 0) * var(--d, 0) * 1px), calc(var(--my, 0) * var(--d, 0) * 1px), 0);
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}

/* Телефон: настоящая рамка iPhone (assets/iphone-frame.webp, 736×1449) поверх экрана.
   Отступы и скругление экрана замерены по прозрачной области картинки.
   Всё внутри экрана задано в cqw — долях ширины экрана, поэтому интерфейс одинаково
   масштабируется в телефоне 240 px, 300 px и в карточках роликов.
   Ролик заполняет весь экран (cover), как настоящий Reels: экран уже кадра 9:16, поэтому бока
   срезаются примерно на 18% ширины. Какая часть видна — --focus (object-position по горизонтали),
   задаётся у каждого ролика в js/works.js и у телефонов в HTML, чтобы текст в кадре не срезался.
   Безопасная зона интерфейса: Dynamic Island кончается на 12,2cqw, радиус углов экрана — 15,6cqw. */
.phone {
  position: relative;
  width: 240px;
  aspect-ratio: 736 / 1449;
  isolation: isolate;
}
.phone__screen,
.wphone__screen {
  position: absolute;
  inset: 4.42% 8.56% 4.35% 8.70%;
  border-radius: 15.6% / 7.2%;
  overflow: hidden;
  background: #000;
  isolation: isolate;
  container-type: inline-size;
}
/* Рамка — над видео и интерфейсом, под стикерами; клики проходят сквозь неё */
.phone-frame {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
}
.phone__poster,
.phone__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50%) 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.phone__poster.is-loaded { opacity: 1; }
.phone.is-playing .phone__video { opacity: 1; }

/* «Reels» и камера — поверх видео, под Dynamic Island (он кончается на 12,2cqw) */
.phone__top {
  position: absolute;
  z-index: 2;
  left: 8cqw;
  right: 8cqw;
  top: 12.6cqw;
  height: 6.6cqw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 5cqw;
  font-weight: 600;
  line-height: 1;
}
.phone__top svg { width: 6.6cqw; height: 6.6cqw; }
/* ▶ — по центру экрана */
.phone__play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 108.5cqw;
  width: 24cqw;
  height: 24cqw;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(212, 255, 0, 0.95);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(212, 255, 0, 0.6);
  transition: opacity 0.3s ease;
}
.phone__play svg { width: 9cqw; height: 9cqw; }
.phone.is-playing .phone__play { opacity: 0; }

.phone__sound {
  position: absolute;
  z-index: 2;
  right: 4cqw;
  top: 23cqw;
  width: 11.5cqw;
  height: 11.5cqw;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.phone__sound svg { width: 6cqw; height: 6cqw; }
.phone.is-playing .phone__sound { opacity: 1; }
.phone .ico-sound,
.phone.is-unmuted .ico-muted { display: none; }
.phone.is-unmuted .ico-sound { display: block; }

/* Затемнение сверху и снизу, как в Reels: «Reels», камера, звук, ник, подпись и иконки читаются и на светлых роликах */
.phone:not(.phone--chat) .phone__screen::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  height: 46cqw;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.25) 50%, transparent);
  pointer-events: none;
}
.phone:not(.phone--chat) .phone__screen::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 55%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.8));
  pointer-events: none;
}
.phone__actions {
  position: absolute;
  z-index: 2;
  right: 4cqw;
  bottom: 24cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6.5cqw;
  font-size: 4.5cqw;
  font-weight: 600;
}
.phone__act {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.phone__act svg { width: 9.5cqw; height: 9.5cqw; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55)); }
/* Тень у текста поверх видео — читается и на светлом кадре */
.phone__top,
.phone__user,
.phone__caption,
.phone__brand { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55); }
.phone__top svg { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55)); }
.phone__act .ico-like { width: 10.5cqw; height: 10.5cqw; }
.phone__count:empty { display: none; }

.phone__author {
  position: absolute;
  z-index: 2;
  left: 6cqw;
  right: 19cqw;
  bottom: 10cqw;
  display: flex;
  flex-direction: column;
  gap: 2.4cqw;
}
.phone__user {
  display: flex;
  align-items: center;
  gap: 3cqw;
  font-size: 5.3cqw;
  font-weight: 700;
}
.phone__user .logo--xs { width: 10.5cqw; height: 10.5cqw; }
.logo--xs {
  width: 24px;
  height: 24px;
  box-shadow: none;
}
.logo--xs .logo__text { display: none; }
/* Подпись под ником: на телефоне — максимум 2 строки */
.phone__caption {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 4.6cqw;
  line-height: 1.35;
  color: #D0D0D0;
}

/* Просмотры как в Instagram: глаз + число (телефоны и карточки роликов) */
.views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}
.views[hidden] { display: none; }
.views svg { flex: 0 0 15px; width: 15px; height: 15px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)); }
.phone__views { align-self: flex-start; }
.phone__badge { margin-left: 1cqw; padding: 1.4cqw 2.8cqw; border-radius: 2cqw; font-size: 3.9cqw; }
/* «для MOZZ» — серым под подписью */
.phone__brand {
  margin-top: -1cqw;
  font-size: 4.3cqw;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.65);
}

.phone__bar {
  position: absolute;
  z-index: 2;
  left: 9cqw;
  right: 9cqw;
  bottom: 4.2cqw;
  height: max(2px, 1.1cqw);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.phone__bar i {
  display: block;
  height: 100%;
  background: var(--lime);
  transform-origin: left center;
  transform: scaleX(0);
}
/* Пока видео не играет — полоска бежит по кругу, как в макете */
.phone:not(.is-playing) .phone__bar i { animation: zprog 6s linear infinite; }
@keyframes zprog {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.phone__tap {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.phone__tap:focus-visible { outline-offset: -4px; }

/* Стикеры. Правило: не закрывают текст и иконки в телефоне, карточки и шапку.
   Телефон: оба слева — «от 1500 сом» над плашкой с заголовком, «Reels · TikTok» ниже кнопки ▶ */
.sticker-pos { position: absolute; z-index: 2; }
.sticker-pos--1 { left: 14px; top: 0; }   /* над рамкой, выше строки «Reels» */
.sticker-pos--2 { left: 14px; top: 318px; }
.sticker {
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  line-height: 1.3;
}
.sticker--lime {
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
}
.sticker--white {
  background: var(--text);
  color: var(--ink);
  font-weight: 700;
  font-size: 11px;
}
.sticker--dark {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
}
.sticker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

/* Комментарий-пузырь в стиле Instagram.
   Телефон: справа от телефона, между плашкой и кнопкой ▶; заходит на телефон на 40px
   (телефон 240px по центру → его правый край 50% + 120px). */
.bubble-pos {
  position: absolute;
  z-index: 2;
  left: calc(50% + 83px); /* +3px на наклон 4° */
  top: 172px;
}
.bubble-pos.is-hidden { display: none; }
.bubble {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  width: max-content; /* иначе браузер сжимает пузырь у края блока с телефоном */
  max-width: calc(50vw - 97px);
  padding: 8px 9px;
  border-radius: 16px;
  background: var(--text);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}
.bubble__ava {
  flex: 0 0 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--lime);
}
.bubble__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  transition: transform 0.25s var(--ease-out);
}
/* Смена комментария: старый текст уезжает вверх, новый выезжает снизу.
   Без прозрачности — текст всегда остаётся контрастным. */
.bubble { overflow: hidden; }
.bubble.is-out .bubble__body { transform: translateY(-160%); }
.bubble.is-in .bubble__body { transform: translateY(160%); transition: none; }
.bubble__nick {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  /* Ник не рвём: если не влезает — многоточие, как в Instagram */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bubble__text {
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.3;
}

/* Летящие сердечки (создаёт main.js) */
.phone__hearts {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.heart {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--lime);
  opacity: 0;
  will-change: transform, opacity;
}
.heart svg { width: 100%; height: 100%; }

/* Самые узкие телефоны: длинный «from 1500 KGS» не должен ложиться на чёлку телефона */
@media (max-width: 389px) {
  .sticker-pos--1 { left: 10px; }
  .sticker--lime { padding: 7px 10px; font-size: 11px; }
}

.float {
  --fy: -8px;
  transform: rotate(var(--r));
  animation: zfloat var(--dur) ease-in-out infinite var(--delay);
}
.float--1 { --r: -6deg; --dur: 5s; --delay: 0s; }
.float--2 { --r: 5deg; --dur: 6s; --delay: 0.8s; }
.float--3 { --r: -3deg; --dur: 5.5s; --delay: 1.6s; }
.float--b { --r: 4deg; --dur: 5.2s; --delay: 0.4s; }
@keyframes zfloat {
  0%, 100% { transform: translateY(0) rotate(var(--r)); }
  50% { transform: translateY(var(--fy)) rotate(var(--r)); }
}

/* Карточки hero */
.hero__cards {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 26px 16px 0;
}
.hcard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  grid-template-areas:
    "tag   arrow"
    "title arrow"
    "price arrow";
  align-items: center;
  column-gap: 12px;
  row-gap: 4px;
  padding: 18px;
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s;
}
.hcard__tag {
  grid-area: tag;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.hcard__arrow {
  grid-area: arrow;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hcard__title {
  grid-area: title;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.25;
  overflow-wrap: break-word;
}
.hcard__sub { display: none; grid-area: sub; }
.hcard__price {
  grid-area: price;
  font-size: 13px;
  line-height: 1.4;
}

.hcard--dark {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.hcard--dark .hcard__tag { color: var(--lime); }
.hcard--dark .hcard__arrow { border: 1px solid #3A3A3A; }
.hcard--dark .hcard__price,
.hcard--dark .hcard__sub { color: var(--text-3); }

.hcard--lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 30px rgba(212, 255, 0, 0.3);
}
.hcard--lime .hcard__tag { color: var(--lime-ink-2); }
.hcard--lime .hcard__arrow { background: var(--ink); color: var(--lime); }
.hcard--lime .hcard__price,
.hcard--lime .hcard__sub { color: var(--lime-ink); }
.hcard--lime:focus-visible { outline-color: var(--text); }

/* Временные заготовки следующих блоков */
.stub {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
.h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.stub p { margin: 16px 0 0; color: var(--text-3); }

/* ---------- Ховеры (только мышь) ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn--lime:hover { box-shadow: 0 0 44px rgba(212, 255, 0, 0.65); }
  .btn--dark:hover { border-color: var(--lime); }
  .hcard:hover { transform: translateY(-2px); }
  .hcard--dark:hover { border-color: var(--lime); }
  .hcard--lime:hover { box-shadow: 0 0 56px rgba(212, 255, 0, 0.5); }
  .nav a:hover { color: var(--text); }
  .lang-pill button[aria-pressed="false"]:hover { color: var(--text); }
}

/* =========================================================
   ПЛАНШЕТ ≥ 768px
   ========================================================= */
@media (min-width: 768px) {
  :root {
    --container-pad: 20px;
    --radius-card: 24px;
    --header-h: 84px;
  }

  .header__row { padding-top: 20px; padding-bottom: 18px; }
  .logo { width: 46px; height: 46px; box-shadow: 0 0 16px rgba(212, 255, 0, 0.55); }
  .logo__text { font-size: 11px; }
  .brand__sub { display: inline; }
  .lang-pill { display: flex; }
  .lang-cycle { display: none; }
  .header__actions { gap: 10px; }

  .menu__nav a { font-size: 34px; }
  .menu__cta { flex-direction: row; }
  .menu__cta .btn { flex: 1; }

  .hero__grid {
    align-items: center;
    gap: 40px;
    padding: 36px 20px 72px;
  }
  .hero__text {
    align-items: center;
    text-align: center;
    max-width: 720px;
    gap: 20px;
    padding: 0;
  }
  .badge {
    padding: 6px 12px;
    font-size: 13px;
  }
  /* По центру — только в первом экране главной (там текст по центру до 1200px) */
  .hero__text .badge { align-self: center; }
  .hero__title {
    font-size: clamp(44px, 7vw, 64px);
    line-height: 1.02;
  }
  .hero__title .lime { text-shadow: var(--glow); }
  .hero__sub {
    max-width: 520px;
    font-size: 18px;
    line-height: 1.55;
  }
  .social--m { display: none; }
  .social--d {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: #CFCFCF;
  }

  .hero__stage {
    width: 320px;
    margin-top: 0;
  }
  .hero { display: block; }
  /* За телефоном: обводка слабее, чем на телефоне, и ниже текста и карточек */
  .hero__ghost {
    position: absolute;
    z-index: 0;
    left: var(--ghost-x, 50%);
    top: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
    font-size: var(--ghost-fs, min(28vw, 380px));
    -webkit-text-stroke: 2px rgba(212, 255, 0, 0.07);
  }
  .hero__grid { z-index: 1; }
  .hero__glow {
    top: 138px;
    width: 560px;
    height: 560px;
    margin-left: -280px;
    filter: blur(90px);
  }

  .phone { width: 300px; }
  .logo--xs .logo__text { display: block; font-size: 6px; }
  .logo--xs.has-img .logo__text { display: none; }

  /* Все три слева от телефона (телефон в сцене 320px начинается с x=10).
     right: 274px → стикер (с учётом наклона) заходит на телефон не больше чем на 40px. */
  .sticker-pos--1 { left: auto; right: 274px; top: 6px; }    /* выше строки «Reels» */
  .sticker-pos--3 { left: auto; right: 274px; top: 256px; }  /* под плашкой; ниже строки «ADS PEOPLE» */
  .sticker-pos--2 { left: auto; right: 210px; top: 398px; }  /* над ником zett_ads (он начинается на 460px), поверх видео */

  /* Пузырь: справа от телефона в верхней трети, над строкой «Reels» (телефон в сцене кончается на x=310).
     Если задевает карточки — main.js его скрывает. */
  .bubble-pos { left: 273px; top: -14px; }
  .bubble {
    gap: 8px;
    max-width: none;
    white-space: nowrap; /* в одну строку: пузырь стоит над карточками, по ширине место есть */
    padding: 10px 14px 10px 10px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
  }
  .bubble__ava { flex-basis: 24px; height: 24px; margin-top: 0; }
  .bubble__nick { font-size: 12px; }
  .bubble__text { font-size: 13px; }
  .sticker {
    padding: 10px 14px;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
  }
  .sticker--lime { font-size: 14px; }
  .sticker--white { font-size: 13px; }
  .float { --fy: -12px; }

  .hero__cards {
    flex-direction: row;
    gap: 14px;
    width: 100%;
    max-width: 760px;
    margin: 0;
  }
  .hcard {
    flex: 1 1 0;
    min-width: 0;
    grid-template-areas:
      "tag   arrow"
      "title title"
      "sub   sub"
      "price price";
    align-content: start;
    row-gap: 10px;
    padding: 24px;
  }
  .hcard__tag { font-size: 13px; }
  .hcard__title { font-size: 24px; }
  .hcard__sub {
    display: block;
    font-size: 14px;
    line-height: 1.5;
  }
  .hcard__price {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 18px;
    line-height: 1.3;
  }
  .hcard--dark .hcard__price { color: var(--text); }
  .hcard--lime .hcard__price { color: var(--ink); }
  .hcard--lime { box-shadow: 0 0 40px rgba(212, 255, 0, 0.3); }

  .h2 { font-size: 40px; }
}

/* =========================================================
   ДЕСКТОП ≥ 1200px (макет 1440)
   ========================================================= */
@media (min-width: 1200px) {
  :root {
    --container-pad: 40px;
    --header-h: 86px;
  }

  .btn { min-height: 60px; }

  .header__row { padding-top: 26px; padding-bottom: 14px; }
  .nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.2vw, 32px);
    white-space: nowrap;
  }
  .nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #D0D0D0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
  }
  .burger,
  .menu { display: none; }

  .hero { min-height: max(854px, calc(100svh - var(--header-h))); } /* 940 − шапка 86 = как в макете */
  .hero__ghost { font-size: var(--ghost-fs, min(26vw, 380px)); }
  .hero__grid {
    flex-direction: row;
    align-items: center;
    gap: clamp(24px, 2.8vw, 40px);
    padding: 36px var(--container-pad) 60px;
  }
  .hero__text {
    /* 460–504px: на 1440 все три языка влезают в 64px («ADS PEOPLE» = 499px),
       шире не надо, иначе телефон сильнее уезжает от центра */
    flex: 0 0 clamp(460px, 35.4vw, 504px);
    min-width: 460px;
    align-items: stretch;
    text-align: left;
    gap: 24px;
  }
  .hero__text .badge { align-self: flex-start; }
  .hero__title { font-size: clamp(52px, 4.45vw, 64px); } /* 4.45vw: ровно 64px на 1440 */
  .hero__sub { max-width: 400px; }
  .hero__stage { flex: 0 0 320px; }
  .hero__cards {
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    max-width: none;
  }
  .hcard { flex: 0 0 auto; }

  .h2 { font-size: 48px; }
}

/* =========================================================
   ОБЩИЕ БЛОКИ ВНУТРЕННИХ СТРАНИЦ И ГЛАВНОЙ
   ========================================================= */

/* Активный пункт меню */
.nav a[aria-current="page"],
.menu__nav a[aria-current="page"],
.footer__nav a[aria-current="page"] { color: var(--lime); }

.container--narrow { max-width: 920px; }

/* Секции */
.section {
  padding: 72px 0;
  scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top) + 8px);
}
.section__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 32px;
}
.section__head--row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
}
.section__head--row > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.section__sub {
  margin: 0;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}
.lead {
  margin: 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}
.btn-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn--xl { min-width: min(100%, 300px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--lime);
  font-weight: 700;
  text-decoration: none;
}
.link-arrow svg { transition: transform 0.25s var(--ease-out); }

/* Мини-hero внутренних страниц */
.pagehero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}
.pagehero__grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 18px;
  padding-bottom: 56px;
}
.pagehero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.page-title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 9.75vw, 38px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  overflow-wrap: normal;
}
.page-title .lime { text-shadow: 0 0 24px rgba(212, 255, 0, 0.45); }
.pagehero__stage {
  position: relative;
  display: flex;
  justify-content: center;
}
.pagehero__stage .hero__glow { top: 60px; }

/* Карточки форматов */
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.fcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}
.fcard__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(212, 255, 0, 0.12);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fcard__icon svg { width: 24px; height: 24px; }
.fcard__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.25;
  overflow-wrap: break-word;
}
.fcard__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-3);
}

/* Шаги: телефон — вертикальный таймлайн */
.steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(var(--lime), rgba(212, 255, 0, 0.15));
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.step__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 0 0 6px var(--bg), 0 0 24px rgba(212, 255, 0, 0.35);
}
.step__title {
  margin: 10px 0 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
}
.step__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-3);
}

/* Цена */
.price {
  display: grid;
  gap: 12px;
}
.price__main,
.price__factors {
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  padding: 24px;
}
.price__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(212, 255, 0, 0.12), transparent 60%),
    var(--surface);
}
.price__value {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(34px, 10vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--lime);
  text-shadow: var(--glow);
}
.price__from {
  font-size: 0.45em;
  color: var(--text);
  text-shadow: none;
  vertical-align: 0.35em;
}
.price__from:empty { display: none; }
.price__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}
.price__factors { background: var(--surface-2); }
.price__factors-title {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
}
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: '';
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 255, 0, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4FF00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Лента роликов (главная, «Для бизнеса»): телефон — горизонтальная лента со snap */
.works-strip__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding: 8px var(--container-pad) 4px;
  scroll-padding: 0 var(--container-pad);
  scrollbar-width: none;
}
.works-strip__track::-webkit-scrollbar { display: none; }
.works-strip__track > .wcard {
  flex: 0 0 72%;
  scroll-snap-align: center;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.dots i {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--border-2);
  transition: background-color 0.25s, transform 0.25s;
}
.dots i.is-active {
  background: var(--lime);
  transform: scale(1.25);
}

/* Карточка ролика */
.wcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.wphone {
  position: relative;
  width: 100%;
  aspect-ratio: 736 / 1449;
  isolation: isolate;
}
.wphone__screen {
  background:
    radial-gradient(90% 60% at 50% 45%, var(--tint, #2C3A1A), transparent 70%),
    #000;
}
.wphone__poster,
.wphone__screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50%) 50%;
}
/* Затемнение снизу под бейджами и просмотрами */
.wphone__screen::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 30%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  pointer-events: none;
}
.wphone__screen video { opacity: 0; transition: opacity 0.3s ease; }
.wphone.is-playing video { opacity: 1; }
.wphone__plate {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 16%;
  padding: 10px;
  border-radius: 12px;
  background: rgba(10, 10, 10, 0.85);
  text-align: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.wphone__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22cqw;
  height: 22cqw;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(212, 255, 0, 0.5);
}
.wphone__play svg { width: 8.5cqw; height: 8.5cqw; }
.wphone.is-playing .wphone__plate,
.wphone.is-playing .wphone__play { opacity: 0; transition: opacity 0.3s ease; }
.wphone .phone__sound { top: 23cqw; right: 4cqw; }
.wphone.is-playing .phone__sound { opacity: 1; }
.wphone .ico-sound,
.wphone.is-unmuted .ico-muted { display: none; }
.wphone.is-unmuted .ico-sound { display: block; }
.wphone__tap {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.wphone__tap:focus-visible { outline-offset: -4px; }
/* Бейджи «НА ЗАКАЗ», язык («EN») и просмотры — внизу экрана, на затемнении, в безопасной зоне скруглений */
.wphone__foot {
  position: absolute;
  z-index: 2;
  left: 9cqw;
  right: 9cqw;
  bottom: 5cqw;
  height: 11cqw;
  display: flex;
  align-items: center;
  gap: 2cqw;
  pointer-events: none;
}
.wbadges {
  display: flex;
  gap: 4px;
}
.wphone .wbadge { padding: 1.6cqw 2.6cqw; font-size: clamp(7px, 4.4cqw, 9px); letter-spacing: 0.04em; }
.wphone .wbadge--lang { padding: 1.2cqw 2.2cqw; }
.wphone__views { margin-left: auto; font-size: clamp(8px, 4.8cqw, 11px); }
.wphone__views svg { width: 1.3em; height: 1.3em; flex-basis: 1.3em; }
.wbadges--static { position: static; }
.wbadge {
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.wbadge--lang {
  background: rgba(10, 10, 10, 0.85);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 3px 6px;
}
.wbadges--static .wbadge { box-shadow: none; }
.wcard__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
}
/* «для MOZZ» — серой строкой под названием */
.wcard__brand {
  margin: -6px 0 0;
  font-size: 13px;
  color: var(--text-3);
}
.wcard__brand + .wcard__niche { margin-top: -10px; }
.wcard__niche {
  margin: -6px 0 0;
  font-size: 13px;
  color: var(--text-3);
}

/* Бриф */
.brief {
  display: grid;
  gap: 28px;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
}
.brief__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.brief__intro .btn { width: 100%; margin-top: 6px; }
.brief__status {
  margin: 0;
  min-height: 1.5em;
  color: var(--lime);
  font-weight: 600;
  font-size: 14px;
}
.brief__note {
  margin: 0;
  font-size: 13px;
  color: var(--text-3);
}
.brief__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: brief;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.brief__list li {
  counter-increment: brief;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 14px 14px 58px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.brief__list li::before {
  content: counter(brief);
  position: absolute;
  left: 14px;
  top: 50%;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
}
.brief__list b { font-size: 15px; }
.brief__list span { font-size: 13px; color: var(--text-3); }

/* FAQ-аккордеон */
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__q { margin: 0; }
.faq__q button {
  width: 100%;
  min-height: 64px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: none;
  color: var(--text);
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
}
.faq__icon {
  position: relative;
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  transition: transform 0.3s var(--ease-out), background-color 0.3s, border-color 0.3s;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: currentColor;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q button[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg); /* плюс превращается в крестик */
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.35s var(--ease-out), visibility 0s linear 0.35s;
}
.faq__a > div { overflow: hidden; }
.faq__a p {
  margin: 0;
  padding: 0 52px 20px 0;
  color: var(--text-2);
  line-height: 1.6;
}
.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.35s var(--ease-out), visibility 0s;
}

/* Финальный призыв */
.final__box {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 48px 20px;
  border-radius: 28px;
  border: 1px solid var(--border);
  text-align: center;
  background:
    radial-gradient(70% 90% at 50% 120%, rgba(212, 255, 0, 0.32), transparent 70%),
    var(--surface);
}
.final__text {
  margin: 0;
  max-width: 520px;
  color: var(--text-2);
  line-height: 1.55;
}
.final__box .btn { width: 100%; }

/* Подвал */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 calc(32px + env(safe-area-inset-bottom));
}
.footer__inner {
  display: grid;
  gap: 28px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__sub { font-size: 14px; color: var(--text-3); }
.footer__text {
  margin: 0;
  max-width: 340px;
  font-size: 14px;
  color: var(--text-3);
}
.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.footer__nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #D0D0D0;
  text-decoration: none;
  font-weight: 500;
}
.footer__social { display: flex; gap: 10px; }
.icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, color 0.25s;
}
.footer__rights {
  margin: 0;
  font-size: 13px;
  color: var(--text-3);
}

/* Нижняя плашка (только телефон) */
.mbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(8, 8, 8, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  visibility: hidden;
  transform: translateY(110%);
  transition: transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
}
.mbar.is-visible {
  visibility: visible;
  transform: translateY(0);
  transition: transform 0.3s var(--ease-out), visibility 0s;
}
.mbar .btn { padding: 0 12px; }

/* Появление блоков при прокрутке (только если работает JS) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   ПРИВАТКА (private.html)
   ========================================================= */
.pagehero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}
.pagehero__note svg { flex: 0 0 auto; color: var(--lime); }

/* Тёмная кнопка на лаймовом фоне */
.btn--ink {
  background: var(--ink);
  color: var(--lime);
}
.btn--ink:focus-visible { outline-color: var(--ink); }

/* Телефон с закрытым Telegram-каналом */
.tgc {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  /* сверху — место под Dynamic Island, снизу и по бокам — под скругление экрана */
  padding: 16cqw 5cqw 7cqw;
  background:
    radial-gradient(80% 50% at 50% 100%, rgba(212, 255, 0, 0.12), transparent 70%),
    #0D0D0D;
}
.tgc__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.tgc__head .logo { flex: 0 0 auto; }
.tgc__name {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tgc__name b { font-size: 13px; }
.tgc__name > span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-3);
}
.tgc__feed {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 0;
}
.tgc__post {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 14px 14px 14px 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.tgc__post i {
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11px;
  color: var(--lime);
}
.tgc__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: var(--radius-pill);
  background: #151515;
  color: var(--text-3);
  font-size: 11px;
}

/* Для кого */
.grid-3 {
  display: grid;
  gap: 12px;
}
.acard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}
.acard__num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--lime);
}
.acard__title {
  margin: 6px 0 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
}
.acard__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-3);
}

/* ---------- Вступление: текст + 4 факта ---------- */
.intro {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.intro__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.intro__text .section__sub { max-width: 640px; }
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.35;
  color: var(--text-2);
}
.fact__value {
  display: flex;
  align-items: center;
  min-height: 1.1em;
  font-family: var(--font-head);
  font-weight: 900;
  /* «100%» в ширину ≈ 3.7 × размер шрифта — размер от ширины экрана, чтобы влезало в карточку */
  font-size: clamp(28px, 8.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--lime);
  text-shadow: var(--glow);
}
.fact__inf {
  width: 1.5em;
  height: 0.75em;
  filter: drop-shadow(0 0 12px rgba(212, 255, 0, 0.45));
}

/* ---------- Программа: 8 модулей ---------- */
.program {
  display: grid;
  gap: 10px;
}
.program__col {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
}
.timeline { display: none; }
.module {
  position: relative;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s;
}
.module__head { margin: 0; }
.module__toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title plus"
    "num count plus";
  align-items: center;
  column-gap: 14px;
  row-gap: 2px;
  width: 100%;
  min-height: 72px;
  padding: 16px 16px 16px 18px;
  border: 0;
  background: none;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.module__toggle:disabled { cursor: default; color: var(--text); }
.module__num {
  grid-area: num;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--lime);
}
.module__title {
  grid-area: title;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
}
.module__count {
  grid-area: count;
  font-size: 12px;
  color: var(--text-3);
}
.module__count b { color: var(--lime); }
.module__plus { grid-area: plus; width: 36px; height: 36px; } /* размер явно: в сетке flex-basis не работает */
.module__toggle[aria-expanded="true"] .module__plus {
  transform: rotate(45deg);
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.module__icon { display: none; }
.module__body {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.35s var(--ease-out), visibility 0s linear 0.35s;
}
.module__body > div { overflow: hidden; }
/* При загрузке страницы первый модуль сразу открыт, без анимации (плавность — только по нажатию) */
.program:not(.is-ready) .module__body { transition: none; }
.module.is-open .module__body {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.35s var(--ease-out), visibility 0s;
}
.module__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0 18px 20px;
  list-style: none;
}
.module__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}
.module__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(212, 255, 0, 0.6);
}
/* Модуль 04 — главный навык */
.module--key {
  margin-top: 10px;
  border-color: var(--lime);
  box-shadow: 0 0 40px rgba(212, 255, 0, 0.18);
}
.module__label {
  position: absolute;
  top: -11px;
  left: 18px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ---------- Путь: 8 шагов-чипов (телефон — листается вбок) ---------- */
.path {
  position: relative;
  margin-top: 36px;
}
.path::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(-1 * var(--container-pad));
  width: 56px;
  background: linear-gradient(to right, rgba(8, 8, 8, 0), var(--bg));
  pointer-events: none;
}
.path__list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 calc(-1 * var(--container-pad));
  padding: 4px 56px 4px var(--container-pad);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding: 0 var(--container-pad);
  scrollbar-width: none;
}
.path__list::-webkit-scrollbar { display: none; }
.path__step {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-2);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.path__step--last {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 24px rgba(212, 255, 0, 0.35);
}
.path__sep {
  flex: 0 0 auto;
  display: flex;
  color: var(--text-3);
}
.path__arrow { width: 16px; height: 16px; }

/* ---------- Что вы получаете: bento ---------- */
.bento {
  display: grid;
  gap: 12px;
}
.bento__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s;
}
.bento__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: rgba(212, 255, 0, 0.12);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento__icon svg { width: 24px; height: 24px; }
.bento__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.3;
}
.bento__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-3);
}
.bento__card--main {
  justify-content: flex-end;
  min-height: 220px;
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(255, 255, 255, 0.35), transparent 60%),
    var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 50px rgba(212, 255, 0, 0.3);
}
.bento__card--main .bento__icon { background: var(--ink); color: var(--lime); margin-bottom: auto; }
.bento__card--main .bento__title { font-size: clamp(24px, 7vw, 36px); line-height: 1.1; }
.bento__card--main .bento__text { color: var(--lime-ink); font-size: 16px; }

@media (hover: hover) and (pointer: fine) {
  .module:not(.module--key):hover,
  .bento__card:not(.bento__card--main):hover,
  .fact:hover { border-color: var(--lime); }
}

@media (min-width: 768px) {
  .facts { gap: 14px; }
  .fact { padding: 22px; font-size: 15px; }

  /* Планшет и десктоп: все модули раскрыты */
  .module__toggle {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "num title";
    padding: 22px 84px 14px 22px;
    min-height: 0;
  }
  .module__count,
  .module__plus { display: none; }
  .module__title { font-size: 19px; }
  .module__num { font-size: 40px; }
  .module__icon {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(212, 255, 0, 0.12);
    color: var(--lime);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .module__icon svg { width: 24px; height: 24px; }
  .module__body,
  .module.is-open .module__body {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: none;
  }
  .module__list { padding: 4px 22px 24px; }
  .module__list li { font-size: 15px; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .bento__card--main { grid-column: span 2; min-height: 260px; padding: 32px; }
}

@media (min-width: 1200px) {
  .intro {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }
  .intro__text { flex: 1.25 1 0; min-width: 0; }
  .facts { flex: 1 1 0; min-width: 0; }
  .fact__value { font-size: clamp(40px, 4vw, 56px); }

  /* Две колонки с линией-таймлайном слева */
  .program {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
  }
  .program__col { padding-left: 40px; gap: 16px; }
  .timeline {
    display: block;
    position: absolute;
    left: 13px;
    top: 34px;
    bottom: 34px;
    width: 2px;
    background: var(--border-2);
    border-radius: 2px;
    overflow: hidden;
  }
  .timeline__fill {
    position: absolute;
    inset: 0;
    background: var(--lime);
    box-shadow: 0 0 12px rgba(212, 255, 0, 0.6);
    transform-origin: top center;
    transform: scaleY(var(--progress, 0));
    transition: transform 0.25s linear;
  }
  .module::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 28px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 2px solid var(--border-2);
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
  }
  .module.is-reached::before {
    background: var(--lime);
    border-color: var(--lime);
    box-shadow: 0 0 14px rgba(212, 255, 0, 0.7);
  }
  .module--key { margin-top: 12px; }

  /* Путь: в одну строку */
  .path { margin-top: 48px; }
  .path::after { display: none; }
  .path__list {
    justify-content: space-between;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .path__step { padding: 10px 14px; font-size: 13px; }

  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(190px, auto);
    gap: 16px;
  }
  .bento__card--main { grid-column: span 2; grid-row: span 2; padding: 40px; }
}

/* Тарифы. Телефон: в порядке разметки — Навсегда → 3 месяца → 1 месяц */
.tariffs {
  display: grid;
  gap: 22px;
  padding-top: 12px;
}
.tcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 22px 22px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.tcard__label {
  position: absolute;
  top: -13px;
  left: 22px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  border: 1px solid var(--lime);
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.tcard__name {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
}
.tcard__price {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(34px, 10vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.tcard__note {
  margin: 0;
  font-size: 14px;
  color: var(--text-3);
}
.tcard__permonth { color: var(--lime); font-weight: 700; }
.tcard__list {
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tcard__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}
.tcard__list li::before {
  content: '';
  flex: 0 0 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(212, 255, 0, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4FF00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tcard .btn { margin-top: auto; width: 100%; }

.tcard--best {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
  box-shadow: 0 0 50px rgba(212, 255, 0, 0.35);
}
.tcard--best .tcard__note { color: var(--lime-ink); }
.tcard--best .tcard__list li::before {
  background: rgba(10, 10, 10, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.tcard__key strong { font-weight: 800; }

/* Плашка «Материалы обновляются» под тарифами. Телефон: иконка сверху, текст и бейдж под ней */
.tupdate {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
  padding: 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.tupdate__icon {
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}
.tupdate__icon svg { width: 24px; height: 24px; }
.tupdate__body { min-width: 0; }
.tupdate__title {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
}
.tupdate__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}
.tupdate__badge {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Переписка с ботом */
.tgchat {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(60% 40% at 100% 0%, rgba(212, 255, 0, 0.06), transparent 70%),
    #0E0E0E;
}
.tgchat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.tgchat__head .logo { width: 36px; height: 36px; }
.tgchat__who { display: flex; flex-direction: column; }
.tgchat__who b { font-size: 15px; }
.tgchat__who span { font-size: 12px; color: var(--text-3); }
.tgchat__steps {
  margin: 0;
  padding: 20px 14px 24px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.tgchat__steps > li {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tgchat__step {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 0 0 4px;
  padding: 5px 14px 5px 5px;
  border-radius: var(--radius-pill);
  background: rgba(212, 255, 0, 0.1);
  color: var(--lime);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.tgchat__step b {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11px;
}
.msg {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: break-word;
}
.msg--in {
  align-self: flex-start;
  background: #1C1C1C;
  border-bottom-left-radius: 6px;
}
.msg--out {
  align-self: flex-end;
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
  border-bottom-right-radius: 6px;
}
.msg--qr {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.msg__qr {
  flex: 0 0 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--text);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.msg__qr svg { width: 36px; height: 36px; }
.msg--file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.msg__link {
  display: block;
  margin: 6px 0 4px;
  color: var(--lime);
  font-weight: 700;
}
.msg__muted {
  display: block;
  font-size: 12px;
  color: var(--text-3);
}
.msg-kb {
  align-self: flex-start;
  display: grid;
  gap: 6px;
  width: min(100%, 320px);
}
.msg-kb > span {
  padding: 10px 12px;
  border-radius: 12px;
  background: #1C1C1C;
  border: 1px solid var(--border-2);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.msg-kb > span.is-picked {
  border-color: var(--lime);
  color: var(--lime);
}
.how__help {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}
.how__help svg { flex: 0 0 auto; margin-top: 1px; color: var(--lime); }

/* Финал: тарифы коротко */
.final__plans {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 820px;
  margin-top: 6px;
}
.plan-btn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name  cta"
    "price cta";
  align-items: center;
  column-gap: 12px;
  min-height: 72px;
  padding: 14px 14px 14px 20px;
  border-radius: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--text);
  text-align: left;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}
.plan-btn__name { grid-area: name; font-size: 13px; color: var(--text-3); }
.plan-btn__price {
  grid-area: price;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
}
.plan-btn__cta {
  grid-area: cta;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: #262626;
  font-weight: 700;
  font-size: 14px;
}
.plan-btn--best {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  box-shadow: var(--glow);
}
.plan-btn--best .plan-btn__name { color: var(--lime-ink-2); }
.plan-btn--best .plan-btn__cta { background: var(--ink); color: var(--lime); }
.plan-btn--best:focus-visible { outline-color: var(--text); }

@media (hover: hover) and (pointer: fine) {
  .acard:hover { border-color: var(--lime); transform: translateY(-2px); }
  .tcard:not(.tcard--best):hover { border-color: var(--lime); }
  .tcard--best:hover { box-shadow: 0 0 70px rgba(212, 255, 0, 0.5); }
  .plan-btn:hover { transform: translateY(-2px); border-color: var(--lime); }
  .btn--ink:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .acard { padding: 28px; }
  .acard__title { font-size: 20px; }

  .tariffs { max-width: 560px; margin: 0 auto; }
  .tupdate {
    max-width: 560px;
    margin: 22px auto 0;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
  }
  .tupdate__body { flex: 1; }

  .tgchat__steps { padding: 28px 28px 32px; gap: 26px; }
  .msg { max-width: 70%; font-size: 15px; }
  .tgc__post { font-size: 13px; }

  .final__plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-btn {
    grid-template-columns: 1fr;
    grid-template-areas: "name" "price" "cta";
    justify-items: center;
    row-gap: 6px;
    padding: 20px 16px;
    text-align: center;
  }
  .plan-btn__cta { margin-top: 8px; }
}

/* Тарифы: 3 в ряд, «Навсегда» по центру и выше */
@media (min-width: 1024px) {
  .tariffs {
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    padding-top: 48px;
  }
  .tcard--1m { order: 1; }
  /* Все карточки одной высоты, «Купить» прижата вниз (margin-top: auto) — кнопки на одной линии.
     «Навсегда» сдвинута на 32px вверх целиком, её кнопка ровно на 32px выше */
  .tcard--best { order: 2; margin: -32px 0 32px; padding-top: 40px; padding-bottom: 32px; }
  .tcard--3m { order: 3; }
  .tcard { padding: 32px 28px 28px; }
  .tcard__price { font-size: clamp(40px, 3.6vw, 52px); }
  .tupdate { max-width: none; margin-top: 20px; }
}

/* =========================================================
   ГЛАВНАЯ — блоки после первого экрана
   ========================================================= */
.section__more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.section__more .btn { width: 100%; }

/* Тизеры «Для бизнеса» и «Приватка» */
.teaser {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(212, 255, 0, 0.1), transparent 70%),
    var(--surface);
}
.teaser > .btn { width: 100%; }
.teaser__top {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.teaser__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.teaser__price {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(36px, 11vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lime);
  text-shadow: var(--glow);
  white-space: nowrap;
}

/* 5 шагов в одну строку (на телефоне — листается вбок) */
.steps-line {
  display: flex;
  gap: 8px;
  width: calc(100% + 48px);
  margin: 0 -24px;
  padding: 2px 24px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.steps-line::-webkit-scrollbar { display: none; }
.steps-line li {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.steps-line__num {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11px;
}

/* Лаймовый тизер приватки (как лаймовая карточка в hero) */
.teaser--lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 60px rgba(212, 255, 0, 0.3);
}
.teaser--lime .section__sub { color: var(--lime-ink); }
.teaser--lime :focus-visible { outline-color: var(--ink); }
.badge--ink {
  background: var(--ink);
  color: var(--lime);
}
.teaser__points {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.teaser__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.08);
}
.teaser__points b {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}
.teaser__points li span span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--lime-ink);
}
.teaser__icon {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
}
.teaser__icon svg { width: 20px; height: 20px; }
.teaser__plans {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  color: var(--lime-ink);
}
.teaser__plans > span {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 10, 0.08);
}
.teaser__plans b { color: var(--ink); }

/* Финальный призыв главной: текст + две карточки, справа (телефон — снизу) телефон с роликом */
.final__box--split {
  align-items: stretch;
  text-align: left;
  gap: 36px;
}
.final__main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.final__main .final__text { max-width: 560px; }
.final__cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.final__phone {
  position: relative;
  display: flex;
  justify-content: center;
}
.final__phone .hero__glow { top: 60px; }

@media (min-width: 768px) {
  .section__more .btn { width: auto; }

  .teaser { padding: 40px; gap: 32px; }
  .teaser > .btn { width: auto; }
  .teaser__price { font-size: clamp(48px, 6vw, 72px); }
  .steps-line {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }
  .steps-line li {
    justify-content: flex-start;
    white-space: normal;
    border-radius: 18px;
    padding: 10px 14px 10px 10px;
  }
  .teaser__points { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .final__cards { flex-direction: row; }
  .final__cards .hcard {
    flex: 1 1 0;
    min-width: 0;
    grid-template-areas:
      "tag   arrow"
      "title title"
      "sub   sub"
      "price price";
    align-content: start;
    row-gap: 10px;
    padding: 24px;
  }
  /* Телефон в финале чуть меньше, чем на первом экране */
  .final__phone { height: 520px; align-items: center; }
  .final__phone .phone { transform: scale(0.8); }
}

@media (min-width: 1200px) {
  /* Цена справа от текста — только на десктопе, где хватает места даже для «1500 сомдон» */
  .teaser__top {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }
  .teaser__top .teaser__intro { flex: 1 1 0; min-width: 0; }
  .final__box--split {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 56px 64px;
  }
  .final__main { flex: 1 1 0; min-width: 0; }
  .final__phone { flex: 0 0 300px; }
}

/* =========================================================
   РАБОТЫ (works.html)
   ========================================================= */
.pagehero--compact .pagehero__grid { padding-bottom: 8px; }
.section.section--tight { padding-top: 16px; }

/* Фильтр-чипсы: на телефоне — горизонтальный скролл */
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 calc(-1 * var(--container-pad)) 24px;
  padding: 4px var(--container-pad);
  scrollbar-width: none;
  scroll-padding: 0 var(--container-pad);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

/* Сетка роликов: телефон 2, планшет 3, десктоп 4 колонки */
.works-grid__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 12px;
}
.works-grid .wcard { position: relative; gap: 10px; }
.works-grid .wcard[hidden] { display: none; }
.works-grid .wphone__plate {
  left: 6px;
  right: 6px;
  padding: 7px 6px;
  border-radius: 9px;
  /* 2 колонки на узком телефоне: шрифт от ширины экрана, длинные слова («ЖОМОКТОГУДАЙ») целиком */
  font-size: clamp(8.5px, 2.6vw, 10.5px);
  overflow-wrap: normal;
}
.works-grid .wcard__title { font-size: 13px; }
.works-grid .wcard__niche { font-size: 12px; }
.works-grid .wcard__brand { font-size: 12px; }
.wcard__open {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  width: 100%;
  aspect-ratio: 300 / 620;
  border: 0;
  border-radius: 22px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.wcard__open:focus-visible { outline-offset: 2px; }
.works-empty {
  margin: 0;
  padding: 40px 0;
  text-align: center;
  color: var(--text-3);
}

/* Полноэкранный просмотр */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: #000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.viewer.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s ease, visibility 0s;
}
.viewer > .viewer__video { display: none; }
.viewer__track {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.viewer__track::-webkit-scrollbar { display: none; }
.vslide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
/* Слайд: сверху место под счётчик и крестик, посередине ролик целиком (contain) на чёрном,
   снизу подписи и кнопка — интерфейс не лежит на видео */
.vslide__frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: calc(68px + env(safe-area-inset-top));
  background: #000;
}
.vslide__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #000;
}
.vslide__poster,
.vslide__media .viewer__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.vslide__media .viewer__video { display: block; }
.vslide.is-playing .vslide__poster { opacity: 0; transition: opacity 0.3s; }
.vslide__soon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}
.vslide__plate {
  max-width: 320px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.85);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.15;
  text-transform: uppercase;
}
.vslide__soon-text { color: var(--text-2); font-size: 14px; }
.vslide__tap {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.vslide__tap:focus-visible { outline-offset: -6px; }
.vslide .phone__sound {
  z-index: 2;
  top: 10px;
  right: 16px;
  width: 36px;
  height: 36px;
  pointer-events: none;
}
.vslide.is-playing .phone__sound { opacity: 1; }
.vslide .phone__sound svg { width: 18px; height: 18px; }
.viewer .ico-muted,
.viewer.is-muted .ico-sound { display: none; }
.viewer.is-muted .ico-muted { display: block; }
.vslide__info {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 20px calc(18px + env(safe-area-inset-bottom));
  background: #000;
  pointer-events: none;
}
.vslide__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
}
.vslide__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
}
.vslide__meta .views { font-size: 13px; }
.vslide__meta .views svg { width: 17px; height: 17px; flex-basis: 17px; }
.vslide__brand {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.vslide__niche {
  margin: 0;
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
}
.vslide__want {
  pointer-events: auto;
  margin-top: 12px;
  width: 100%;
}
.viewer__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(12px + env(safe-area-inset-top)) 16px 24px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), transparent);
  pointer-events: none;
}
.viewer__top > * { pointer-events: auto; }
.viewer__count {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.45);
  font-size: 14px;
  font-weight: 700;
}
.viewer__hint {
  font-size: 13px;
  color: var(--text-2);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.viewer.show-hint .viewer__hint { opacity: 1; }
.viewer__close,
.viewer__arrow {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.viewer__nav { display: none; }

@media (hover: hover) and (pointer: fine) {
  .chip[aria-pressed="false"]:hover { border-color: var(--lime); color: var(--text); }
  .viewer__close:hover,
  .viewer__arrow:not(:disabled):hover { background: rgba(212, 255, 0, 0.22); }
}

@media (min-width: 768px) {
  .chips { flex-wrap: wrap; margin: 0 0 36px; padding: 0; overflow: visible; }
  .works-grid__track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; }
  .works-grid .wphone__plate { left: 10px; right: 10px; padding: 10px; border-radius: 12px; font-size: 13px; }
  .works-grid .wcard__title { font-size: 15px; }
  .works-grid .wcard__niche { font-size: 13px; }
  .works-grid .wcard__brand { font-size: 13px; }
  .wcard__open { border-radius: 30px; }

  .vslide__frame { padding: 88px 96px 0; align-items: center; }
  /* Сцена ровно по размеру ролика 9:16 — кнопка звука в углу видео, а не на чёрном поле */
  .vslide__stage { aspect-ratio: 9 / 16; max-width: 100%; border-radius: 20px; }
  .vslide__info { align-self: stretch; }
  .vslide .phone__sound { top: 16px; }
  .vslide__info { padding: 16px 0 24px; }
  .vslide__want { width: auto; }
  .viewer__top { background: none; padding: 20px 24px; }
  .viewer__nav {
    position: absolute;
    right: 24px;
    top: 50%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateY(-50%);
  }
  .viewer__close,
  .viewer__arrow { width: 52px; height: 52px; }
  .viewer__arrow:disabled { opacity: 0.3; cursor: default; }
}

@media (min-width: 1200px) {
  .works-grid__track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 28px; }

  /* Большой экран: ролик 9:16 по центру во всю высоту, подписи и кнопка — справа от него */
  .vslide__frame {
    width: auto;
    height: calc(100% - 48px);
    flex-direction: row;
    align-items: flex-end;
    gap: 32px;
    padding: 0;
  }
  .vslide__stage {
    flex: 0 0 auto;
    height: 100%;
    max-width: none;
    border-radius: 28px;
    box-shadow: 0 0 0 1px var(--border-2), 0 0 80px rgba(212, 255, 0, 0.12);
  }
  .vslide__info { width: 300px; align-self: flex-end; padding: 0 0 8px; background: none; }
  /* Подсказка «Листайте» по центру верхней строки легла бы на ролик — на десктопе есть стрелки справа */
  .viewer__hint { display: none; }
}

/* =========================================================
   СТРАНИЦА 404
   ========================================================= */
.nf {
  position: relative;
  overflow: hidden;
  overflow: clip;
  min-height: calc(100vh - var(--header-h) - 120px);
  min-height: calc(100svh - var(--header-h) - 120px);
  display: flex;
  align-items: center;
  background: radial-gradient(50% 45% at 50% 40%, rgba(212, 255, 0, 0.14), transparent 70%);
}
.nf__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 48px;
  padding-bottom: 72px;
  text-align: center;
}
.nf__code {
  margin: 0 0 -8px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(110px, 34vw, 240px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px var(--lime);
  text-shadow: 0 0 60px rgba(212, 255, 0, 0.25);
}
.nf .lead { margin: 0 auto; }

/* Ссылка на @qningo внутри текста */
.contact-link {
  color: var(--lime);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .contact-link:hover { color: var(--text); }
}

/* Временная заготовка (страницы в работе) */
.stub-note { margin: 16px 0 0; color: var(--text-3); }

@media (hover: hover) and (pointer: fine) {
  .fcard:hover { border-color: var(--lime); transform: translateY(-2px); }
  .link-arrow:hover svg { transform: translateX(4px); }
  .footer__nav a:hover { color: var(--text); }
  .icon-btn:hover { border-color: var(--lime); color: var(--lime); }
  .wphone:hover .phone-frame { filter: drop-shadow(0 0 14px rgba(212, 255, 0, 0.45)); }
  .faq__q button:hover .faq__icon { border-color: var(--lime); }
}

@media (min-width: 768px) {
  .section { padding: 96px 0; }
  .section__head { margin-bottom: 44px; }
  .section__sub,
  .lead { font-size: 18px; }
  .btn-row { flex-direction: row; flex-wrap: wrap; }

  .mbar { display: none; }

  .pagehero__grid { padding-top: 36px; padding-bottom: 72px; gap: 48px; }
  .page-title { font-size: clamp(44px, 7vw, 64px); line-height: 1.02; }
  .page-title .lime { text-shadow: var(--glow); }
  .pagehero__stage .hero__glow { top: 30px; }

  .grid-4 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .fcard { padding: 28px; }
  .fcard__title { font-size: 20px; }

  .price { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
  .price__main, .price__factors { padding: 36px; }
  .price__value { font-size: clamp(56px, 7vw, 80px); }
  .price__text { font-size: 17px; }

  .works-strip__track > .wcard { flex-basis: 36%; }

  .brief { padding: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .brief__intro .btn { width: auto; }

  .faq__q button { font-size: 18px; min-height: 76px; }

  .final__box { padding: 80px 40px; border-radius: 36px; }
  .final__box .btn { width: auto; }

  .footer__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
    align-items: start;
  }
  .footer__rights { grid-column: 1 / -1; }
}

@media (min-width: 1200px) {
  .section { padding: 120px 0; }

  .pagehero__grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 96px;
  }
  .pagehero__text { flex: 1 1 0; max-width: 780px; gap: 22px; }
  .pagehero__stage { flex: 0 0 420px; }
  .page-title { font-size: clamp(52px, 4.45vw, 64px); }

  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* 4 в ряд: «Ролик-объяснение» не переносится по дефису, поэтому заголовок чуть меньше */
  .grid-4 .fcard__title { font-size: 18px; }

  /* Шаги: в линию 01–04 */
  .steps {
    flex-direction: row;
    gap: 20px;
  }
  .steps::before {
    left: 12.5%;
    right: 12.5%;
    top: 23px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--lime), rgba(212, 255, 0, 0.15));
  }
  .step {
    flex: 1 1 0;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .step__title { margin-top: 14px; font-size: 20px; }

  /* Ролики: 4 в ряд волной */
  .works-strip__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 240px));
    justify-content: center;
    gap: 40px;
    overflow: visible;
    padding-top: 40px;
  }
  .works-strip__track > .wcard:nth-child(2),
  .works-strip__track > .wcard:nth-child(3) { transform: translateY(-36px); }
  .dots { display: none; }
}

/* ---------- Без анимаций для тех, кто их отключил ---------- */
/* =========================================================
   ДЛЯ БИЗНЕСА — расширенные блоки
   ========================================================= */

/* Плейсхолдер [В СКОБКАХ]: место, где владелец должен вписать свой факт */
mark.ph {
  padding: 1px 6px;
  border-radius: 6px;
  background: #FF4FD8;
  color: #0A0A0A;
  font-weight: 700;
  overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Почему ИИ: сравнение. Телефон — пары карточек «было → стало» */
.vs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.vs__row { display: flex; flex-direction: column; }
.vs__row--head { display: none; }
.vs__cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 16px;
}
.vs__cell--old {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-3);
}
.vs__cell--new {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 36px rgba(212, 255, 0, 0.25);
}
.vs__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.vs__cell--new .vs__tag { color: var(--lime-ink); }
.vs__text {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
}
.vs__cell--new .vs__text { font-weight: 600; }
.vs__text::before {
  content: '';
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.vs__cell--new .vs__text::before {
  background: rgba(10, 10, 10, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.vs__arrow {
  position: relative;
  z-index: 1;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin: -8px 0;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-2);
  color: var(--lime);
}
.vs__arrow svg { width: 16px; height: 16px; }

/* Ниши: 2 колонки уже на телефоне */
.niches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ncard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 14px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s;
}
.ncard__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
  border-radius: 12px;
  background: rgba(212, 255, 0, 0.12);
  color: var(--lime);
}
.ncard__icon svg { width: 20px; height: 20px; }
.ncard__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.25;
}
.ncard__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-3);
}
.niches__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  margin: 24px 0 0;
  text-align: center;
  color: var(--text-2);
  font-size: 15px;
}
.niches__more .link-arrow { display: inline; min-height: 0; padding: 10px 0; }
.niches__more .link-arrow svg { display: inline-block; margin-left: 6px; vertical-align: -3px; }

/* Что входит в ролик. Телефон: заголовок → телефон → список */
.incl {
  display: grid;
  grid-template-areas: "head" "stage" "list";
  row-gap: 28px;
}
.incl__head { grid-area: head; margin-bottom: 0; }
.incl__stage {
  grid-area: stage;
  position: relative;
  display: flex;
  justify-content: center;
}
.incl__stage .hero__glow { top: 60px; }
.incl__list {
  grid-area: list;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.incl__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.incl__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 18px rgba(212, 255, 0, 0.3);
}
.incl__ico svg { width: 16px; height: 16px; }

/* Как проходит работа: срок и роли «Вы / Мы» */
.process__term {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: -8px 0 28px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(212, 255, 0, 0.08);
  border: 1px solid rgba(212, 255, 0, 0.3);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.process__term svg { flex: 0 0 20px; color: var(--lime); }
.steps--roles .step__card {
  padding: 14px 16px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.steps--roles .step__title { margin: 0 0 10px; }
/* Телефон и планшет: линия рисуется отрезками между кружками и заканчивается на последнем шаге */
@media (max-width: 1199px) {
  .steps--roles::before { display: none; }
  .steps--roles .step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: -24px;
    width: 2px;
    background: linear-gradient(var(--lime), rgba(212, 255, 0, 0.35));
  }
}
.step__roles {
  display: grid;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-3);
}
.step__roles dt { display: inline; font-weight: 700; color: var(--text); }
.step__roles dd { display: inline; margin: 0; }
.step__we dt { color: var(--lime); }

/* Почему ZETT: bento из 4 карточек */
.bento--why .bento__card--main { min-height: 240px; }

@media (hover: hover) and (pointer: fine) {
  .ncard:hover { border-color: var(--lime); }
}

@media (max-width: 389px) {
  .ncard { padding: 14px 12px; }
  .ncard__title { font-size: 13px; }
}

@media (min-width: 768px) {
  /* Сравнение: таблица, правая колонка лаймовая и со свечением */
  .vs {
    position: relative;
    gap: 0;
    margin-top: 12px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
  }
  .vs::after {
    content: '';
    position: absolute;
    top: -12px;
    bottom: -12px;
    right: -1px;
    width: 50%;
    border-radius: 24px;
    background: var(--lime);
    box-shadow: 0 0 60px rgba(212, 255, 0, 0.3);
  }
  .vs__row,
  .vs__row--head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .vs__arrow,
  .vs__tag { display: none; }
  .vs__cell {
    padding: 20px 28px;
    border-radius: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .vs__row:not(.vs__row--head) .vs__cell--old { border-top: 1px solid var(--border); }
  .vs__row:not(.vs__row--head) .vs__cell--new { border-top: 1px solid rgba(10, 10, 10, 0.12); }
  .vs__row--head .vs__cell {
    display: block;
    padding-top: 26px;
    padding-bottom: 18px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 18px;
  }
  .vs__row--head .vs__cell--old { color: var(--text-3); }
  .vs__text { font-size: 16px; }

  .niches { gap: 14px; }
  .ncard { padding: 24px; gap: 10px; }
  .ncard__icon { flex-basis: 48px; width: 48px; height: 48px; border-radius: 14px; }
  .ncard__icon svg { width: 24px; height: 24px; }
  .ncard__title { font-size: 17px; }
  .ncard__text { font-size: 14px; }

  .incl__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .bento--why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento--why .bento__card--main { grid-column: span 3; }
}

@media (min-width: 1024px) {
  .niches { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  /* Телефон слева, заголовок и список справа */
  .incl {
    grid-template-columns: 420px minmax(0, 1fr);
    grid-template-areas: "stage head" "stage list";
    grid-template-rows: auto 1fr;
    column-gap: 64px;
    row-gap: 32px;
    align-items: start;
  }
  .incl__head { align-self: end; }
  .incl__list { grid-template-columns: 1fr; }
}

@media (min-width: 1200px) {
  .vs__cell { padding: 22px 40px; }
  .vs__row--head .vs__cell { font-size: 20px; }

  /* Шаги: карточки под номерами одной высоты */
  .steps--roles { align-items: stretch; }
  .steps--roles .step { grid-template-rows: auto 1fr; }
  .steps--roles .step__card {
    justify-self: stretch;
    margin-top: 18px;
    padding: 20px 18px;
    text-align: left;
  }
  .steps--roles .step__title { margin: 0 0 12px; font-size: 18px; }
  .process__term { margin-bottom: 36px; }

  /* Почему ZETT: крупная лаймовая слева, три карточки справа */
  .bento--why {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    grid-auto-rows: auto;
  }
  .bento--why .bento__card--main { grid-column: 1; grid-row: span 3; min-height: 0; padding: 40px; }
  .bento--why .bento__card:not(.bento__card--main) {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 4px;
    align-content: center;
    padding: 24px 28px;
  }
  .bento--why .bento__card:not(.bento__card--main) .bento__icon { grid-row: span 2; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .px { transform: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .phone__hearts { display: none; }
  .timeline__fill { transform: none; }
}
