  /*
    Третий заход. Структура — по референсу Fluently, который выбрала Анастасия:
    hero-сцена → один блок с "прилипающим" телефоном и меняющимся текстом
    → геймификация → честные соцдоказательства.

    Экраны в телефоне теперь скопированы по стилю с РЕАЛЬНОГО интерфейса morso.ai
    (прочитан код apps/web в Codezip/Meala-main_18:09, стек — React + Mantine):
    белые бабблы Милы слева, бледно-индиго (--indigo-1, это и есть реальный
    mantine indigo.1) бабблы пользователя справа, один аватар в шапке чата
    (не на каждом сообщении), мягкая индиго-тень 0 0 8px rgba(73,106,214,.08)
    — это её реальный "подписанный" стиль карточек, а не выдумка.

    Блок геймификации — тоже по факту: в коде нет статус/навыков (не в проде,
    только в Linear), реально работает "Здоровый ритм" (streak: дни подряд,
    огонёк, неделя из 7 кружков) — использую именно его и его реальные тексты.

    Калории: в общей сводке дня их в коде уже нет, но в карточке блюда и на
    экране блюда — ещё остались (разъехалось в самом продукте). На лендинге
    сознательно нигде их не показываю — это то, куда Анастасия ведёт продукт.
  */

  :root {
    --ink: #16213E; /* тёмный фон блока "Здоровый ритм" — единственное "громкое" контрастное место на странице */
    --display: clamp(2.5rem, 1.2rem + 3.6vw, 4.5rem);
    --display-sm: clamp(2rem, 1.3rem + 2.2vw, 2.75rem);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  img { max-width: 100%; display: block; }
  body { overflow-x: hidden; }

  .container { max-width: 1180px; margin: 0 auto; padding: 0 var(--spacing-xl); }
  a.btn { text-decoration: none; }

  .eyebrow { font-size: 13px; font-weight: 600; color: var(--indigo-5); margin: 0 0 var(--spacing-sm); }

  /* ── Nav ── */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 30; padding: var(--spacing-lg) 0;
    transition: background .3s ease, padding .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
  }
  .nav .container { display: flex; align-items: center; justify-content: space-between; }
  .nav-logo { font-weight: 600; font-size: 18px; color: var(--white); }
  .logo-img { height: 22px; width: auto; }
  .nav .logo-img { transition: filter .3s ease; } /* первый экран светлый, поэтому логотип в родных цветах сразу */
  /* стекло — появляется, когда шапка уезжает с фото и садится поверх обычного контента */
  /* после прокрутки шапка плотная белая: на синих блоках и фото логотип не должен теряться */
  .nav.scrolled {
    background: rgba(255,255,255,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: 10px 0; box-shadow: 0 1px 0 rgba(15,25,60,.06), 0 6px 20px rgba(15,25,60,.08);
  }
  .nav.scrolled .logo-img { filter: none; }
  .nav-links { display: flex; gap: 28px; margin-left: auto; margin-right: 28px; }
  .nav-links a { font-size: 14px; font-weight: 500; color: var(--gray-8); text-decoration: none; transition: color .2s ease; }
  .nav-links a:hover { color: var(--indigo-6); }
  .nav.scrolled .nav-links a { color: var(--gray-8); }
  .nav.scrolled .nav-links a:hover { color: var(--indigo-6); }
  .nav .btn-white { background: var(--indigo-6); color: var(--white); box-shadow: none; }
  .nav .btn-white:hover { background: var(--indigo-7); }
  /* кнопка в шапке: кегль как у больших кнопок, отступы компактнее, чтобы шапка не распухала.
     Один раз после загрузки по ней пробегает блик, при наведении чуть приподнимается */
  .nav .btn { font-size: 16px; line-height: 24px; padding: 8px 20px; position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, background .3s ease, color .3s ease; }
  .nav .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15,25,60,.18); }
  .nav .btn::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(100deg, transparent, rgba(73,106,214,.22), transparent);
    transform: skewX(-20deg); animation: nav-glint 5s ease-in-out 1.5s 1 both; pointer-events: none;
  }
  .nav .btn::after { background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); }
  @keyframes nav-glint { 0% { left: -60%; } 22%, 100% { left: 130%; } }
  @media (max-width: 480px) { .nav .btn { font-size: 14px; padding: 7px 16px; } }
  @media (prefers-reduced-motion: reduce) { .nav .btn::after { animation: none; display: none; } }
  @media (max-width: 900px) { .nav-links { display: none; } }
  /* «Войти» для тех, у кого уже есть аккаунт: видна и на телефоне, где остальные ссылки шапки скрыты */
  .nav-login { font-size: 14px; font-weight: 500; color: var(--indigo-6); text-decoration: none; margin-left: auto; margin-right: 20px; transition: color .2s ease; }
  .nav-login:hover { text-decoration: underline; }
  .nav.scrolled .nav-login { color: var(--indigo-6); }
  @media (max-width: 900px) { .nav-login { margin-left: auto; margin-right: 16px; } }
  .nav-blog { font-size: 14px; font-weight: 500; color: var(--gray-8); text-decoration: none; margin-left: auto; margin-right: 20px; transition: color .2s ease; }
  .nav-blog:hover { color: var(--indigo-6); }
  .nav-blog + .nav-login { margin-left: 0 !important; }
  #deepdive, #game, #proof { scroll-margin-top: 64px; }
  #price { scroll-margin-top: 64px; }

  /* ══════════════════════════════════════════════
     HERO
     ══════════════════════════════════════════════ */
  /* высота первого экрана не больше пропорций картинки (16:9): тогда её не приходится обрезать слева и телефон не наезжает на заголовок */
  .hero {
    position: relative; min-height: min(100vh, 56vw); display: flex; align-items: center;
    padding: 140px 0 80px; overflow: hidden;
  }
  /* фон первого экрана: светлое фото (рука с телефоном над завтраком, на экране реальная карточка блюда из morso.ai).
     Телефон в кадре справа, слева пустое светлое место под текст; картинка прижата к правому краю, чтобы при обрезке
     на более узких экранах уходил левый пустой край, а не телефон. Лёгкая светлая вуаль слева на случай, если текст зайдёт на стол */
  .hero-bg { position: absolute; inset: 0; z-index: 0; background: #EDEEF1 url('/assets/img/home/hero-photo.jpg') 100% 50% / cover no-repeat; }
  .hero-bg::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(237,238,241,.92) 0%, rgba(237,238,241,.7) 30%, rgba(237,238,241,0) 50%);
  }
  .hero .container { position: relative; z-index: 1; width: 100%; }
  .hero-center { text-align: left; max-width: 560px; margin: 0; }
  .hero-title {
    font-family: 'Onest', sans-serif; font-weight: 600; letter-spacing: -0.01em;
    font-size: var(--display); line-height: 1.05; margin: 0 0 var(--spacing-lg); color: var(--blue-9);
  }
  /* на десктопе заголовок сводим в одну строку — чуть шире блок и компактнее верх шкалы шрифта */
  @media (min-width: 901px) {
    .hero-title { font-size: clamp(2.75rem, 1.4rem + 3vw, 4rem); }
  }
  .hero-sub { color: var(--gray-8); margin: 0 0 var(--spacing-xl); max-width: 46ch; font-size: 18px; }
  .hero-caption { color: rgba(255,255,255,0.6); margin-top: var(--spacing-md); }

  /* телефон и планшет: сверху текст на тёмном, под ним видео во всю ширину, обрезанное вокруг телефона в кадре */
  @media (max-width: 900px) {
    .hero { flex-direction: column; align-items: stretch; min-height: auto; padding: 108px 0 0; background: #EDEEF1; }
    .hero-center { text-align: center; margin: 0 auto; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-bg { position: relative; inset: auto; order: 2; aspect-ratio: 4 / 5; margin-top: 24px; background-position: 57% 50%; }
    .hero-bg::after { background: linear-gradient(180deg, #EDEEF1 0%, rgba(237,238,241,0) 16%); }
  }

  /* ══════════════════════════════════════════════
     Телефон — макет по реальному UI morso.ai (Mantine)
     ══════════════════════════════════════════════ */
  .phone-frame {
    width: 300px; aspect-ratio: 300 / 610; border-radius: 38px;
    background: linear-gradient(155deg, #232c4d 0%, #0d1226 45%, #05070f 100%);
    padding: 8px; box-shadow: 0 40px 70px -20px rgba(15,25,60,.5), 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 1px rgba(255,255,255,.12);
    flex-shrink: 0;
  }
  .phone-screen {
    position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
    background: var(--color-bg); display: flex; flex-direction: column;
  }
  .phone-statusbar { display: flex; justify-content: space-between; padding: 14px 18px 2px; font-size: 12px; font-weight: 600; color: var(--gray-9); flex-shrink: 0; }

  /* шапка чата — как в реальном приложении: аватар + имя + статус, один раз, не на каждом сообщении */
  .chat-head {
    display: flex; align-items: center; gap: var(--spacing-sm); margin: var(--spacing-sm) var(--spacing-lg) 0;
    background: var(--white); border-radius: 999px; padding: 6px 14px 6px 6px;
    box-shadow: var(--shadow-s-center); flex-shrink: 0;
  }
  .chat-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--indigo-1) url('/assets/img/home/mila-avatar.png') center 20% / cover; flex-shrink: 0; }
  .chat-head-text .subtitle3 { margin: 0; line-height: 1.1; }
  .chat-head-text .caption2 { margin: 0; }

  .phone-body { position: relative; flex: 1; margin-top: var(--spacing-md); }

  .screen-state {
    position: absolute; inset: 0; padding: 0 var(--spacing-lg) var(--spacing-lg);
    opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; pointer-events: none;
    display: flex; flex-direction: column; justify-content: flex-end; gap: var(--spacing-xs);
  }
  .screen-state.active { opacity: 1; transform: translateY(0); pointer-events: auto; }

  /* полноэкранный реальный скриншот дневника поверх общей шапки чата — та же техника
     переключения (.active), но inset:0 считается от .phone-screen, а не от .phone-body,
     и перекрывает статус-бар/шапку чата целиком: overflow:hidden на .phone-screen обрежет */
  .screen-state.full-shot { padding: 0; justify-content: stretch; }
  .screen-state.full-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  /* ── оживлённые скриншоты в телефоне: .shot повторяет пропорции картинки, слои позиционируются в пикселях исходника.
     Слои видны только в .play; конечный кадр каждого слоя совпадает со скриншотом, поэтому повтор идёт без скачков ── */
  .shot { position: relative; width: 100%; container-type: inline-size; }
  .shot > img { display: block; width: 100% !important; height: auto !important; object-fit: initial !important; }
  .sc { position: absolute; display: none; pointer-events: none; animation-fill-mode: both; animation-delay: var(--d, 0s); }
  .shot.play .sc { display: block; }
  .sc-clone { background-repeat: no-repeat; }
  .sc-fade { animation: sc-fade .25s ease var(--d) both; }
  .sc-pop { animation: sc-pop .45s cubic-bezier(.3,1.6,.5,1) var(--d) both; }
  .sc-press { animation: sc-press .45s ease var(--d) both; }
  .sc-rise { animation: sc-rise .6s cubic-bezier(.2,.8,.2,1) var(--d) both; }
  .sc-sweep { -webkit-mask: conic-gradient(#000 var(--a), transparent 0); mask: conic-gradient(#000 var(--a), transparent 0); animation: sc-sweep 1s ease-out var(--d) both; }
  .sc-tap { border-radius: 50%; background: rgba(73,106,214,.28); animation: sc-tap .7s ease-out var(--d) both; }
  .sc-day { display: flex !important; align-items: center; justify-content: center; background: #fff; color: #262F57; font-family: 'Onest', sans-serif; font-weight: 400; }
  .shot:not(.play) .sc-day { display: none !important; }
  @property --a { syntax: '<angle>'; inherits: false; initial-value: 360deg; }
  .sc-fade-slow { animation: sc-fade .5s ease var(--d) both; }
  .sc-bubble { display: flex !important; flex-direction: column; align-items: flex-end; box-sizing: border-box; background: #D7DEFB; color: #262F57; font-family: 'Onest', sans-serif; animation: sc-appear .45s cubic-bezier(.3,1.3,.5,1) var(--d) both; transform-origin: 100% 100%; }
  .shot:not(.play) .sc-bubble { display: none !important; }
  .sc-bubble .time { color: #6C82D6; }
  .sc-typer { background: #fff; display: flex !important; align-items: center; font-family: 'Onest', sans-serif; color: #262F57; white-space: nowrap; overflow: hidden; }
  .shot:not(.play) .sc-typer, .sc-typer.off, .sc-sendon.off { display: none !important; }
  .sc-typer .caret { display: inline-block; width: .06em; height: 1.1em; background: #496AD6; margin-left: .04em; animation: sc-blink 1s steps(1) infinite; }
  .sc-sendon { border-radius: 50%; background: #496AD6; display: flex !important; align-items: center; justify-content: center; }
  .shot:not(.play) .sc-sendon { display: none !important; }
  .sc-scrollbtn { border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(40,60,140,.14); display: flex !important; align-items: center; justify-content: center; }
  .shot:not(.play) .sc-scrollbtn { display: none !important; }
  .sc-scrollbtn svg { width: 56%; height: 56%; }
  .sc-sendon svg { width: 42%; height: 42%; }
  .sc-lift { animation: sc-lift .9s ease-in-out var(--d) both; }
  @keyframes sc-lift { 0%, 100% { transform: none; filter: none; } 45% { transform: translateY(-5%) scale(1.012); filter: drop-shadow(0 4px 6px rgba(60,80,160,.12)); } }
  @keyframes sc-blink { 50% { opacity: 0; } }
  .sc-msg { transform-origin: 0 100%; animation: sc-appear .45s cubic-bezier(.3,1.3,.5,1) var(--d) both; }
  .sc-tag { transform-origin: 0 50%; animation: sc-appear .4s cubic-bezier(.3,1.5,.5,1) var(--d) both; }
  .sc-slide { animation: sc-slide .55s cubic-bezier(.3,.9,.3,1) var(--d) both; }
  .sc-appear { animation: sc-appear .5s cubic-bezier(.3,1.3,.5,1) var(--d) both; }
  @keyframes sc-slide { from { transform: translateY(-93.64%); } to { transform: none; } }
  @keyframes sc-appear { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
  /* живые кольца БЖУ в дневнике, как в приложении: дорожка стоит, дуга дорастает от прошлого значения */
  .sc-ring { background: #fff; }
  .sc-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .sc-ring .arc { transition: stroke-dashoffset 1s cubic-bezier(.4,0,.2,1); }
  .sc-ring.instant .arc { transition: none; }
  .sc-habit { background: #fff; }
  .sc-habit .bar { position: absolute; background: #E3E7EE; border-radius: 99px; overflow: hidden; }
  .sc-habit .bar i { display: block; height: 100%; width: 0; background: #5069CF; border-radius: 99px; transition: width .9s cubic-bezier(.3,.8,.3,1); }
  .sc-habit.instant .bar i { transition: none; }
  .sc-ring .val, .sc-ring .goal { position: absolute; left: 0; right: 0; text-align: center; font-family: 'Onest', sans-serif; line-height: 1; }
  .sc-ring .val { color: #262F57; font-weight: 400; }
  .sc-ring .goal { color: #7C889A; }
  @keyframes sc-fade { from { opacity: 1; } to { opacity: 0; } }
  @keyframes sc-fade-in { from { opacity: 0; } to { opacity: 1; } }
  @keyframes sc-pop { from { transform: scale(0); } to { transform: none; } }
  @keyframes sc-press { 0%, 100% { transform: none; } 40% { transform: scale(.95); } }
  @keyframes sc-rise { from { opacity: 0; transform: translateY(12%); } to { opacity: 1; transform: none; } }
  @keyframes sc-sweep { from { --a: 0deg; } to { --a: 360deg; } }
  @keyframes sc-tap { 0% { opacity: 0; transform: scale(.2); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.6); } }

  .phone-screen:has(.screen-state.full-shot.active) .phone-statusbar,
  .phone-screen:has(.screen-state.full-shot.active) .chat-head { opacity: 0; }

  /* бабблы — реальная палитра: Мила белая слева, пользователь бледно-индиго справа */
  .bubble { max-width: 88%; border-radius: var(--radius-l); padding: 10px var(--spacing-md); font-size: 13px; line-height: 18px; box-shadow: var(--shadow-s-center); background: var(--white); align-self: flex-start; }
  .bubble.me { background: var(--indigo-1); color: var(--gray-9); align-self: flex-end; box-shadow: none; }

  /* теги-подсказки над полем ввода — реальный компонент чата: обводка indigo, без фона, по правому краю */
  .qtag {
    align-self: flex-end; max-width: 88%; text-align: right;
    border: 1px solid var(--indigo-5); color: var(--indigo-5); background: transparent;
    border-radius: var(--radius-xl); padding: 8px var(--spacing-md); font-size: 13px; line-height: 17px;
  }

  /* мини-версия карточки блюда из дневника: Б · Ж · У · Кл, без ккал */
  .macro-line { display: flex; gap: 10px; font-size: 12px; color: var(--color-text-muted); margin-top: 4px; }
  .macro-line b { color: var(--indigo-6); }

  /* 4 кольца КБЖУ — реальный паттерн верхней сводки дневника (без калорий) */
  .ring-row { display: flex; gap: 10px; align-self: stretch; justify-content: space-between; background: var(--white); border-radius: var(--radius-l); padding: var(--spacing-md); box-shadow: var(--shadow-s-center); }
  .ring-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .ring-item svg { transform: rotate(-90deg); }
  .ring-val { font-size: 11px; font-weight: 600; color: var(--gray-9); margin-top: -34px; }
  .ring-label { font-size: 10px; color: var(--color-text-muted); margin-top: 24px; }

  /* Карточки личного контекста — вместо выдуманного чат-диалога: цикл + смёрженные
     "Особенности ЖКТ" и "Тип питания" из реального интерфейса под одним заголовком */
  .mini-card { background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow-s-center); padding: var(--spacing-md); }
  .mini-card + .mini-card { margin-top: var(--spacing-sm); }
  .mini-card-title { font-size: 13px; font-weight: 600; color: var(--gray-9); margin: 0 0 4px; }
  .mini-card-sub { font-size: 12px; color: var(--color-text-muted); margin: 0; }
  .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .tag-chip { background: var(--indigo-6); color: var(--white); font-size: 11px; line-height: 1; padding: 6px 10px; border-radius: 999px; }

  /* обрезанный кусок реального чата (без остальных полей вроде профиля/веса) в виде карточки */
  .mini-shot { border-radius: var(--radius-l); box-shadow: var(--shadow-s-center); overflow: hidden; }
  .mini-shot img { display: block; width: 100%; }


  /* ══════════════════════════════════════════════
     DEEP DIVE
     ══════════════════════════════════════════════ */
  #deepdive { padding: 80px 0 40px; background: var(--white); }
  .dd-grid { display: grid; grid-template-columns: 1fr 420px; gap: 64px; }
  @media (max-width: 900px) { .dd-grid { grid-template-columns: 1fr; gap: var(--spacing-xxl); } }

  .dd-text { max-width: 460px; position: relative; }
  /* на мобильном .dd-block остаётся обычным текстом в потоке; на десктопе это просто "невидимые" распорки —
     нужны только для длины скролла и чтобы IntersectionObserver знал, какой экран сейчас активен —
     сам видимый текст на десктопе рисует .dd-text-sticky ниже, крупным крестфейдом, без "револьвера" из полупрозрачных соседей */
  .dd-block { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; }
  .dd-block .h3, .dd-text-state .h3 {
    font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); line-height: 1.15; font-weight: 700;
    letter-spacing: -0.01em; margin-bottom: var(--spacing-md);
  }
  .dd-block .body1, .dd-text-state .body1 { color: var(--color-text-muted); font-size: 17px; line-height: 1.6; }
  @media (max-width: 900px) { .dd-block { min-height: 0; padding: var(--spacing-xl) 0; } }

  .dd-text-sticky { display: none; }
  @media (min-width: 901px) {
    .dd-block > .dd-copy { display: none; }
    /* около двух третей экрана прокрутки на слайд: 1-2 шага колёсиком, но текст успевают прочитать.
       Без примагничивания (scroll-snap): оно тянуло страницу назад на мелких шагах и перебрасывало через слайд на быстром */
    .dd-block { min-height: 70vh; }
    /* после последнего слайда блок сразу кончается и телефон уезжает раньше времени: запас, чтобы он постоял столько же, сколько остальным */
    .dd-tail { height: 25vh; }
    .dd-text-sticky { display: block; position: sticky; top: 90px; min-height: 360px; }
    /* блюр + прозрачность вместо сдвига — текст расфокусируется и тает на месте, без "прыжков" от разной высоты соседних блоков */
    .dd-text-state {
      position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; pointer-events: none;
      opacity: 0; filter: blur(10px); transition: opacity .5s ease, filter .5s ease;
    }
    .dd-text-state.active { opacity: 1; filter: blur(0); pointer-events: auto; }
  }

  .dd-visual { position: relative; }
  .dd-phone-sticky { position: sticky; top: 90px; display: flex; justify-content: center; }
  @media (max-width: 900px) { .dd-phone-sticky { display: none; } }

  /* глубина за телефоном — мягкое цветное свечение вместо плоского белого фона */
  .dd-phone-sticky::before {
    content: ''; position: absolute; top: 50%; left: 50%; width: 620px; height: 620px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--indigo-3) 0%, var(--indigo-1) 45%, transparent 70%);
    filter: blur(50px); opacity: .9; z-index: 0; border-radius: 50%;
  }
  .dd-phone-sticky .phone-frame { position: relative; z-index: 1; }

  /* точки-слайдер — у правого края экрана по центру, как в референсе Fluently, а не приклеены к телефону;
     стеклянная капсула, потому что под ней постоянно меняющийся фон (текст, свечение телефона) */
  .dd-dots {
    display: flex; flex-direction: column; gap: 12px;
    position: fixed; right: 28px; top: 50%; transform: translateY(-50%);
    opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 30;
    background: rgba(255,255,255,.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 14px 9px; border-radius: 999px; box-shadow: var(--shadow-s-center);
  }
  .dd-dots.visible { opacity: 1; }
  .dd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-3); transition: background .3s ease, transform .3s ease; }
  .dd-dot.active { background: var(--color-primary); transform: scale(1.4); }
  @media (max-width: 900px) { .dd-dots { display: none; } }

  .dd-mobile-phone { display: none; margin: var(--spacing-lg) auto 0; }
  @media (max-width: 900px) { .dd-mobile-phone { display: flex; justify-content: center; } .dd-mobile-phone .phone-frame { width: 240px; } }

  /* ══════════════════════════════════════════════
     ЗДОРОВЫЙ РИТМ (streak) — реальная фича вместо придуманной "статус/навыки"
     ══════════════════════════════════════════════ */
  #game { background: linear-gradient(180deg, var(--indigo-8) 0%, var(--indigo-9) 100%); padding: 100px 0; color: var(--white); }
  #game .eyebrow { color: var(--indigo-3); }
  #game > .container > .eyebrow { text-align: center; }
  #game .top-title { font-size: var(--display-sm); color: var(--white); text-align: center; max-width: 30ch; margin: 0 auto var(--spacing-xxl); }

  /* ── bento-сетка, по референсу Fluently: слева высокая, справа сверху широкая, справа снизу поделена пополам ── */
  .bento { display: grid; grid-template-columns: 340px 1fr; grid-template-rows: auto auto; gap: 20px; }
  @media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .bento-video, .bento-status, .bento-bottom-right { grid-column: 1 !important; } }
  .bento-card { border-radius: 28px; padding: 28px; }
  .bento-card .eyebrow { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: var(--spacing-sm); }
  .bento-card h3 { font-family: 'Onest', sans-serif; font-weight: 600; font-size: 22px; line-height: 1.25; margin: 0 0 var(--spacing-md); }

  .bento-video { grid-column: 1; grid-row: 1 / 3; background: var(--white); color: var(--gray-9); display: flex; flex-direction: column; padding-bottom: var(--spacing-lg); }
  .bento-video .eyebrow { color: var(--indigo-5); }
  .bento-video h3 { font-size: 17px; }
  .bento-video .video-wrap { margin-top: var(--spacing-md); border-radius: 20px; overflow: hidden; }
  .bento-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

  /* экран «Здоровый ритм» собран вживую вместо видео: чёткий на любом экране. Все размеры в --u = 1px макета шириной 420 */
  .streak-screen {
    --u: calc(100cqw / 420); container-type: inline-size;
    position: relative; width: 100%; aspect-ratio: 420 / 852; overflow: hidden;
    background: #E6EEFD; font-family: 'Onest', sans-serif; color: #1C1C48; text-align: center;
  }
  .streak-inner { position: absolute; inset: 0; }
  .streak-share {
    position: absolute; top: calc(20 * var(--u)); right: calc(15 * var(--u)); width: calc(40 * var(--u)); height: calc(40 * var(--u));
    border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(40,50,110,.08); z-index: 3;
  }
  .streak-share svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
  .streak-flame {
    position: absolute; left: 0; right: 0; top: calc(130 * var(--u));
    font-size: calc(104 * var(--u)); line-height: 1; transform-origin: 50% 80%; z-index: 2;
  }
  .streak-num {
    position: absolute; left: 0; right: 0; top: calc(262 * var(--u)); height: calc(84 * var(--u)); overflow: hidden;
    font-size: calc(76 * var(--u)); font-weight: 700; line-height: calc(84 * var(--u)); letter-spacing: -0.02em; z-index: 2;
  }
  .streak-num span { position: absolute; inset: 0; }
  .streak-sub { position: absolute; left: 0; right: 0; top: calc(356 * var(--u)); font-size: calc(21 * var(--u)); font-weight: 600; z-index: 2; }
  .streak-week {
    position: absolute; left: calc(15 * var(--u)); right: calc(15 * var(--u)); top: calc(410 * var(--u)); height: calc(98 * var(--u));
    background: #fff; border-radius: calc(22 * var(--u)); display: flex; justify-content: space-around; align-items: center;
    padding: 0 calc(10 * var(--u)); box-sizing: border-box; z-index: 2;
  }
  .streak-day { display: flex; flex-direction: column; align-items: center; gap: calc(8 * var(--u)); font-size: calc(15 * var(--u)); font-weight: 500; color: #3A3F5C; }
  .streak-day i { font-style: normal; width: calc(32 * var(--u)); height: calc(32 * var(--u)); border-radius: 50%; background: #DEE1EF; display: flex; align-items: center; justify-content: center; font-size: calc(28 * var(--u)); line-height: 1; }
  .streak-day.on i { background: none; }
  .streak-text { position: absolute; left: calc(60 * var(--u)); right: calc(60 * var(--u)); top: calc(535 * var(--u)); font-size: calc(16 * var(--u)); line-height: 1.45; color: #2B2F4C; z-index: 2; }
  .streak-btn {
    position: absolute; left: calc(15 * var(--u)); right: calc(15 * var(--u)); top: calc(758 * var(--u)); height: calc(46 * var(--u));
    border-radius: calc(23 * var(--u)); background: #425ACA; color: #fff; font-size: calc(16 * var(--u)); font-weight: 500;
    display: flex; align-items: center; justify-content: center; z-index: 2;
  }
  .streak-confetti { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
  .streak-confetti b { position: absolute; top: 0; display: block; width: calc(5 * var(--u)); height: calc(10 * var(--u)); border-radius: calc(1 * var(--u)); opacity: 0; }

  /* конечное состояние — оно же для «Уменьшить движение» */
  .streak-num .old { display: none; }

  .streak-screen.play .streak-flame { animation: sk-flame 1.1s cubic-bezier(.3,1.4,.5,1) both; }
  .streak-screen.play .streak-num .old { display: block; animation: sk-out .3s ease .5s both; }
  .streak-screen.play .streak-num .new { animation: sk-in .7s cubic-bezier(.3,1.5,.5,1) .55s both, sk-num-color .5s ease 1.1s both; }
  .streak-screen.play .streak-sub { animation: sk-fade-up .5s ease .75s both; }
  .streak-screen.play .streak-week { animation: sk-fade-up .5s ease 1.25s both; }
  .streak-screen.play .streak-day.on i { animation: sk-pop .45s cubic-bezier(.3,1.6,.5,1) both; }
  .streak-screen.play .streak-day:nth-child(1) i { animation-delay: 1.45s; }
  .streak-screen.play .streak-day:nth-child(2) i { animation-delay: 1.55s; }
  .streak-screen.play .streak-day:nth-child(3) i { animation-delay: 1.65s; }
  .streak-screen.play .streak-text { animation: sk-fade-up .5s ease 1.6s both; }
  .streak-screen.play .streak-btn { animation: sk-fade-up .5s ease 2.2s both; }
  .streak-screen.play .streak-confetti b { animation: sk-fall var(--d) linear var(--delay) both; }

  @keyframes sk-flame { 0% { transform: translateY(calc(-20 * var(--u))) scale(.5); } 100% { transform: none; } }
  /* 65 маленькая и серая тает, на её месте проявляется 66 с лёгким увеличением, потом темнеет */
  @keyframes sk-out { from { opacity: 1; transform: scale(.78); color: #6B7090; } to { opacity: 0; transform: scale(.9); color: #6B7090; filter: blur(calc(3 * var(--u))); } }
  @keyframes sk-in { from { opacity: 0; transform: scale(.78); filter: blur(calc(3 * var(--u))); } to { opacity: 1; transform: none; filter: none; } }
  @keyframes sk-num-color { from { color: #6B7090; } to { color: #1C1C48; } }
  @keyframes sk-fade-up { from { opacity: 0; transform: translateY(calc(14 * var(--u))); } to { opacity: 1; transform: none; } }
  @keyframes sk-pop { 0% { transform: scale(.3); opacity: 0; } 100% { transform: none; opacity: 1; } }
  @keyframes sk-fall {
    0% { opacity: 0; transform: translate(0, calc(-30 * var(--u))) rotate(0); }
    8% { opacity: 1; }
    85% { opacity: 1; }
    100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) * var(--u))) rotate(var(--r)); }
  }
  @media (prefers-reduced-motion: reduce) { .streak-screen.play * { animation: none !important; } .streak-screen.play .streak-num .old { display: none; } }

  .bento-status { grid-column: 2; grid-row: 1; background: var(--white); color: var(--gray-9); display: flex; flex-direction: column; }
  .bento-status .eyebrow { color: var(--indigo-5); }
  .status-block { margin-top: var(--spacing-xxl); }
  .status-icons { display: flex; align-items: center; gap: 10px; }
  .status-icon { width: 76px; height: 76px; object-fit: contain; flex-shrink: 0; }
  .status-icon.locked-icon { opacity: 1; }
  .status-connector { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 4px; min-width: 12px; }
  .status-connector span { flex: 1; height: 2px; border-radius: 1px; background: var(--gray-3); }
  .status-labels { display: flex; justify-content: space-between; margin-top: var(--spacing-sm); font-size: 12px; line-height: 1.3; font-weight: 500; color: var(--gray-9); text-align: center; }
  .status-labels span { width: 76px; white-space: nowrap; display: flex; justify-content: center; }
  .status-caption { display: none; }

  .bento-bottom-right { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  @media (max-width: 640px) { .bento-bottom-right { grid-template-columns: 1fr; } }

  .bento-coach { background: var(--white); color: var(--gray-9); display: flex; flex-direction: column; }
  /* подпись над картинкой, как у «Навыков»: сначала эйбро и заголовок, потом чат */
  .bento-coach h3 { font-size: 18px; margin: 0; order: 1; }
  .bento-coach .chatrec { order: 2; }
  .bento-coach img { width: 100%; margin-top: var(--spacing-xxl); display: block; }

  /* «Общайся в чате»: теги-подсказки + панель записи голосового с живой звуковой дорожкой. --u = 1px макета шириной 375 */
  .chatrec {
    --u: calc(100cqw / 375); container-type: inline-size;
    position: relative; width: 100%; aspect-ratio: 375 / 235; margin-top: var(--spacing-xxl);
    font-family: 'Onest', sans-serif; border-radius: 18px; overflow: hidden;
    background: linear-gradient(180deg, #F4F7FF 0%, #E6ECFD 100%);
  }
  .chatrec-tags { position: absolute; top: calc(16 * var(--u)); right: calc(16 * var(--u)); display: flex; flex-direction: column; align-items: flex-end; gap: calc(6 * var(--u)); }
  .chatrec-tags span {
    border: calc(1.2 * var(--u)) solid #4A63D6; color: #4A63D6; border-radius: calc(18 * var(--u));
    height: calc(36 * var(--u)); padding: 0 calc(12 * var(--u)); box-sizing: border-box;
    display: flex; align-items: center; font-size: calc(16 * var(--u)); white-space: nowrap; background: #fff;
  }
  .chatrec-bar {
    position: absolute; left: calc(16 * var(--u)); right: calc(16 * var(--u)); top: calc(171 * var(--u)); height: calc(48 * var(--u));
    background: #fff; border-radius: calc(24 * var(--u)); padding: 0 calc(8 * var(--u)); box-sizing: border-box;
    display: flex; align-items: center; gap: calc(8 * var(--u));
  }
  .chatrec-btn { flex: 0 0 auto; width: calc(32 * var(--u)); height: calc(32 * var(--u)); border-radius: 50%; background: #EBEEF4; display: flex; align-items: center; justify-content: center; }
  .chatrec-btn svg { width: calc(17 * var(--u)); height: calc(17 * var(--u)); }
  .chatrec-btn.send { background: #496AD6; }
  .chatrec-wave { flex: 1; height: 100%; display: flex; align-items: center; justify-content: space-between; min-width: 0; }
  .chatrec-wave i {
    flex: 0 0 auto; width: calc(3 * var(--u)); height: calc(3 * var(--u)); border-radius: calc(2 * var(--u));
    background: #C6CCD6; transition: height .12s ease-out, background-color .12s;
  }
  .chatrec-wave i.on { background: #738095; }

  .bento-skills { background: var(--white); color: var(--gray-9); display: flex; flex-direction: column; }
  .bento-skills .eyebrow { color: var(--indigo-5); }
  .bento-skills h3 { font-size: 18px; }
  .skill-list-dark { display: flex; flex-direction: column; gap: 8px; margin-top: var(--spacing-xxl); }
  .skill-row { position: relative; display: flex; align-items: center; gap: 10px; border-radius: 14px; padding: 8px 12px; overflow: hidden; background: var(--gray-0); }
  .skill-row .skill-fill { position: absolute; inset: 0; width: var(--w); background: var(--indigo-1); }
  .skill-row > * { position: relative; }
  .skill-row img { width: 30px; height: 26px; object-fit: contain; border-radius: 8px; flex-shrink: 0; }
  .skill-row .skill-name { flex: 1; font-size: 13px; font-weight: 600; color: var(--gray-9); }
  .skill-row .skill-frac { font-size: 12px; color: var(--color-text-muted); }

  /* появление плашек «Навыки» и «Статус»: .pre ставит JS до показа (без JS и при «Уменьшить движение» всё сразу в конечном виде), .in когда блок виден */
  /* навыки: при наведении полоски уходят в ноль и заново заполняются по дню из 7; без наведения видно конечное состояние */
  .bento-skills.pre .skill-fill { width: 0; transition: width .45s cubic-bezier(.2,.8,.2,1); }
  .bento-skills.pre.resetting .skill-fill { transition: width .7s ease-in-out; }
  .skill-row.full { animation: skill-full .7s ease; }
  @keyframes skill-full { 40% { transform: scale(1.03); box-shadow: 0 0 0 3px var(--indigo-1); } }
  /* статусы: значки видны всегда, при наведении на карточку по ним один раз пробегает волна мерцания */
  .bento-status.in .status-icon { animation: status-twinkle 4.5s ease-in-out calc(var(--i) * .22s) 1; }
  .bento-status.in .status-connector span { animation: status-dash 4.5s ease-in-out calc(var(--i) * .22s + .08s + var(--j) * .04s) 1; }
  @keyframes status-twinkle {
    0%, 16%, 100% { transform: none; filter: none; }
    6% { transform: scale(1.08); filter: brightness(1.25) drop-shadow(0 0 10px rgba(122,150,255,.75)); }
  }
  @keyframes status-dash { 0%, 10%, 100% { background: var(--gray-3); } 4% { background: var(--indigo-4); } }


  /* ══════════════════════════════════════════════
     СОЦИАЛЬНЫЕ ДОКАЗАТЕЛЬСТВА
     ══════════════════════════════════════════════ */
  #proof { background: var(--gray-0); padding: 100px 0 64px; text-align: center; }
  #price { text-align: center; }
  .section-title { font-family: 'Onest', sans-serif; font-weight: 600; font-size: var(--display-sm); line-height: 1.15; color: var(--gray-9); margin: 0 0 var(--spacing-xxl); }

  /* карточки "Одобрено врачом" и награда СберЗдоровье — взяты с реального лендинга (capibilities.tsx, sber-award.tsx) */
  .proof-cards { max-width: 820px; margin: 0 auto var(--spacing-xxl); display: flex; gap: var(--spacing-lg); align-items: center; justify-content: center; text-align: left; }
  .doctor-card { background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow-s-down); overflow: hidden; flex: 0 0 240px; }
  .doctor-card h3 { font-family: 'Onest', sans-serif; font-weight: 600; font-size: 20px; margin: 0 0 var(--spacing-sm); color: var(--gray-9); }

  .doctor-card { position: relative; height: 168px; align-self: start; display: block; text-decoration: none; }
  .doctor-card h3 { position: relative; z-index: 2; padding: var(--spacing-lg) var(--spacing-lg) 0; max-width: 140px; line-height: 1.15; }
  .doctor-card img { position: absolute; right: 0; bottom: 0; z-index: 1; height: 100%; width: 130px; object-fit: cover; object-position: top; }
  .doctor-pill {
    position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 3;
    background: rgba(239,243,255,0.85); backdrop-filter: blur(2px); border-radius: 999px;
    padding: 6px 14px; display: flex; flex-direction: column; align-items: center; gap: 1px; white-space: nowrap;
  }
  .doctor-pill { bottom: var(--spacing-lg); }
  .doctor-pill span { font-size: 11px; font-weight: 600; line-height: 1.2; color: var(--gray-9); }
  .doctor-pill span:last-child { font-size: 10px; font-weight: 400; color: var(--color-text-muted); }

  /* карточка Южного IT-парка — реестр выпускников, south-itpark.ru; на белом, без фирменного красного парка, чтобы не спорило с остальными плашками */
  .itpark-card {
    background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow-s-down);
    flex: 0 0 240px; height: 168px; padding: var(--spacing-lg);
    display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; text-decoration: none;
  }
  .itpark-card h3 { font-family: 'Onest', sans-serif; font-weight: 600; font-size: 20px; line-height: 1.2; margin: 0; color: var(--gray-9); }
  /* мини-плашка вроде doctor-pill — название/статус в две строки внутри скруглённого чипа, по центру карточки */
  .info-pill {
    background: var(--gray-0); border-radius: 999px; padding: 6px 14px; align-self: center;
    display: inline-flex; flex-direction: column; gap: 1px; align-items: center; white-space: nowrap;
  }
  .info-pill span { font-size: 11px; font-weight: 600; line-height: 1.2; color: var(--gray-9); }
  .info-pill span:last-child { font-size: 10px; font-weight: 400; color: var(--color-text-muted); }

  .sber-badge {
    flex: 0 0 240px; height: 168px; border-radius: var(--radius-l); padding: var(--spacing-lg);
    background: var(--white); box-shadow: var(--shadow-s-down);
    display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: var(--spacing-md);
  }
  /* лого СберЗдоровья в файле — белое; sber-health-logo-gray.png — та же картинка, перекрашенная в gray-9 */
  .sber-badge img { height: 42px; width: auto; }

  /* диетолог главная плашка; IT-парк и СберЗдоровье второстепенные: две узкие полоски стопкой справа, вместе той же высоты */
  .proof-stack { flex: 0 0 400px; height: 168px; display: flex; flex-direction: column; gap: var(--spacing-lg); }
  .proof-stack .itpark-card, .proof-stack .sber-badge {
    flex: 1 1 0; height: auto; min-height: 0; padding: 0 var(--spacing-md) 0 var(--spacing-xl);
    flex-direction: row; align-items: center; justify-content: space-between; gap: var(--spacing-md);
  }
  .proof-stack .itpark-card h3 { font-size: 18px; white-space: nowrap; }
  .proof-stack .sber-badge img { height: 30px; }
  .proof-stack .info-pill { align-self: center; }

  .proof-marquee {
    margin: 0 auto var(--spacing-xxl); overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  }
  /* лента отзывов: обычная прокручиваемая полоса (палец, тачпад, перетаскивание мышью, стрелки), JS медленно двигает её сам,
     после касания или наведения замирает на несколько секунд */
  .proof-marquee { overflow-x: auto; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
  .proof-marquee::-webkit-scrollbar { display: none; }
  .proof-marquee.dragging { cursor: grabbing; user-select: none; }
  .proof-track { display: flex; gap: var(--spacing-md); width: max-content; padding: 4px 0 8px; }
  .proof-nav { display: flex; justify-content: center; gap: var(--spacing-md); margin: 0 0 var(--spacing-xxl); }
  .proof-nav button {
    width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: var(--white); color: var(--indigo-6);
    box-shadow: var(--shadow-s-down); display: flex; align-items: center; justify-content: center; transition: transform .2s ease, box-shadow .2s ease;
  }
  .proof-nav button:hover { transform: translateY(-1px); box-shadow: var(--shadow-m-down); }
  .proof-nav svg { width: 20px; height: 20px; }
  @media (hover: none) { .proof-nav { display: none; } .proof-marquee { cursor: auto; } }
  .proof-item {
    background: var(--white); border-radius: var(--radius-l); padding: var(--spacing-lg);
    box-shadow: var(--shadow-s-down); text-align: left; width: 280px; min-height: 190px; flex-shrink: 0;
    display: flex; flex-direction: column;
  }
  .proof-item p.body1 { font-size: 14px; line-height: 1.4; margin: 0; }
  .proof-item p.caption1 { margin: auto 0 0; padding-top: var(--spacing-md); color: var(--color-text-muted); }
  /* отзывы: заголовок → лента во всю ширину окна → плашки доверия под ней */
  .proof-marquee { width: 100vw; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important; }
  #proof .proof-cards { margin: 0 auto; }

  .proof-cta .btn { margin-bottom: var(--spacing-sm); }
  /* снятие страхов под кнопкой: обычный размер и тёмный цвет, чтобы читалось как обещание, а не как мелкий шрифт */
  /* раздел цены: тот же фон, что у отзывов (без полосатой смены фонов), одна белая карточка с тенью и мягким
     индиго-свечением позади, как у телефона в блоке возможностей. Цена крупным шрифтом, без вложенной плашки */
  #price { background: var(--gray-0); padding: 64px 0 120px; isolation: isolate; }
  .price-box {
    position: relative; max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1px 1fr; gap: 48px;
    background: var(--white); border-radius: 32px; padding: 48px 56px; text-align: left; align-items: start;
    box-shadow: 0 30px 60px -24px rgba(40,60,150,.28), 0 0 0 1px rgba(73,106,214,.08);
  }
  .price-box::before {
    content: ''; position: absolute; inset: 25% 20%; z-index: -1; border-radius: 50%;
    background: radial-gradient(circle, var(--indigo-3) 0%, var(--indigo-1) 50%, transparent 75%); filter: blur(60px); opacity: .5;
  }
  .price-box::after { content: ''; grid-column: 2; grid-row: 1; align-self: stretch; background: var(--gray-2); }
  .price-left { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; }
  .price-right { grid-column: 3; grid-row: 1; }
  .price-label { margin: 0; font-size: 15px; font-weight: 600; color: var(--indigo-6); text-transform: uppercase; letter-spacing: .06em; }
  .price-big { margin: 6px 0 var(--spacing-sm); font-family: 'Onest', sans-serif; font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--gray-9); }
  .price-sub { margin: 0 0 var(--spacing-xl); font-size: 17px; color: var(--gray-7); }
  .price-alt { margin: 0 0 var(--spacing-lg); font-size: 20px; color: var(--gray-7); }
  .price-alt b { font-weight: 600; color: var(--gray-9); }
  /* кнопка прижата к низу карточки: левая колонка тянется на всю высоту, кнопка уходит вниз, на уровень последнего пункта справа */
  .price-left { align-self: stretch; }
  .price-left .btn { align-self: stretch; text-align: center; margin-top: auto; }
  .price-trial { margin: var(--spacing-md) 0 0; font-size: 15px; color: var(--gray-7); }
  /* галочки мелко одной строкой под ценой */
  .price-left .price-reassure { justify-content: flex-start; flex-wrap: wrap; margin: 0 0 40px; gap: 6px 16px; }
  .price-reassure li { font-size: 13px; gap: 4px; color: var(--gray-8); }
  .price-reassure svg { width: 15px; height: 15px; }
  .price-list-title { font-family: 'Onest', sans-serif; font-size: 20px; font-weight: 600; color: var(--gray-9); margin: 0 0 var(--spacing-lg); }
  .price-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
  .price-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.4; color: var(--gray-9); }
  .price-list svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--white); background: var(--indigo-6); border-radius: 50%; padding: 5px; }
  @media (max-width: 800px) {
    .price-box { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
    .price-box::after { display: none; }
    .price-left, .price-right { grid-column: 1; grid-row: auto; }
    .price-big { font-size: 52px; }
  }
  /* плашка годового тарифа: повторяет нижнюю карточку с экрана подписки в приложении */
  .price-card {
    width: 280px; margin: 0 auto var(--spacing-lg); text-align: left; font-family: 'Onest', sans-serif;
    background: var(--indigo-1); border: 1.5px solid var(--indigo-5); border-radius: 22px; padding: 16px 20px 18px;
  }
  .price-badge { display: inline-block; background: linear-gradient(90deg, var(--indigo-8), var(--indigo-6)); color: var(--white); font-size: 14px; font-weight: 500; line-height: 1; padding: 6px 10px; border-radius: 10px; }
  .price-period { margin: 0 0 6px; font-size: 30px; font-weight: 600; line-height: 1.1; color: var(--gray-9); }
  .price-month { margin: 0; font-size: 22px; font-weight: 600; color: var(--gray-9); }
  .price-total { margin: 4px 0 0; font-size: 17px; color: var(--gray-7); }
  .price-total s { color: var(--gray-5); margin-right: 4px; }
  .cta-reassure { list-style: none; padding: 0; margin: var(--spacing-md) 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--spacing-sm) var(--spacing-xl); }
  .cta-reassure li { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--gray-9); }
  .cta-reassure svg { width: 18px; height: 18px; color: var(--indigo-6); flex-shrink: 0; }

  /* ══════════════════════════════════════════════
     ФИНАЛЬНЫЙ CTA + ФУТЕР — по референсу Fluently: фото на весь блок, крупный призыв,
     QR на регистрацию, футер полупрозрачной плашкой поверх того же фото снизу
     ══════════════════════════════════════════════ */
  .finalcta { position: relative; padding: 140px 0 0; overflow: hidden; color: var(--white); }
  .finalcta-bg {
    position: absolute; inset: 0; z-index: 0;
    background-image: url('/assets/img/home/breakfast-food-only.webp');
    background-size: cover; background-position: 70% 50%;
  }
  .finalcta-bg::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(120% 90% at 50% 15%, rgba(10,14,30,.4) 0%, rgba(10,14,30,.7) 55%, rgba(10,14,30,.92) 100%);
  }
  .finalcta-content { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; padding-bottom: 80px; }
  .finalcta-content h2 {
    font-family: 'Onest', sans-serif; font-weight: 700; letter-spacing: -0.01em;
    font-size: clamp(1.5rem, 1rem + 2.2vw, 2.5rem); line-height: 1.25; margin: 0 0 40px;
  }
  .finalcta-qr { width: 176px; height: 176px; margin: 0 auto 28px; border-radius: var(--radius-m); background: var(--white); padding: 12px; }
  .finalcta-content .btn { position: relative; z-index: 1; }

  .finalcta-footer {
    position: relative; z-index: 1; margin-top: 48px;
    background: rgba(10,14,30,.55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,.12); padding: var(--spacing-xxl) 0 var(--spacing-xl);
  }
  .finalcta-footer-grid { display: flex; flex-wrap: wrap; gap: var(--spacing-xxl); justify-content: space-between; }
  .finalcta-footer-brand { flex: 1 1 200px; }
  .finalcta-footer-brand .logo-img { filter: brightness(0) invert(1); margin-bottom: var(--spacing-sm); }
  .finalcta-footer-brand p { color: rgba(255,255,255,.6); font-size: 13px; max-width: 26ch; }
  .finalcta-footer-col h4 { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 var(--spacing-md); }
  .finalcta-footer-col a { display: block; color: rgba(255,255,255,.85); font-size: 14px; text-decoration: none; margin-bottom: var(--spacing-sm); }
  .finalcta-footer-col a:hover { color: var(--white); text-decoration: underline; }
  .finalcta-footer-bottom {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--spacing-sm);
    margin-top: var(--spacing-xxl); padding-top: var(--spacing-lg); border-top: 1px solid rgba(255,255,255,.12);
  }
  .finalcta-footer-bottom p { color: rgba(255,255,255,.5); font-size: 13px; margin: 0; }
  .finalcta-footer-bottom a { color: rgba(255,255,255,.7); font-size: 13px; text-decoration: none; }
  @media (max-width: 640px) { .finalcta { padding-top: 90px; } }
  /* QR в углу, как у Fluently: для тех, кто открыл лендинг с компьютера, а пользоваться будет с телефона.
     Появляется после первого экрана, прячется у финального блока (там свой QR). На телефонах не нужен */
  .qr-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 25; width: 148px;
    background: var(--white); border-radius: 20px; padding: 12px 12px 14px; text-align: center;
    box-shadow: 0 16px 40px -12px rgba(15,25,60,.3), 0 0 0 1px rgba(73,106,214,.08);
    opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s ease, transform .35s ease;
  }
  .qr-float.visible { opacity: 1; transform: none; pointer-events: auto; }
  .qr-float img { width: 124px; height: 124px; display: block; margin: 0 auto 8px; }
  .qr-float p { margin: 0; font-size: 13px; line-height: 1.3; font-weight: 500; color: var(--gray-9); }
  @media (max-width: 900px) { .qr-float { display: none; } }
  @media (prefers-reduced-motion: reduce) { .qr-float { transition: none; } }
  /* «Гид по сервису» открывается попапом поверх лендинга, а не отдельной страницей. Содержимое то же, что в faq.html */
  .faq-dialog { border: 0; padding: 0; background: transparent; width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; border-radius: 28px; }
  .faq-dialog::backdrop { background: rgba(10,14,30,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .faq-dialog[open] { animation: faq-in .3s cubic-bezier(.2,.8,.2,1); }
  @keyframes faq-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .faq-dialog[open] { animation: none; } }
  /* «Написать в поддержку»: маленький попап с выбором канала, в стиле гида */
  .support-dialog { border: 0; padding: 0; background: transparent; width: min(440px, calc(100vw - 32px)); border-radius: 28px; overflow: visible; }
  .support-dialog::backdrop { background: rgba(10,14,30,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .support-dialog[open] { animation: faq-in .3s cubic-bezier(.2,.8,.2,1); }
  @media (prefers-reduced-motion: reduce) { .support-dialog[open] { animation: none; } }
  .support-card {
    position: relative; background: linear-gradient(160deg, var(--blue-9) 0%, #161D3A 100%);
    border-radius: 28px; padding: 40px 32px 32px; box-shadow: 0 30px 70px rgba(4,8,24,.18); color: var(--white);
  }
  @media (max-width: 640px) { .support-card { padding: 36px 20px 20px; } }
  .support-card:focus { outline: none; }
  .support-card .eyebrow { color: var(--indigo-2); text-align: center; }
  .support-card h2 { font-family: 'Onest', sans-serif; font-weight: 700; font-size: 26px; line-height: 1.2; text-align: center; margin: 0 0 28px; color: var(--white); }
  .support-options { display: flex; flex-direction: column; gap: 10px; }
  .support-opt {
    display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px;
    background: rgba(255,255,255,.08); color: var(--white); text-decoration: none; transition: background .2s ease, transform .2s ease;
  }
  .support-opt:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }
  .support-opt.primary { background: var(--white); color: var(--gray-9); }
  .support-opt.primary:hover { background: var(--indigo-0); }
  .support-opt svg { width: 28px; height: 28px; flex-shrink: 0; }
  .support-opt b { display: block; font-size: 16px; font-weight: 600; }
  .support-opt small { display: block; font-size: 13px; opacity: .65; margin-top: 2px; }
  .faq-modal {
    width: 100%; margin: 0; position: relative;
    background: linear-gradient(160deg, var(--blue-9) 0%, #161D3A 100%);
    border-radius: 28px; padding: 56px; box-shadow: 0 30px 70px rgba(4,8,24,.18);
  }
  @media (max-width: 640px) { .faq-modal { padding: var(--spacing-xl) var(--spacing-lg); } }

  .faq-close {
    position: absolute; top: 24px; right: 24px; width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--white);
    font-size: 18px; line-height: 1; display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: background .2s ease; cursor: pointer; font-family: inherit;
  }
  .faq-close:hover { background: rgba(255,255,255,.16); }

  .faq-modal .eyebrow { color: var(--indigo-2); text-align: center; justify-content: center; display: flex; }
  .faq-modal h2 {
    font-family: 'Onest', sans-serif; font-weight: 700; letter-spacing: -0.01em; color: var(--white);
    font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); text-align: center; margin: 0 0 var(--spacing-sm);
  }
  .faq-contact { text-align: center; color: rgba(255,255,255,.6); font-size: 15px; margin: 0 0 40px; }
  .faq-contact a { color: var(--indigo-2); }

  .faq-list { display: flex; flex-direction: column; gap: 10px; }
  .qa-row { background: rgba(255,255,255,.06); border-radius: 16px; overflow: hidden; }
  .qa-row summary {
    list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; gap: 16px;
    font-size: 16px; font-weight: 600; color: var(--white);
  }
  .qa-row summary::-webkit-details-marker { display: none; }
  .qa-num { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.35); flex-shrink: 0; width: 20px; }
  .qa-title { flex: 1; }
  .qa-chevron { color: rgba(255,255,255,.55); flex-shrink: 0; transition: transform .2s ease; }
  .qa-row[open] .qa-chevron { transform: rotate(180deg); }
  .qa-row-body { padding: 0 22px 20px 58px; }
  .qa-row-body p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.78); margin: 0 0 var(--spacing-sm); }
  .qa-row-body strong { color: var(--white); }
  .qa-row-body ul { margin: 0 0 var(--spacing-sm); padding-left: 1.2em; }
  .qa-row-body li { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.78); margin-bottom: 4px; }
  .qa-row-body a { color: var(--indigo-2); }
  .qa-note {
    display: flex; gap: var(--spacing-sm); align-items: flex-start; margin-top: var(--spacing-sm);
    background: rgba(255,255,255,.08); border-radius: var(--radius-m); padding: var(--spacing-md);
  }
  .qa-note::before { content: '✦'; color: var(--indigo-2); flex-shrink: 0; line-height: 1.5; }
  .qa-note p { margin: 0; font-size: 13px; color: var(--white); }

  /* баннер про cookie: без согласия аналитика работает без cookie (данные только в памяти вкладки), после «Хорошо» запоминает визиты */
  .cookie-bar {
    position: fixed; left: 24px; bottom: 24px; z-index: 40; max-width: 420px;
    background: var(--white); border-radius: 18px; padding: 16px 18px; display: flex; align-items: center; gap: 16px;
    box-shadow: 0 16px 40px -12px rgba(15,25,60,.3), 0 0 0 1px rgba(73,106,214,.08);
  }
  .cookie-bar[hidden] { display: none; }
  .cookie-bar p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--gray-8); }
  .cookie-bar a { color: var(--indigo-6); }
  .cookie-bar .btn { flex-shrink: 0; }
  @media (max-width: 640px) { .cookie-bar { left: 16px; right: 16px; bottom: 16px; max-width: none; } }
  /* ══════════════ МОБИЛЬНАЯ ВЕРСИЯ ══════════════ */
  @media (max-width: 640px) {
    .container { padding: 0 16px; }

    /* шапка: на узком экране короткий текст кнопки, иначе она переносится и наезжает на «Войти» */
    .nav .btn .btn-long { display: none; }
    .nav .btn { font-size: 14px; padding: 7px 14px; }
    .nav-login { margin-right: 14px; }
    .nav-blog { margin-right: 14px; }
    .logo-img { height: 18px; }

    /* первый экран: телефон ниже ростом, без пустого чата */
    .hero-title { font-size: 2.25rem; }
    .hero-sub { font-size: 16px; }

    /* плашки доверия в один экран: диетолог слева, IT-парк и СберЗдоровье стопкой справа */
    #proof .proof-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    #proof .doctor-card { height: 180px; }
    #proof .doctor-card h3 { font-size: 16px; padding: 14px 12px 0; max-width: 110px; }
    #proof .doctor-card img { width: 64%; height: 70%; object-position: top center; }
    #proof .doctor-pill { bottom: 10px; padding: 5px 10px; }
    #proof .proof-stack { height: 180px; gap: 10px; }
    #proof .proof-stack .itpark-card, #proof .proof-stack .sber-badge { flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 8px; }
    #proof .proof-stack .itpark-card h3 { font-size: 15px; }
    #proof .proof-stack .sber-badge img { height: 22px; }
    #proof .proof-stack .info-pill { padding: 4px 10px; max-width: 100%; }
    #proof .proof-stack .info-pill span { white-space: normal; text-align: center; }
    #proof { padding: 72px 0 48px; }

    /* цена */
    .price-left .price-reassure { flex-direction: column; gap: 8px; margin-bottom: 24px; }
    .price-big { font-size: 44px; }
    #price { padding: 32px 0 64px; }
    /* карточка цены целиком в один экран телефона */
    #price .section-title { font-size: 26px; margin-bottom: 16px; }
    .price-box { padding: 24px 20px; gap: 20px; border-radius: 24px; }
    .price-alt { font-size: 17px; margin-bottom: 12px; }
    .price-left .price-reassure { flex-direction: row; gap: 6px 16px; margin-bottom: 18px; }
    .price-list-title { font-size: 17px; margin-bottom: 10px; }
    .price-list { gap: 9px; }
    .price-list li { font-size: 15px; gap: 10px; align-items: center; }
    .price-list svg { width: 20px; height: 20px; padding: 4px; }
  }
  /* ══════════════ ТЕЛЕФОН: блок со скринами как у Fluently ══════════════
     телефон закреплён сверху, под ним текст меняется при прокрутке, справа точки.
     .dd-block становятся невидимыми распорками, как на десктопе, скрипт тот же */
  @media (max-width: 900px) {
    #deepdive { padding: 32px 0 0; }
    .dd-grid { display: flex; flex-direction: column; gap: 0; }
    .dd-visual { order: -1; position: sticky; top: 60px; z-index: 1; }
    .dd-phone-sticky { display: flex; position: static; padding: 8px 0 0; }
    .dd-phone-sticky::before { width: 420px; height: 420px; filter: blur(40px); }
    .dd-phone-sticky .phone-frame { width: calc(58svh * 300 / 610); border-radius: 34px; padding: 7px; }
    .dd-phone-sticky .phone-screen { border-radius: 27px; }
    .dd-text { max-width: none; }
    /* текст переносится скриптом внутрь .dd-visual: телефон и текст закреплены вместе и уезжают вместе,
       иначе на последнем слайде текст раньше уходит вверх и заезжает под телефон */
    .dd-visual { background: var(--white); }
    .dd-visual .dd-text-sticky { display: block; position: relative; top: auto; margin-top: 20px; height: calc(100svh - 60px - 8px - 58svh - 20px); min-height: 0; z-index: 1; }
    .dd-text-state {
      position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-start; pointer-events: none;
      opacity: 0; filter: blur(8px); transition: opacity .45s ease, filter .45s ease;
    }
    .dd-text-state.active { opacity: 1; filter: none; pointer-events: auto; }
    .dd-text-state .eyebrow { margin-bottom: 6px; }
    .dd-text-state .h3 { font-size: 24px; line-height: 1.2; margin-bottom: 8px; }
    .dd-text-state .body1 { font-size: 16px; line-height: 1.5; }
    .dd-block { min-height: 90svh; padding: 0; }
    .dd-block > .dd-copy, .dd-mobile-phone { display: none !important; }
    .dd-dots { display: flex; right: 8px; padding: 10px 6px; gap: 9px; }
    .dd-dot { width: 6px; height: 6px; }
  }

  /* ══════════════ ТЕЛЕФОН: «Прогресс не только на весах» каруселью ══════════════ */
  @media (max-width: 640px) {
    #game { padding: 72px 0; }
    #game .top-title { margin-bottom: 28px; }
    .bento {
      display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
      margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .bento::-webkit-scrollbar { display: none; }
    .bento-bottom-right { display: contents; }
    .bento-card { flex: 0 0 84%; min-width: 0; scroll-snap-align: center; padding: 22px; border-radius: 24px; }
    .bento-video .video-wrap { width: 100%; margin: var(--spacing-md) 0 0; border-radius: 18px; }
    /* «Здоровый ритм» на телефоне: не весь экран приложения, а его суть в высоту остальных карточек.
       Всё по центру: огонь и число одной строкой, под ними подпись, внизу неделя. Текст, кнопка и «поделиться» убраны */
    .streak-screen { aspect-ratio: 420 / 300; }
    .streak-share, .streak-text, .streak-btn { display: none; }
    .streak-flame { top: calc(30 * var(--u)); left: calc(96 * var(--u)); right: auto; width: calc(96 * var(--u)); font-size: calc(84 * var(--u)); text-align: center; }
    .streak-num { top: calc(22 * var(--u)); left: calc(200 * var(--u)); right: auto; width: calc(140 * var(--u)); height: calc(100 * var(--u)); font-size: calc(92 * var(--u)); line-height: calc(100 * var(--u)); text-align: left; }
    .streak-sub { top: calc(132 * var(--u)); font-size: calc(21 * var(--u)); }
    .streak-week { top: calc(184 * var(--u)); height: calc(92 * var(--u)); left: calc(18 * var(--u)); right: calc(18 * var(--u)); }
    /* конфетти втрое меньше: на маленькой карточке полный залп превращается в шум поверх текста */
    .streak-confetti b:not(:nth-child(3n)) { display: none; }
    /* статусы: крупные значки сеткой 3 × 2, внизу одна строка, как подпись у «Общайся в чате» */
    .bento-status > h3:not(.status-caption) { display: none; }
    .status-block { margin-top: var(--spacing-lg); flex: 1; display: flex; align-items: center; }
    .status-connector, .status-labels { display: none; }
    .status-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 8px; width: 100%; justify-items: center; }
    .status-icon { width: 100%; max-width: 88px; height: auto; aspect-ratio: 1; }
    .bento-status .status-caption { display: block; font-size: 18px; margin: var(--spacing-lg) 0 0; }
    .bento-coach .chatrec { margin-top: var(--spacing-lg); }
    /* на телефоне подпись под картинкой, в пару к карточке статусов */
    .bento-coach h3 { order: 3; margin-top: var(--spacing-lg); }
    .skill-list-dark { margin-top: var(--spacing-lg); }
  }

  /* ══════════════ СТАТЬИ ИЗ БЛОГА: три карточки перед финальным блоком ══════════════ */
  #articles { background: var(--white); padding: 96px 0; }
  .articles-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--spacing-lg); margin-bottom: var(--spacing-xxl); }
  .articles-head .section-title { margin: 0; text-align: left; }
  .articles-all { font-size: 16px; font-weight: 600; color: var(--indigo-6); text-decoration: none; white-space: nowrap; }
  .articles-all:hover { text-decoration: underline; }
  .articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .article-card { display: flex; flex-direction: column; text-decoration: none; color: var(--gray-9); border-radius: 24px; overflow: hidden; background: var(--gray-0); transition: transform .2s ease, box-shadow .2s ease; }
  .article-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -16px rgba(40,60,150,.25); }
  .article-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
  .article-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
  .article-card .tag { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--indigo-5); }
  .article-card h3 { font-family: 'Onest', sans-serif; font-size: 19px; font-weight: 600; line-height: 1.3; margin: 0; }
  .article-card .read { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--color-text-muted); }
  @media (max-width: 900px) { .articles-grid { grid-template-columns: 1fr; } .article-card { flex-direction: row; } .article-card img { width: 38%; aspect-ratio: auto; min-height: 100%; } }
  @media (max-width: 640px) {
    #articles { padding: 64px 0; }
    .articles-head { margin-bottom: 20px; }
    .articles-head .section-title { font-size: 26px; }
    .articles-grid { gap: 12px; }
    .article-card { border-radius: 18px; }
    .article-card-body { padding: 14px 16px; gap: 4px; }
    .article-card h3 { font-size: 16px; }
    .article-card .tag { font-size: 11px; }
  }
