/* ============================================================
   YOJI STUDIO · main stylesheet (v2)
   loader · topbar · drawer · hero · cards · phone · marquees
   cases · cjm · cta(workspace-form) · footer(blue reveal)
============================================================ */

/* ---------- UTILS ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-wide), sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--yoji-slate);
  font-size: 13px;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}
.eyebrow--sky { color: var(--yoji-sky); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 400;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
  cursor: pointer;
  white-space: nowrap;
  border: 0;
}
.btn--primary {
  background: var(--yoji-blue);
  color: #fff;
  box-shadow: 0 10px 28px rgba(1, 58, 209, 0.35);
}
.btn--primary:hover { background: var(--yoji-blue-bright); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--yoji-ink);
}
.btn--ghost:hover { background: rgba(132, 148, 188, 0.12); }
.btn--lg { padding: 16px 28px; font-size: 18px; }

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- LOADER ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: radial-gradient(60% 80% at 30% 30%, #0c1850 0%, #000 70%);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.loader.is-on { opacity: 1; pointer-events: auto; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader__mark { width: 60px; height: 60px; animation: spin 1.5s linear infinite; }
.loader__label {
  color: #fff;
  font-family: var(--font-wide);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  font-size: 14px;
  opacity: 0.7;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- TOPBAR ---------- */
.topbar {
  position: fixed; top: 24px; left: 0; right: 0; z-index: 90;
  display: flex; justify-content: center;
  padding: 0 32px;
  pointer-events: none;
}
.topbar__inner {
  pointer-events: auto;
  width: 100%; max-width: 1280px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 22px;
  background: rgba(10, 10, 10, 0.22);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar__brand img { height: 28px; display: block; }
.topbar__nav { display: flex; gap: 26px; justify-self: center; }
.topbar__nav a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s;
  position: relative;
}
.topbar__nav a:hover { color: #fff; }
.topbar__nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -6px;
  width: 0; height: 2px; background: var(--yoji-sky);
  transform: translateX(-50%);
  transition: width 0.25s var(--ease);
}
.topbar__nav a:hover::after { width: 20px; }
.topbar__actions { display: flex; gap: 14px; align-items: center; }
.topbar__actions .btn { padding: 10px 18px; font-size: 14px; }

.lang { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.lang button {
  font-size: 12px; letter-spacing: 0.06em; padding: 6px 10px;
  color: rgba(255, 255, 255, 0.55); border-radius: 999px; transition: all 0.2s;
}
.lang button:hover { color: #fff; }
.lang button.is-active { background: rgba(255, 255, 255, 0.16); color: #fff; }

.burger {
  display: none; width: 40px; height: 40px;
  background: var(--yoji-blue); border-radius: 999px;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.burger span { display: block; width: 16px; height: 1.5px; background: #fff; border-radius: 2px; }

@media (max-width: 980px) {
  .topbar__nav { display: none; }
  .burger { display: flex; }
  /* без nav сетка авто-сдвигала бургер влево к лого — переходим на flex, бургер справа */
  .topbar__inner { display: flex; justify-content: space-between; }
  .topbar__actions { margin-left: auto; }
}
@media (max-width: 640px) {
  .topbar__actions .btn:not(.burger) { display: none; }
  .topbar__inner { padding: 10px 14px; gap: 8px; }
  .topbar { top: 14px; padding: 0 14px; }
  .lang { display: none; }
}

/* ---------- DRAWER ---------- */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
body.drawer-open .drawer-scrim { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 90vw); z-index: 120;
  background: linear-gradient(180deg, #06122d 0%, #000 100%);
  color: #fff; padding: 32px 28px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
body.drawer-open .drawer { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.drawer__brand { font-family: var(--font-wide); text-transform: lowercase; letter-spacing: 0.12em; font-size: 16px; }
.drawer__close {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 18px;
}
.drawer__close:hover { background: rgba(255, 255, 255, 0.18); }
.drawer__nav { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.drawer__nav a {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 18px;
  font-family: var(--font-wide); font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  border-radius: 18px;
  transition: background 0.3s var(--ease), border-color 0.3s, transform 0.3s;
}
.drawer__nav a:hover { background: var(--yoji-blue); border-color: var(--yoji-blue); transform: translateX(4px); }
.drawer__num { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--yoji-slate); letter-spacing: 0.08em; }
.drawer__lang { display: flex; gap: 6px; margin-bottom: 28px; }
.drawer__lang button {
  flex: 1; padding: 10px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.6);
  font-size: 13px; letter-spacing: 0.08em;
}
.drawer__lang button:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.drawer__lang button.is-active { background: var(--yoji-blue); color: #fff; }
.drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.drawer__foot a:hover { color: #fff; }

/* ---------- HERO ---------- */
.hero { padding: 0; margin-bottom: 80px; }
.hero__card {
  position: relative;
  margin: 0 auto;
  min-height: 730px;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  overflow: hidden;
  background: #01040e; /* база под слоями фона; чистый #000 читался плоско */
  color: #fff;
  padding: 190px 87px 100px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }

/* ============================================================
   ФОН ГЕРОЯ — топографические контурные линии.
   Слои снизу вверх: базовый градиент → вертикальные хайрлайны →
   canvas с контурами → источник света → скрим под текстом →
   виньетка → зерно. Сам canvas рисует assets/js/hero-lines.js.

   Плоский #000 с двумя blur(120px)-пятнами лежал здесь раньше;
   именно он читался «плоско». Резервная копия — в папке backups.
============================================================ */
/* ============================================================
     lines — «flowing contour lines»
     Слои (снизу вверх): базовый градиент → вертикальные хайрлайны →
     canvas с контурами → световой источник → скрим под текст →
     виньетка → зерно.
     ============================================================ */

  .hero__bg {
    isolation: isolate; /* блендинг слоёв не выходит за пределы фона */
    overflow: hidden;
  }

  .hero__bg > * {
    position: absolute;
    inset: 0;
    display: block;
  }

  /* ---- 1. база: глубокий сине-чёрный градиент вместо плоского #000 ---- */
  .yl-base {
    background:
      radial-gradient(118% 86% at 84% 10%, rgba(59, 90, 255, 0.30) 0%, rgba(59, 90, 255, 0.11) 34%, transparent 66%),
      radial-gradient(92% 72% at 104% 98%, rgba(1, 58, 209, 0.34) 0%, transparent 62%),
      radial-gradient(74% 62% at -10% 16%, rgba(1, 55, 143, 0.30) 0%, transparent 64%),
      linear-gradient(168deg, #04102f 0%, #020a1e 44%, #01050f 100%);
    background-color: #01040e;
  }
  @supports (background: color-mix(in srgb, red 10%, transparent)) {
    .yl-base {
      background:
        radial-gradient(118% 86% at 84% 10%,
          color-mix(in srgb, var(--yoji-blue-electric) 30%, transparent) 0%,
          color-mix(in srgb, var(--yoji-blue-electric) 11%, transparent) 34%,
          transparent 66%),
        radial-gradient(92% 72% at 104% 98%,
          color-mix(in srgb, var(--yoji-blue) 34%, transparent) 0%, transparent 62%),
        radial-gradient(74% 62% at -10% 16%,
          color-mix(in srgb, var(--yoji-blue-deep) 30%, transparent) 0%, transparent 64%),
        linear-gradient(168deg, #04102f 0%, #020a1e 44%, #01050f 100%);
    }
  }

  /* ---- 2. «измерительная сетка»: статичные вертикальные хайрлайны справа ---- */
  .yl-rule {
    background: repeating-linear-gradient(
      to right,
      rgba(164, 209, 251, 0.05) 0 1px,
      transparent 1px 92px
    );
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 40%, #000 76%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, transparent 40%, #000 76%, #000 100%);
  }

  /* ---- 3. контуры (canvas) ---- */
  .yl-canvas {
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
  }

  /* ---- 4. источник света справа сверху ---- */
  .yl-glow {
    background: radial-gradient(46% 54% at 81% 24%,
      rgba(164, 209, 251, 0.20) 0%,
      rgba(59, 90, 255, 0.16) 32%,
      transparent 70%);
    mix-blend-mode: screen;
    will-change: transform, opacity;
    animation: yoji-lines-breathe 16s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  }
  @keyframes yoji-lines-breathe {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.07); }
  }

  /* ---- 5. скрим: гарантирует контраст текста + смещает «плотность» вправо ----
     Горизонтальные стопы привязаны к боксу контента (padding 87px + max-width 920px). */
  .yl-scrim {
    background:
      linear-gradient(to right,
        rgba(1, 4, 14, 0.96) 0%,
        rgba(1, 4, 14, 0.94) 30%,
        rgba(1, 4, 14, 0.72) min(64%, 900px),
        rgba(1, 4, 14, 0.34) min(82%, 1130px),
        rgba(1, 4, 14, 0.08) min(94%, 1380px),
        rgba(1, 4, 14, 0) min(100%, 1620px)),
      linear-gradient(to bottom, rgba(1, 4, 14, 0.34) 0px, rgba(1, 4, 14, 0) 176px),
      linear-gradient(to top, rgba(1, 4, 14, 0.5) 0px, rgba(1, 4, 14, 0) 240px);
  }

  /* ---- 6. виньетка ---- */
  .yl-vig {
    background: radial-gradient(142% 122% at 52% 46%, transparent 54%, rgba(0, 0, 0, 0.44) 100%);
  }

  /* ---- 7. зерно ---- */
  .yl-grain {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
    background-size: 180px 180px;
    opacity: 0.055;
    mix-blend-mode: overlay;
  }

  /* ===================== АДАПТИВ ===================== */

  /* 1024–1200: текст занимает почти всю ширину карточки — держим ровный тёмный пол,
     линии становятся фактурой, а не фигурой. */
  @media (max-width: 1200px) {
    .yl-scrim {
      background:
        linear-gradient(to right,
          rgba(1, 4, 14, 0.95) 0%,
          rgba(1, 4, 14, 0.89) 48%,
          rgba(1, 4, 14, 0.74) 80%,
          rgba(1, 4, 14, 0.62) 100%),
        linear-gradient(to bottom, rgba(1, 4, 14, 0.32) 0px, rgba(1, 4, 14, 0) 170px),
        linear-gradient(to top, rgba(1, 4, 14, 0.46) 0px, rgba(1, 4, 14, 0) 230px);
    }
    .yl-rule {
      -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 52%, #000 88%, #000 100%);
      mask-image: linear-gradient(to right, transparent 0%, transparent 52%, #000 88%, #000 100%);
    }
  }

  /* Мобильный: контуры уходят в нижнюю полосу, анимация выключена (её гасит и JS). */
  @media (max-width: 760px) {
    .yl-rule { display: none; }
    .yl-glow {
      background: radial-gradient(74% 44% at 78% 16%,
        rgba(164, 209, 251, 0.18) 0%, rgba(59, 90, 255, 0.14) 34%, transparent 72%);
      animation: none;
      opacity: 0.9;
      will-change: auto;
    }
    /* При 0.93/0.91 в верхней половине линии тонули полностью, и фон на телефоне
       выглядел просто тёмным пятном. Ослабляем ниже текста — под кнопкой и
       чипами (у чипов своя подложка, читаемость не страдает). */
    .yl-scrim {
      background:
        linear-gradient(to bottom,
          rgba(1, 4, 14, 0.92) 0%,
          rgba(1, 4, 14, 0.87) 46%,
          rgba(1, 4, 14, 0.40) 74%,
          rgba(1, 4, 14, 0.08) 100%),
        linear-gradient(to right, rgba(1, 4, 14, 0.42) 0%, rgba(1, 4, 14, 0) 72%);
    }
    .yl-vig {
      background: radial-gradient(150% 116% at 50% 42%, transparent 58%, rgba(0, 0, 0, 0.4) 100%);
    }
    .yl-grain { opacity: 0.045; }
  }

  /* ===================== REDUCED MOTION ===================== */
  @media (prefers-reduced-motion: reduce) {
    .yl-glow {
      animation: none;
      opacity: 0.92;
      transform: scale(1.03);
      will-change: auto;
    }
  }

.hero__content { position: relative; z-index: 2; max-width: 920px; }
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 400; line-height: 1.05; letter-spacing: -0.01em;
  margin: 0 0 28px;

  /* Заголовок переводится, а длина фразы у языков разная: русский, немецкий и
     турецкий занимают 5 строк, английский — 3. Без резерва карточка героя
     схлопывалась на 138px при переключении языка, и подзаголовок с кнопками
     прыгали. Резервируем 5 строк (5 × line-height 1.05) и прижимаем текст к
     низу: короткий заголовок отдаёт лишний воздух вверх, где и так 190px
     отступа, а всё, что ниже, стоит на месте.
     В em, а не в px — размер шрифта плавающий (clamp), резерв едет вместе с ним. */
  min-height: 5.25em;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__title span { display: block; }
.hero__sub {
  font-family: var(--font-body);
  font-style: italic;
  color: #8494bc;
  font-size: clamp(18px, 2vw, 28px);
  max-width: 880px;
  line-height: 1.3;
  margin: 0 0 36px;
}
.hero__cta { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 18px; color: #fff;
  position: relative; padding-bottom: 4px;
}
.hero__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: rgba(255, 255, 255, 0.4);
  transition: background 0.2s;
}
.hero__link:hover::after { background: #fff; }
@media (max-width: 720px) {
  .hero__card { padding: 140px 24px 80px; border-radius: 0 0 30px 30px; min-height: 620px; }
}

/* ============================================================
   CARDS — серые металлические стеклянные карточки.
   Заголовок виден изначально; карточки выезжают СНИЗУ и оказываются НАД ним.
============================================================ */
.cards {
  position: relative;
  height: 280vh;
  padding-bottom: 60px;
}
.cards__stage {
  position: sticky; top: 0;
  height: 100vh;
  overflow: visible;
  /* Единственная full-bleed секция без ограничения ширины на сайте — на
     широких мониторах карточки (позиционированные в left/right: %) расходились
     почти на всю ширину окна, а сама карточка не растёт, отсюда и вид «съехали».
     Остальной сайт держит .wrap на 1280px — держим тот же предел и здесь. */
  max-width: 1280px;
  margin: 0 auto;
}
.cards__heading {
  position: absolute; inset: 0;
  display: grid; place-content: center; text-align: center;
  padding: 0 40px;
  z-index: 1; /* под карточками */
}
.cards__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--yoji-ink);
  max-width: 980px;
  margin: 16px auto 0;
}
.cards__title em {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--yoji-blue-electric);
  font-weight: 400;
}
.cards__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(246, 246, 246, 0) 25%, rgba(246, 246, 246, 0.6) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.cards.is-veiled .cards__veil { opacity: 1; }
/* Заголовок чуть уходит в перспективу под наезжающими карточками */
.cards__heading {
  transition: transform 0.55s var(--ease), opacity 0.55s var(--ease), filter 0.55s var(--ease);
}
.cards.is-veiled .cards__heading {
  transform: scale(0.965);
  opacity: 0.5;
  filter: blur(1.5px);
}

.cards__field {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 3; /* поверх заголовка */
}
/* иконка в верхней части стеклянной карточки (заполняет пустоту сверху) */
.gcard__ic {
  position: static; width: 38px; height: 38px; align-self: flex-start;
  color: #fff; opacity: 0.95;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.32));
}
.gcard__ic svg { width: 100%; height: 100%; display: block; }
.gcard--blue .gcard__ic { color: #fff; }
.gcard__plus { display: none; } /* «+» аккордеона — только на мобиле (см. @media 760) */
@media (max-width: 920px) { .gcard__ic { display: none; } } /* на мобиле/планшете — номера, иконка не нужна */

/* Стеклянная карточка квадратная: крупный заголовок сверху, мелкий подзаголовок снизу */
.gcard {
  position: absolute;
  width: clamp(186px, 15.5vw, 232px);
  aspect-ratio: 1 / 1;
  padding: 26px 28px;
  border-radius: var(--r-md);
  pointer-events: auto;
  transform-origin: center;
  /* Глубокое реальное стекло */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 100%),
    rgba(60, 65, 75, 0.36);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 22px 80px rgba(50, 60, 90, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 7px;
  opacity: 0;
  will-change: transform, opacity;
  transform: translateY(120vh) scale(0.9);
  transition: box-shadow 0.3s var(--ease);
}

/* Голубой вариант (центральная карточка «Всегда на связи») */
.gcard--blue {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.08) 100%),
    rgba(132, 148, 188, 0.55);
  border-color: rgba(255, 255, 255, 0.55);
}
.gcard--blue h3 { color: #fff; }
.gcard--blue p {
  color: var(--yoji-blue-electric);
  font-weight: 400;
  font-style: italic;
}

/* Позиции: 4 по углам, blue в центре. Отступы и размер подобраны так,
   чтобы столбцы не наезжали друг на друга вплоть до высоты экрана ~560px. */
.gcard--p1 { top: 8vh; left: 5%; }
.gcard--p2 { top: 6vh; right: 5%; }
.gcard--p3 { top: 37vh; left: 50%; margin-left: calc(-1 * clamp(93px, 7.75vw, 116px)); }
.gcard--p4 { bottom: 7vh; left: 4%; }
.gcard--p5 { bottom: 6vh; right: 4%; }
/* Голубой вариант — как 84:94:188 на макете */
.gcard--blue {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 100%),
    rgba(132, 148, 188, 0.46);
}
.gcard:hover {
  box-shadow:
    0 30px 110px rgba(40, 50, 90, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.gcard__icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  align-self: flex-start;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}
.gcard__icon img, .gcard__icon svg { width: 100%; height: 100%; object-fit: contain; }
.gcard__body {
  display: flex; flex-direction: column; gap: 10px;
}
.gcard h3 {
  margin: auto 0 0;
  font-family: var(--font-wide);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: #fff;
  white-space: pre-line; /* поддержка переноса "Всегда\nна связи" */
}
.gcard p {
  margin: 0;
  font-size: clamp(13px, 1vw, 14px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 920px) {
  /* аккордеон-раскладка «О нас» — на мобиле И планшете, чтобы плавающие карточки с иконками
     не наезжали на текст в промежутке 761–920px */
  .cards { height: auto; padding: 56px 0 8px; }
  .cards__stage { position: relative; height: auto; }
  .cards__heading { position: relative; inset: auto; padding: 0 20px; text-align: center; }
  .cards.is-veiled .cards__heading { transform: none; opacity: 1; filter: none; }
  .cards__field {
    position: relative; inset: auto;
    display: flex; flex-direction: column; gap: 12px;
    padding: 26px 16px 0;
    counter-reset: gc;
  }
  /* чистые светлые карточки вместо тусклого «стекла» */
  .gcard {
    position: relative; left: 0; top: 0; margin: 0; min-width: 0; width: 100%;
    transform: none; opacity: 1; aspect-ratio: auto; min-height: 0;
    display: block;
    background: #fff;
    border: 1px solid rgba(10, 19, 48, 0.08);
    box-shadow: 0 8px 26px rgba(10, 19, 48, 0.06);
    -webkit-backdrop-filter: none; backdrop-filter: none;
    border-radius: var(--r-md);
    padding: 18px 48px 18px 64px;
  }
  /* аккордеон: текст скрыт, раскрывается по тапу */
  .gcard { cursor: pointer; }
  .gcard p { display: none; margin-top: 8px; }
  .gcard.is-open p { display: block; }
  .gcard__plus {
    position: absolute; top: 50%; right: 20px; transform: translateY(-50%);
    width: 22px; height: 22px; display: grid; place-items: center;
    font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 24px; line-height: 1;
    color: var(--yoji-blue); transition: transform .25s var(--ease);
  }
  .gcard.is-open .gcard__plus { transform: translateY(-50%) rotate(45deg); }
  .gcard--blue .gcard__plus { color: #fff; }
  .gcard::after { display: none; }
  .gcard::before {
    counter-increment: gc; content: "0" counter(gc);
    position: absolute; left: 22px; top: 22px;
    font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 14px;
    color: var(--yoji-blue);
  }
  .gcard h3 { color: var(--yoji-ink); font-size: 19px; line-height: 1.1; margin-bottom: 6px; }
  .gcard p { color: var(--muted-on-light); font-size: 14px; font-style: normal; }
  .gcard--blue { background: var(--yoji-blue); border-color: transparent; box-shadow: 0 12px 30px rgba(1, 58, 209, 0.28); }
  .gcard--blue::before { color: rgba(255, 255, 255, 0.7); }
  .gcard--blue h3 { color: #fff; }
  .gcard--blue p { color: rgba(255, 255, 255, 0.88); }
}

/* ============================================================
   PHONE — крупный iPhone + glass-cards с серебряными иконками вокруг
============================================================ */
.phone {
  background: var(--yoji-bg);
  padding: 80px 0 0;
}
.phone__rail { position: relative; height: 240vh; }
.phone__pin {
  position: sticky; top: 0;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
}
.phone__stage {
  position: relative;
  width: min(1200px, 96vw);
  height: min(820px, 86vh);
  margin: 0 auto;
  perspective: 1200px;
}

/* Телефон — корпус нарисован в CSS (надёжно читается как устройство) */
.phone__device {
  position: absolute;
  left: 50%; top: 50%;
  transform-origin: center top;
  transform: translate(-50%, -50%) rotateX(13deg) scale(1.02);
  width: clamp(220px, 26vh, 300px);
  aspect-ratio: 0.486;
  border-radius: 15% / 7.2%;
  background: linear-gradient(135deg, #54585f 0%, #2a2c33 30%, #1c1e23 52%, #2f323a 78%, #4a4d54 100%);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.3),
    0 5px 14px rgba(0, 0, 0, 0.26),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.22),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.5);
  will-change: transform;
  z-index: 2;
}
.phone__device picture { display: none; } /* PNG-мокап больше не нужен — рамка в CSS */
.phone__img { display: none; }
/* боковые кнопки телефона */
.phone__device::before,
.phone__device::after {
  content: ""; position: absolute; z-index: 1;
  background: linear-gradient(90deg, #1a1c21, #3a3d44);
  border-radius: 2px;
}
.phone__device::before { left: -1.4%; top: 26%; width: 1.6%; height: 6%; }      /* громкость+ */
.phone__device::after  { right: -1.4%; top: 30%; width: 1.6%; height: 11%; }     /* питание */
/* вырез камеры / «остров» сверху экрана */
.phone__cam {
  position: absolute; z-index: 4;
  top: 4.4%; left: 50%; transform: translateX(-50%);
  width: 26%; height: 3.2%; min-height: 11px;
  background: #04060a; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Стеклянная карточка вокруг телефона: серебряная иконка сверху + заголовок + текст */
.phone__card {
  position: absolute;
  width: clamp(250px, 24vw, 320px);
  padding: 22px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.10) 100%),
    rgba(80, 90, 110, 0.32);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  backdrop-filter: blur(26px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--r-md);
  box-shadow:
    0 26px 70px rgba(40, 50, 90, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  z-index: 3;
  will-change: transform;
  display: flex; flex-direction: column;
}
.phone__card-ico {
  width: clamp(54px, 4.6vw, 76px);
  height: clamp(54px, 4.6vw, 76px);
  display: block;
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.26));
}
.phone__card-ico svg { width: 100%; height: 100%; display: block; }
.phone__card .phone__card-t {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 20px);
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.18;
}
.phone__card p {
  font-size: clamp(13px, 1vw, 14px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}
/* творческий «разброс» по краям сцены — но без наезда на телефон (он по центру) */
.phone__card--tl { top: 6%;  left: 0; }
.phone__card--tr { top: 3%;  right: 0; }
.phone__card--bl { top: 46%; left: 1.5%; }
.phone__card--br { top: 50%; right: 1%; }

/* Плашка stats — горизонтальная пилюля справа, между tr и br (с зазором сверху и снизу) */
.phone__stats {
  position: absolute;
  bottom: 3%; left: 50%; right: auto;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(60, 70, 110, 0.22);
  z-index: 4;
  will-change: transform;
}
.phone__stats > div {
  display: flex; flex-direction: column;
  min-width: 70px;
  text-align: left;
}
.phone__stats > div + div { padding-left: 22px; border-left: 1px solid rgba(132, 148, 188, 0.3); }
.phone__stats-num {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 26px);
  color: var(--yoji-ink);
  line-height: 1;
  margin-bottom: 4px;
}
.phone__stats-lab {
  font-size: 11px;
  color: var(--yoji-slate);
  line-height: 1.3;
  max-width: 130px;
}

/* Заголовок под телефоном — по центру разрыва между телефоном и бегущей строкой */
.phone__head {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(40px, 7vh, 100px) 24px clamp(40px, 7vh, 100px);
}
.phone__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.05;
  color: var(--yoji-ink);
  margin: 12px 0 0;
}

@media (max-width: 920px) {
  .phone__stats { padding: 12px 16px; gap: 14px; }
  .phone__stats > div + div { padding-left: 14px; }
  .phone__stats-lab { font-size: 10px; max-width: 100px; }
  .phone__card { width: 200px; padding: 14px 16px; border-radius: 20px; }
  .phone__card .phone__card-t { font-size: 14px; }
  .phone__card p { font-size: 13px; }
  .phone__card-ico { width: 44px; height: 44px; }
}
@media (max-width: 720px) {
  .phone__rail { height: auto; }
  .phone__pin { position: relative; min-height: auto; padding: 24px 0; }
  .phone__stage { height: auto; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
  /* На мобиле показываем НАСТОЯЩИЙ телефон (рамка) с живым SEO-экраном */
  .phone__device { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; width: clamp(228px, 62vw, 272px); max-width: none; }
  /* Карточки в обычном стеке поверх светлого фона — делаем тёмными, чтобы белый текст читался */
  .phone__card {
    position: relative; left: auto; right: auto; top: auto; bottom: auto;
    width: 100%; margin: 0; transform: none !important;
    background: linear-gradient(180deg, rgba(13,21,46,0.94), rgba(8,12,26,0.94));
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 18px 40px rgba(8,12,26,0.22);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .phone__card-ico { width: 52px; height: 52px; }
  .phone__stats {
    position: relative; left: auto; right: auto; top: auto; bottom: auto; transform: none !important;
    margin: 4px auto 0; width: 100%; justify-content: space-between;
    /* убираем «таблетку»-обводку — оставляем только цифры + разделители */
    background: none; border: none; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    padding: 4px 17px; /* выравниваем цифры по тексту карточек, а не по краю экрана */
  }
  .phone__stats > div { text-align: left; }
  .phone__stats > div + div { border-left-color: rgba(132, 148, 188, 0.4); }
}

/* ============================================================
   GLASS SHIMMER — переливающаяся обводка как на iOS + сияние кнопок
============================================================ */
@property --shimmer-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.gcard::after,
.phone__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--shimmer-angle),
    transparent 0deg,
    rgba(255, 255, 255, 0.9) 35deg,
    transparent 85deg,
    rgba(164, 209, 251, 0.75) 175deg,
    transparent 225deg,
    rgba(255, 255, 255, 0.6) 300deg,
    transparent 345deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
  --shimmer-angle: 130deg; /* статичная грань-блик, без вечного вращения */
}
/* блик «пробегает» один раз при наведении */
.gcard:hover::after, .phone__card:hover::after { animation: shimmerRing 1.1s ease-out; }
@keyframes shimmerRing { to { --shimmer-angle: 490deg; } }

/* Кнопки: блик пробегает один раз при наведении, не зациклен */
.btn, .popup__btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after, .popup__btn::after {
  content: "";
  position: absolute;
  top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn:hover::after, .popup__btn:hover::after { animation: btnSheen 0.8s ease-out; }
.btn--outline::after, .btn--ghost::after {
  background: linear-gradient(100deg, transparent, rgba(59, 90, 255, 0.18), transparent);
}
@keyframes btnSheen {
  0% { left: -70%; }
  100% { left: 140%; }
}
@media (prefers-reduced-motion: reduce) {
  .gcard::after, .phone__card::after,
  .btn::after, .popup__btn::after { animation: none; }
}

/* ---------- MARQUEES ---------- */
.marquees { padding: clamp(28px, 4vw, 52px) 0; overflow: hidden; }
.marquee {
  overflow: hidden;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee__track {
  display: inline-flex; gap: 28px; align-items: center;
  font-family: var(--font-wide); font-weight: 700;
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--yoji-ink);
  white-space: nowrap;
  animation: marqL 35s linear infinite;
}
.marquee[data-dir="right"] .marquee__track { animation-name: marqR; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--ghost .marquee__track {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--yoji-slate);
  font-style: italic;
}
@keyframes marqL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqR { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ============================================================
   CASES — story-scroll: секции поворачиваются из наклона и стопкой пинятся
============================================================ */
.flow { position: relative; background: var(--yoji-bg); }
.flow__head { text-align: center; max-width: 900px; margin: 0 auto; padding: 60px 24px 30px; }
.flow__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  color: var(--yoji-ink); margin: 12px 0 0;
}
.flow__stack { position: relative; }

.flow__section {
  position: sticky; top: 0;
  min-height: 100vh;
  display: flex;
  overflow: hidden;
}
.flow__inner {
  flex: 1;
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--bg);
  color: #fff;
  transform-origin: bottom left;
  will-change: transform;
}

.flow__text {
  padding: clamp(36px, 5vw, 80px) clamp(32px, 5vw, 90px);
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(14px, 2vh, 26px);
}
.flow__num {
  font-family: var(--font-wide);
  font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
}
.flow__rule {
  border: none; border-top: 1px solid currentColor;
  opacity: 0.35; margin: 0; width: 100%;
}
.flow__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}
.flow__desc {
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 48ch;
}
.flow__metrics {
  list-style: none; padding: 0; margin: 6px 0 0;
  display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 44px);
}
.flow__metrics li {
  display: flex; flex-direction: column; gap: 5px;
  font-size: 12px; color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.02em;
}
.flow__metrics li b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  color: var(--yoji-sky);
  line-height: 1;
}

/* Вертикальное медиа справа */
.flow__media {
  position: relative;
  margin: clamp(20px, 3vw, 40px);
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}
.flow__media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  mix-blend-mode: luminosity;
  opacity: 0.9;
}
.flow__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.28) 100%);
}

/* Нативный график кейса: тёмное стекло поверх цвета кейса, линии белым/голубым */
.flow__media--chart {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(10px, 2vw, 26px);
}
.flow__media--chart::after { display: none; }
.flow__media--chart svg { width: 100%; height: auto; display: block; }

/* — нативный SEO-график (.nchart) — */
.nchart text { font-family: var(--font-display), system-ui, sans-serif; }
.nc-tag { fill: var(--yoji-sky); font-family: var(--font-wide), sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.nc-src { fill: rgba(255,255,255,.5); font-size: 12.5px; }
.nc-src circle { fill: var(--yoji-sky); }
.nc-big { fill: #fff; font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 54px; }
.nc-lbl { fill: rgba(255, 255, 255, 0.72); font-size: 16px; }
.nc-grid line { stroke: rgba(255, 255, 255, 0.1); }
.nc-grid .nc-base { stroke: rgba(255, 255, 255, 0.28); }
.nc-yax { fill: rgba(255,255,255,.4); font-size: 11px; }
.nc-xax { fill: rgba(255,255,255,.4); font-size: 11px; }
.nc-area { }
.nc-line { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.nc-line2 { fill: none; stroke: var(--yoji-sky); stroke-width: 2; stroke-dasharray: 5 5; stroke-linejoin: round; stroke-linecap: round; opacity: .85; }
.nc-dot { fill: #fff; }
.nc-dot-ring { fill: none; stroke: #fff; stroke-opacity: 0.45; stroke-width: 2; }
.nc-leg text { fill: rgba(255,255,255,.62); font-size: 12.5px; }
.nc-sw1 { fill: #fff; }
.nc-sw2 { fill: var(--yoji-sky); }
.nc-vdiv { stroke: rgba(255,255,255,.14); }
.nc-kpi-v { fill: #fff; font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 26px; }
.nc-kpi-l { fill: rgba(255,255,255,.55); font-size: 11.5px; }

@media (max-width: 820px) {
  .flow__section { min-height: auto; }
  .flow__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 100vh;
  }
  .flow__media { order: -1; aspect-ratio: 16/11; margin: clamp(16px, 4vw, 24px) clamp(16px, 4vw, 24px) 0; }
  .flow__media--chart { aspect-ratio: auto; }
  .flow__metrics { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow__inner { transform: none !important; }
}

/* ---------- CJM (компактная карта) ---------- */
.cjm {
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--yoji-bg) 0%, transparent 14%),
    radial-gradient(60% 50% at 85% 8%, rgba(59, 90, 255, 0.14), transparent 60%),
    radial-gradient(50% 45% at 8% 92%, rgba(1, 58, 209, 0.12), transparent 60%),
    radial-gradient(40% 40% at 50% 50%, rgba(164, 209, 251, 0.10), transparent 70%),
    var(--yoji-bg);
}
.cjm::before {
  /* тонкая сетка-точки для «не блёклого» фона */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(132, 148, 188, 0.18) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.cjm__head { text-align: center; max-width: 880px; margin: 0 auto 50px; padding: 0 24px; position: relative; z-index: 1; }
.cjm__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  color: var(--yoji-ink); margin: 12px 0 14px; line-height: 1.1;
}
.cjm__lead { color: var(--yoji-slate); font-size: 18px; max-width: 640px; margin: 0 auto; }
.cjm__app {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 52px;
  align-items: start;
  position: relative; z-index: 1;
}
.cjm__steps { display: flex; flex-direction: column; gap: 14px; }
.cjm__step {
  background: #fff;
  border-radius: 22px;
  padding: 18px 22px;
  box-shadow: 0 6px 24px rgba(40, 50, 90, 0.06);
  border: 1px solid rgba(132, 148, 188, 0.15);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s;
  cursor: pointer;
}
.cjm__step.is-open { box-shadow: 0 30px 60px rgba(40, 50, 90, 0.12); border-color: rgba(59, 90, 255, 0.3); }
.cjm__step.is-done { background: rgba(59, 90, 255, 0.06); border-color: rgba(59, 90, 255, 0.2); }
.cjm__step-head { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; cursor: pointer; }
.cjm__step-idx {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(132, 148, 188, 0.15);
  color: var(--yoji-slate);
  font-family: var(--font-wide); font-weight: 700; font-size: 13px;
  display: grid; place-items: center;
  transition: background 0.3s, color 0.3s;
}
.cjm__step.is-open .cjm__step-idx,
.cjm__step.is-done .cjm__step-idx { background: var(--yoji-blue); color: #fff; }
.cjm__step-titles { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cjm__step-eyebrow {
  display: block; font-size: 11px; color: var(--yoji-slate);
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 2px;
}
.cjm__step-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--yoji-ink); line-height: 1.25;
}
.cjm__step-toggle {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  color: var(--yoji-slate);
  transition: transform 0.3s var(--ease);
  font-size: 18px;
}
.cjm__step.is-open .cjm__step-toggle { transform: rotate(45deg); color: var(--yoji-blue); }
.cjm__step-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.cjm__step.is-open .cjm__step-body { grid-template-rows: 1fr; }
.cjm__step-body > div { overflow: hidden; }
.cjm__step-content { padding: 12px 0 4px; }
.cjm__step-text { color: rgba(10, 19, 48, 0.78); font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.cjm__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cjm__opt {
  padding: 8px 14px; border-radius: 999px;
  background: rgba(132, 148, 188, 0.12); color: var(--yoji-ink);
  font-size: 13px; border: 1px solid transparent;
  transition: all 0.2s;
}
.cjm__opt:hover { background: rgba(59, 90, 255, 0.12); }
.cjm__opt.is-picked { background: var(--yoji-blue); color: #fff; }

.cjm__summary {
  margin-top: 8px;
  padding: 22px; background: #fff; border-radius: 22px;
  border: 1.5px solid var(--yoji-blue);
  box-shadow: 0 24px 60px rgba(59, 90, 255, 0.18);
  display: none;
}
.cjm__summary.is-on { display: block; }
.cjm__summary h4 { font-family: var(--font-display); font-weight: 400; font-size: 20px; margin: 0 0 8px; }
.cjm__summary-lead { margin: 0 0 14px; font-size: 13.5px; line-height: 1.45; color: var(--yoji-slate); }
.cjm__summary-lead:empty { display: none; }
.cjm__summary-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed rgba(132, 148, 188, 0.3); font-size: 14px; gap: 12px; }
.cjm__summary-row:last-child { border-bottom: 0; }
.cjm__summary-row b { color: var(--yoji-blue); font-weight: 400; font-family: var(--font-display); text-align: right; }
.cjm__summary .btn { margin-top: 14px; width: 100%; }

/* Карта — компактная, sticky, по размеру с блоком */
.cjm__map {
  position: sticky; top: 100px;
  background: #fff;
  border-radius: 26px;
  padding: 24px 22px 18px;
  box-shadow: 0 30px 70px rgba(40, 50, 90, 0.12);
  border: 1px solid rgba(132, 148, 188, 0.15);
}
.cjm__map-title {
  font-family: var(--font-wide);
  font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--yoji-slate);
  margin: 0 0 14px;
}
.cjm__svg { width: 100%; height: auto; display: block; }
.cjm__progress {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 0.7s var(--ease);
}
.cjm__node { transition: r 0.3s var(--ease), fill 0.3s var(--ease); }
.cjm__legend {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px dashed rgba(132, 148, 188, 0.3);
  color: var(--yoji-slate); font-size: 12px;
}
.cjm__legend-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yoji-blue);
  box-shadow: 0 0 0 4px rgba(59, 90, 255, 0.18);
}
@media (max-width: 920px) {
  .cjm__app { grid-template-columns: 1fr; gap: 24px; }
  /* Карта пути — декоративная, на мобиле прячем, чтобы квиз был сразу */
  .cjm__map { display: none; }
  /* без min-width:0 карточки квиза вылезали за правый край (min-content шире трека) */
  .cjm__steps, .cjm__step { min-width: 0; }
}
@media (max-width: 560px) {
  .cjm__app { padding: 0 20px; } /* 40px на узком экране — слишком много, делает асимметрию */
}

/* ============================================================
   CTA — форма по присланному образцу:
   FirstName/LastName · Email · Company/Size · 3 horizontal radio-cards · Go back / Apply
============================================================ */
.cta {
  padding: var(--section-y) 24px var(--section-y);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--yoji-bg) 0%, transparent 14%),
    radial-gradient(55% 50% at 12% 10%, rgba(59, 90, 255, 0.16), transparent 60%),
    radial-gradient(50% 50% at 90% 95%, rgba(1, 58, 209, 0.16), transparent 60%),
    linear-gradient(180deg, var(--yoji-bg) 0%, #eef1f8 100%);
}
.cta::before {
  content: ""; position: absolute;
  width: 620px; height: 620px; left: -180px; top: -160px;
  background: radial-gradient(circle, rgba(164, 209, 251, 0.5), transparent 65%);
  filter: blur(40px); pointer-events: none;
}
.cta__wrap {
  max-width: 1080px;
  margin: 0 auto;
  position: relative; z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-md);
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 40px 100px rgba(40, 50, 90, 0.16);
}
.cta__title {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  color: var(--yoji-ink);
  margin: 0 0 8px;
  line-height: 1.2;
}
.cta__sub {
  color: var(--yoji-slate);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 640px;
}

.cta__form { display: flex; flex-direction: column; gap: 22px; }
.cta__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .cta__row { grid-template-columns: 1fr; gap: 16px; } }

.cta__field { display: flex; flex-direction: column; gap: 8px; }
.cta__label {
  font-size: 14px; font-weight: 600; color: var(--yoji-ink);
  letter-spacing: 0;
}
.cta__label .req { color: #ff3b30; margin-left: 1px; }
.cta__input, .cta__select {
  background: #fff;
  border: 1px solid rgba(132, 148, 188, 0.4);
  color: var(--yoji-ink);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit; font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.cta__input::placeholder { color: rgba(132, 148, 188, 0.85); }
.cta__input:focus, .cta__select:focus {
  border-color: var(--yoji-blue);
  box-shadow: 0 0 0 3px rgba(59, 90, 255, 0.12);
}
.cta__select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%238494bc' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.cta__divider {
  height: 1px;
  background: rgba(132, 148, 188, 0.3);
  margin: 14px 0 4px;
}

.cta__plans-title {
  font-size: 15px; font-weight: 600; color: var(--yoji-ink);
  margin: 0;
}
.cta__plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .cta__plans { grid-template-columns: 1fr; } }

.cta__plan {
  position: relative;
  display: block; cursor: pointer;
  background: #fff;
  border: 1px solid rgba(132, 148, 188, 0.4);
  border-radius: 12px;
  padding: 18px 18px 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cta__plan.is-on {
  border-color: var(--yoji-ink);
  box-shadow: 0 0 0 1px var(--yoji-ink);
}
.cta__plan input { position: absolute; opacity: 0; pointer-events: none; }
.cta__plan-radio {
  position: absolute; top: 18px; right: 18px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(132, 148, 188, 0.6);
  transition: border-color 0.2s, background 0.2s;
}
.cta__plan.is-on .cta__plan-radio {
  border-color: var(--yoji-ink);
  background: var(--yoji-ink);
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 8px var(--yoji-ink);
}
.cta__plan-name {
  font-weight: 600; font-size: 16px; color: var(--yoji-ink);
  margin: 0 30px 10px 0;
}
.cta__plan-desc {
  font-size: 14px;
  color: var(--yoji-slate);
  line-height: 1.45;
  margin: 0 0 24px;
  min-height: 42px;
}
.cta__plan-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--yoji-ink);
}
.cta__plan-price sup { font-weight: 400; font-size: 11px; color: var(--yoji-slate); margin-left: 2px; }

.cta__notes {
  font-size: 13px; color: var(--yoji-slate); line-height: 1.6;
  margin: 4px 0 0;
}
.cta__notes p { margin: 2px 0; }
.cta__notes sup { margin-right: 4px; }

.cta__actions {
  display: flex; gap: 10px; justify-content: flex-end;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(132, 148, 188, 0.3);
}
.cta__actions--single { display: block; }
.cta__actions--single .btn { display: flex; width: 100%; padding: 15px 18px; font-size: 16px; line-height: 1.2; white-space: normal; box-sizing: border-box; }
.btn--dark {
  background: var(--yoji-ink); color: #fff;
}
.btn--dark:hover { background: #06122d; transform: translateY(-1px); }
.btn--outline {
  background: #fff;
  color: var(--yoji-ink);
  border: 1px solid rgba(132, 148, 188, 0.45);
}
.btn--outline:hover { background: rgba(132, 148, 188, 0.08); }

.cta__ok {
  display: none;
  background: #fff;
  border-radius: 22px;
  padding: 60px 32px;
  text-align: center;
  border: 1px solid rgba(59, 90, 255, 0.2);
}
.cta__ok.is-on { display: block; }
.cta__ok svg { width: 56px; color: var(--yoji-blue); margin-bottom: 14px; }
.cta__ok h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin: 0 0 8px; }
.cta__ok p { color: var(--yoji-slate); margin: 0; }

/* ============================================================
   POPUP — всплывающее предложение, ненавязчивое
============================================================ */
.popup {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 130;
  width: min(340px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid rgba(132, 148, 188, 0.4);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 24px 60px rgba(20, 30, 60, 0.18);
  display: none;
  transform: translateY(20px); opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.popup.is-on { display: block; }
.popup.is-in { opacity: 1; transform: translateY(0); }
.popup__close {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 5; /* поверх картинки, иначе клик перехватывает .popup__img */
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--yoji-ink);
  display: grid; place-items: center;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(20, 30, 60, 0.18);
  transition: background 0.2s;
}
.popup__close:hover { background: rgba(132, 148, 188, 0.2); }
.popup__img {
  height: 140px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(59, 90, 255, 0.95) 0%, rgba(1, 58, 209, 0.9) 100%);
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  display: grid; place-items: center;
}
.popup__img::before {
  content: ""; position: absolute;
  width: 240px; height: 240px;
  right: -60px; top: -80px;
  background: radial-gradient(circle, rgba(164, 209, 251, 0.55), transparent 60%);
  filter: blur(20px);
}
.popup__img img { max-width: 70%; max-height: 110px; object-fit: contain; position: relative; z-index: 1; }
.popup__img-fallback {
  position: relative; z-index: 1;
  font-family: var(--font-wide);
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
}
.popup__img-fallback span { display: block; font-size: 12px; font-family: var(--font-body); font-weight: 400; opacity: 0.85; margin-top: 4px; letter-spacing: 0.08em; }
.popup__title {
  font-size: 16px; font-weight: 600; color: var(--yoji-ink);
  margin: 0 0 6px;
}
.popup__text {
  font-size: 13px; line-height: 1.5; color: var(--yoji-slate);
  margin: 0 0 14px;
}
.popup__btn {
  width: 100%;
  background: var(--yoji-blue); color: #fff;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: background 0.2s, transform 0.2s;
}
.popup__btn:hover { background: var(--yoji-blue-bright); transform: translateY(-1px); }
@media (max-width: 480px) {
  .popup { left: 16px; right: 16px; bottom: 16px; width: auto; }
}

/* ============================================================
   FOOTER reveal — body синий, main серый сверху, footer fixed снизу;
   между ними прозрачный spacer, через который виден body+footer.
============================================================ */
html, body { background: var(--yoji-blue); }
main {
  position: relative;
  z-index: 2;
  background: var(--yoji-bg);
}
.footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 100vh; height: 100dvh;
  z-index: 1;
  background: var(--yoji-blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  /* Шапка (.topbar) — fixed, top:24px, высота ~68px → низ на 92px.
     Футер раскрывается под ней, поэтому контент начинаем ниже 92px, иначе
     заголовок уезжает под шапку. 112px = как в мобильной версии, зазор 20px. */
  padding: 112px 56px 28px;
  overflow: hidden;
}
.footer::before {
  content: ""; position: absolute;
  width: 800px; height: 800px;
  right: -200px; top: -300px;
  background: radial-gradient(circle, rgba(164, 209, 251, 0.28), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}
.footer__label {
  font-family: var(--font-wide);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
}

/* Записка-слоган — крупный, по центру сверху */
.footer__note {
  text-align: center;
  position: relative; z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}
.footer__note .footer__label { display: block; margin-bottom: 22px; }
.footer__tag {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.15;
  color: #fff;
  margin: 0;
}

/* Ряд квадратиков с иконками — по центру, занимает свободное место */
.footer__socials {
  flex: 1;
  display: flex; justify-content: center; align-items: center; gap: 18px;
  position: relative;
  z-index: 2;
}
.footer__sq {
  width: 84px; height: 84px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  color: #fff;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer__sq svg { width: 36px; height: 36px; }
.footer__sq:hover {
  transform: scale(1.08) translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

/* Нижняя строка */
.footer__bottom {
  position: relative; z-index: 2;
  max-width: 1280px; width: 100%; margin: 30px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap; gap: 12px;
}

/* Мелкое тонкое название во всю ширину снизу */
.footer__name {
  position: relative; z-index: 2;
  text-align: center;
  margin-top: 14px;
  font-family: var(--font-body);
  font-weight: 200;
  font-size: clamp(36px, 5.5vw, 88px);
  line-height: 1;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: lowercase;
  pointer-events: none;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .footer {
    /* верх под фикс-шапку (иначе первая строка записки прячется за топбаром) */
    padding: 112px 20px calc(24px + env(safe-area-inset-bottom));
    height: auto; min-height: 100vh; min-height: 100dvh;
  }
  .footer__note { margin: 0; }
  .footer__note .footer__label { margin-bottom: 14px; }
  /* записка + соцсети группируем сверху, копирайт + имя — внизу */
  .footer__socials { flex: 0 0 auto; gap: 12px; flex-wrap: wrap; padding: 30px 0 0; }
  .footer__sq { width: 56px; height: 56px; border-radius: 16px; }
  .footer__sq svg { width: 24px; height: 24px; }
  .footer__bottom { margin-top: auto; }
  .footer__name { font-size: 40px; margin-top: 16px; }
}

/* Высота, на которую страница «отступает» от низа, чтобы открыть футер */
.footer-spacer { height: 100vh; height: 100dvh; pointer-events: none; }
/* на мобиле тоже полный reveal — иначе верх футера (записка) не доезжает из-под контента */
@media (max-width: 820px) { .footer-spacer { height: 100vh; height: 100dvh; } }

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .gcard { opacity: 1; transform: none; }
  .phone__device { transform: none; }
}

/* ============ ADVANTAGES (4 тёмные плитки) ============ */
.adv {
  background: radial-gradient(120% 140% at 50% -10%, #0d1530 0%, #080c1a 60%);
  padding: var(--section-y) 0;
}
.adv__head { max-width: 920px; margin: 0 0 clamp(34px, 5vw, 64px); }
.adv .eyebrow { color: var(--yoji-sky); margin-bottom: 14px; }
.adv__title {
  font-family: var(--font-display); font-weight: 400; color: #fff;
  font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -0.01em; margin: 0;
}
.adv__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 28px);
}
.adv__card {
  display: flex; gap: clamp(18px, 2vw, 28px); align-items: flex-start;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 24px; padding: clamp(24px, 2.6vw, 38px);
}
.adv__ico {
  flex: none; width: 76px; height: 76px; border-radius: 20px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 28%, rgba(63,123,255,.28), rgba(1,58,209,.05) 70%);
  box-shadow: inset 0 0 0 1px rgba(63,123,255,.18);
}
.adv__ico svg { width: 58px; height: 58px; display: block; }
.adv__txt h3 {
  font-family: var(--font-display); font-weight: 400; color: #fff;
  font-size: clamp(19px, 1.6vw, 24px); line-height: 1.15; margin: 4px 0 10px;
}
.adv__txt p { color: rgba(255,255,255,.62); font-size: clamp(14px, 1.05vw, 16px); line-height: 1.55; margin: 0; }
@media (max-width: 780px) {
  .adv__grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .adv__card { flex-direction: column; gap: 16px; }
}

/* ============ HIGHLIGHTS (две цветные карточки-кейса) ============ */
.hilite { background: var(--yoji-bg); padding: var(--section-y) 0 clamp(20px, 3vw, 40px); }
.hilite__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 28px); }
.hilite__card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 26px; padding: clamp(28px, 3.4vw, 48px);
  color: #fff; min-height: clamp(220px, 24vw, 300px);
  display: flex; flex-direction: column;
}
.hilite__card::after {
  content: ""; position: absolute; z-index: -1; right: -12%; bottom: -30%;
  width: 60%; height: 110%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
}
.hilite__card--green { background: linear-gradient(150deg, #1aa06a 0%, #137a52 100%); }
.hilite__card--blue  { background: linear-gradient(150deg, #1b33d6 0%, #0a1f8f 100%); }
.hilite__tag {
  font-family: var(--font-wide); font-weight: 700; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.78);
  margin-bottom: clamp(18px, 3vw, 34px);
}
.hilite__tag::before { content: "#"; opacity: .7; margin-right: 1px; }
.hilite__t {
  font-family: var(--font-display); font-weight: 400; margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -0.01em;
  max-width: 22ch;
}
.hilite__p { font-size: clamp(14px, 1.1vw, 16px); line-height: 1.5; color: rgba(255,255,255,.82); margin: 0; max-width: 40ch; }
@media (max-width: 780px) {
  .hilite__grid { grid-template-columns: 1fr; }
}

/* ============ Брендированный экран yoji поверх мокапа iPhone ============ */
.phone__screen {
  position: absolute;
  top: 2.4%; left: 5%; right: 5%; bottom: 2.4%;
  border-radius: 12% / 5.8%;
  overflow: hidden;
  z-index: 3;
  background: linear-gradient(168deg, #0c1733 0%, #070b1a 72%);
  container-type: size;
  box-shadow: 0 0 0 3px #05070c, 0 0 0 4px rgba(255, 255, 255, 0.05);
}
.pscr {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  color: #fff;
}
/* iOS-хром: статус-бар + Dynamic Island */
.pscr__chrome { position: relative; flex: 0 0 auto; height: 9cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 6cqw; }
.pscr__time { font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 3cqw; letter-spacing: .02em; }
.pscr__island { position: absolute; left: 50%; top: 2.2cqw; transform: translateX(-50%); width: 22cqw; height: 5.6cqw; background: #000; border-radius: 999px; }
.pscr__sys { display: flex; align-items: center; gap: 1.6cqw; }
.pscr__sig { width: 4.6cqw; height: 3cqw; background: repeating-linear-gradient(90deg, #fff 0 1cqw, transparent 1cqw 1.7cqw); }
.pscr__wifi { width: 3.4cqw; height: 3cqw; background: #fff; border-radius: 50% 50% 1px 1px; clip-path: polygon(50% 12%, 100% 55%, 78% 78%, 50% 50%, 22% 78%, 0 55%); }
.pscr__bat { position: relative; width: 6.4cqw; height: 3.2cqw; border: 0.6cqw solid rgba(255,255,255,.85); border-radius: 1.1cqw; }
.pscr__bat::after { content: ""; position: absolute; inset: 0.7cqw; background: #fff; border-radius: 0.4cqw; }
.pscr__bat::before { content: ""; position: absolute; right: -1.4cqw; top: 28%; width: 0.9cqw; height: 44%; background: rgba(255,255,255,.85); border-radius: 0 1px 1px 0; }
/* прокручиваемый «экран приложения» */
.pscr__view { position: relative; flex: 1 1 auto; overflow: hidden; }
.pscr__scroll { position: absolute; top: 0; left: 0; right: 0; display: flex; flex-direction: column; will-change: transform; }
/* каждый «экран приложения» = высота вьюпорта телефона (её проставляет JS) */
.pscr__screen { flex: 0 0 auto; box-sizing: border-box; padding: 11cqw 7cqw 5cqw; display: flex; flex-direction: column; justify-content: flex-start; gap: 3.4cqw; overflow: hidden; }
.pscr__screen--cta { justify-content: flex-start; align-items: stretch; text-align: left; gap: 3cqw; }
.pscr__screen--cta .pscr__btn { margin-top: 1cqw; }
/* экран «Результаты» — плотный список метрик */
.pscr__results { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2cqw; }
.pscr__res { flex: 1 1 0; min-height: 0; display: flex; align-items: center; gap: 3cqw; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 3cqw; padding: 0 4cqw; }
.pscr__res b { flex: 0 0 auto; min-width: 22cqw; font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 8.4cqw; color: var(--yoji-sky); line-height: 1; }
.pscr__res span { flex: 1 1 auto; font-size: 4.2cqw; color: rgba(255,255,255,.78); }
.pscr__res-up { flex: 0 0 auto; color: #3ee0a0; font-size: 4cqw; }
.pscr__res--rate b { color: #ffcc4d; }
.pscr__kpis--lg { margin-top: 2cqw; }
.pscr__kpis--lg b { font-size: 7.4cqw; }
.pscr__stars { display: flex; align-items: center; justify-content: center; gap: 2cqw; }
.pscr__stars-s { color: #ffcc4d; font-size: 4.6cqw; letter-spacing: 0.5cqw; }
.pscr__stars b { font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 4.6cqw; color: #fff; }
.pscr__cta-h { font-family: var(--font-display); font-weight: 400; font-size: 6.4cqw; line-height: 1.04; color: #fff; margin: 0; }
.pscr__checks { list-style: none; margin: 0; padding: 0; align-self: center; display: flex; flex-direction: column; gap: 2.8cqw; text-align: left; }
.pscr__checks li { position: relative; padding-left: 7.4cqw; font-size: 3.2cqw; color: rgba(255,255,255,.86); line-height: 1.3; }
.pscr__checks li::before { content: "✓"; position: absolute; left: 0; top: -0.4cqw; width: 5cqw; height: 5cqw; border-radius: 50%; background: rgba(62,224,160,.16); color: #6ef0bb; display: grid; place-items: center; font-size: 2.8cqw; }
.pscr__week { display: flex; align-items: center; gap: 3cqw; margin-top: 1.4cqw; font-size: 3cqw; color: #8ef3c6; }
.pscr__week-dot { flex: 0 0 auto; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: #3ee0a0; box-shadow: 0 0 0 1.2cqw rgba(62,224,160,.18); }
.pscr__appbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1cqw; }
.pscr__logo { height: 5cqw; width: auto; display: block; }
.pscr__menu { display: flex; flex-direction: column; gap: 1.4cqw; }
.pscr__menu i { width: 6cqw; height: 0.6cqw; min-height: 1px; background: rgba(255,255,255,.7); border-radius: 2px; display: block; }
.pscr__home { flex: 0 0 auto; height: 5.5cqw; display: grid; place-items: center; }
.pscr__home::after { content: ""; width: 30%; height: 1.4cqw; min-height: 3px; background: rgba(255,255,255,.55); border-radius: 999px; }
.pscr__eyebrow {
  margin: 2.4cqw 0 0; font-family: var(--font-wide), sans-serif;
  font-size: 2.8cqw; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yoji-sky);
}
/* лента заявок из поиска — плотный список как реальный CRM */
.pscr__sec-t { margin: 0 0 1cqw; display: flex; align-items: center; gap: 2.4cqw; font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 3.8cqw; color: #fff; }
.pscr__count { font-size: 2.7cqw; color: #8ef3c6; background: rgba(52,211,153,.16); border: 1px solid rgba(52,211,153,.24); border-radius: 999px; padding: 0.5cqw 2.4cqw; }
.pscr__leads { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-start; gap: 1.8cqw; }
.pscr__lead { flex: 1 1 0; min-height: 0; display: flex; align-items: center; gap: 2.8cqw; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 2.8cqw; padding: 0 3.2cqw; }
.pscr__ava { flex: 0 0 auto; width: 7.4cqw; height: 7.4cqw; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 2.7cqw; color: #fff; background: linear-gradient(135deg, #3f7bff, #013ad1); }
.pscr__ava--2 { background: linear-gradient(135deg, #6d7aa6, #2a3566); }
.pscr__ava--3 { background: linear-gradient(135deg, #34d399, #0f9b6c); }
.pscr__lead-tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.8cqw; }
.pscr__lead-n { display: block; font-family: var(--font-body); font-weight: 600; font-size: 3.4cqw; line-height: 1.15; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pscr__lead-s { display: block; font-size: 2.7cqw; line-height: 1.1; color: rgba(255,255,255,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pscr__lead-dot { flex: 0 0 auto; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: #3ee0a0; box-shadow: 0 0 0 1cqw rgba(62,224,160,.18); }
.pscr__lead-dot--read { background: rgba(255,255,255,.22); box-shadow: none; }
/* живые позиции в поиске — растут к №1 */
.pscr__ranks { margin-top: 3.4cqw; display: flex; flex-direction: column; }
.pscr__rank { display: flex; align-items: center; gap: 2.5cqw; padding: 3.3cqw 0; }
.pscr__rank + .pscr__rank { border-top: 1px solid rgba(255,255,255,.09); }
.pscr__rank-kw { flex: 1; min-width: 0; font-size: 3.1cqw; color: rgba(255,255,255,.88); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pscr__rank-up { color: #3ee0a0; font-size: 2.7cqw; line-height: 1; transform: translateY(-0.2cqw); }
.pscr__rank-pos {
  font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 3.2cqw; color: #8ef3c6;
  background: rgba(52,211,153,.15); border: 1px solid rgba(52,211,153,.22);
  border-radius: 999px; padding: 1cqw 3cqw; min-width: 12cqw; text-align: center; letter-spacing: .02em;
}
.pscr__card {
  position: relative; flex: 1 1 auto; min-height: 34cqw; overflow: hidden;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 4cqw;
}
.pscr__cardhead { position: absolute; top: 5cqw; left: 6cqw; z-index: 2; display: flex; align-items: baseline; gap: 2.5cqw; }
.pscr__big { font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 10cqw; line-height: 1; color: #fff; }
.pscr__lbl { font-size: 3cqw; color: rgba(255,255,255,.62); }
.pscr__chart { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pscr__kpis { display: flex; justify-content: space-between; gap: 3cqw; margin-top: 4.5cqw; }
.pscr__kpis > div { display: flex; flex-direction: column; }
.pscr__kpis b { font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 5.2cqw; color: var(--yoji-sky); line-height: 1; }
.pscr__kpis span { font-size: 2.6cqw; color: rgba(255,255,255,.6); margin-top: 1.4cqw; }
.pscr__btn {
  margin-top: 5cqw; text-align: center; background: var(--yoji-blue); color: #fff;
  font-size: 3.4cqw; padding: 3.4cqw; border-radius: 999px; display: block; text-decoration: none;
  box-shadow: 0 2cqw 5cqw rgba(1,58,209,.32);
}

/* — анимация «рисования» SEO-графика при попадании в зону видимости — */
.nchart .nc-area,
.nchart .nc-line2,
.nchart .nc-dot,
.nchart .nc-dot-ring,
.nchart .nc-leg,
.nchart .nc-kpi { opacity: 0; }
.nchart.is-drawn .nc-area { opacity: 1; transition: opacity 0.7s var(--ease-out) 0.45s; }
.nchart.is-drawn .nc-line2 { opacity: 0.85; transition: opacity 0.7s var(--ease-out) 0.65s; }
.nchart.is-drawn .nc-leg { opacity: 1; transition: opacity 0.6s var(--ease-out) 0.5s; }
.nchart.is-drawn .nc-kpi { opacity: 1; transition: opacity 0.5s var(--ease-out) 0.45s; }
.nchart.is-drawn .nc-dot,
.nchart.is-drawn .nc-dot-ring { opacity: 1; transition: opacity 0.5s var(--ease-out) 1.15s; }
@media (prefers-reduced-motion: reduce) {
  .nchart .nc-area, .nchart .nc-line2, .nchart .nc-dot, .nchart .nc-dot-ring, .nchart .nc-leg, .nchart .nc-kpi { opacity: 1; }
  .nchart .nc-line2 { opacity: 0.85; }
}

/* ============ Липкая мобильная CTA-кнопка ============ */
.mcta { display: none; }
@media (max-width: 820px) {
  .mcta {
    position: fixed; left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 95;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px; border-radius: 999px;
    background: var(--yoji-blue); color: #fff; font-size: 16px;
    box-shadow: 0 14px 34px rgba(1, 58, 209, 0.5);
    transform: translateY(170%); opacity: 0; pointer-events: none;
    transition: transform 0.45s var(--ease), opacity 0.35s;
  }
  .mcta.is-on { transform: none; opacity: 1; pointer-events: auto; }
}

/* ============ Мобильная карусель кейсов (свайп как «сторис») ============ */
.flow__dots { display: none; justify-content: center; gap: 0; padding: 12px 0 4px; }
.flow__dots button {
  width: 7px; height: 7px; padding: 10px; box-sizing: content-box;
  background: rgba(132, 148, 188, 0.35); background-clip: content-box;
  border: 0; border-radius: 999px; cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}
.flow__dots button.is-active { background: var(--yoji-blue); background-clip: content-box; width: 22px; }
@media (max-width: 820px) {
  .flow__head { padding: 48px 20px 18px; }
  .flow__stack {
    display: flex; gap: 14px;
    overflow-x: auto; overflow-y: visible;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding: 4px 16px 10px; scrollbar-width: none;
  }
  .flow__stack::-webkit-scrollbar { display: none; }
  .flow__section {
    position: relative; top: auto;
    flex: 0 0 86%; scroll-snap-align: center; min-height: 0;
    border-radius: 26px; overflow: hidden;
    box-shadow: 0 20px 44px rgba(8, 12, 26, 0.28);
  }
  .flow__inner {
    grid-template-columns: 1fr; grid-template-rows: auto 1fr;
    min-height: 0; height: 100%; border-radius: 26px;
  }
  /* единый горизонтальный отступ 18px для графика, текста и кнопки — ровные поля слева/справа */
  .flow__media { order: -1; aspect-ratio: auto; margin: 16px 18px 0; }
  .flow__text { padding: 22px 18px 18px; gap: 12px; }
  /* кнопка прижата к низу (на всех карточках на одном уровне) и во всю ширину — поля слева=справа */
  .flow__text .flow__to-shots { margin-top: auto; align-self: stretch; width: 100%; justify-content: center; }
  .flow__dots { display: flex; }
}

/* ============ Состав бесплатного аудита + гарантия ============ */
.cta__deliver { list-style: none; margin: 20px 0 10px; padding: 0; display: grid; gap: 11px; }
.cta__deliver li {
  position: relative; padding-left: 34px;
  font-size: 15px; color: var(--yoji-ink); line-height: 1.4;
}
.cta__deliver li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 23px; height: 23px; border-radius: 50%;
  background: rgba(1, 58, 209, 0.1); color: var(--yoji-blue);
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.cta__guarantee { margin: 2px 0 8px; font-size: 13.5px; color: var(--yoji-slate); line-height: 1.45; }

/* honeypot (скрытое поле-ловушка для ботов) + ошибка формы */
.cta__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cta__error { margin: 12px 0 0; color: #c0341d; font-size: 14px; line-height: 1.4; }
.cta__error:empty { display: none; }

/* ===== QA-фиксы: контраст (AA), доступность, iOS-фолбэки ===== */
/* приглушённый текст на светлом фоне — поднимаем до AA */
.eyebrow:not(.eyebrow--sky), .cjm__lead, .cjm__summary-lead, .cjm__step-eyebrow, .cta__ok p { color: var(--muted-on-light); }
.cta__label .req { color: #c0341d; }
/* подписи графика на ярких панелях — поднимаем контраст */
.nc-yax, .nc-xax { fill: rgba(255, 255, 255, 0.72); }
.nc-src text { fill: rgba(255, 255, 255, 0.72); }
.nc-kpi-l { fill: rgba(255, 255, 255, 0.8); }
/* фокус-кольцо на карточках тарифа (радио визуально скрыты) */
.cta__plan:focus-within { outline: 2px solid var(--yoji-blue); outline-offset: 2px; }
/* свёрнутые шаги квиза: варианты не должны ловить Tab */
.cjm__step-body { visibility: hidden; transition: grid-template-rows 0.45s var(--ease), visibility 0s linear 0.45s; }
.cjm__step.is-open .cjm__step-body { visibility: visible; transition: grid-template-rows 0.45s var(--ease), visibility 0s; }
/* фолбэк, когда backdrop-filter не поддерживается — стекло не должно становиться прозрачным */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar__inner { background: rgba(12, 16, 28, 0.82); }
  .gcard { background: rgba(70, 78, 95, 0.74); }
  .phone__card { background: linear-gradient(180deg, rgba(40, 48, 70, 0.92), rgba(20, 26, 44, 0.94)); }
  .phone__stats { background: rgba(255, 255, 255, 0.97); }
  .drawer-scrim { background: rgba(0, 0, 0, 0.72); }
  .cta__wrap { background: rgba(255, 255, 255, 0.98); }
}

/* ===== Мобильный супер-аудит: полировка ===== */
/* тактильный отклик (на тач-устройствах нет :hover) */
a, button, label, .cjm__opt, .cta__plan, .gcard, .footer__sq { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .btn:active, .mcta:active, .cjm__opt:active, .footer__sq:active, .popup__btn:active, .lang button:active, .drawer__nav a:active { transform: scale(0.97); }
  .cta__plan:active { transform: scale(0.99); }
}
/* счётчик кейсов «01 / 06» */
.flow__count { display: none; font-family: var(--font-wide), sans-serif; font-size: 12px; letter-spacing: 0.08em; color: var(--muted-on-light); text-align: center; margin-top: 8px; font-variant-numeric: tabular-nums; }

@media (max-width: 480px) {
  /* первый экран: компактнее заголовок, мельче подзаголовок и кнопки */
  .hero__title { font-size: clamp(29px, 8vw, 38px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 16px; }
  /* На мобиле резерв под самый длинный язык не держим: переключатель языка
     спрятан в бургер-меню, смена происходит за открытой шторкой и почти не
     заметна, а два пустых ряда съели бы место над сгибом. */
  .hero__title { min-height: 0; display: block; }
  .hero__sub { color: rgba(255, 255, 255, 0.82); font-size: 14px; line-height: 1.42; max-width: 32ch; margin-bottom: 22px; }
  /* меньше пустого «воздуха» под кнопкой и до секции «О нас» */
  .hero { margin-bottom: 28px; }
  .hero__card { padding-top: 104px; padding-bottom: 30px; min-height: auto; }
  /* на самых узких экранах убираем всё, что не несёт смысла: зерно и
     «измерительные» хайрлайны не читаются, а рисовать их всё равно надо */
  .yl-grain, .yl-rule { display: none; }
  .hero__cta { gap: 12px 18px; }
  .hero__cta .btn--lg { padding: 11px 20px; font-size: 14.5px; }
  /* на мобиле оставляем одну кнопку — «Посмотреть кейсы» убираем */
  .hero__link { display: none; }
}
@media (max-width: 640px) {
  .cjm__opt { min-height: 44px; padding: 11px 16px; }      /* 44px тач-таргет */
  .cjm__opts { gap: 10px; }
  .cta__input, .cta__select { font-size: 16px; }            /* iOS не зумит при фокусе */
}
@media (max-width: 760px) {
  /* снимаем дорогой will-change на мобиле (карточки .gcard теперь светлые — стили в блоке выше) */
  .phone__card, .phone__stats, .phone__device { will-change: auto; }
}
@media (max-width: 820px) {
  /* карусель ощущается «физически свайпаемой» */
  .flow__stack { overscroll-behavior-x: contain; touch-action: pan-x; scroll-padding-inline: 16px; -webkit-mask: linear-gradient(90deg, #000 94%, transparent); mask: linear-gradient(90deg, #000 94%, transparent); }
  .flow__section { flex: 0 0 84%; scroll-snap-stop: always; }
  .flow__desc { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .flow__count { display: block; }
  .marquee__track { animation-duration: 55s; }
}
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* hero proof-chips */
.hero__proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 4px; padding: 0; }
.hero__proof li {
  font-family: var(--font-wide), sans-serif; font-size: 12.5px; letter-spacing: 0.04em; color: #fff;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
}
@media (max-width: 480px) { .hero__proof { gap: 6px; margin: 16px 0 2px; } .hero__proof li { font-size: 11.5px; padding: 6px 11px; } }

/* раскрывающийся блок тарифов в форме */
.cta__plans-wrap { margin-top: 4px; }
.cta__plans-wrap > .cta__plans { margin-top: 14px; }
summary.cta__plans-title { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; }
summary.cta__plans-title::-webkit-details-marker { display: none; }
summary.cta__plans-title::after { content: "▾"; margin-left: auto; color: var(--muted-on-light); transition: transform 0.25s var(--ease); }
.cta__plans-wrap[open] > summary.cta__plans-title::after { transform: rotate(180deg); }


/* На мобиле экран остаётся АБСОЛЮТНЫМ поверх рамки телефона (как на десктопе) */

/* ===== Мобильный редизайн: светлые секции вместо тёмно-тяжёлых ===== */
@media (max-width: 760px) {
  /* ADV: блок преимуществ — светлый */
  .adv { background: var(--yoji-bg); padding: 56px 0; }
  .adv__head { margin-bottom: 24px; }
  .adv .eyebrow { color: var(--yoji-blue); }
  .adv__title { color: var(--yoji-ink); }
  .adv__grid { gap: 12px; }
  .adv__card {
    background: #fff; border: 1px solid rgba(10, 19, 48, 0.08);
    box-shadow: 0 8px 26px rgba(10, 19, 48, 0.06);
    padding: 22px; gap: 16px;
  }
  .adv__ico { background: rgba(1, 58, 209, 0.07); box-shadow: inset 0 0 0 1px rgba(1, 58, 209, 0.12); width: 60px; height: 60px; }
  .adv__ico svg { width: 44px; height: 44px; }
  .adv__txt h3 { color: var(--yoji-ink); }
  .adv__txt p { color: var(--muted-on-light); }

  /* PHONE: карточки-преимущества вокруг дашборда — светлые */
  .phone { padding-top: 48px; }
  .phone__card {
    background: #fff; border: 1px solid rgba(10, 19, 48, 0.08);
    box-shadow: 0 8px 26px rgba(10, 19, 48, 0.06);
  }
  .phone__card .phone__card-t { color: var(--yoji-ink); font-style: normal; }
  .phone__card p { color: var(--muted-on-light); }
  .phone__head h2 { color: var(--yoji-ink); }
}

/* ============ FOUNDER — манифест основателя (живое лицо + экспертность) ============ */
.founder { background: #fff; padding: var(--section-y) 0; }
.founder .wrap { max-width: 1000px; }
.founder__eyebrow { display: block; color: var(--yoji-blue); margin-bottom: 18px; }
.founder__quote {
  margin: 0 0 30px; padding-left: clamp(18px, 3vw, 30px);
  border-left: 3px solid var(--yoji-blue);
  font-family: var(--font-display), sans-serif; font-weight: 400;
  font-size: clamp(27px, 4.4vw, 46px); line-height: 1.16; letter-spacing: -0.015em;
  color: var(--yoji-ink); max-width: 24ch;
}
.founder__by { display: flex; align-items: center; gap: 16px; }
.founder__avatar {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(150deg, var(--yoji-blue), var(--yoji-blue-deep));
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 24px;
  box-shadow: 0 10px 24px rgba(1, 58, 209, 0.32);
}
.founder__meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.founder__name { font-size: 16px; }
.founder__name b { color: var(--yoji-ink); font-weight: 700; }
.founder__name span { color: var(--muted-on-light); }
.founder__name span::before { content: ", "; }
.founder__cred { color: var(--muted-on-light); font-size: 13px; letter-spacing: 0.01em; }
@media (max-width: 760px) {
  .founder { padding: 48px 0; }
  .founder__quote { font-size: clamp(26px, 7vw, 34px); max-width: none; }
}

/* ============ FOUNDER photo grid + TEAM + TRUST ============ */
.founder__grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.founder__photo { margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--sh-2); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder__by { display: flex; flex-direction: column; gap: 3px; }
@media (max-width: 760px) {
  .founder__grid { grid-template-columns: 1fr; gap: 22px; }
  .founder__photo { aspect-ratio: 5 / 4; max-height: 320px; }
}

.team { background: var(--yoji-bg); padding: var(--section-y) 0; }
.team__head { margin-bottom: clamp(24px, 4vw, 44px); }
.team .eyebrow { color: var(--yoji-blue); display: block; }
.team__title { font-family: var(--font-display), sans-serif; font-weight: 400; font-size: var(--fs-h2); line-height: 1.05; color: var(--yoji-ink); margin: 12px 0 0; }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.team__member { display: flex; flex-direction: column; }
.team__photo { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--sh-1); }
.team__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team__photo--ini { display: flex; align-items: center; justify-content: center; font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: clamp(34px, 5vw, 58px); letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, var(--yoji-blue, #013ad1), #3b5aff); }
.team__name { margin: 16px 0 2px; font-family: var(--font-display), sans-serif; font-weight: 700; font-size: 19px; color: var(--yoji-ink); }
.team__role { color: var(--muted-on-light); font-size: 14px; }

.trust-band { padding: clamp(20px, 3vw, 36px) 0; background: var(--yoji-bg); }
.trust-band .trust { margin-top: 0; }
.trust { margin-top: clamp(40px, 6vw, 72px); }
.trust__label { display: block; font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-on-light); margin-bottom: 18px; }
/* Раньше здесь была статичная сетка на 6 заглушек. С 27 настоящими логотипами
   сетка на экран не влезает — сделали бесшовную ленту тем же механизмом
   translateX(-50%), что и текстовые .marquee (см. keyframes marqL выше);
   список дублирован ×2 в разметке, поэтому середина цикла невидима. */
.trust__logos {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.trust__track {
  list-style: none; margin: 0; padding: 6px 0;
  display: inline-flex; gap: 40px; align-items: center; white-space: nowrap;
  animation: marqL 60s linear infinite;
}
.trust__logos:hover .trust__track { animation-play-state: paused; }
.trust__logo { display: inline-flex; align-items: center; height: 40px; flex-shrink: 0; }
.trust__logo img {
  height: 100%; width: auto; max-width: 150px; object-fit: contain; display: block;
  filter: grayscale(1) opacity(.5); transition: filter .25s var(--ease);
}
.trust__logo:hover img { filter: grayscale(0) opacity(1); }
@media (prefers-reduced-motion: reduce) { .trust__track { animation: none; } }
@media (max-width: 760px) {
  .team { padding: 48px 0; }
  .team__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .team__name { font-size: 16px; }
  .team__role { font-size: 12.5px; }
  .trust__logo { height: 30px; }
  .trust__track { gap: 26px; }
}

/* ============ Индивидуальные графики кейсов: столбцы, бейджи, заглушка логотипа ============ */
.nc-logo { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.26); stroke-width: 1; stroke-dasharray: 4 4; }
.nc-logo-t { fill: rgba(255,255,255,.42); font-size: 11px; letter-spacing: .03em; }
.nc-bar { fill: var(--yoji-sky); }
.nc-bar--hi { fill: #fff; }
.nc-bar--paid { fill: #1f3a8a; }
.nc-bar--ads { fill: #5d6b93; }
.nc-barval { fill: #fff; font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 14px; }
.nc-barlbl { fill: rgba(255,255,255,.62); font-size: 12.5px; }
.nc-mk { fill: #fff; font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.nc-badge { fill: rgba(62,224,160,.15); stroke: rgba(62,224,160,.34); stroke-width: 1; }
.nc-badge-t { fill: #8ef3c6; font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 14px; }
.nc-vline { stroke: rgba(142,243,198,.55); stroke-width: 1.4; stroke-dasharray: 4 4; }
.nc-ctitle { fill: rgba(255,255,255,.6); font-size: 12.5px; letter-spacing: .02em; }
/* столбцы «вырастают» при попадании в зону видимости */
.nchart .nc-bar, .nchart .nc-bar--hi, .nchart .nc-bar--paid, .nchart .nc-bar--ads {
  transform: scaleY(0); transform-box: fill-box; transform-origin: bottom;
  transition: transform .85s var(--ease-out); transition-delay: var(--d, 0s);
}
.nchart.is-drawn .nc-bar, .nchart.is-drawn .nc-bar--hi, .nchart.is-drawn .nc-bar--paid, .nchart.is-drawn .nc-bar--ads { transform: scaleY(1); }
.nchart .nc-badge, .nchart .nc-badge-t, .nchart .nc-vline, .nchart .nc-barval, .nchart .nc-ctitle { opacity: 0; }
.nchart.is-drawn .nc-badge, .nchart.is-drawn .nc-badge-t, .nchart.is-drawn .nc-vline, .nchart.is-drawn .nc-barval, .nchart.is-drawn .nc-ctitle { opacity: 1; transition: opacity .6s var(--ease-out) .7s; }
@media (prefers-reduced-motion: reduce) {
  .nchart .nc-bar, .nchart .nc-bar--hi, .nchart .nc-bar--paid, .nchart .nc-bar--ads { transform: scaleY(1); }
  .nchart .nc-badge, .nchart .nc-badge-t, .nchart .nc-vline, .nchart .nc-barval, .nchart .nc-ctitle { opacity: 1; }
}

/* ============ Кейсы: заглушка под скриншот проекта ============ */
.flow__shot { margin: 6px 0 0; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); }
.flow__shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 13px; background: rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.1); }
.flow__shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.32); }
.flow__shot-bar b { margin-left: 10px; font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.flow__shot-body { display: flex; flex-direction: column; gap: 9px; padding: 16px 14px; min-height: 96px; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)); }
.flow__shot-body i { display: block; height: 9px; border-radius: 4px; background: rgba(255,255,255,.10); }
.flow__shot-body i:nth-child(1) { width: 62%; background: rgba(255,255,255,.16); }
.flow__shot-body i:nth-child(2) { width: 90%; }
.flow__shot-body i:nth-child(3) { width: 74%; }
/* blue case — заглушка чуть светлее */
.flow__section[style*="3b5aff"] .flow__shot-body i, .flow__section[style*="013ad1"] .flow__shot-body i { background: rgba(255,255,255,.14); }
@media (max-width: 820px) {
  .flow__shot { margin-top: 10px; }
  .flow__shot-body { min-height: 70px; padding: 13px; }
}

/* ============ Телефон: «приложение» само листается на мобиле ============ */
@media (max-width: 720px) {
  .pscr__scroll { animation: pscrCycle 17s ease-in-out infinite; }
}
@keyframes pscrCycle {
  0%, 16%    { transform: translateY(0); }
  27%, 49%   { transform: translateY(-33.333%); }
  60%, 82%   { transform: translateY(-66.667%); }
  93%, 100%  { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .pscr__scroll { animation: none !important; transform: none !important; } }

/* ============ Кейсы: слайд к скриншотам по стрелке ============ */
.flow__to-shots {
  align-self: flex-start; margin-top: 4px;
  display: inline-flex; align-items: center; gap: 10px;
  width: fit-content; max-width: 100%; white-space: nowrap; flex-shrink: 0;
  padding: 13px 22px; border-radius: 999px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.34); color: #fff;
  font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .02em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.flow__to-shots:hover { background: rgba(255,255,255,.24); transform: translateY(-1px); }
.flow__to-shots-arr { font-size: 18px; line-height: 1; }
/* Полноэкранный слой со скриншотами — поверх всего, кнопка «назад» всегда видна */
.flow__shots {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg, #013ad1);
  transform: translateX(100%);
  transition: transform .5s var(--ease-out);
  display: flex; flex-direction: column; gap: clamp(14px, 2vw, 24px);
  padding: max(20px, env(safe-area-inset-top)) clamp(24px, 5vw, 90px) clamp(28px, 4vw, 60px);
  overflow: auto;
  visibility: hidden; pointer-events: none;
}
/* sticky-секция образует свой контекст наложения — поднимаем активную выше шапки (z 90) */
.flow__section.is-shots { z-index: 300; }
.flow__shots.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.flow__back {
  position: sticky; top: 0; z-index: 2;
  align-self: flex-start; display: inline-flex; align-items: center; gap: 9px;
  height: 46px; padding: 0 20px 0 15px; border-radius: 999px;
  background: var(--yoji-blue); border: 1px solid rgba(255,255,255,.28); color: #fff;
  font-size: 14px; font-family: var(--font-wide), sans-serif; font-weight: 700;
  letter-spacing: .02em; box-shadow: 0 10px 26px rgba(1,58,209,.4);
  transition: filter .2s var(--ease), transform .2s var(--ease);
}
.flow__back:hover { filter: brightness(1.08); transform: translateY(-1px); }
.flow__back span[aria-hidden] { font-size: 20px; line-height: 1; }
.flow__shots-t { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 3vw, 42px); color: #fff; margin: 0; }
.flow__shots-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); flex: 1; min-height: 0; }
.flow__shots .flow__shot { display: flex; flex-direction: column; }
.flow__shots .flow__shot-body { flex: 1; min-height: 150px; }
@media (max-width: 820px) {
  .flow__shots { padding: 20px 18px 28px; gap: 16px; justify-content: flex-start; }
  /* на мобиле скриншоты — компактные карточки 16:10, не растягиваем на всю высоту */
  .flow__shots-grid { grid-template-columns: 1fr; gap: 14px; flex: 0 0 auto; }
  .flow__shots .flow__shot { aspect-ratio: 16 / 10; }
  .flow__shots .flow__shot-body { flex: 1 1 auto; min-height: 0; }
  .flow__to-shots { padding: 11px 18px; font-size: 13px; }
}

/* ============ Телефон: «оживление» ленты заявок (каскад + пульс) ============ */
.phone__screen.is-live .pscr__lead { animation: pscrLeadIn .55s var(--ease-out) both; }
.phone__screen.is-live .pscr__lead:nth-child(1) { animation-delay: .05s; }
.phone__screen.is-live .pscr__lead:nth-child(2) { animation-delay: .12s; }
.phone__screen.is-live .pscr__lead:nth-child(3) { animation-delay: .19s; }
.phone__screen.is-live .pscr__lead:nth-child(4) { animation-delay: .26s; }
.phone__screen.is-live .pscr__lead:nth-child(5) { animation-delay: .33s; }
.phone__screen.is-live .pscr__lead:nth-child(6) { animation-delay: .40s; }
.phone__screen.is-live .pscr__lead:nth-child(7) { animation-delay: .47s; }
@keyframes pscrLeadIn { from { opacity: 0; transform: translateY(2.4cqw); } to { opacity: 1; transform: none; } }
.pscr__lead-dot:not(.pscr__lead-dot--read) { animation: pscrPulse 2.2s ease-in-out infinite; }
@keyframes pscrPulse {
  0%, 100% { box-shadow: 0 0 0 1cqw rgba(62,224,160,.18); }
  50% { box-shadow: 0 0 0 2cqw rgba(62,224,160,.04); }
}
@media (prefers-reduced-motion: reduce) {
  .phone__screen.is-live .pscr__lead { animation: none; opacity: 1; transform: none; }
  .pscr__lead-dot { animation: none; }
}

/* ============ Кейсы: скрыть заглушку логотипа клиента в графиках (пока) ============ */
.nc-logo, .nc-logo-t { display: none; }

/* ============ Кейсы: «Скоро» поверх плейсхолдера скриншота ============ */
.flow__shot { position: relative; }
.flow__shot-body { opacity: 0.32; }
.flow__shot-soon {
  position: absolute; left: 0; right: 0; bottom: 0; top: 34px;
  display: grid; place-items: center;
  font-family: var(--font-wide), sans-serif; font-weight: 700;
  font-size: clamp(15px, 2.4vw, 20px); letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

/* ============================================================
   МОБИЛЬНАЯ ПОЛИРОВКА (2026-06-28): мельче шрифты, плотнее блоки
============================================================ */
@media (max-width: 600px) {
  /* единый, более мелкий размер заголовков секций */
  :root { --fs-h2: clamp(24px, 6.2vw, 32px); }
  .flow__head h2, .cjm__head h2, .phone__head h2, .cards__title { text-wrap: balance; }
  /* «Наши проекты и результаты» — не оставлять слово на отдельной строке */
  .flow__head h2 { max-width: 15ch; margin-left: auto; margin-right: auto; }
  .phone__head { padding-top: 32px; padding-bottom: 32px; }
  .phone__head .eyebrow { font-size: 11px; }

  /* КЕЙСЫ: мельче и компактнее текст, метрики выровнены в одну линию */
  .flow__title { font-size: clamp(21px, 6vw, 28px); line-height: 1.06; }
  .flow__desc { font-size: 13.5px; line-height: 1.45; -webkit-line-clamp: 3; }
  .flow__num { font-size: 11px; }
  .flow__metrics { gap: 10px; flex-wrap: nowrap; justify-content: flex-start; }
  .flow__metrics li { font-size: 10.5px; gap: 3px; flex: 1 1 0; min-width: 0; }
  .flow__metrics li b { font-size: clamp(20px, 5.8vw, 26px); }

  /* ФУТЕР: мельче текст */
  .footer__tag { font-size: clamp(20px, 6vw, 26px); }
  .footer__bottom { font-size: 12px; }
}

@media (max-width: 600px) {
  /* CJM: кнопка в блоке результата — компактнее, с воздухом */
  .cjm__summary .btn { width: auto; padding: 13px 26px; font-size: 15px; margin: 22px auto 0; }
  /* футер: 5 иконок соцсетей помещаются в один ряд (Facebook не висит один) */
  .footer__socials { gap: 10px; flex-wrap: nowrap; }
  .footer__sq { width: 52px; height: 52px; }
  .footer__sq svg { width: 22px; height: 22px; }
}

/* ============================================================
   CTA-форма на мобиле — компактнее, чтобы почти помещалась в один экран
============================================================ */
@media (max-width: 600px) {
  .cta__wrap { padding: 20px 18px; }
  .cta__title { font-size: 22px; margin-bottom: 5px; }
  .cta__sub { font-size: 13.5px; line-height: 1.4; margin-bottom: 12px; }
  .cta__deliver { margin: 12px 0 8px; gap: 7px; }
  .cta__deliver li { font-size: 13.5px; padding-left: 30px; }
  .cta__guarantee { font-size: 12px; margin: 0 0 14px; line-height: 1.4; }
  .cta__form { gap: 12px; }
  .cta__row { grid-template-columns: 1fr 1fr; gap: 12px; } /* Имя+Фамилия в 2 колонки — экономит высоту */
  /* сайт+размер — в столбик: иначе «Выберите размер» / URL-плейсхолдер обрезаются */
  .cta__row--stack { grid-template-columns: 1fr; }
  .cta__field { gap: 5px; }
  .cta__label { font-size: 13px; line-height: 1.2; }
  .cta__input, .cta__select { padding: 10px 12px; }
  .cta__actions--single .btn { padding: 13px 18px; }
  .cta__error { margin: 2px 0 0; }
}

/* ============================================================
   Согласие на cookie/аналитику (GDPR) + строка согласия у формы
============================================================ */
.consent {
  position: fixed; z-index: 400;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 720px; margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(132, 148, 188, 0.28);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px rgba(10, 19, 48, 0.22);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 12px;
  animation: consentIn 0.4s var(--ease) both;
}
.consent[hidden] { display: none; }
@keyframes consentIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.consent__text { margin: 0; font-size: 14px; line-height: 1.45; color: var(--yoji-ink); }
.consent__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.consent__more { font-size: 13px; color: var(--yoji-slate); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.consent__btns { display: flex; gap: 10px; margin-left: auto; }
.consent__btn { font-family: var(--font-body), sans-serif; font-size: 14px; font-weight: 600; border-radius: 999px; padding: 10px 20px; cursor: pointer; border: 1px solid transparent; transition: background 0.2s var(--ease), transform 0.15s var(--ease); }
.consent__btn--ghost { background: transparent; border-color: rgba(132, 148, 188, 0.5); color: var(--yoji-slate); }
.consent__btn--ghost:hover { background: rgba(132, 148, 188, 0.12); }
.consent__btn--solid { background: var(--yoji-blue); color: #fff; }
.consent__btn--solid:hover { background: #012c9e; }
.consent__btn:active { transform: scale(0.97); }
@media (max-width: 560px) {
  .consent { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
  .consent__row { flex-direction: column; align-items: stretch; }
  .consent__more { text-align: center; }
  .consent__btns { margin-left: 0; }
  .consent__btn { flex: 1; padding: 11px 14px; }
}
/* явное согласие с политикой — чекбокс под кнопкой формы */
.consent-check { display: flex; align-items: flex-start; gap: 10px; margin: 16px auto 0; max-width: 440px;
  cursor: pointer; user-select: none; position: relative; }
.consent-check input { position: absolute; top: 1px; left: 0; width: 18px; height: 18px; margin: 0; opacity: 0; cursor: pointer; }
.consent-check__box { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; border-radius: 5px;
  border: 1.5px solid var(--yoji-slate); background: #fff; position: relative; transition: background .15s, border-color .15s; }
.consent-check input:checked ~ .consent-check__box { background: var(--yoji-blue); border-color: var(--yoji-blue); }
.consent-check input:checked ~ .consent-check__box::after { content: ""; position: absolute; inset: 0; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.consent-check input:focus-visible ~ .consent-check__box { outline: 2px solid var(--yoji-blue); outline-offset: 2px; }
/* Бокс 18px центрируется на строке 20px (margin-top 1px). Текст 13px — бокс не давит массой. */
.consent-check__text { font-size: 13px; line-height: 20px; color: var(--yoji-slate); text-align: left; }
.consent-check__text a { color: var(--yoji-blue); text-decoration: underline; text-underline-offset: 2px; }

/* Пилюли-доказательства в герое (соц. доказательство сразу под CTA) */
.hero__proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; }
.hero__proof li {
  font-family: var(--font-wide), sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.02em;
  color: #fff; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
@media (max-width: 480px) { .hero__proof { gap: 8px; margin-top: 20px; } .hero__proof li { font-size: 12px; padding: 7px 13px; } }

/* PageSpeed/a11y: логотип масштабируется по высоте (не растягивается) + контраст подписей статистики до AA */
.topbar__brand img { width: auto; }
.phone__stats-lab { color: #44506f; }

/* «Читать полный кейс» — ссылка в оверлее скриншотов кейса */
.flow__readcase{display:inline-flex;align-items:center;gap:8px;margin-top:18px;padding:12px 22px;border-radius:999px;background:#fff;color:var(--yoji-ink);font-family:var(--font-wide),sans-serif;font-weight:700;font-size:14px;text-decoration:none;box-shadow:0 8px 22px rgba(0,0,0,.18);transition:transform .2s var(--ease)}
.flow__readcase:hover{transform:translateY(-1px)}

/* Реальные скриншоты кейса Morgan в панели «Скриншоты проекта» */
.flow__shots-grid--img { display: block; }
.flow__shots .flow__shot--img { aspect-ratio: auto; padding: 0; background: none; border: 0; margin: 0 0 14px; overflow: visible; }
.flow__shot--img img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 10px 30px rgba(0,0,0,.28); }

/* ============ МОДАЛКА «БЕСПЛАТНЫЙ АУДИТ» (кнопка в шапке) ============ */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(6, 12, 32, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: modalFade .18s ease-out; }
.modal[hidden] { display: none; }
@keyframes modalFade { from { opacity: 0 } to { opacity: 1 } }
.modal__box { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 24px;
  padding: 32px 28px 26px; box-shadow: 0 30px 80px rgba(6, 12, 32, .42);
  animation: modalRise .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes modalRise { from { transform: translateY(14px) scale(.97); opacity: 0 } to { transform: none; opacity: 1 } }
.modal__x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: rgba(10, 19, 48, .06); color: var(--yoji-ink); font-size: 19px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.modal__x:hover { background: rgba(1, 58, 209, .1); color: var(--yoji-blue); }
.modal__t { font-family: var(--font-display), sans-serif; font-weight: 400; font-size: 26px; line-height: 1.15;
  margin: 0 0 8px; color: var(--yoji-ink); letter-spacing: -.01em; padding-right: 30px; }
.modal__sub { font-size: 14px; line-height: 1.5; color: var(--yoji-slate); margin: 0 0 20px; }
.modal__form { display: grid; gap: 12px; }
.modal__form[hidden] { display: none; }
.modal__input { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1.5px solid rgba(10, 19, 48, .14); background: #fff; color: var(--yoji-ink); font: inherit; font-size: 15px; }
.modal__input::placeholder { color: #97a0b6; }
.modal__input:focus { outline: none; border-color: var(--yoji-blue); box-shadow: 0 0 0 3px rgba(1, 58, 209, .14); }
.modal__form .btn { width: 100%; height: 54px; margin-top: 2px; }
.modal__err { color: #c0261f; font-size: 13.5px; margin: 0; }
.modal__err:empty { display: none; }
.modal__form .consent-check { margin: 4px 0 0; max-width: none; }
.modal__ok { text-align: center; padding: 8px 0 6px; }
.modal__ok[hidden] { display: none; }
.modal__ok b { display: block; font-family: var(--font-wide), sans-serif; font-size: 17px; color: var(--yoji-ink); margin-bottom: 6px; }
.modal__ok span { font-size: 14px; color: var(--yoji-slate); line-height: 1.5; }
@media (max-width: 480px) {
  .modal { padding: 14px; }
  .modal__box { padding: 26px 20px 22px; border-radius: 20px; }
  .modal__t { font-size: 22px; }
}
