/* ==========================================================================
   AI Product Builder — базовый слой
   ========================================================================== */

/* Sansation Bold: положи файлы в assets/fonts/ и раскомментируй.
   Кириллицы в Sansation нет — русские глифы автоматически возьмутся
   из Onest, поэтому он стоит следующим в стеке. */
@font-face {
  font-family: 'Sansation';
  src: url('../assets/fonts/Sansation-Bold.woff2') format('woff2'),
       url('../assets/fonts/Sansation-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --lime: #C0FF13;
  --lime-dim: #8FBF0E;

  /* Компаньоны лайма. Красный намеренно тёплый и приглушённый: чистый
     #FF0000 рядом с кислотно-зелёным даёт вибрацию и режет глаз. */
  --red: #FF6B4A;
  --red-soft: rgba(255, 107, 74, .12);
  --amber: #FFC24D;

  --bg: #0B0C0A;
  --bg-soft: #121410;

  /* Поверхности карточек. На почти чёрном фоне граница в 8% альфы
     практически не видна — объём даёт заливка, а не обводка. */
  --card: #14170F;
  --card-2: #1A1E15;
  --card-line: rgba(242, 244, 240, .09);
  --ink: #F2F4F0;
  --ink-2: #C3C8B8;
  --ink-3: #8E947F;
  --line: rgba(242, 244, 240, .13);
  --line-2: rgba(242, 244, 240, .08);

  --font-display: 'Sansation', 'Onest', system-ui, sans-serif;
  --font-text: 'Onest', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --gutter: clamp(20px, 4vw, 64px);
  --shell: 1680px;
  --r: 14px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

::selection { background: var(--lime); color: #0B0C0A; }

/* --------------------------------------------------------------------------
   Фон: сцена, виньетка, зерно
   -------------------------------------------------------------------------- */

/* Слот не создаёт собственный бокс: канвас внутри позиционируется
   фиксированно, кнопка — относительно .hero. */
.scene-slot { display: contents; }

/* На широких экранах сцена — фон во весь вьюпорт. position:fixed выводит
   её из потока, поэтому на месте в разметке (внутри hero) она не влияет
   на раскладку. */
#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

/* Радиальная виньетка + затемнение под текстовой колонкой,
   чтобы типографика всегда читалась поверх частиц. */
/* Лежит внутри hero между сценой (z-index 0) и текстом (z-index 2) */
.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 72% 45%, rgba(192, 255, 19, .07), transparent 58%),
    linear-gradient(100deg, var(--bg) 16%, rgba(11, 12, 10, .82) 34%, rgba(11, 12, 10, 0) 56%),
    radial-gradient(140% 110% at 50% 50%, transparent 42%, rgba(0, 0, 0, .72) 100%);
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 2;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(6) infinite;
}

@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -2%); }
  80%  { transform: translate(3%, 1%); }
  100% { transform: translate(0, 0); }
}

/* --------------------------------------------------------------------------
   Навигация
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: clamp(14px, 2vw, 26px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  width: calc(100% - var(--gutter) * 2);
  max-width: 1180px;
  padding: 9px 9px 9px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 17, 13, .58);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.nav__logo { display: flex; flex: 0 0 auto; }
.nav__logo img { display: block; width: 78px; height: auto; }

.nav__links {
  display: flex;
  gap: clamp(10px, 1.4vw, 22px);
  margin-left: auto;
  font-size: 13.5px;
  white-space: nowrap;
  color: var(--ink-2);
}

.nav__links a {
  position: relative;
  padding: 4px 0;
  transition: color .25s var(--ease);
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   Кнопки
   -------------------------------------------------------------------------- */

/* Импульс по контуру: раз в несколько секунд по краю пробегает светлая
   искра. Угол конического градиента анимируется через @property — обычная
   переменная в keyframes не интерполируется. */
@property --spark {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.btn {
  --pad: 12px 20px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad);
  border-radius: 999px;
  background: var(--lime);
  color: #0B0C0A;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform .4s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(192, 255, 19, .5), 0 14px 44px -12px rgba(192, 255, 19, .65);
}

.btn:hover svg { transform: translateX(4px); }

.btn::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--spark),
    transparent 0 72%,
    rgba(214, 255, 122, .4) 80%,
    #EAFF9E 86%,
    rgba(214, 255, 122, .4) 92%,
    transparent 98%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  animation: btn-spark 5s var(--ease) infinite;
}

@keyframes btn-spark {
  0%        { --spark: 0deg;   opacity: 0; }
  4%        { opacity: 1; }
  44%       { opacity: 1; }
  50%, 100% { --spark: 360deg; opacity: 0; }
}

/* Кнопки в потоке зажигаются со сдвигом — иначе страница мигает разом */
.plan--featured .btn::after { animation-delay: .8s; }
.final__btn::after { animation-delay: 1.6s; }

/* Тёмные кнопки тарифов не лаймовые — искра там ни к чему */
.plan:not(.plan--featured) .plan__btn::after { content: none; }

@media (prefers-reduced-motion: reduce) {
  .btn::after { animation: none; }
}

.btn--lg {
  --pad: 17px 28px;
  font-size: 16px;
}

.btn--lg svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Первый экран
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(24px, 3.6vh, 60px);
  min-height: 100svh;
  padding: clamp(96px, 12vh, 136px) var(--gutter) 20px;
  max-width: var(--shell);
  margin-inline: auto;
}

/* auto-поля центрируют колонку в свободном пространстве, при этом нижняя
   полоса с фактами остаётся прижатой к низу экрана. */
.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
  margin-block: auto;
}

.stage-hit {
  position: absolute;
  top: 0;
  right: 0;
  bottom: clamp(90px, 12vh, 130px);
  left: 48%;
  z-index: 4;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.stage-hit:focus { outline: none; }

.stage-hit:focus-visible {
  outline: 1px solid var(--lime);
  outline-offset: -12px;
  border-radius: 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.005em;
  color: var(--ink-2);
}

/* --accent задают только компоненты со своим цветом (этапы, карточки года).
   В надзаголовках секций его нет, поэтому нужен запасной вариант: без него
   background: var(--accent) невалиден и точка просто не рисуется. */
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, var(--lime));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent, var(--lime)) 18%, transparent);
}

.hero__title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6.4vw, 106px);
  line-height: .9;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.hero__title em {
  font-style: normal;
  color: var(--lime);
}

.hero__lead {
  margin-top: clamp(16px, 2.2vh, 26px);
  max-width: 29em;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.5;
  color: var(--ink-2);
}

.hero__lead b { color: var(--ink); font-weight: 600; }

.hero__sub {
  margin-top: 12px;
  max-width: 44em;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
}

.hero__sub b { color: var(--ink-2); font-weight: 500; }

/* Аудитория */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tags li {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}

.tags li:hover { border-color: rgba(192, 255, 19, .45); color: var(--ink); }

/* CTA */
.cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: clamp(22px, 3.2vh, 36px);
}

.cta__note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

.pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%   { transform: scale(1); opacity: .55; }
  70%  { transform: scale(3.6); opacity: 0; }
  100% { transform: scale(3.6); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Нижняя полоса: факты + рельса этапов
   -------------------------------------------------------------------------- */

.hero__foot {
  position: relative;
  z-index: 2;
  padding-top: clamp(16px, 2.4vh, 26px);
  border-top: 1px solid var(--line-2);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0 9px clamp(12px, 1.4vw, 22px);
}

.facts li:first-child { padding-left: 0; }
.facts li + li { border-left: 1px solid var(--line-2); }

.facts .ic {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .9;
}

.facts b {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  /* Частицы больше не лежат под текстом, поэтому плотный скрим не нужен */
  .veil {
    background: radial-gradient(120% 60% at 50% 40%, rgba(192, 255, 19, .05), transparent 70%);
  }

  .nav__links { display: none; }
  .nav { justify-content: space-between; padding-left: 18px; }

  .hero { gap: 22px; min-height: auto; padding-bottom: 28px; overflow: clip; }

  /* Сцена — накладка поверх правого верхнего угла текста, а не блок в потоке:
     в потоке она либо съедала пол-экрана, либо ужимала колонку с текстом.
     Вне потока текст идёт на всю ширину, отступ нужен только заголовку. */
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: space-between;
  }

  .hero__copy { grid-column: 1 / -1; grid-row: 1; }
  .hero__foot { grid-column: 1 / -1; grid-row: 2; }

  .scene-slot {
    display: block;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: end;
    /* Сцена лежит в своей колонке, а текст растянут на обе — поэтому её
       размер ни на что в раскладке не влияет. Уводим вправо за отбивку,
       чтобы яркая середина ушла подальше от строк. */
    margin: -38px calc(var(--gutter) * -1.25) 0 0;
    z-index: 2;
    pointer-events: none;
  }

  /* Чуть выше двух строк заголовка */
  #scene {
    position: relative;
    inset: auto;
    width: min(58vw, 288px);
    height: min(58vw, 288px);
    /* Композитор отдаёт непрозрачный кадр со свечением во всю площадь,
       и в потоке был виден светлый квадрат. screen гасит чёрное, радиальная
       маска растворяет края — остаётся висящий в воздухе логотип. */
    mix-blend-mode: screen;
    -webkit-mask-image: radial-gradient(closest-side, #000 48%, transparent 96%);
            mask-image: radial-gradient(closest-side, #000 48%, transparent 96%);
  }

  /* Заголовок не должен уезжать под сцену, остальной текст — во всю ширину */
  .hero__title { padding-right: min(33vw, 168px); }

  /* Кликабельная зона ложится ровно на сцену */
  /* Тапать не нужно: логотипы меняются сами, а зона только мешала бы
     скроллу — она лежит поверх текста */
  .stage-hit { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}

@media (max-width: 680px) {
  .hero { padding-top: 108px; }
  .hero__title { font-size: clamp(30px, 9vw, 54px); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li,
  .facts li + li { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .facts b { white-space: normal; }
  .cta { gap: 14px; }
  .btn--lg { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .pulse::after { animation: none; }
  .btn, .btn svg { transition: none; }
}

/* ==========================================================================
   Общий слой секций
   ========================================================================== */

.section {
  position: relative;
  z-index: 3;
  background: var(--bg);
  padding: 120px 0;
}

/* Каждая секция несёт собственный симметричный отступ — при чередовании
   тёмных и светлых блоков верхний паддинг обязателен на каждом стыке. */

.shell {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell + .shell { margin-top: clamp(72px, 10vh, 132px); }

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.5vw, 56px);
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.h2 em { font-style: normal; color: var(--lime); }

.h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.14;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.h3 em { font-style: normal; color: var(--lime); }

.lead { max-width: 940px; }
.lead__title { margin-top: 20px; }

.lead__text {
  margin-top: clamp(18px, 2.4vh, 26px);
  max-width: 62ch;
  font-size: clamp(15px, 1.1vw, 17.5px);
  line-height: 1.6;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Появление
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

[data-reveal].is-in { opacity: 1; transform: none; }

[data-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

[data-stagger].is-in > *,
.is-in [data-stagger] > * { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Развилка: два пути
   -------------------------------------------------------------------------- */

.fork { margin-top: clamp(56px, 8vh, 96px); }

.fork__claim {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.24;
  letter-spacing: -.02em;
}

.fork__claim em { font-style: normal; color: var(--lime); }

.fork__paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: clamp(28px, 4vh, 44px);
}

.path {
  position: relative;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 36px);
  border: 1px solid var(--card-line);
  border-radius: 18px;
  background: var(--card);
  overflow: hidden;
}

.path--old { background: linear-gradient(165deg, rgba(255, 107, 74, .05), var(--card) 55%); }
.path--new { background: linear-gradient(165deg, rgba(192, 255, 19, .06), var(--card) 55%); }

.path p {
  margin-top: 14px;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: var(--ink-2);
}

.path__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.005em;
  color: var(--ink-2);
}

/* Знак у метки: крестик у старого пути, галочка у нового — чтобы
   полярность карточек читалась до чтения текста. */
.path__ic {
  flex: none;
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: color-mix(in srgb, currentColor 14%, transparent);
}

.path--old .path__tag { color: var(--red); }
.path--new .path__tag { color: var(--lime); }
.path--new p { color: var(--ink); }

/* Цветная засечка на торце карточки */
.path::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
}

.path--old::before { background: linear-gradient(180deg, var(--red), transparent 70%); }
.path--new::before { background: linear-gradient(180deg, var(--lime), transparent 70%); }

/* --------------------------------------------------------------------------
   5 признаков
   -------------------------------------------------------------------------- */

.signs { margin-top: clamp(64px, 9vh, 112px); }

.signs__list {
  margin-top: clamp(26px, 3.5vh, 40px);
  border: 1px solid var(--card-line);
  border-radius: 18px;
  background: var(--card);
  overflow: hidden;
}

.sign {
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  align-items: center;
  gap: 16px;
  padding: clamp(16px, 2vh, 22px) clamp(18px, 2vw, 28px);
  transition: background .4s var(--ease);
}

.sign + .sign { border-top: 1px solid var(--card-line); }

.sign:hover { background: linear-gradient(90deg, var(--red-soft), transparent 48%); }

.sign__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-3);
  transition: color .4s var(--ease);
}

.sign:hover .sign__no { color: var(--red); }

.sign__text {
  font-size: clamp(16px, 1.4vw, 21px);
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--ink-2);
  transition: color .4s var(--ease);
}

.sign:hover .sign__text { color: var(--ink); }

.sign__mark {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: .5;
  transition: stroke .4s var(--ease), opacity .4s var(--ease), transform .4s var(--ease);
}

.sign:hover .sign__mark {
  stroke: var(--red);
  opacity: 1;
  transform: rotate(90deg);
}

/* --------------------------------------------------------------------------
   Личная хроника по годам
   -------------------------------------------------------------------------- */

.years {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
  margin-top: clamp(64px, 9vh, 112px);
}

/* Кадр года. Картинка увеличивается внутри рамки, сама рамка не двигается —
   поэтому overflow: hidden на фигуре и scale на картинке, а не на фигуре. */
.year__shot {
  margin: 0 0 4px;
  aspect-ratio: 453 / 276;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--card-line);
  background: #0B0C0A;
}

.year__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

.year:hover .year__shot { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.year:hover .year__shot img { transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  .year__shot img { transition: none; }
  .year:hover .year__shot img { transform: none; }
}

/* Карточка года: свой акцент на каждый — путь от потери к результату.
   Цифра набрана контуром и заливается при наведении. */
.year {
  --accent: var(--red);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--card-line);
  border-radius: 18px;
  background: var(--card);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}

.year:nth-child(2) { --accent: var(--amber); }
.year.is-now { --accent: var(--lime); }

/* Зарево из-под нижнего края, проступает на наведении */
.year::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -70%;
  width: 130%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 62%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}

.year:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

.year:hover::before { opacity: 1; }

.year.is-now {
  border-color: rgba(192, 255, 19, .3);
  background: linear-gradient(165deg, rgba(192, 255, 19, .07), var(--card) 60%);
}

.year__no {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 5vw, 76px);
  line-height: .92;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  /* Контур вместо заливки — цифра читается как чертёж, а не как текст */
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent) 55%, transparent);
  transition: color .45s var(--ease), -webkit-text-stroke-color .45s var(--ease);
}

.year:hover .year__no {
  color: var(--accent);
  -webkit-text-stroke-color: transparent;
}

.year.is-now .year__no {
  color: var(--accent);
  -webkit-text-stroke-color: transparent;
}

.year__text {
  position: relative;
  flex: 1;
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 1.55;
  color: var(--ink-2);
}

.year__text b { color: var(--ink); font-weight: 600; }

.year__bar {
  position: relative;
  display: block;
  height: 4px;
  border-radius: 4px;
  background: rgba(242, 244, 240, .1);
  overflow: hidden;
}

.year__bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--accent);
  transform: scaleX(var(--v, 0));
  transform-origin: left;
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 120ms + 200ms);
}

.years:not(.is-in) .year__bar i { transform: scaleX(0); }

.years__ask {
  grid-column: 1 / -1;
  margin-top: clamp(12px, 2vh, 24px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 1.9vw, 30px);
  letter-spacing: -.02em;
  color: var(--lime);
}

/* --------------------------------------------------------------------------
   Светлая панель
   -------------------------------------------------------------------------- */

.panel {
  padding: clamp(32px, 4.5vw, 72px);
  border-radius: clamp(20px, 2.4vw, 34px);
  background: #F1F3ED;
  color: #0B0C0A;
}

.panel__head { max-width: 34ch; }
.panel__title { margin-top: 16px; }

.eyebrow--dark { color: #43483B; }
.eyebrow--dark .dot { box-shadow: 0 0 0 4px rgba(140, 190, 10, .2); background: #93C40C; }

.stats {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(32px, 4.5vh, 56px);
  background: rgba(11, 12, 10, .1);
  border: 1px solid rgba(11, 12, 10, .1);
  border-radius: 18px;
  overflow: hidden;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 2.6vw, 34px);
  background: #F1F3ED;
  grid-column: span 6;
}

.stat--wide { grid-column: span 7; }
.stat:nth-child(2) { grid-column: span 5; }
.stat--pair { grid-column: span 12; }

/* Кадр в карточке статистики: скругление в такт самой карточке */
.stat__shot {
  margin: 0 0 clamp(14px, 1.6vh, 20px);
  aspect-ratio: 607 / 245;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card-2);
}

.stat__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 5vw, 76px);
  line-height: .92;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.stat__text {
  flex: 1;
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 1.5;
  color: #43483B;
}

.stat__text b { color: #0B0C0A; font-weight: 600; }

.stat__src {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.005em;
  color: var(--ink-2);
  transition: color .3s var(--ease);
}

.stat__src svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s var(--ease);
}

.stat__src:hover { color: #0B0C0A; }
.stat__src:hover svg { transform: translate(2px, -2px); }

/* Столбцы «было/стало» */
/* Значение стоит НАД столбцом, поэтому сверху нужен запас — иначе
   у столбца с максимумом подпись срезается краем карточки. */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: clamp(178px, 18vw, 238px);
  padding: 46px 0 30px;
}

.bar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 74px;
  height: 100%;
}

.bar i {
  display: block;
  flex: none;
  height: calc(var(--v) * 100%);
  border-radius: 8px 8px 0 0;
  background: #CFD4C6;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .9s var(--ease) .15s;
}

.bar--on i { background: var(--lime); transition-delay: .35s; }
.panel.is-in .bar i { transform: scaleY(1); }

/* Значение центрируем над своим столбцом: при left:0 короткое число
   визуально уезжало влево относительно столбца. */
.bar__v {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  bottom: calc(var(--v) * 100%);
  padding-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 1.9vw, 28px);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.bar__k {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 8px;
  text-align: center;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.005em;
  color: var(--ink-2);
}

/* Горизонтальная шкала */
.meter {
  height: 8px;
  border-radius: 8px;
  background: #D9DDD1;
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease) .3s;
}

.panel.is-in .meter i { transform: scaleX(var(--v)); }

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 64px);
}

.pair__item { display: flex; align-items: baseline; gap: 16px; }

.pair__cap {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.4;
  color: #43483B;
}

/* --------------------------------------------------------------------------
   Сравнение моделей
   -------------------------------------------------------------------------- */

.versus__title { max-width: 20ch; }

.versus__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(32px, 4.5vh, 52px);
}

.col {
  padding: clamp(24px, 2.8vw, 38px);
  border: 1px solid var(--card-line);
  border-radius: 22px;
  background: var(--card);
}

.col--old {
  border-color: rgba(255, 107, 74, .26);
  background: linear-gradient(168deg, rgba(255, 107, 74, .09), var(--card) 58%);
}

.col--new {
  border-color: rgba(192, 255, 19, .28);
  background: linear-gradient(168deg, rgba(192, 255, 19, .09), var(--card) 58%);
}

/* Метка в правом верхнем углу карточки. Абсолют — чтобы картинка не
   участвовала в потоке и не растягивала карточку по высоте. */
.col { position: relative; }

.col__mark {
  position: absolute;
  top: clamp(16px, 1.8vw, 24px);
  right: clamp(16px, 1.8vw, 24px);
  width: clamp(52px, 6vw, 78px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .45));
  transition: transform .5s var(--ease);
}

.col:hover .col__mark { transform: translateY(-3px) rotate(-4deg) scale(1.14); }

/* Бейдж не должен подлезать под картинку */
.col__head { padding-right: clamp(60px, 8vw, 96px); }

.col__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.005em;
}

.col__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.col--old .col__badge {
  background: rgba(255, 107, 74, .14);
  color: var(--red);
}

.col--old .col__badge::before { background: var(--red); }

.col--new .col__badge {
  background: rgba(192, 255, 19, .14);
  color: var(--lime);
}

.col--new .col__badge::before { background: var(--lime); }

.col__list { margin-top: clamp(20px, 2.6vh, 30px); }

.col__list li {
  position: relative;
  padding: 14px 0 14px 34px;
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.4;
}

.col__list li + li { border-top: 1px solid var(--card-line); }

.col--old .col__list li { color: var(--ink-2); }
.col--new .col__list li { color: var(--ink); }

/* Крестик у старой модели, галочка у новой */
.col__list li::before,
.col__list li::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 22px;
  width: 13px;
  height: 2px;
  border-radius: 2px;
}

.col--old .col__list li::before {
  background: var(--red);
  transform: rotate(45deg);
}

.col--old .col__list li::after {
  background: var(--red);
  transform: rotate(-45deg);
}

.col--new .col__list li::before {
  left: 1px;
  top: 17px;
  width: 14px;
  height: 8px;
  background: none;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  border-radius: 1px;
  transform: rotate(-45deg);
}

.col--new .col__list li::after { display: none; }

/* Блок «В какой когорте ты?» — слом ритма: гигантская типографика
   и лаймовый прожектор, идущий за курсором. Вопрос набран дважды —
   приглушённая база и яркий лаймовый слой, который проступает только
   в круге вокруг мыши. Координаты курсора кладёт JS в --mx/--my;
   без указателя (мобайл) круг сам наматывает орбиту. */
.cohort {
  --mx: 50%;
  --my: 40%;
  position: relative;
  margin-top: clamp(40px, 6vh, 72px);
  padding: clamp(40px, 7vw, 96px) clamp(24px, 4vw, 64px);
  border-radius: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--card-line);
  background: var(--card);
  overflow: hidden;
  isolation: isolate;
}

/* Мягкое зарево под курсором + текстура сетки, проявляющаяся рядом */
.cohort::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle 320px at var(--mx) var(--my), rgba(192, 255, 19, .16), transparent 70%);
  transition: opacity .4s var(--ease);
}

.cohort::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(192, 255, 19, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 255, 19, .5) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(circle 260px at var(--mx) var(--my), #000, transparent 72%);
          mask-image: radial-gradient(circle 260px at var(--mx) var(--my), #000, transparent 72%);
}

.cohort__eyebrow {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.005em;
  color: var(--lime);
  margin-bottom: clamp(20px, 3vh, 32px);
}

/* Дважды набранный вопрос лежит стопкой через grid-area */
.cohort__q {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 9vw, 148px);
  line-height: .92;
  letter-spacing: -.04em;
}

.cohort__base,
.cohort__glow { grid-area: 1 / 1; }

/* База — контур, почти без заливки */
.cohort__base {
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 244, 240, .28);
}

/* Лаймовый слой виден только в круге вокруг курсора */
.cohort__glow {
  color: var(--lime);
  -webkit-mask-image: radial-gradient(circle 220px at var(--mx) var(--my), #000 0, transparent 65%);
          mask-image: radial-gradient(circle 220px at var(--mx) var(--my), #000 0, transparent 65%);
  text-shadow: 0 0 40px rgba(192, 255, 19, .5);
}

.cohort__sub {
  position: relative;
  z-index: 1;
  margin-top: clamp(24px, 4vh, 40px);
  max-width: 46ch;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.5;
  color: var(--ink-2);
}

/* Без мыши (тач/мобайл) прожектор сам наматывает круг */
@media (hover: none) {
  .cohort { animation: cohort-orbit 7s ease-in-out infinite; }
}

@keyframes cohort-orbit {
  0%   { --mx: 30%; --my: 34%; }
  25%  { --mx: 72%; --my: 30%; }
  50%  { --mx: 68%; --my: 66%; }
  75%  { --mx: 32%; --my: 62%; }
  100% { --mx: 30%; --my: 34%; }
}

@property --mx { syntax: '<length-percentage>'; inherits: true; initial-value: 50%; }
@property --my { syntax: '<length-percentage>'; inherits: true; initial-value: 40%; }

@media (prefers-reduced-motion: reduce) {
  .cohort { animation: none; }
}

/* --------------------------------------------------------------------------
   Определение и цепочка этапов
   -------------------------------------------------------------------------- */

.define { margin-top: clamp(16px, 2vh, 24px); }

.define__not {
  max-width: 62ch;
  font-size: clamp(15px, 1.1vw, 17.5px);
  line-height: 1.6;
  color: var(--ink-3);
}

.define__not b { color: var(--ink-2); font-weight: 600; }

.define__is {
  margin-top: 18px;
  max-width: 52ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.28;
  letter-spacing: -.02em;
}

/* Полоса этапов роликом. Скругление и рамка — те же, что у карточек
   секции, чтобы видео читалось как ещё один блок, а не вставка. */
.chain-video {
  margin: clamp(30px, 4vh, 44px) 0 0;
  border: 1px solid var(--card-line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  line-height: 0;
}

.chain-video video {
  display: block;
  width: 100%;
  height: auto;
}

.define__note {
  margin-top: clamp(24px, 3vh, 34px);
  max-width: 60ch;
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 1.6;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Четыре этапа
   -------------------------------------------------------------------------- */

.steps { margin-top: clamp(64px, 9vh, 112px); }

.steps__intro {
  max-width: 52ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--ink);
}

.steps__track {
  position: relative;
  margin-top: clamp(32px, 4.5vh, 56px);
  padding-left: clamp(34px, 5vw, 78px);
}

.steps__spine {
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line-2);
}

.steps__spine i {
  display: block;
  height: 100%;
  background: linear-gradient(180deg, var(--lime), rgba(192, 255, 19, .25));
  transform: scaleY(0);
  transform-origin: top;
}

/* Карточка этапа: картинка на всю левую колонку, текст в правой.
   Отступы живут внутри .step__body, поэтому изображение доходит до краёв. */
/* Цвет этапа. Один акцент на карточку: он ведёт подпись, узел на шкале,
   блок «на выходе» и сценарий на канвасе. Прогрессия холодный -> тёплый ->
   творческий -> фирменный лайм: финал забирает брендовый цвет. */
.step { --accent: var(--lime); }
.step:nth-of-type(1) { --accent: #6FD8C4; }
.step:nth-of-type(2) { --accent: #FFC24D; }
.step:nth-of-type(3) { --accent: #B98CFF; }
.step:nth-of-type(4) { --accent: #C0FF13; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .46fr) minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid var(--card-line);
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
}

.step + .step { margin-top: clamp(14px, 1.8vw, 22px); }

/* Узел на шкале */
.step::before {
  content: '';
  position: absolute;
  left: calc(clamp(34px, 5vw, 78px) * -1);
  top: clamp(30px, 3.4vh, 44px);
  width: 9px;
  height: 9px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line);
  transition: background .5s var(--ease), box-shadow .5s var(--ease);
}

.step.is-in::before {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(192, 255, 19, .16);
}

.step__shot {
  position: relative;
  margin: 0;
  min-height: 260px;
  overflow: hidden;
  background: var(--card-2);
}

.step__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Канвас со сценарием этапа.

   Обязательно position:absolute. Иначе получается петля: JS выставляет
   canvas.height по замеру, это меняет собственный размер элемента, растёт
   контейнер, ResizeObserver срабатывает снова — и карточка растёт бесконечно.
   Абсолютное позиционирование убирает канвас из потока, и высоту строки
   задаёт только текстовая колонка. */
.step__viz {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(120% 90% at 30% 15%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 62%),
    var(--card-2);
}

.step__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 2vh, 20px);
  padding: clamp(26px, 3vw, 44px);
}

.step__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--accent);
}

.step__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: 1;
  letter-spacing: -.03em;
}

/* Плитки инструментов: одинаковый размер и фон, чтобы разные по природе
   знаки (иконки приложений и голые марки) читались как один ряд. */
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tools li {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--card-line);
  border-radius: 13px;
  background: var(--card-2);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.tools li:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Подсказка у плитки инструмента

   Раньше плитка обрезала логотип через overflow: hidden — теперь скругление
   висит на самой картинке, иначе подсказка обрезалась бы вместе с ней.
   Всплывает влево-вниз от левого края плитки, а не по центру: у первой
   иконки в ряду центрированная подсказка вылезала бы за карточку.
   -------------------------------------------------------------------------- */

.tools li[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: -8px;
  bottom: calc(100% + 13px);
  z-index: 5;
  width: max-content;
  max-width: min(320px, 64vw);
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid rgba(242, 244, 240, .14);
  background: #050604;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .6);
  font-family: var(--font-text);
  font-size: 13.5px;
  line-height: 1.35;
  letter-spacing: -.01em;
  text-align: left;
  color: #F2F4F0;  /* не var(--ink): пузырь тёмный и на светлых секциях */
  opacity: 0;
  translate: 0 6px;
  pointer-events: none;
  transition: opacity .22s var(--ease), translate .22s var(--ease);
}

/* Уголок. Рисуется до пузыря, поэтому пузырь закрывает его верхнюю половину */
.tools li[data-tip]::before {
  content: '';
  position: absolute;
  left: 23px;
  bottom: calc(100% + 8px);
  z-index: 4;
  width: 10px;
  height: 10px;
  background: #050604;
  border-right: 1px solid rgba(242, 244, 240, .14);
  border-bottom: 1px solid rgba(242, 244, 240, .14);
  border-bottom-right-radius: 2px;
  opacity: 0;
  translate: -50% 6px;
  rotate: 45deg;
  pointer-events: none;
  transition: opacity .22s var(--ease), translate .22s var(--ease);
}

@media (hover: hover) {
  .tools li[data-tip]:hover::after { opacity: 1; translate: 0 0; }
  .tools li[data-tip]:hover::before { opacity: 1; translate: -50% 0; }
}

.tools li[data-tip]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.tools li[data-tip]:focus-visible::after { opacity: 1; translate: 0 0; }
.tools li[data-tip]:focus-visible::before { opacity: 1; translate: -50% 0; }

@media (prefers-reduced-motion: reduce) {
  .tools li[data-tip]::after,
  .tools li[data-tip]::before { transition: none; translate: 0 0; }
  .tools li[data-tip]::before { translate: -50% 0; }
}

/* Марка на прозрачном фоне дышит внутри плитки */
.tools img {
  width: 58%;
  height: 58%;
  object-fit: contain;
}

/* У иконки приложения своя подложка — она и есть плитка */
.tools img.is-plate {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.step__text {
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.55;
  color: var(--ink-2);
}

/* Выделение блока — не линия слева, а короткая метка над содержимым:
   она читается как ярлык раздела и не спорит с вертикалью списка. */
.step__out {
  position: relative;
  padding: 22px 18px 16px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  background: linear-gradient(160deg,
    color-mix(in srgb, var(--accent) 10%, transparent),
    transparent 62%);
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 1.5;
  color: var(--ink);
}

.step__out::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  width: 34px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--accent);
}

.step__out span {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.005em;
  color: var(--accent);
}

.step__kicker {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
}

.step__text {
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.55;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Смена ценника
   -------------------------------------------------------------------------- */

.shift { margin-top: clamp(64px, 9vh, 112px); }
.shift__title { max-width: 24ch; }

.shift__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(16px, 2.4vw, 34px);
  margin-top: clamp(30px, 4vh, 46px);
}

/* Фото слева, текст справа. Колонка с текстом остаётся flex-колонкой:
   price__text тянется и прижимает сумму к низу карточки, как и раньше. */
.price {
  display: grid;
  grid-template-columns: clamp(110px, 14vw, 176px) minmax(0, 1fr);
  gap: clamp(18px, 2vw, 28px);
  padding: clamp(24px, 2.8vw, 38px);
  border: 1px solid var(--card-line);
  border-radius: 20px;
  background: var(--card);
  /* Ничто внутри не должно вылезать за скругление карточки */
  overflow: hidden;
}

.price__photo {
  margin: 0;
  grid-row: 1 / -1;
  align-self: stretch;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-2);
}

.price__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price--was {
  border-color: rgba(255, 107, 74, .22);
  background: linear-gradient(160deg, rgba(255, 107, 74, .07), var(--card) 58%);
}

.price--now {
  border-color: rgba(192, 255, 19, .3);
  background: linear-gradient(160deg, rgba(192, 255, 19, .09), var(--card) 58%);
}

.price__tag {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.005em;
  color: var(--ink-2);
}

.price--was .price__tag { color: var(--red); }
.price--now .price__tag { color: var(--lime); }

.price__text {
  flex: 1;
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 1.55;
  color: var(--ink-2);
}

.price__num {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 2.9vw, 46px);
  line-height: 1.05;
  white-space: nowrap;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: var(--red);
}

.price--now .price__num { color: var(--lime); }

.price__cap {
  font-size: 13px;
  color: var(--ink-3);
}

.shift__arrow {
  align-self: center;
  color: var(--ink-3);
}

.shift__arrow svg {
  width: clamp(34px, 4vw, 56px);
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Закулисье
   -------------------------------------------------------------------------- */

.backstage { margin-top: clamp(64px, 9vh, 112px); }
.backstage__title { max-width: 26ch; }

.backstage__text {
  margin-top: 18px;
  max-width: 60ch;
  font-size: clamp(15px, 1.1vw, 17.5px);
  line-height: 1.6;
  color: var(--ink-2);
}

.backstage__text b { color: var(--ink); font-weight: 600; }

.proof {
  margin: clamp(30px, 4vh, 46px) 0 clamp(30px, 4vh, 44px);
  overflow: hidden;
  /* Края ленты растворяются в фоне, а не обрезаются */
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.proof__row {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: drift 46s linear infinite;
}

@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 8px)); }
}

.proof__item {
  flex: 0 0 auto;
  /* Высота фиксирована, ширина подстраивается под пропорции скриншота:
     скрины разной длины, но лента должна читаться как ровная строка. */
  height: clamp(210px, 22vw, 290px);
  width: auto;
  margin: 0;
  border: 1px solid var(--card-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
}

.proof__item img {
  display: block;
  height: 100%;
  width: auto;
}

/* Плейсхолдер до появления реальных скриншотов */
.proof__item.is-empty {
  display: grid;
  place-items: center;
  border: 1px dashed var(--card-line);
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 9px,
    rgba(242, 244, 240, .022) 9px, rgba(242, 244, 240, .022) 18px
  );
}

.proof__item.is-empty figcaption {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.005em;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Адаптив секций
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .stat, .stat--wide, .stat:nth-child(2), .stat--pair { grid-column: span 12; }
  .step { grid-template-columns: minmax(0, 1fr); }
  .step__shot { aspect-ratio: 16 / 10; min-height: 0; }
  .years { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 760px) {
  .fork__paths { grid-template-columns: 1fr; }
  .versus__grid { grid-template-columns: 1fr; }
  .versus__grid::before { display: none; }

  .compare__head { grid-template-columns: 1fr; align-items: start; }

  .shift__grid { grid-template-columns: 1fr; }
  .shift__arrow { justify-self: center; transform: rotate(90deg); }

  /* Узкая карточка: фото уходит наверх широкой полосой, а не колонкой */
  .price { grid-template-columns: minmax(0, 1fr); }
  .price__photo { grid-row: auto; aspect-ratio: 16 / 10; }

  .sign { grid-template-columns: 40px 1fr 20px; gap: 12px; }
  .pair { grid-template-columns: 1fr; gap: 22px; }
  .bars { height: 120px; }
  .bar { width: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  .proof__row { animation: none; }
  [data-reveal], [data-stagger] > * { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Лента с видео

   Едет слева направо, в противоход ленте чеков ниже по странице — так две
   бегущие строки не выглядят одним и тем же приёмом, применённым дважды.
   -------------------------------------------------------------------------- */

.reel {
  margin-top: clamp(30px, 4vh, 46px);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.reel__row {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: drift-ltr 44s linear infinite;
}

/* Обе ленты едут влево. Сдвиг -50% минус половина зазора: набор карточек
   продублирован ровно дважды, поэтому на стыке нет рывка.
   На ховере не останавливаем, а замедляем до 30% — это делает JS через
   playbackRate, иначе смена animation-duration даёт скачок. */
@keyframes drift-ltr {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 10px)); }
}

.reel__item {
  flex: 0 0 auto;
  width: clamp(240px, 25vw, 380px);
  aspect-ratio: 4 / 3;
  margin: 0;
  border: 1px solid var(--card-line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
}

.reel__item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .reel__row { animation: none; }
}

/* ==========================================================================
   Светлая секция — общий каркас
   ========================================================================== */

/* Светлые вставки разбивают темноту. Всё внутри переопределяет чернильные
   переменные на тёмные-по-светлому, чтобы дочерние компоненты не пришлось
   переписывать поимённо. */
.section--light {
  background: #F1F3ED;
  color: #14170F;
  --ink: #14170F;
  --ink-2: #43483B;
  --ink-3: #6B7061;
  --card: #FFFFFF;
  --card-2: #E9ECE1;
  --card-line: rgba(11, 12, 10, .1);
  --line: rgba(11, 12, 10, .12);
  --line-2: rgba(11, 12, 10, .07);
}

.section { overflow: clip; }
.section--light { position: relative; }

.lead__text--dark { color: #43483B; }

.h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.2vw, 18px);
  letter-spacing: -.01em;
}

/* ==========================================================================
   Секция 4 — Что изменится за неделю
   ========================================================================== */

.week {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px);
  margin-top: clamp(48px, 7vh, 88px);
}

/* Чек-лист держится в кадре, пока справа прокручиваются артефакты */
.week__list {
  position: sticky;
  top: 100px;
  align-self: start;
}

.week__cap {
  margin-bottom: clamp(18px, 2.4vh, 26px);
  color: var(--ink-2);
}

/* Список с галочками */
.ticks { display: grid; gap: 2px; }

.ticks li {
  position: relative;
  padding: 12px 0 12px 34px;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.4;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 15px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--lime-dim);
  border-bottom: 2px solid var(--lime-dim);
  border-radius: 1px;
  transform: rotate(-45deg);
}

.ticks--dark li { color: var(--ink); }

/* Под последним пунктом полоса ни к чему — она читается как обрыв списка */
.ticks li:last-child,
.author__facts li:last-child { border-bottom: 0; }

/* Артефакты */
.week__out { display: grid; gap: 12px; align-content: start; }

.artifact {
  --accent: var(--lime-dim);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid var(--card-line);
  border-radius: 16px;
  background: var(--card);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.artifact:hover { box-shadow: 0 18px 40px -22px rgba(11, 12, 10, .3); }

.artifact.is-open {
  border-color: rgba(140, 190, 10, .45);
  box-shadow: 0 22px 50px -26px rgba(11, 12, 10, .35);
}

.artifact .tools { margin-top: 14px; }

/* --------------------------------------------------------------------------
   Раскрытие карточки

   Высоту ведёт grid-template-rows: 0fr → 1fr — единственный способ
   анимировать «до содержимого» без замеров в JS. Клип обязателен: без
   overflow: hidden содержимое не сжимается вместе с треком.

   У рамки задан aspect-ratio, поэтому высота известна и до того, как JS
   вставит <video> — иначе раскрытие первый раз происходило бы рывком.
   -------------------------------------------------------------------------- */

.artifact__media {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease);
}

.artifact.is-open .artifact__media { grid-template-rows: 1fr; }

.artifact__clip {
  min-height: 0;
  overflow: hidden;
}

.artifact__frame {
  margin-top: 16px;
  aspect-ratio: 858 / 480;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-2);
}

.artifact__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .artifact__media { transition: none; }
}

.artifact__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  padding-top: 3px;
}

.artifact__title {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.3vw, 20px);
  letter-spacing: -.02em;
}

.artifact p {
  font-size: clamp(13.5px, 1vw, 15px);
  line-height: 1.45;
  color: var(--ink-2);
}

.week__note {
  margin-top: clamp(40px, 6vh, 72px);
  padding-top: clamp(24px, 3vh, 34px);
  border-top: 1px solid var(--line);
  max-width: 70ch;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
}

.week__note b { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Секция 5 — Аккордеон
   ========================================================================== */

.accordion {
  margin-top: clamp(40px, 6vh, 72px);
  display: grid;
  gap: 14px;
}

.acc {
  border: 1px solid var(--card-line);
  border-radius: 18px;
  background: var(--card);
  overflow: hidden;
  transition: border-color .4s var(--ease);
}

.acc.is-open { border-color: rgba(192, 255, 19, .3); }

/* Первая колонка фиксированной ширины — иначе «ПРАКТИКА» шире, чем
   «ДЕНЬ 1», и заголовки соседних плашек не встают в одну вертикаль. */
.acc__head {
  display: grid;
  /* Колонка заголовка фиксированной ширины, а не по содержимому: иначе
     бейдж с датой у каждого дня начинается на своей вертикали. Акцент
     всё равно на дате — она сразу за заголовком, а не у правого края. */
  grid-template-columns: clamp(74px, 8vw, 96px) var(--acc-title, clamp(210px, 25vw, 370px)) 1fr auto;
  align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
  width: 100%;
  padding: clamp(20px, 2.6vw, 30px) clamp(20px, 2.6vw, 32px);
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.acc__day {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.005em;
  color: var(--ink-2);
}

.acc__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.9vw, 27px);
  letter-spacing: -.025em;
}

/* Дата — главный ориентир в строке: она отвечает на «когда это будет» */
.acc__meta {
  justify-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(192, 255, 19, .1);
  border: 1px solid rgba(192, 255, 19, .26);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--lime);
  white-space: nowrap;
}

.acc__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.acc__icon::before,
.acc__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 2px;
  background: var(--ink-2);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .4s var(--ease), background .4s var(--ease);
}

.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc.is-open .acc__icon::before { background: var(--lime); }
.acc.is-open .acc__icon::after { transform: translate(-50%, -50%) rotate(0); background: var(--lime); }

/* Раскрытие через grid-template-rows: анимируется, в отличие от height:auto */
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}

.acc.is-open .acc__panel { grid-template-rows: 1fr; }

.acc__inner {
  overflow: hidden;
  min-height: 0;
}

.acc__inner > * {
  padding-inline: clamp(20px, 2.6vw, 32px);
}

.acc__lead {
  padding-top: 4px;
  max-width: 70ch;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: var(--ink-2);
}

/* Правая колонка шире прежнего: под «результатом дня» встал ролик 16:9,
   в старые пропорции он вписывался слишком мелко. */
.acc__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 52px);
  padding-block: clamp(24px, 3vh, 34px) clamp(24px, 3vw, 34px);
}

.acc__sub, .acc__result span, .acc__practice span {
  display: block;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.005em;
  color: var(--lime);
  margin-bottom: 14px;
}

.dots { display: grid; gap: 4px; }

.dots li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.35;
  color: var(--ink-2);
}

.dot-ic {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  background: var(--card-2);
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.dots li:hover .dot-ic {
  border-color: rgba(192, 255, 19, .4);
  background: rgba(192, 255, 19, .08);
}

.acc__side { display: grid; gap: 16px; align-content: start; }

/* Ролик дня. Высота задана aspect-ratio, поэтому место под него известно
   и до того, как JS вставит <video> — раскрытие не дёргается. */
.acc__video {
  aspect-ratio: 854 / 480;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--card-line);
  background: var(--card-2);
}

.acc__frame,
.acc__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acc__result, .acc__practice {
  padding: 18px 20px;
  border-radius: 14px;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.5;
  color: var(--ink);
}

.acc__result {
  background: linear-gradient(160deg, rgba(192, 255, 19, .1), rgba(192, 255, 19, .02));
  border: 1px solid rgba(192, 255, 19, .22);
}

.acc__practice {
  background: var(--card-2);
  border: 1px solid var(--card-line);
}

.acc__result span, .acc__practice span { margin-bottom: 8px; }
.acc__practice span { color: var(--ink-3); }

/* Практика — отдельный, более лёгкий пункт программы */
.acc--practice { border-style: dashed; }
.acc--practice.is-open { border-style: solid; }

.acc--practice .acc__day { color: var(--ink-3); }

.acc--practice .acc__meta {
  background: rgba(242, 244, 240, .05);
  border-color: var(--card-line);
  color: var(--ink-2);
}

.acc__lead--practice {
  padding-block: 4px clamp(22px, 3vh, 32px);
  max-width: 74ch;
}

/* ==========================================================================
   Секция 7 — Проверка и разборы
   ========================================================================== */

.review {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(48px, 7vh, 88px);
}

/* Обе карточки тянутся на высоту ряда, содержимое распределяется внутри */
.review__card {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid var(--card-line);
  border-radius: 22px;
  background: var(--card);
}

.review__card--accent {
  background: linear-gradient(165deg, #16190F, #0E100A);
  border-color: rgba(192, 255, 19, .28);
  color: #F2F4F0;
  --ink: #F2F4F0;
  --ink-2: #C3C8B8;
  --line-2: rgba(242, 244, 240, .08);
}

.review__cap { margin-bottom: clamp(18px, 2.4vh, 26px); color: var(--ink-3); }
.review__card--accent .review__cap { color: var(--lime); }

/* Список занимает свободную высоту, вывод прижимается к низу */
.review__card .ticks { flex: 1; }

.review__foot {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.55;
  color: var(--ink-2);
}

.callout {
  margin-top: clamp(24px, 3.5vh, 40px);
  padding: clamp(20px, 2.4vw, 30px) clamp(22px, 2.6vw, 34px);
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--card-line);
  background: var(--card-2);
  max-width: 80ch;
  font-size: clamp(14.5px, 1.1vw, 17px);
  line-height: 1.55;
  color: var(--ink-2);
}

.callout b { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Секция 9 — Что останется
   ========================================================================== */

.assets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(48px, 7vh, 88px);
}

/* Те же четыре акцента, что у этапов процесса: артефакт наследует цвет
   этапа, на котором он появляется. */
.assets .asset { --accent: var(--lime); }
.assets .asset:nth-child(1) { --accent: #6FD8C4; }
.assets .asset:nth-child(2) { --accent: #FFC24D; }
.assets .asset:nth-child(3) { --accent: #B98CFF; }
.assets .asset:nth-child(4) { --accent: #C0FF13; }

.asset {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--card-line);
  border-radius: 18px;
  background: var(--card);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}

.asset:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }

.asset__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--accent);
}

.asset__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.asset p {
  font-size: clamp(13.5px, 1vw, 15px);
  line-height: 1.45;
  color: var(--ink-2);
}

.bonus { margin-top: clamp(40px, 6vh, 72px); }

.bonus__cap {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.005em;
  color: var(--ink-2);
  margin-bottom: clamp(20px, 2.6vh, 28px);
}

.bonus__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.bonus__item {
  padding: clamp(22px, 2.4vw, 30px);
  border-top: 2px solid var(--lime);
  background: linear-gradient(180deg, rgba(192, 255, 19, .05), transparent 60%);
}

.bonus__ic {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 16px;
}

.bonus__item h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.3vw, 20px);
  letter-spacing: -.02em;
}

.bonus__item p {
  font-size: clamp(13.5px, 1vw, 15.5px);
  line-height: 1.5;
  color: var(--ink-2);
}

/* ==========================================================================
   Адаптив секций 4–9
   ========================================================================== */

@media (max-width: 900px) {
  .week { grid-template-columns: 1fr; gap: 40px; }
  .acc__head { grid-template-columns: auto 1fr auto; }
  .acc__meta { grid-column: 2 / -1; grid-row: 2; }
  .acc__cols { grid-template-columns: 1fr; }
  .review { grid-template-columns: 1fr; }
  .assets { grid-template-columns: repeat(2, 1fr); }
  .bonus__grid { grid-template-columns: 1fr; }
}

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

/* ==========================================================================
   Секция 10 — Почему мало открыть инструменты
   ========================================================================== */

/* Заголовок секции лежит на чёрной плашке: светлая секция, а внутри —
   островок фирменного тёмного фона с логотипом слева. Внутри плашки
   отменяются светлые варианты токенов (--dark) и чёрная подложка у em:
   на чёрном она не видна, а её padding сбивает ритм строк. */
.why-hero {
  display: grid;
  grid-template-columns: clamp(150px, 18vw, 290px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  max-width: 1320px;
  padding: clamp(28px, 4vw, 64px);
  border-radius: 28px;
  background: var(--bg);

  /* Секция светлая и уже переопределила чернильные токены на тёмные —
     внутри плашки возвращаем исходные, светлые-по-тёмному. */
  color: #F2F4F0;
  --ink: #F2F4F0;
  --ink-2: #C3C8B8;
  --ink-3: #8E947F;
  --line: rgba(242, 244, 240, .13);
  --line-2: rgba(242, 244, 240, .08);
}

.why-hero__media { margin: 0; }

/* Крупнее на 20% и парит. Увеличиваем scale, а не ширину колонки:
   ширина колонки задаёт начало текста, и от роста картинки он бы уехал. */
.why-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 46px rgba(192, 255, 19, .18));
  transform-origin: center;
  animation: hero-float 6s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: scale(1.2) translateY(-5px); }
  50%      { transform: scale(1.2) translateY(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .why-hero__media img { animation: none; transform: scale(1.2); }
}

.why-hero__text { max-width: none; }

.why-hero .dot {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(192, 255, 19, .18);
}

.section--light .why-hero .lead__title em {
  background: none;
  padding: 0;
}

@media (max-width: 760px) {
  .why-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(18px, 4vw, 28px);
  }

  .why-hero__media { width: clamp(104px, 30vw, 150px); }
}

.why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(48px, 7vh, 88px);
}

.why__col {
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid var(--card-line);
  border-radius: 22px;
  background: var(--card);
}

.why__col--accent {
  background: linear-gradient(165deg, #16190F, #0E100A);
  border-color: rgba(192, 255, 19, .28);
  color: #F2F4F0;
  --ink: #F2F4F0;
  --ink-2: #C3C8B8;
  --line-2: rgba(242, 244, 240, .08);
}

/* Логотип агентства над текстом. Марка в файле уже белая, поэтому просто
   картинка — перекрашивать масками не нужно. */
.why__brand {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  margin-bottom: clamp(18px, 2.2vh, 24px);
}

.why__logo {
  display: block;
  width: clamp(156px, 15vw, 213px);
  height: auto;
  opacity: .92;
}

.why__people {
  display: block;
  width: clamp(112px, 11vw, 156px);
  height: auto;
}

/* --------------------------------------------------------------------------
   Слайдер «до / после»

   Границу двигает обычный range поверх сцены: он растянут на всю площадь
   и прозрачен. Так перетаскивание достаётся браузеру вместе с клавиатурой
   и тач-событиями, а JS остаётся один — записать значение в --split.

   Верхнюю картинку режем clip-path, а не шириной контейнера: при обрезке
   шириной пришлось бы держать внутреннюю картинку в размер сцены, иначе
   она сжимается вместе с рамкой.
   -------------------------------------------------------------------------- */

/* Шапка и сцена — один блок: тёмная плашка сверху, сцена под ней вплотную */
.compare {
  margin-top: clamp(40px, 6vh, 72px);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg);
}

.compare__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(18px, 3vw, 48px);
  padding: clamp(22px, 2.4vw, 32px) clamp(22px, 2.4vw, 32px) clamp(20px, 2.2vw, 28px);
  color: #F2F4F0;
}

.compare__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.2;
  letter-spacing: -.02em;
}

/* Плашка у em здесь не нужна: шапка и так тёмная */
.compare__title em {
  font-style: normal;
  color: var(--lime);
}

.section--light .compare__title em {
  background: none;
  padding: 0;
}

.compare__text {
  margin: 0;
  font-size: clamp(13.5px, 1vw, 15.5px);
  line-height: 1.5;
  color: #C3C8B8;
}

.compare__stage {
  position: relative;
  aspect-ratio: 1360 / 807;
  overflow: hidden;
  background: var(--card);
  /* pan-y: вертикальный свайп остаётся прокруткой страницы, горизонтальный
     приходит к нам событиями указателя — иначе на телефоне ручка не ловится */
  touch-action: pan-y;
  cursor: ew-resize;
}

.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.compare__img--before { clip-path: inset(0 calc(100% - var(--split)) 0 0); }

.compare__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  margin-left: -1px;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(192, 255, 19, .45);
  pointer-events: none;
}

/* Кружок-ручка со стрелками */
.compare__line i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .45);
}

.compare__line i::before,
.compare__line i::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 2px solid #0B0C0A;
  border-width: 2px 0 0 2px;
  border-radius: 1px;
}

.compare__line i::before { left: 12px; transform: translateY(-50%) rotate(-45deg); }
.compare__line i::after { right: 12px; transform: translateY(-50%) rotate(135deg); }

.compare__tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(11, 12, 10, .72);
  backdrop-filter: blur(6px);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  color: #F2F4F0;
  pointer-events: none;
}

.compare__tag--before { left: 14px; }
.compare__tag--after { right: 14px; color: var(--lime); }

/* Ползунок растянут на сцену и невидим — видна только линия-ручка */
.compare__range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
  -webkit-appearance: none;
  background: none;
}

.compare__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 44px;
  height: 100%;
}

.compare__range::-moz-range-thumb {
  width: 44px;
  height: 100%;
  border: 0;
  background: none;
}

.compare__stage:has(.compare__range:focus-visible) .compare__line i {
  outline: 2px solid #F2F4F0;
  outline-offset: 3px;
}

.why__cap { margin-bottom: clamp(18px, 2.4vh, 26px); }
.why__cap--muted { color: var(--ink-2); }
.why__col--accent .why__cap { color: var(--lime); }

/* Список с крестиками — «инструмент этого не сделает» */
.crosses { display: grid; gap: 2px; }
.crosses li:last-child { border-bottom: 0; }

.crosses li {
  position: relative;
  padding: 12px 0 12px 34px;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.4;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
}

.crosses li::before,
.crosses li::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 18px;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}

.crosses li::before { transform: rotate(45deg); }
.crosses li::after { transform: rotate(-45deg); }

/* ==========================================================================
   Секция 11 — Шкала цен
   ========================================================================== */

.pricing-scale { margin-top: clamp(48px, 7vh, 88px); }

.pricing-scale__cap {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.005em;
  color: var(--ink-2);
  margin-bottom: clamp(20px, 2.6vh, 30px);
}

/* Колонки живут на списке, строки подключаются к ним через subgrid.
   Если сетку задавать на каждой строке отдельно, колонка цены (auto)
   меряется по своему тексту — «$100–300» и «$3 000–7 500+» дают разную
   ширину, и полосы стартуют на разной вертикали. */
.scale {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto;
  column-gap: clamp(16px, 2.5vw, 40px);
}

.scale__row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: center;
  padding: clamp(16px, 2vh, 22px) 0;
  border-bottom: 1px solid var(--line-2);
  transition: background .5s var(--ease);
}

.scale__name {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.2vw, 18px);
  font-size: clamp(15px, 1.2vw, 18px);
  letter-spacing: -.01em;
  color: var(--ink-2);
  transition: color .5s var(--ease);
}

/* Иконка услуги. Цвет берётся из --tone строки — по шкале он теплеет
   от бирюзового к фирменному лайму. */
.scale__ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--card-line);
  background: var(--card);
  transition: border-color .5s var(--ease), background .5s var(--ease), transform .5s var(--ease);
}

.scale__ic svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .5s var(--ease);
}

.scale__row.is-lit .scale__name { color: var(--ink); }
.scale__row.is-lit .scale__ic {
  border-color: color-mix(in srgb, var(--tone) 45%, transparent);
  background: color-mix(in srgb, var(--tone) 10%, var(--card));
}
.scale__row.is-lit .scale__ic svg { stroke: var(--tone); }

/* Строка, до которой доскроллил, дополнительно подсвечена */
.scale__row.is-active {
  background: linear-gradient(90deg, color-mix(in srgb, var(--tone) 7%, transparent), transparent 60%);
}

.scale__row.is-active .scale__ic { transform: scale(1.06); }

.scale__bar {
  height: 8px;
  border-radius: 8px;
  background: rgba(242, 244, 240, .07);
  overflow: hidden;
}

.scale__bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 8px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--tone) 35%, transparent), var(--tone));
  box-shadow: 0 0 18px -4px color-mix(in srgb, var(--tone) 55%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--ease);
}

/* Полосы наполняются не разом, а по мере прокрутки — класс вешает JS */
.scale__row.is-lit .scale__bar i { transform: scaleX(1); }

.scale__val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 22px);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
  text-align: right;
}

.scale__row--top .scale__name { font-weight: 500; }
.scale__val { transition: color .5s var(--ease); }
.scale__row.is-lit .scale__val { color: var(--tone); }

/* Пруф слева, текст справа. Заголовок и абзацы идут во второй колонке,
   картинка занимает первую на всю высоту блока. */
.money-note {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: 16px;
  margin-top: clamp(40px, 6vh, 68px);
}

/* Скриншот приходит с прозрачным фоном и собственной тенью — рамка
   и подложка ему не нужны, иначе по краю вылезает чёрная кайма. */
.money-note__proof {
  grid-column: 1;
  grid-row: 1 / span 10;
  margin: 0;
}

.money-note__proof img {
  display: block;
  width: 100%;
  height: auto;
}

.money-note > :not(.money-note__proof) { grid-column: 2; }

.money-note__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 1.9vw, 30px);
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--ink);
  text-wrap: balance;
}

.money-note__title em {
  font-style: normal;
  color: var(--lime);
}

.money-note p {
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.55;
  color: var(--ink-2);
}

.money-note b { color: var(--ink); font-weight: 600; }

.money-note__kicker {
  margin-top: 8px;
  padding: clamp(20px, 2.4vw, 30px);
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(192, 255, 19, .24);
  background: linear-gradient(160deg, rgba(192, 255, 19, .07), transparent 62%);
  color: var(--ink) !important;
}

/* ==========================================================================
   Секция 12 — Для кого
   ========================================================================== */

/* Пять колонок: три карточки слева (1–2), видео посередине (3) на оба ряда,
   три карточки справа (4–5). Видео — связка между группами. */
.who-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(48px, 7vh, 88px);
}

.who-clip {
  grid-column: 3;
  grid-row: 1 / span 2;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #0B0C0A;
}

.who-clip__frame,
.who-clip video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.who-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--card-line);
  border-radius: 18px;
  background: var(--card);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}

/* Широкие карточки — начало и конец пути. Ряды сходятся: 2+1+1 и 1+1+2. */
/* Ручная расстановка только на широком экране: у nth-of-type специфичность
   выше, чем у сброса в медиазапросе, и он бы её не перебил. */
@media (min-width: 1001px) {
  .who-card:nth-of-type(1) { grid-column: 1 / span 2; grid-row: 1; }
  .who-card:nth-of-type(2) { grid-column: 4; grid-row: 1; }
  .who-card:nth-of-type(3) { grid-column: 5; grid-row: 1; }
  .who-card:nth-of-type(4) { grid-column: 1; grid-row: 2; }
  .who-card:nth-of-type(5) { grid-column: 2; grid-row: 2; }
  .who-card:nth-of-type(6) { grid-column: 4 / span 2; grid-row: 2; }
}

.who-card--wide {
  align-items: center;
  padding-right: clamp(96px, 11%, 160px);
}

/* Контурный номер уходит в фон — тот же приём, что у карточек года */
.who-card--wide::after {
  content: attr(data-n);
  position: absolute;
  right: 10px;
  bottom: -18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(84px, 8vw, 128px);
  line-height: .78;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 12, 10, .13);
  pointer-events: none;
}

.who-card--accent {
  background: linear-gradient(165deg, #16190F, #0E100A);
  border-color: rgba(192, 255, 19, .28);
  --ink: #F2F4F0;
}

.who-card--accent::after { -webkit-text-stroke-color: rgba(192, 255, 19, .3); }

/* Чип номера на тёмной карточке: чёрная подложка светлой секции не видна */
.section--light .who-card--accent span {
  color: var(--lime);
  background: rgba(192, 255, 19, .14);
}

.who-card:hover { transform: translateY(-3px); border-color: rgba(140, 190, 10, .5); }

.who-card span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  padding-top: 3px;
}

.who-card p {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--ink);
}

/* Ниже .who-card p — иначе одинаковая специфичность и правило проигрывает */
.who-card--wide p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 1.8vw, 27px);
  line-height: 1.18;
  letter-spacing: -.025em;
}

.whofor__note {
  margin-top: clamp(36px, 5vh, 60px);
  max-width: 76ch;
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.6;
  color: var(--ink-2);
}

/* ==========================================================================
   Секция 13 — Кому не подойдёт
   ========================================================================== */

.notfor__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(48px, 7vh, 88px);
  border: 1px solid var(--card-line);
  border-radius: 18px;
  background: var(--card-line);
  overflow: hidden;
}

.notfor__list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 20px);
  padding: clamp(18px, 2.2vh, 26px) clamp(22px, 2.4vw, 30px);
  background: var(--card);
  font-size: clamp(14.5px, 1.1vw, 17px);
  line-height: 1.45;
  color: var(--ink-2);
}

/* Тёплое свечение из левого верхнего угла ячейки при наведении */
.notfor__list li::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(180px 130px at 4% -8%, rgba(255, 107, 74, .17), transparent 68%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}

.notfor__list li:hover::after { opacity: 1; }

/* --------------------------------------------------------------------------
   Мини-сцены пунктов «не подойдёт»

   Тот же приём, что у визуализаций артефактов: плитка 44×44 и несколько
   пустых <i> внутри, вся анимация — на CSS. Акцент тёплый красный, как
   у прежних крестиков, чтобы секция читалась как предупреждение.
   -------------------------------------------------------------------------- */

.nviz {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 74, .2);
  background: rgba(255, 107, 74, .06);
  overflow: hidden;
}

.nviz i { position: absolute; display: block; }

/* Пустой фрейм: открыт, но в нём ничего нет */
.nviz--figma .nviz__frame {
  inset: 10px;
  border: 1.5px dashed rgba(255, 107, 74, .55);
  border-radius: 5px;
  animation: nviz-blink 3.2s var(--ease) infinite;
}

/* Курсор на автопилоте: точка сама наматывает круги */
.nviz--auto .nviz__ring {
  inset: 11px;
  border: 1.5px solid rgba(255, 107, 74, .3);
  border-radius: 50%;
}

.nviz--auto .nviz__dot {
  left: 19px;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  transform-origin: 3px 16px;
  animation: nviz-orbit 3.6s linear infinite;
}

/* Рывок: полоса выстреливает до конца и откатывается обратно */
.nviz--fast .nviz__track {
  left: 9px;
  right: 9px;
  top: 20px;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 107, 74, .18);
}

.nviz--fast .nviz__fill {
  left: 9px;
  top: 20px;
  width: 26px;
  height: 4px;
  border-radius: 3px;
  background: var(--red);
  transform-origin: left;
  animation: nviz-rush 3s var(--ease) infinite;
}

/* Часы: время идёт, практики нет */
.nviz--time .nviz__ring {
  inset: 10px;
  border: 1.5px solid rgba(255, 107, 74, .4);
  border-radius: 50%;
}

.nviz--time .nviz__hand {
  left: 21.2px;
  top: 15px;
  width: 1.6px;
  height: 7px;
  border-radius: 1px;
  background: var(--red);
  transform-origin: 50% 100%;
  animation: nviz-orbit 2.4s linear infinite;
}

/* Отложено: стопка уезжает вбок и растворяется */
.nviz--later .nviz__card {
  left: 10px;
  right: 10px;
  height: 5px;
  border-radius: 2px;
  background: rgba(255, 107, 74, .32);
  animation: nviz-slip 3.6s var(--ease) infinite;
}

/* Отрицательные задержки разводят слои по фазе: в кадре всегда есть
   и уезжающий, и оставшийся — иначе плитка периодически пустеет. */
.nviz--later .nviz__card:nth-child(1) { top: 12px; animation-delay: 0s; }
.nviz--later .nviz__card:nth-child(2) { top: 21px; animation-delay: -1.2s; }
.nviz--later .nviz__card:nth-child(3) { top: 30px; animation-delay: -2.4s; }

/* Вопрос, который так и не прозвучал */
.nviz--ask .nviz__bubble {
  inset: 11px 9px 13px;
  border: 1.5px solid rgba(255, 107, 74, .4);
  border-radius: 6px;
}

.nviz--ask .nviz__d {
  top: 20px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  animation: nviz-pulse 1.8s var(--ease) infinite;
}

.nviz--ask .nviz__d:nth-child(2) { left: 14px; }
.nviz--ask .nviz__d:nth-child(3) { left: 20px; animation-delay: .2s; }
.nviz--ask .nviz__d:nth-child(4) { left: 26px; animation-delay: .4s; }

/* Сетка, из которой выпадает один элемент */
.nviz--taste .nviz__sq {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: rgba(255, 107, 74, .3);
}

.nviz--taste .nviz__sq:nth-child(1) { left: 10px; top: 10px; }
.nviz--taste .nviz__sq:nth-child(2) { left: 23px; top: 10px; }
.nviz--taste .nviz__sq:nth-child(3) { left: 10px; top: 23px; }

.nviz--taste .nviz__sq:nth-child(4) {
  left: 23px;
  top: 23px;
  background: var(--red);
  animation: nviz-drift 3.4s var(--ease) infinite;
}

@keyframes nviz-blink {
  0%, 100% { opacity: .3; }
  50%      { opacity: 1; }
}

@keyframes nviz-orbit { to { transform: rotate(360deg); } }

@keyframes nviz-rush {
  0%        { transform: scaleX(.12); }
  40%, 62%  { transform: scaleX(1); }
  100%      { transform: scaleX(.12); }
}

@keyframes nviz-slip {
  0%, 45%   { transform: none; opacity: .9; }
  75%, 100% { transform: translateX(16px); opacity: 0; }
}

@keyframes nviz-pulse {
  0%, 100% { opacity: .22; }
  50%      { opacity: 1; }
}

@keyframes nviz-drift {
  0%, 30%   { transform: none; }
  65%, 100% { transform: translate(5px, 5px) rotate(14deg); opacity: .35; }
}

@media (prefers-reduced-motion: reduce) {
  .nviz i { animation: none !important; }
}

.notfor__emphasis {
  display: grid;
  gap: 18px;
  margin-top: clamp(40px, 6vh, 68px);
  max-width: 80ch;
}

.notfor__emphasis p {
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.55;
  color: var(--ink-2);
}

.notfor__strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 1.8vw, 27px) !important;
  line-height: 1.28 !important;
  letter-spacing: -.02em;
  color: var(--lime) !important;
}

.notfor__seats {
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: 16px;
  border: 1px solid var(--card-line);
  background: var(--card);
}

.notfor__seats b { color: var(--lime); font-weight: 700; }

@media (max-width: 1000px) {
  .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .who-card--wide { grid-column: span 2; }
  .who-clip { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
}

@media (max-width: 900px) {
  /* Скриншот встаёт над текстом: в две колонки он тут уже нечитаем */
  .money-note { grid-template-columns: minmax(0, 1fr); }
  .money-note__proof { grid-column: 1; grid-row: auto; max-width: 480px; }
  .money-note > :not(.money-note__proof) { grid-column: 1; }

  .why { grid-template-columns: 1fr; }
  .week__list { position: relative; top: 0; }
  .who-grid { grid-template-columns: 1fr; }
  .who-clip { grid-column: auto; }
  .who-card--wide { grid-column: auto; padding-right: clamp(24px, 2.6vw, 34px); }
  .who-card--wide::after { display: none; }
  .notfor__list { grid-template-columns: 1fr; }
  .scale { grid-template-columns: minmax(0, 1fr) auto; }
  .scale__bar { display: none; }
}

/* ==========================================================================
   Секция 14 — Кто я
   ========================================================================== */

.author {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

/* Видео вертикальное (9:16). Ширину задаёт не колонка, а высота: колонка
   шире кадра, поэтому при ширине по колонке ролик уехал бы на два экрана.
   Высота ограничена вьюпортом — блок липкий и должен помещаться целиком. */
.author__media {
  margin: 0;
  width: auto;
  aspect-ratio: 9 / 16;
  max-height: min(74vh, 700px);
  margin-inline: auto;
  border-radius: 24px;
  overflow: hidden;
  background: #0B0C0A;
  position: sticky;
  top: 100px;
}

.author__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author__title { margin: 18px 0 0; }
.author__title em { font-style: normal; }

.author__name {
  margin-top: clamp(24px, 3vh, 34px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -.02em;
}

.author__intro {
  margin-top: 10px;
  max-width: 60ch;
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.55;
  color: var(--ink-2);
}

.author__facts {
  margin-top: clamp(20px, 2.6vh, 28px);
  display: grid;
  gap: 2px;
}

.author__facts li {
  position: relative;
  padding: 12px 0 12px 32px;
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 1.4;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}

.author__facts li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 15px;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--lime-dim);
  border-bottom: 2px solid var(--lime-dim);
  border-radius: 1px;
  transform: rotate(-45deg);
}

.author__close {
  margin: clamp(24px, 3vh, 32px) 0 clamp(28px, 3.5vh, 36px);
  max-width: 62ch;
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.6;
  color: var(--ink-2);
}

/* ==========================================================================
   Секция 15 — 30 дней «Сверх»
   ========================================================================== */

.sverh { margin-top: clamp(48px, 7vh, 88px); }

.sverh__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: clamp(24px, 3vh, 34px);
  border-bottom: 1px solid var(--line-2);
}

.sverh__count {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 88px);
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.sverh__cap {
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.35;
  color: var(--ink-2);
  max-width: 22ch;
}

.sverh__foot {
  margin-top: clamp(28px, 4vh, 40px);
  max-width: 76ch;
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.6;
  color: var(--ink-2);
}

.sverh__foot b { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Секция 16 — Гарантия
   ========================================================================== */

/* Компактная полоса, а не полноценная секция: значок, короткий текст
   и два условия стоят в один ряд и занимают одну карточку. */
.guarantee {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 300px);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: 22px;
  border: 1px solid var(--card-line);
  background: var(--card);
}

.guarantee__badge {
  position: relative;
  width: clamp(104px, 11vw, 136px);
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  background: #0B0C0A;
  color: var(--lime);
}

.guarantee__badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Подпись поверх картинки — снизу затемняем, иначе цифры теряются */
.guarantee__badge span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 8px 10px;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(11, 12, 10, .85) 62%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14px, 1.2vw, 17px);
  letter-spacing: -.02em;
}

.guarantee__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 1.75vw, 27px);
  line-height: 1.18;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.guarantee__title em { font-style: normal; }

.guarantee__text {
  margin-top: 10px;
  max-width: 52ch;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.5;
  color: var(--ink-2);
}

/* Условия — просто список с галочками, без второй карточки внутри карточки */
.guarantee__conds {
  display: grid;
  gap: 2px;
  padding: clamp(16px, 1.6vw, 22px);
  border-radius: 14px;
  background: var(--card-2);
}

.guarantee__conds li { padding: 8px 0 8px 32px; border: 0; }
.guarantee__conds li::before { top: 13px; }

/* ==========================================================================
   Секция 17 — Тарифы
   ========================================================================== */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(48px, 7vh, 88px);
  align-items: start;
}

.plan {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(26px, 2.8vw, 38px);
  border: 1px solid var(--card-line);
  border-radius: 22px;
  background: var(--card);
}

/* Картинка тарифа — фоновый слой под контентом. Раскладка внутри карточки
   не меняется: слой абсолютный и уведён под текст через z-index. Маска
   гасит низ, чтобы список и кнопка читались.

   Именно <img>, а не background-image из переменной: url() внутри
   custom property резолвится относительно файла стилей, и путь уезжал
   в /css/assets/. */
.plan__shot {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
  opacity: .85;
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .5) 40%, transparent 78%);
          mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .5) 40%, transparent 78%);
  pointer-events: none;
}

.plan--featured .plan__shot { opacity: 1; }

.plan--featured {
  border-color: rgba(192, 255, 19, .4);
  background: linear-gradient(180deg, rgba(192, 255, 19, .07), var(--card) 40%);
  box-shadow: 0 30px 80px -40px rgba(192, 255, 19, .4);
}

/* Рекомендуемый тариф чуть выступает над соседями */
@media (min-width: 901px) {
  .plan--featured { margin-top: -16px; }
}

.plan__flag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--lime);
  color: #0B0C0A;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: -.005em;
  white-space: nowrap;
}

.plan__flag--muted { background: var(--card-2); color: var(--ink-2); border: 1px solid var(--card-line); }

.plan__name {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.005em;
  color: var(--ink-2);
}

.plan__price {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -.04em;
}

.plan__price s {
  font-size: .4em;
  color: var(--ink-3);
  font-weight: 500;
  margin-left: 6px;
}

.plan--featured .plan__price { color: var(--lime); }

.plan__for {
  margin-top: 12px;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.4;
  color: var(--ink-2);
}

.plan__prev {
  font-size: 13px;
  color: var(--ink-3);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
}

.plan__list { display: grid; gap: 12px; flex: 1; }

.plan__list li {
  position: relative;
  padding-left: 28px;
  font-size: clamp(14px, 1.05vw, 15.5px);
  line-height: 1.4;
  color: var(--ink);
}

.plan__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 4px;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  border-radius: 1px;
  transform: rotate(-45deg);
}

.plan__excl {
  font-size: 13px;
  color: var(--ink-3);
}

.plan__excl--accent { color: var(--lime); font-weight: 500; }

.plan__btn {
  justify-content: center;
  width: 100%;
}

.plan:not(.plan--featured) .plan__btn {
  background: var(--card-2);
  color: var(--ink);
  border: 1px solid var(--card-line);
}

.plan:not(.plan--featured) .plan__btn:hover {
  border-color: rgba(192, 255, 19, .5);
  box-shadow: none;
  background: var(--card-2);
}

@media (max-width: 900px) {
  .author { grid-template-columns: 1fr; }
  .author__media { position: relative; top: 0; max-height: 62vh; }
  .guarantee { grid-template-columns: auto minmax(0, 1fr); }
  .guarantee__conds { grid-column: 1 / -1; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--featured { margin-top: 0; }
}

/* ==========================================================================
   Секция 19 — FAQ
   ========================================================================== */

.shell--narrow { max-width: 880px; }

.faq { gap: 10px; }

.acc--faq { border-radius: 14px; }

.acc--faq .acc__head {
  grid-template-columns: 1fr auto;
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2.4vw, 28px);
}

.acc__q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 20px);
  letter-spacing: -.02em;
  line-height: 1.25;
}

.acc__a {
  padding-block: 2px clamp(20px, 2.6vh, 28px);
  max-width: 72ch;
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 1.6;
  color: var(--ink-2);
}

/* ==========================================================================
   Секция 20 — Финал
   ========================================================================== */

.final {
  position: relative;
  padding-block: 120px;
}

/* Лаймовое зарево, поднимающееся снизу — финальный акцент страницы */
.final__glow {
  position: absolute;
  left: 50%;
  bottom: -40%;
  transform: translateX(-50%);
  width: min(1100px, 120vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 255, 19, .16), transparent 62%);
  pointer-events: none;
}

.final .shell { position: relative; }

.final__title {
  margin: 18px 0 0;
  max-width: 20ch;
  font-size: clamp(32px, 4.4vw, 68px);
  line-height: 1.02;
}

.final__title em { color: var(--lime); font-style: normal; }

.final__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(36px, 5vh, 60px);
  align-items: start;
}

/* --------------------------------------------------------------------------
   Развилка

   Две половины на всю ширину. Наведение расширяет свою половину и раскрывает
   список последствий — так выбор читается не как два абзаца, а как две ветки
   с разными исходами. Ширину ведут fr-значения (они интерполируются),
   высоту раскрытия — grid-template-rows: 0fr → 1fr.
   -------------------------------------------------------------------------- */

.fork {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: clamp(48px, 7vh, 88px);
  transition: grid-template-columns .55s var(--ease);
}

.fork:has(.fork__side--old:hover) { grid-template-columns: 1.32fr .68fr; }
.fork:has(.fork__side--new:hover) { grid-template-columns: .68fr 1.32fr; }

.fork__side {
  --mx: 50%;
  --my: 40%;
  --tone: var(--red);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(26px, 3vw, 42px);
  border-radius: 22px;
  border: 1px solid var(--card-line);
  background: var(--card);
  transition: border-color .45s var(--ease), background .45s var(--ease), opacity .45s var(--ease);
}

.fork__side--new { --tone: var(--lime); }

/* Зарево под курсором — тот же приём, что в блоке «в какой когорте ты» */
.fork__side::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px 320px at var(--mx) var(--my),
    color-mix(in srgb, var(--tone) 16%, transparent), transparent 68%);
  opacity: 0;
  transition: opacity .45s var(--ease);
}

.fork__side:hover {
  border-color: color-mix(in srgb, var(--tone) 45%, transparent);
}

.fork__side:hover::before { opacity: 1; }

/* Невыбранная половина отступает на второй план */
.fork:has(.fork__side:hover) .fork__side:not(:hover) { opacity: .5; }

.fork__tag {
  display: block;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 1.8vw, 28px);
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--tone);
}

.fork__lead {
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.4;
  letter-spacing: -.015em;
  color: var(--ink-2);
  text-wrap: pretty;
  transition: color .45s var(--ease);
}

.fork__side:hover .fork__lead { color: var(--ink); }

/* Место под последствия зарезервировано всегда: если раскрывать высотой,
   блок растёт и утаскивает за собой всю секцию — страница дёргается прямо
   под курсором. Поэтому меняется только видимость. */
.fork__out {
  display: grid;
  grid-template-rows: 1fr;
}

.fork__outInner {
  min-height: 0;
  opacity: 0;
  translate: 0 8px;
  transition: opacity .4s var(--ease), translate .4s var(--ease);
}

.fork__side:hover .fork__outInner {
  opacity: 1;
  translate: 0 0;
  transition-delay: .08s;
}

.fork__cap {
  margin-top: clamp(20px, 2.4vh, 26px);
  padding-top: clamp(18px, 2.2vh, 24px);
  border-top: 1px solid var(--line-2);
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.005em;
  color: var(--tone);
}

.fork__out ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.fork__out li {
  position: relative;
  padding-left: 20px;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.45;
  color: var(--ink-2);
}

.fork__out li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tone);
}

/* Без курсора (тач, клавиатура) обе ветки раскрыты — иначе половина
   текста просто недоступна */
@media (hover: none) {
  .fork__outInner { opacity: 1; translate: 0 0; }
}

@media (max-width: 760px) {
  .fork { grid-template-columns: 1fr; }
  .fork:has(.fork__side:hover) { grid-template-columns: 1fr; }
  .fork:has(.fork__side:hover) .fork__side:not(:hover) { opacity: 1; }
}


.choice p {
  font-size: clamp(14.5px, 1.1vw, 17px);
  line-height: 1.5;
  color: var(--ink-2);
}

.choice--new p { color: var(--ink); }

.final__q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 1.9vw, 28px);
  line-height: 1.28;
  letter-spacing: -.02em;
}

.final__list {
  display: grid;
  gap: 2px;
  margin: clamp(26px, 3.5vh, 38px) 0;
}

.final__list li {
  position: relative;
  padding: 13px 0 13px 32px;
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.4;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}

.final__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 16px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  border-radius: 1px;
  transform: rotate(-45deg);
}

.final__fine {
  max-width: 62ch;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.55;
  color: var(--ink-3);
}

.final__btn { margin-top: clamp(28px, 4vh, 40px); }

.final__note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--ink-2);
}

/* ==========================================================================
   Футер
   ========================================================================== */

.foot {
  position: relative;
  z-index: 3;
  background: var(--bg);
  border-top: 1px solid var(--line-2);
  padding-block: clamp(28px, 4vh, 44px);
}

.foot__row {
  display: flex;
  align-items: center;
  gap: 20px 32px;
  flex-wrap: wrap;
}

.foot__logo img { display: block; width: 72px; height: auto; }

.foot__copy {
  font-size: 13px;
  color: var(--ink-3);
  margin-right: auto;
}

.foot__nav { display: flex; gap: 24px; }

.foot__nav a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color .25s var(--ease);
}

.foot__nav a:hover { color: var(--lime); }

@media (max-width: 900px) {
  .final__grid { grid-template-columns: 1fr; }
  .foot__copy { margin-right: 0; width: 100%; order: 3; }
}

/* ==========================================================================
   Витрина встреч «Сверх»
   ========================================================================== */

/* Табы категорий — pill-строка с прокруткой на узких экранах */
.mtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(36px, 5vh, 60px);
}

.mtab {
  padding: 9px 18px;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  font: inherit;
  font-size: 14px;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}

.mtab:hover { color: var(--ink); border-color: rgba(192, 255, 19, .35); }

.mtab.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: #0B0C0A;
  font-weight: 600;
}

.mgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(24px, 3.5vh, 40px);
}

.mcard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--card-line);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}

/* Карточки некликабельны — курсор по умолчанию, ссылок нет */
.mcard { cursor: default; }

.mcard:hover { transform: translateY(-4px); border-color: rgba(192, 255, 19, .35); }

/* Карточки, скрытые фильтром, плавно исчезают и выпадают из потока */
.mcard.is-hidden { display: none; }

.mcard__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--card-2);
}

.mcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.mcard:hover .mcard__media img { transform: scale(1.05); }

.mcard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 16px 0;
}

.mcard__tags span {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.005em;
  color: var(--ink-2);
  padding: 3px 8px;
  border: 1px solid var(--card-line);
  border-radius: 6px;
}

.mcard__title {
  flex: 1;
  padding: 12px 16px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(12px, .88vw, 13.6px);
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--ink);
}

.mcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px 16px;
}

.mcard__date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-3);
}

.mcard__date svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mcard__likes {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--ink-2);
}

.mcard__likes svg {
  width: 14px;
  height: 14px;
  fill: var(--lime);
}

.mgrid__empty {
  margin-top: clamp(32px, 5vh, 56px);
  text-align: center;
  font-size: 16px;
  color: var(--ink-3);
}

@media (max-width: 1100px) { .mgrid { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 760px) {
  .mgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* Табы уезжают в горизонтальную прокрутку, без переноса */
  .mtabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
  .mtabs::-webkit-scrollbar { display: none; }
  .mtab { flex: 0 0 auto; }
}

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

/* ==========================================================================
   Зелёный на светлом — только с тёмной подложкой

   Кислотный лайм на светлом фоне не читается и теряет яркость. Вместо
   осветлённого варианта (--lime-dim) везде остаётся один фирменный цвет,
   но на тёмной плашке. box-decoration-break склеивает плашку на переносах.
   ========================================================================== */

.section--light :is(.h2, .h3, .h4) em,
.section--light .guarantee__title em,
.section--light .lead__title em {
  color: var(--lime);
  background: var(--bg);
  padding: .04em .2em .1em;
  border-radius: .14em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

/* Мелкие моноширинные акценты на светлом — та же логика */
.section--light .artifact__no,
.section--light .who-card span {
  color: var(--lime);
  background: var(--bg);
  padding: 3px 7px;
  border-radius: 6px;
}

.section--light .who-card span { align-self: flex-start; }

/* Галочки на светлом: единый лайм читается только на тёмном кружке */
.section--light .ticks li::before { border-color: var(--lime-dim); }

/* ==========================================================================
   Анимированные визуализации артефактов
   ========================================================================== */

.viz {
  position: relative;
  display: block;
  height: 92px;
  margin-bottom: 4px;
  border-radius: 12px;
  background: var(--card-2);
  border: 1px solid var(--card-line);
  overflow: hidden;
}

.viz i { position: absolute; display: block; }

/* 01 — спецификация: строки допечатываются одна за другой */
.viz--spec .viz__line {
  left: 14px;
  height: 5px;
  border-radius: 3px;
  background: rgba(242, 244, 240, .22);
  transform-origin: left;
  animation: viz-type 4s var(--ease) infinite;
}

.viz--spec .viz__line:nth-child(1) { top: 16px; width: 62%; animation-delay: 0s; }
.viz--spec .viz__line:nth-child(2) { top: 30px; width: 78%; animation-delay: .18s; }
.viz--spec .viz__line:nth-child(3) { top: 44px; width: 54%; animation-delay: .36s; }
.viz--spec .viz__line:nth-child(4) { top: 58px; width: 70%; animation-delay: .54s; }
.viz--spec .viz__line:nth-child(5) { top: 72px; width: 40%; background: var(--accent); animation-delay: .72s; }

@keyframes viz-type {
  0%, 8%   { transform: scaleX(0); }
  40%, 88% { transform: scaleX(1); }
  100%     { transform: scaleX(0); }
}

/* 02 — приложение: столбики дышат, курсор кликает */
.viz--app .viz__screen {
  inset: 14px 16px;
  border: 1px solid rgba(242, 244, 240, .2);
  border-radius: 8px;
}

.viz--app .viz__bar {
  bottom: 10px;
  width: 16px;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
  animation: viz-bars 2.4s var(--ease) infinite;
}

.viz--app .viz__bar:nth-child(1) { left: 16px; height: 22px; animation-delay: 0s; }
.viz--app .viz__bar:nth-child(2) { left: 40px; height: 34px; animation-delay: .2s; }
.viz--app .viz__bar:nth-child(3) { left: 64px; height: 16px; animation-delay: .4s; }

@keyframes viz-bars {
  0%, 100% { transform: scaleY(.55); }
  50%      { transform: scaleY(1); }
}

.viz--app .viz__bar { transform-origin: bottom; }

.viz--app .viz__cursor {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  right: 26px;
  bottom: 22px;
  animation: viz-click 2.8s var(--ease) infinite;
}

@keyframes viz-click {
  0%, 60%, 100% { transform: translate(0, 0) scale(1); opacity: .9; }
  70%           { transform: translate(-6px, -6px) scale(.8); opacity: 1; }
  80%           { transform: translate(-6px, -6px) scale(1.3); opacity: .5; }
}

/* 03 — дизайн: фигуры собираются во фрейм */
.viz--design .viz__frame {
  inset: 14px 16px;
  border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 8px;
}

.viz--design .viz__shape {
  border-radius: 4px;
  animation: viz-assemble 3.4s var(--ease) infinite;
}

.viz--design .viz__shape--a { left: 28px; top: 26px; width: 26px; height: 26px; background: var(--accent); animation-delay: 0s; }
.viz--design .viz__shape--b { left: 60px; top: 26px; width: 34px; height: 12px; background: rgba(242, 244, 240, .3); animation-delay: .25s; }
.viz--design .viz__shape--c { left: 60px; top: 44px; width: 22px; height: 8px; background: rgba(242, 244, 240, .22); animation-delay: .5s; }

@keyframes viz-assemble {
  0%       { opacity: 0; transform: translateY(10px) scale(.9); }
  25%, 75% { opacity: 1; transform: none; }
  100%     { opacity: 0; transform: translateY(-6px) scale(.96); }
}

/* 04 — сайт: окно уходит в эфир, расходится волна */
.viz--site .viz__win {
  inset: 14px 16px auto;
  height: 54px;
  border: 1px solid rgba(242, 244, 240, .2);
  border-radius: 8px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
}

.viz--site .viz__dot {
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(242, 244, 240, .35);
}

.viz--site .viz__dot:nth-child(1) { left: 10px; }
.viz--site .viz__dot:nth-child(2) { left: 22px; }
.viz--site .viz__dot:nth-child(3) { left: 34px; background: var(--accent); }

.viz--site .viz__pulse {
  left: 50%;
  bottom: 12px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--accent);
  animation: viz-pulse 2.2s var(--ease) infinite;
}

@keyframes viz-pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); }
  70%  { box-shadow: 0 0 0 16px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* На ховере карточки визуализация оживает быстрее */
.asset:hover .viz i { animation-duration: 1.6s; }

/* ==========================================================================
   Библиотека встреч внутри бонусной секции
   ========================================================================== */

.library {
  margin-top: clamp(48px, 7vh, 84px);
  padding-top: clamp(36px, 5vh, 56px);
  border-top: 1px solid var(--line-2);
}

.library__title { max-width: 24ch; }

.library__sub {
  margin-top: 12px;
  font-size: clamp(14.5px, 1.1vw, 17px);
  color: var(--ink-2);
}

.library .mtabs { margin-top: clamp(24px, 3.5vh, 36px); }

@media (prefers-reduced-motion: reduce) {
  .viz i { animation: none !important; }
}

/* --------------------------------------------------------------------------
   Подпись автора в первом экране
   -------------------------------------------------------------------------- */

.hero__by {
  display: inline-flex;
  align-items: center;
  /* Текст обёрнут в span: иначе «Интенсив от» и имя становятся отдельными
     флекс-элементами, и gap растягивает промежуток внутри самой фразы. */
  gap: 10px;
  padding: 5px 18px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: clamp(14px, 1.05vw, 16px);
  color: var(--ink-2);
}

.hero__by b { color: var(--ink); font-weight: 600; }

/* Пунктирный кружок виден, пока не положили файл фотографии.
   font-size:0 гасит alt-текст сломанной картинки, но сам alt остаётся
   в разметке для скринридеров. */
.hero__ava {
  width: 34px;
  height: 34px;
  font-size: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card-2);
  border: 1px solid var(--card-line);
}


/* Общая метка выделения: короткий штрих у верхнего края блока.
   Заменила прежнюю вертикальную линию слева. */
.money-note__kicker::before,
.callout::before {
  content: '';
  position: absolute;
  top: 0;
  left: clamp(20px, 2.4vw, 30px);
  width: 34px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--lime);
}

.callout { padding-top: clamp(26px, 3vw, 36px); }
.money-note__kicker { padding-top: clamp(26px, 3vw, 36px); }

/* Развилка «Один / Другой»: та же метка вместо боковой засечки */
.path::before {
  top: 0;
  left: clamp(20px, 2.4vw, 36px);
  width: 34px;
  height: 3px;
  border-radius: 0 0 3px 3px;
}

.path--old::before { background: var(--red); }
.path--new::before { background: var(--lime); }
.path { padding-top: clamp(30px, 3.4vw, 46px); }


/* Ролик в карточке разборов вместо разделительной линии.
   Скругление как у остальных карточек. */
.review__video {
  margin: clamp(22px, 3vh, 30px) 0 0;
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
  background: #0B0C0A;
}

.review__video video {
  display: block;
  width: 100%;
  height: auto;
}

/* У вывода под роликом линия не нужна — её роль играет сам ролик */
.review__foot--bare {
  border-top: 0;
  padding-top: 0;
  margin-top: clamp(18px, 2.4vh, 24px);
}

/* Callout внутри карточки: прижат к низу, отбит сверху */
.review__card .callout {
  margin-top: auto;
  padding-top: clamp(24px, 3vw, 32px);
}

/* На узких экранах 120px сверху и снизу превращаются в пустые экраны —
   режем отступы секций и внутренние вертикальные интервалы. */
@media (max-width: 760px) {
  .section { padding: 75px 0; }
  .final { padding-block: 75px; }
  .shell + .shell { margin-top: 52px; }

  .define,
  .steps,
  .years,
  .versus__grid,
  .week,
  .who-grid,
  .notfor__list,
  .compare,
  .fork,
  .money-note,
  .pricing-scale,
  .plans,
  .accordion,
  .assets,
  .library,
  .mgrid,
  .guarantee { margin-top: 32px; }

  .steps__track { margin-top: 26px; }
  .bonus { margin-top: 40px; }
  .money-note__kicker { margin-top: 4px; }
  .whofor__note,
  .week__note,
  .sverh__foot,
  .notfor__emphasis { margin-top: 28px; }
}
