/* ============================================================================
   AI-интенсив — таблица стилей

   ПОДАЧА ЯРКАЯ, «ПРОДУКТОВАЯ». Визуальный язык взят с образца (AI-ЛАБ,
   pole-expertov): жирный Inter, лавандовые карточки, фиолетовый градиент,
   зелёная кнопка-таблетка, глянцевые 3D-иконки. Берём язык, а не их
   картинки, логотип и тексты — это соседняя школа в той же нише.

   Правила, которые легко нарушить по привычке:
     1. Основная единица — скруглённая карточка. Лавандовая на белом, белая
        на лавандовом. Скругления только из токенов --r-*.
     2. Градиентов ровно три, и все в токенах: --grad-brand (плашки с белым
        текстом), --grad-soft (крупный текст и декор), --grad-cta (кнопка).
        Новый градиент в правиле компонента = ошибка.
     3. Белый текст — только на --grad-brand и --grad-cta. Обе точки каждого
        из них проверены: белый даёт ≥4,5:1 и в светлом, и в тёмном конце.
        У образца светлый градиент и светло-зелёная кнопка с белым текстом
        дают 2–3:1 — поэтому наши на тон глубже.
     4. 3D-иконки только из 3dicons.co (CC0), стиль gradient, ракурс
        dynamic. Все декоративные: alt="" — смысл несёт текст рядом.

   ЦВЕТ:
     ЗЕЛЁНЫЙ    — главное действие (кнопки записи) и метки результата.
     ФИОЛЕТОВЫЙ — бренд: градиентные плашки, выбранное, ссылки, номера.
     ЛАВАНДОВЫЙ — карточки и спокойные подложки.
     БЕЛЫЙ      — холст.

   Слои переменных: L1 каналы -> L2 альфы -> L3 роли -> L4 область.
   Сырой hex в правиле компонента = ошибка.
   ========================================================================== */

:root{
  /* L1 — сырые каналы, только внутри rgb() */
  --c-violet:      94 98 232;    /* #5E62E8 */
  --c-violet-lt:  130 133 255;   /* #8285FF */
  --c-violet-dk:   67 70 196;    /* #4346C4 */
  --c-green:        8 133 90;    /* #08855A */
  --c-green-dk:     4 112 77;    /* #04704D */
  --c-ink:         11 15 31;
  --c-paper:      255 255 255;
  --c-lavender:   246 246 255;   /* #F6F6FF */

  /* L2 — шкала прозрачности */
  --a-hairline:.14;
  --a-line:.24;
  --a-tint:.14;
  --a-control:.5;   /* граница элемента управления: 3:1 и выше к холсту */

  /* L3 — роли */
  --c-action: var(--c-green);
  --c-brand:  var(--c-violet);
  --c-proof:  var(--c-green);

  /* L4 — область по умолчанию: светлая */
  --surface:#FFFFFF;
  --surface-2:#F6F6FF;           /* лавандовая карточка / подложка секции */
  --surface-3:#EBECFF;           /* глубже: сцена, выбранная вкладка */
  --on:#12141A;                  /* 17,2:1 на белом, 17,1:1 на лавандовом */
  --on-muted:#565E78;            /*  6,43:1 на белом, 5,98:1 на лавандовом */
  --line:#E4E5F5;
  --line-strong:#C9CBEA;
  /* Линия, которая сама и есть элемент управления (сегменты ниш на
     телефоне). --line даёт 1,23:1 и для этого не годится: WCAG 1.4.11
     требует 3:1. Чернила на 50 % дают 3,58:1. */
  --line-control: rgb(var(--c-ink) / var(--a-control));
  --accent-action:#08855A;       /* белый текст: 4,65:1 */
  --accent-action-hover:#067049;
  --accent-action-active:#04603F;
  --accent-brand:#4B4FD0;        /* текстом: 6,31:1 на белом, 5,87:1 на лавандовом */
  --accent-link:#4B4FD0;
  /* Текст результата. Стоит и на зелёной вуали поверх лавандовой карточки —
     поэтому темнее «кнопочного» зелёного: #0E7A52 там давал 4,38:1. */
  --accent-proof:#0A6A47;
  --action-on:#FFFFFF;

  /* Градиенты. Цифры — белый текст в светлой и тёмной точке. */
  --grad-brand: linear-gradient(160deg, #5E62E8 0%, #4346C4 100%);   /* 4,79 → 7,21 */
  --grad-soft:  linear-gradient(90deg, #8285FF 0%, #5B5FE4 100%);    /* только ≥24px и декор: 3,11 → 5,0 на белом */
  --grad-cta:   linear-gradient(174deg, #08855A 0%, #04704D 100%);   /* 4,65 → 6,12 */
  --grad-cta-hover: linear-gradient(174deg, #067049 0%, #03603F 100%);
  --grad-stage: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #F1F1FF 45%, #E6E7FF 100%);

  /* Кнопка: на белом зелёная, на фиолетовой плашке белая (.on-brand). */
  --btn-bg: var(--grad-cta);
  --btn-bg-hover: var(--grad-cta-hover);
  --btn-on: #FFFFFF;

  --r-sm:14px;
  --r-md:20px;
  --r-card:26px;
  --r-lg:30px;
  --r-pill:999px;
  --shadow-card: 0 14px 34px -18px rgb(var(--c-violet-dk) / .35);
  --shadow-cta:  0 12px 26px -12px rgb(var(--c-green) / .6);

  --wrap:1120px;
  --sans:'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: var(--sans);
}

/* Фиолетовая плашка: цена, финальный день, заявка. Токены переворачиваются
   так же, как раньше у тёмной области: белый текст, белая кнопка с
   фиолетовым текстом (8,27:1). Приглушённого текста здесь нет — белый на
   88 % в светлой точке градиента даёт только 3,9:1. */
.on-brand{
  --surface:#5E62E8;
  --surface-2: rgb(var(--c-paper) / .12);
  --surface-3: rgb(var(--c-paper) / .18);
  --on:#FFFFFF;
  --on-muted:#FFFFFF;
  --line: rgb(var(--c-paper) / var(--a-line));
  --line-strong: rgb(var(--c-paper) / .45);
  --line-control: rgb(var(--c-paper) / .6);
  --accent-brand:#FFFFFF;
  --accent-link:#FFFFFF;
  --btn-bg:#FFFFFF;
  --btn-bg-hover:#EEEFFF;
  --btn-on:#3A3DB8;
  --shadow-cta: 0 12px 26px -12px rgb(var(--c-ink) / .45);
  color:var(--on);
}
/* Фон — отдельным правилом с весом (0,2,0). У карточек (.day, .shift__card)
   свой фон весом (0,1,0), и он стоит ниже в файле: с одним классом плашка
   получала бы лавандовую заливку, а белый текст оказывался на белом. */
:root .on-brand{ background:var(--grad-brand); }

/* ------------------------------------------------------------------ база -- */
*,*::before,*::after{ box-sizing:border-box; }
[hidden]{ display:none !important; }

html{ scroll-behavior:smooth; background:var(--surface-2); }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  font-family:var(--sans);
  font-size:17px;
  line-height:1.6;
  color:var(--on);
  background:var(--surface);
  -webkit-font-smoothing:antialiased;
}

/* Заголовки — жирный Inter с плотной разрядкой, как у образца. */
h1,h2,h3{
  font-family:var(--display);
  font-weight:700;
  line-height:1.12;
  letter-spacing:-.022em;
  margin:0;
  text-wrap:balance;
}
p,ul,ol,dl,dd{ margin:0; }
ul,ol{ list-style:none; padding:0; }
img{ display:block; max-width:100%; height:auto; }
s{ text-decoration-thickness:1px; }

::selection{ background:rgb(var(--c-brand) / .2); }
html{ -webkit-tap-highlight-color: rgb(var(--c-brand) / .18); }

/* Кольцо фокуса — цветом текста области: тёмное на белом и лавандовом,
   белое на фиолетовых плашках. Цветное кольцо на кнопке того же цвета
   было бы не видно. */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:2px solid var(--on);
  outline-offset:2px;
  border-radius:4px;
}

.skip-link{
  position:fixed; top:8px; left:8px; z-index:200;
  padding:10px 16px; border-radius:8px;
  background:var(--accent-action); color:var(--action-on);
  font-weight:600; text-decoration:none;
  transform:translateY(-200%);
}
.skip-link:focus{ transform:none; }

.sr-only{
  position:absolute; width:1px; height:1px; margin:-1px; padding:0;
  overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0;
}

/* -------------------------------------------------------------- раскладка -- */
.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:28px; }
.wrap--text{ max-width:760px; }   /* удобная длина строки для чтения */

.sec{
  background:var(--surface); color:var(--on);
  padding-block:clamp(64px,8vw,112px);
}
.sec--alt{ background:var(--surface-2); }

.sec__t{ font-size:clamp(28px,3.6vw,46px); max-width:22ch; }
/* Слово-акцент в заголовке — градиентным текстом, как у образца. Размер
   заголовка всегда ≥24px, поэтому хватает порога 3:1 для крупного текста:
   светлая точка --grad-soft даёт 3,11:1. Без background-clip:text слово
   просто фиолетовое. */
.grad-text{ color:var(--accent-brand); }
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .grad-text{
    background:var(--grad-soft);
    -webkit-background-clip:text; background-clip:text;
    color:transparent;
    -webkit-box-decoration-break:clone; box-decoration-break:clone;
  }
}
@media (forced-colors: active){ .grad-text{ color:CanvasText; background:none; } }

.lede{
  margin-top:20px;
  font-size:clamp(17px,1.5vw,20px);
  color:var(--on-muted);
  max-width:62ch;
}
/* Секции с сеткой карточек открываются заголовком по центру, как у образца.
   Первый экран и «Для кого» — две колонки, там заголовок слева. */
.sec__t--center{ margin-inline:auto; text-align:center; }
.lede--center{ margin-inline:auto; text-align:center; }

/* Надзаголовок разрядкой — один раз, в первом экране. */
.eyebrow{
  font-size:13px; font-weight:600; letter-spacing:.32em; text-transform:uppercase;
  color:var(--on);
  margin-bottom:22px;
}

.meta{
  margin-top:22px;
  font-size:15px; color:var(--on-muted);
  font-variant-numeric:tabular-nums;
}

/* Чипы-таблетки: дата, срок, формат. Первый — фиолетовый (белый 4,79:1),
   остальные лавандовые с фиолетовым текстом (5,87:1). */
.chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; }
.chips li{
  padding:8px 16px; border-radius:var(--r-pill);
  background:var(--surface-2); color:var(--accent-brand);
  font-size:15px; font-weight:600; line-height:1.3;
  font-variant-numeric:tabular-nums;
}
.chips li:first-child{ background:var(--grad-brand); color:#FFFFFF; }
.fine{ margin-top:14px; font-size:14px; color:var(--on-muted); max-width:48ch; }
.fine:empty{ display:none; }
.sub{
  font-family:var(--sans);
  font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--accent-brand);
  margin:40px 0 16px;
}
.sub--center{ text-align:center; margin-top:48px; }

/* Зелёная метка результата. Не таблетка: радиус 10px и галочка, чтобы не
   спорить формой с кнопкой. */
.tag-ok{
  display:inline-flex; align-items:center; gap:6px;
  padding:5px 10px 5px 8px; border-radius:10px;
  background:rgb(var(--c-green) / .1); color:var(--accent-proof);
  font-style:normal; font-size:14px; font-weight:600; line-height:1.3;
}
.tag-ok::before{ content:"✓"; font-weight:700; }

/* Список с фиолетовыми галочками — достижения ведущего. */
.checks{ display:grid; gap:10px; margin-top:22px; }
.checks li{ display:flex; gap:12px; align-items:flex-start; font-weight:500; }
.checks li::before{
  content:"✓"; flex:none;
  display:inline-flex; align-items:center; justify-content:center;
  width:24px; height:24px; margin-top:1px; border-radius:7px;
  background:var(--grad-brand); color:#FFFFFF; font-size:14px; font-weight:700;
}

.lnk{ color:var(--accent-link); text-decoration:underline; text-underline-offset:3px; }
.lnk:hover{ text-decoration-thickness:2px; }

.ico{ width:20px; height:20px; flex:none; fill:none; stroke:currentColor;
      stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; }

/* Кнопка-таблетка. Цвет берётся из области: на белом зелёный градиент с
   белым текстом (4,65 → 6,12:1), внутри .on-brand — белая с фиолетовым
   текстом (8,27:1). Разметку под фон менять не нужно.

   Наведение не меняет цвет текста, только фон и подъём на 1px — поэтому
   «залипшее» после тапа наведение на телефоне ничего не прячет. */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:48px; padding:15px 32px;
  border:0; border-radius:var(--r-pill);
  background:var(--btn-bg); color:var(--btn-on);
  box-shadow:var(--shadow-cta);
  font-family:var(--sans); font-weight:700; font-size:16px; line-height:1.2;
  text-decoration:none; cursor:pointer;
  transition:translate .18s ease, box-shadow .18s ease;
}
.btn:hover{ background:var(--btn-bg-hover); translate:0 -1px; }
.btn:active{ translate:0 1px; box-shadow:none; }
.btn--sm{ min-height:40px; padding:10px 20px; font-size:15px; }
.btn--lg{ min-height:56px; padding:18px 38px; font-size:17px; }
.btn--block{ display:flex; width:100%; }

/* ---------------------------------------------------------------- шапка -- */
.hdr{
  position:sticky; top:0; z-index:100;
  background:rgb(255 255 255 / .86);
  backdrop-filter:saturate(1.3) blur(10px);
  border-bottom:1px solid transparent;
  transition:border-color .2s ease;
}
.hdr.is-scrolled{ border-bottom-color:var(--line); }
.hdr__in{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding-block:14px; }
/* Кнопка держится правого края и когда в шапке она осталась одна: при
   space-between единственный ребёнок уехал бы влево. Автоматический отступ
   срабатывает раньше justify-content, поэтому с логотипом ничего не меняется. */
.hdr__in .btn{ margin-left:auto; }

.brand{ display:inline-flex; align-items:center; gap:11px; text-decoration:none; color:var(--on); }
.brand__sq{
  width:34px; height:34px; border-radius:9px;
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--accent-brand); color:var(--surface);
  font-family:var(--sans); font-weight:700; font-size:13px;
}
.brand__name{ font-family:var(--sans); font-weight:600; font-size:13px;
              letter-spacing:.1em; text-transform:uppercase; }

/* ---------------------------------------------------------------- герой -- */
/* overflow-x:clip — 3D-иконки заходят за край сцены, на узком экране они не
   должны давать горизонтальную прокрутку. clip, а не hidden: не создаёт
   скролл-контейнер и не ломает position:sticky ниже по странице. */
.hero{ background:var(--surface); color:var(--on); padding-block:clamp(40px,6vw,88px); overflow-x:clip; }
/* Две колонки только тогда, когда во втором столбце реально что-то есть.
   Пока скриншотов нет, колода закомментирована — и пустая вторая колонка
   зажимала бы заголовок в пять строк. */
.hero__grid{ display:grid; grid-template-columns:minmax(0,1fr); gap:56px; align-items:center; }
.hero__grid:has(.hero__demo, .deck){ grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); }
.hero__t{ font-size:clamp(34px,4.6vw,56px); line-height:1.06; letter-spacing:-.03em; max-width:17ch; }
/* Акцент в заголовке — градиентный текст (.grad-text). Курсива нет: в Inter
   он слабее и спорит с жирным начертанием. */
.hero__t em{ font-style:normal; }
.hero__cta{ margin-top:32px; }


/* ------------------------------------------------ иллюстрация в герое ----
   Схема работы с настроенными нейросетями, собранная по устройству настоящего
   интерфейса ChatGPT. Ключевая деталь, которую почти всегда рисуют неправильно:
   в пузырь уходит ТОЛЬКО реплика пользователя, а ответ модели идёт обычным
   текстом без всякой плашки. Два пузыря друг напротив друга — это мессенджер,
   а не чат с моделью, и именно это выдаёт рисунок.

   Панели светлые, как у самих продуктов в светлой теме, и стоят на
   лавандовой сцене: так они читаются как экраны, а не как блоки вёрстки.
   3D-иконки вокруг — чистый декор (alt="" внутри role="img").          */
.hero__demo{
  position:relative;
  display:grid; gap:14px; align-content:start;
  padding:clamp(22px,3vw,34px);
  border-radius:var(--r-lg);
  background:var(--grad-stage);
}
.hero__deco{ position:absolute; pointer-events:none; filter:drop-shadow(0 14px 18px rgb(var(--c-violet-dk) / .25)); }
.hero__deco--rocket{ width:clamp(84px,9vw,118px); top:-34px; right:-18px; rotate:8deg; }
.hero__deco--magic { width:clamp(64px,7vw,92px);  bottom:-26px; left:-22px; rotate:-10deg; }
.hero__deco--chat  { width:clamp(52px,5.5vw,72px); top:42%; right:-26px; rotate:6deg; }

.chat{
  --chat-mark: var(--accent-proof);
  position:relative;
  padding:16px 18px 18px;
  border-radius:var(--r-md);
  background:var(--surface);
  color:var(--on);
  box-shadow:var(--shadow-card);
}
.chat--wide{ margin-left:clamp(0px,3vw,36px); }

/* Строка приложения вместо оконной обвязки: имя модели узнаётся мгновенно,
   а рисовать три поддельных окна с адресной строкой — перебор. */
.chat__app{
  display:flex; align-items:center; gap:8px;
  margin-bottom:14px;
  font-size:13px; font-weight:500; color:var(--on-muted);
}
/* Знаки продуктов — настоящие, не нарисованные на глаз: OpenAI и Claude из
   набора @lobehub/icons (MIT), Алиса — со страницы alice.yandex.ru. Рисовать
   их приблизительно значило бы вернуть тот самый «нейрослоп», только мельче.
   Цвет идёт через --chat-mark: знаки монохромные и красятся currentColor. */
.chat__logo{ width:16px; height:16px; flex:none; color:var(--chat-mark); }

/* Реплика пользователя — пузырь справа, как в светлой теме самих
   продуктов: серый у ChatGPT, тёплый бежевый у Claude, текст тёмный.
   Нижний правый угол срезан (4px): равномерное скругление на невысоком
   блоке дало бы «таблетку» — ту же форму, что у главной кнопки. */
.chat__you{
  width:fit-content; max-width:78%; margin-left:auto;
  padding:10px 14px;
  border-radius:16px 16px 4px 16px;
  background:#EFF0F4; color:var(--on);   /* 16,2:1 */
  font-size:14.5px; line-height:1.45;
}

/* Ответ модели — просто текст. Ни фона, ни рамки, ни скруглений. */
/* Алиса AI: фирменный фиолетовый #7A55FF взят с alice.yandex.ru. На белом
   он даёт 4,6:1 — годится и для метки, и для галочек-символов. */
.chat--alice{ --chat-mark:#7A55FF; }
.chat--alice .tick{ color:#6A45F0; }   /* 5,6:1 */

/* ChatGPT — чёрный знак, как в самом продукте. */
.chat--gpt{ --chat-mark: var(--on); }

/* Claude — тёплая бумага #FAF9F5 и терракота #D97757 из его светлой темы.
   Чужой продукт показывают в его собственных цветах, как логотип; за
   пределы этой карточки терракота не выходит. Знак — объект, порог 3:1. */
.chat--claude{
  --surface:#FAF9F5;
  --on:#1F1E1D;               /* 15,8:1 */
  --on-muted:#6B6760;         /*  5,3:1 */
  --chat-mark:#C4623F;        /*  3,9:1 как объект */
}
.chat--claude .chat__you{ background:#EFEAE0; color:#1F1E1D; }

.chat__ai{ margin-top:14px; font-size:14.5px; line-height:1.55; }
.chat__ai b{ font-weight:600; }
.chat__row{ display:flex; gap:9px; align-items:baseline; padding-block:3px; }
.chat__row--muted{ color:var(--on-muted); }
.tick{ color:var(--accent-proof); font-weight:600; }


/* ------------------------------------------------- сценка в первом экране --
   Один раз при появлении блока в кадре карточки отыгрывают диалог: печатается
   запрос, потом потоком идёт ответ. Это единственная анимация на странице,
   которая несёт информацию, а не украшает: она показывает не «как выглядит
   чат», а «как это работает».

   Класс .is-playing вешает САМ СКРИПТ и только после того, как убедился, что
   умеет его снять. Без этого страница с отключённым JS или с задушенным в
   фоновой вкладке наблюдателем показала бы три пустые карточки. Правило то же,
   что и везде здесь: содержимое важнее анимации.                            */

.hero__demo.is-playing :is(.chat__you, .chat__ai, .chat__row){ opacity:0; }
.hero__demo.is-playing :is(.chat__you, .chat__ai).is-on{ opacity:1; }

.hero__demo.is-playing .chat__you{ transition:opacity .18s ease; }

.hero__demo.is-playing .chat__row{
  translate:0 6px;
  transition:opacity .3s ease, translate .3s ease;
}
.hero__demo.is-playing .chat__row.is-on{ opacity:1; translate:0 0; }

/* Курсор во время набора запроса. */
.chat__you.is-typing::after{
  content:"";
  display:inline-block; width:1.5px; height:1em;
  margin-left:2px; vertical-align:-.14em;
  background:currentColor;
  animation:chat-caret 1s step-end infinite;
}
@keyframes chat-caret{ 50%{ opacity:0; } }

/* Пульсирующая точка «модель думает». Абсолютная — чтобы не занимать высоту:
   .chat__ai получает зафиксированную min-height ещё до старта сценки, и любой
   элемент в потоке ломал бы этот замок. */
.chat__ai{ position:relative; }
.chat__think{
  position:absolute; top:.35em; left:0;
  width:9px; height:9px; border-radius:50%;
  background:var(--on-muted);
  opacity:0;
}
.chat__think.is-on{ animation:chat-think 1.1s ease-in-out infinite; }
@keyframes chat-think{
  0%,100%{ opacity:.35; scale:.75; }
  50%    { opacity:1;   scale:1;   }
}

/* Набор текста по символам раздражает ровно тех, кто включает эту настройку,
   поэтому здесь сценка не ускоряется, а не запускается вовсе — скрипт при
   reduce вообще не вешает .is-playing. Правила ниже страхуют на случай, если
   класс всё же оказался на блоке. */
@media (prefers-reduced-motion: reduce){
  .hero__demo.is-playing :is(.chat__you, .chat__ai, .chat__row){ opacity:1; translate:none; }
  .chat__you.is-typing::after{ display:none; }
  .chat__think{ display:none; }
}

/* ------------------------------------------------------- аудитория (кто) --
   Слева ниши, справа сцена с человеком: фото-вырез стоит на лавандовой
   карточке, описание — под ней.

   БАЗА — БЕЗ JS. Панели идут столбиком лавандовыми карточками: маленькое
   фото, название, описание. Всё про вкладки и смену живёт под .aud.is-live —
   этот класс вешает скрипт, когда уже готов всем управлять.               */
.aud__stage{ display:grid; gap:12px; margin-top:40px; max-width:760px; }
.aud__panel{
  display:grid; grid-template-columns:96px 1fr; gap:4px 24px; align-items:center;
  padding:14px 22px 14px 14px;
  border-radius:var(--r-md); background:var(--surface-2);
}
.aud__photo{ grid-row:span 2; }
.aud__photo img{ width:96px; aspect-ratio:4/5; object-fit:contain; object-position:bottom; }
.aud__title{ font-size:19px; align-self:end; }
.aud__desc{ color:var(--on-muted); align-self:start; }

/* --- вкладки и сцена ------------------------------------------------------ */
.aud.is-live{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.95fr);
  gap:40px 56px; align-items:center;
}
.aud.is-live .aud__nav{ margin-top:36px; }
.aud__tabs{ display:grid; gap:6px; }
/* Вкладка — скруглённая строка. Выбранная залита лавандовым, у неё внизу
   бежит фиолетовая полоска. Текст: приглушённый 6,43:1 на белом, выбранный
   15,8:1 на своей заливке. */
.aud__tab{
  position:relative; display:block; width:100%;
  padding:15px 22px 17px;
  background:none; border:0; border-radius:var(--r-md);
  font-family:var(--display); font-weight:600;
  font-size:clamp(17px,1.6vw,19px); line-height:1.3; text-align:left;
  color:var(--on-muted); cursor:pointer;
  transition:color .2s ease, background-color .2s ease;
}
.aud__tab:hover{ color:var(--on); background:var(--surface-2); }
.aud__tab[aria-selected="true"]{ color:var(--on); background:var(--surface-3); }
.aud__tab:focus-visible{ outline-offset:-2px; border-radius:var(--r-md); }

/* Полоска прогресса — внизу выбранной строки. Фиолетовая: индикатор, не
   действие. К лавандовому фону вкладки даёт 5,4:1 — видна и как объект. */
.aud__bar{
  position:absolute; left:22px; right:22px; bottom:8px; height:3px;
  border-radius:3px; overflow:hidden; opacity:0;
  background:rgb(var(--c-violet) / .18);
}
.aud__bar::after{
  content:""; position:absolute; inset:0;
  background:var(--accent-brand);
  transform-origin:left center;
}
.aud__tab[aria-selected="true"] .aud__bar{ opacity:1; }

/* Анимация есть только при включённой автосмене (.is-auto). Скрипт двигает
   очередь по animationend этой полоски, поэтому пауза через play-state
   продолжает прогресс с места, а не начинает заново. Без .is-auto полоска
   активной вкладки просто заполнена. */
.aud.is-auto .aud__tab[aria-selected="true"] .aud__bar::after{
  animation:aud-progress var(--aud-ms, 6000ms) linear forwards;
}
/* Селектор повторён целиком: шорткат animation выше сбрасывает play-state в
   running, и короткое .is-paused .aud__bar::after проигрывало ему по весу —
   класс паузы стоял, а полоска бежала дальше. */
.aud.is-auto.is-paused .aud__tab[aria-selected="true"] .aud__bar::after{ animation-play-state:paused; }
/* Остановлено насовсем (человек сам выбрал нишу) — полоска выбранной ниши
   заполнена целиком. Иначе она замирала бы на нуле, и на телефоне, где
   вкладка — это только сегмент, выбранную было бы не отличить. */
.aud.is-auto.is-stopped .aud__tab[aria-selected="true"] .aud__bar::after{ animation:none; }
@keyframes aud-progress{ from{ transform:scaleX(0); } to{ transform:scaleX(1); } }

/* Все панели лежат в одной ячейке сетки: высота сцены равна самой высокой
   панели и при смене не прыгает. visibility, а не hidden — чтобы уход
   панели можно было проиграть, а скрытая панель выпадала из дерева
   доступности так же, как с hidden. */
.aud.is-live .aud__stage{ display:grid; gap:0; margin-top:0; max-width:none; }
/* Смена последовательная: старая панель гаснет за .22s, новая проявляется
   после неё. Одновременное растворение на полсекунды складывало двух людей
   в одну полупрозрачную фигуру. */
.aud.is-live .aud__panel{
  grid-area:1/1;
  display:block; padding:0; border-radius:0; background:none;
  opacity:0; visibility:hidden;
  transition:opacity .22s ease, visibility 0s linear .22s;
}
.aud.is-live .aud__panel.is-on{
  opacity:1; visibility:visible;
  transition:opacity .45s ease .2s, visibility 0s linear .2s;
}

/* Карточка ровно размером с фото, 4:5. Снимки подготовлены как портретная
   обрезка: макушка на 7 % от верха, а все срезы фигуры — по поясу и там, где
   исходный кадр резал плечо или руку, — лежат точно на краях холста. Поэтому
   срез совпадает с краем карточки и читается как обычная рамка портрета.

   Раньше фото стояло узкой полосой в широкой карточке, а края растворялись
   маской: там, где рука или планшет доходили до края полосы, посреди
   карточки появлялся мягкий прямой срез — «невидимая рамка». */
.aud.is-live .aud__photo{
  display:block;
  width:min(100%, 400px); aspect-ratio:4/5;
  margin-inline:auto;
  border-radius:var(--r-lg);
  background:var(--grad-stage);
  overflow:hidden;
}
.aud.is-live .aud__photo img{
  width:100%; height:100%; object-fit:cover; object-position:center bottom;
  translate:0 10px;
  transition:translate .6s cubic-bezier(.22,1,.36,1) .2s;
}
.aud.is-live .aud__panel.is-on .aud__photo img{ translate:0 0; }

.aud.is-live :is(.aud__title, .aud__desc){ max-width:400px; margin-inline:auto; }
.aud.is-live .aud__title{ margin-top:22px; }
.aud.is-live .aud__desc{
  margin-top:18px; min-height:3.2em;
  font-size:clamp(17px,1.5vw,19px); font-weight:500; color:var(--on);
  opacity:0; transition:opacity .35s ease;
}
.aud.is-live .aud__panel.is-on .aud__desc{ opacity:1; transition-delay:.32s; }
/* Название на десктопе уже написано во вкладке рядом — второй раз его только
   зачитывает скринридер. На телефоне вкладки становятся сегментами и
   название возвращается на сцену (см. адаптивность). */
@media (min-width:761px){
  .aud.is-live .aud__title{
    position:absolute; width:1px; height:1px; margin:-1px; padding:0;
    overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0;
  }
}

/* При «меньше движения» смена мгновенная. Общее правило внизу файла
   сжимает длительности, но не задержки: осталась бы пустая пауза в .2s
   между нишами, то есть мигание. */
@media (prefers-reduced-motion: reduce){
  .aud.is-live :is(.aud__panel, .aud__panel.is-on, .aud__desc, .aud__photo img){ transition:none; }
  .aud.is-live .aud__photo img{ translate:none; }
}

/* ------------------------------------------------------------ семь дней --
   Белые карточки на лавандовой секции. Номер — фиолетовая «звёздочка» из
   clip-path; «День N» для скринридера лежит в .sr-only внутри номера.
   День 7 — финал: во всю ширину и на фиолетовой плашке (.on-brand).      */
.days{
  display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:18px;
  margin-top:44px;
}
.day{
  display:grid; grid-template-columns:auto 1fr; gap:6px 18px; align-content:start;
  padding:26px 28px 28px;
  border-radius:var(--r-card);
  background:var(--surface);
  box-shadow:var(--shadow-card);
}
.day__n{
  grid-row:span 3;
  display:inline-flex; align-items:center; justify-content:center;
  width:58px; height:58px;
  background:var(--grad-brand); color:#FFFFFF;
  font-size:22px; font-weight:700; font-variant-numeric:tabular-nums;
  /* десятилучевая звезда с мягкими лучами */
  clip-path:polygon(50% 0%, 61% 11%, 76% 7%, 80% 22%, 95% 27%, 90% 42%, 100% 55%, 88% 64%, 90% 80%, 74% 81%, 65% 95%, 50% 88%, 35% 95%, 26% 81%, 10% 80%, 12% 64%, 0% 55%, 10% 42%, 5% 27%, 20% 22%, 24% 7%, 39% 11%);
}
.day__t{ font-size:clamp(19px,1.7vw,22px); line-height:1.25; align-self:center; }
.day__d{ color:var(--on-muted); font-size:16px; }
.day__res{
  justify-self:start; margin-top:10px;
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 12px 6px 10px; border-radius:10px;
  background:rgb(var(--c-green) / .1); color:var(--accent-proof);
  font-size:15px; font-weight:600; line-height:1.35;
}
.day__res::before{ content:"✓"; font-weight:700; }

.day--final{ grid-column:1 / -1; box-shadow:none; }
.day--final .day__n{ background:#FFFFFF; color:#3A3DB8; }   /* 8,27:1 */
/* На фиолетовом метка затемняет подложку, а не осветляет: белый текст на
   светлой вуали дал бы 3,9:1, на тёмной — 6:1. */
.day--final .day__res{ background:rgb(var(--c-ink) / .18); color:#FFFFFF; }

/* Две карточки в ряду делят строки: заголовок, описание, метка. Так
   описания начинаются на одной высоте, а зелёные метки стоят на одной
   линии, даже если у соседа описание на строку длиннее. Только в две
   колонки: на телефоне номер уходит в отдельную строку, и трёх общих строк
   там не хватит. Без поддержки subgrid карточки просто остаются как были. */
@media (min-width:761px){
  @supports (grid-template-rows: subgrid){
    .day{ grid-row:span 3; grid-template-rows:subgrid; row-gap:6px; }
    .day__t{ align-self:end; }
    .day__res{ align-self:start; }
  }
}

.after{
  margin:36px auto 0; max-width:34ch; text-align:center;
  font-size:clamp(19px,1.8vw,22px); font-weight:700; line-height:1.35;
}

/* ------------------------------------------------------------ было/стало --
   Две карточки: «Сейчас» — лавандовая с крестиками, «Через 7 дней» —
   фиолетовая с галочками и 3D-кубком. Пункты в одном порядке.            */
.shift{
  display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:18px;
  margin-top:44px;
}
.shift__card{
  position:relative;
  padding:30px 30px 34px;
  border-radius:var(--r-lg);
  background:var(--surface-2);
}
.shift__card--now{ padding-right:110px; }
.shift__lbl{ font-size:22px; }
.shift__list{ display:grid; gap:14px; margin-top:20px; }
.shift__list li{ display:flex; gap:12px; align-items:flex-start; font-size:16.5px; line-height:1.5; }
.shift__list li::before{
  flex:none;
  display:inline-flex; align-items:center; justify-content:center;
  width:24px; height:24px; margin-top:1px; border-radius:50%;
  font-size:13px; font-weight:700;
}
.shift__card--was .shift__list li{ color:var(--on-muted); }
.shift__card--was .shift__list li::before{ content:"✕"; background:var(--surface-3); color:var(--on-muted); }
.shift__card--now .shift__list li{ font-weight:500; }
.shift__card--now .shift__list li::before{ content:"✓"; background:#FFFFFF; color:#3A3DB8; }
.shift__deco{
  position:absolute; top:-26px; right:14px; width:120px;
  pointer-events:none; filter:drop-shadow(0 14px 18px rgb(var(--c-ink) / .25));
}

/* --------------------------------------------------------------- цитаты ---
   Стили лежат готовыми: блок отзывов в разметке закомментирован и заработает
   сразу, как только появятся реальные цитаты.                              */
.quotes{ display:grid; gap:18px; margin-top:44px; }
.quotes li{ padding:28px 30px; border-radius:var(--r-card); background:var(--surface-2); }
.quotes blockquote{
  margin:0;
  font-size:clamp(18px,1.7vw,21px); font-weight:500; line-height:1.5;
}
.quote__who{ margin-top:16px; font-size:15px; font-weight:600; color:var(--on); }
.quote__who span{ display:block; font-weight:400; color:var(--on-muted); }

/* ---------------------------------------------------------------- команда --
   Ведущий — большая белая карточка: фото и текст с галочками. Команда —
   три белые карточки. Секция лавандовая, поэтому карточки белые.         */
.lead-person{
  display:grid; grid-template-columns:320px 1fr; gap:40px; align-items:center;
  margin-top:44px; padding:22px 40px 22px 22px;
  border-radius:var(--r-lg); background:var(--surface); box-shadow:var(--shadow-card);
}
.lead-person img{ width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:var(--r-md); }
.person__name{ font-size:clamp(24px,2.5vw,34px); }
.person__name--sm{ font-size:19px; }
.person__role{ margin-top:8px; font-size:15px; color:var(--accent-brand); font-weight:600; }
.person__bio{ margin-top:14px; color:var(--on-muted); max-width:52ch; }

.team{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:18px; }
.team li{
  display:grid; grid-template-columns:88px 1fr; gap:18px; align-items:start;
  padding:20px; border-radius:var(--r-card); background:var(--surface);
}
.team img{ width:88px; aspect-ratio:4/5; object-fit:cover; border-radius:var(--r-sm); }
.team .person__role{ font-size:14px; }
.team .person__bio{ font-size:15px; margin-top:10px; }

/* --------------------------------------------------------------- цена -----
   «Что входит» — сетка из шести лавандовых карточек с 3D-иконкой. Ниже
   бонусы и фиолетовая карточка цены с белой кнопкой.                    */
.feats{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; }
.feat{
  display:flex; align-items:center; gap:16px;
  padding:18px 22px 18px 16px;
  border-radius:var(--r-card); background:var(--surface-2);
  font-size:17px; font-weight:600; line-height:1.35;
}
.feat__ico{ width:64px; height:64px; flex:none; }

.price{
  display:grid; grid-template-columns:1fr minmax(320px,.72fr); gap:24px 40px; align-items:start;
  margin-top:8px;
}
.bonus{ display:grid; gap:12px; }
.bonus__i{
  display:flex; align-items:center; gap:10px 14px; flex-wrap:wrap;
  padding:14px 18px 14px 12px;
  border-radius:var(--r-md); background:var(--surface-2);
}
.bonus__ico{ width:52px; height:52px; flex:none; }
.bonus__t{ font-weight:600; }
.bonus__i s{ color:var(--on-muted); font-size:15px; }
.bonus__i .tag-ok{ margin-left:auto; }

.price__right{
  position:relative;
  margin-top:40px;
  padding:30px 30px 28px;
  border-radius:var(--r-lg);
  box-shadow:0 24px 50px -24px rgb(var(--c-violet-dk) / .6);
}
.price__deco{
  position:absolute; top:-42px; right:18px; width:130px;
  pointer-events:none; filter:drop-shadow(0 14px 18px rgb(var(--c-ink) / .3));
}
.price__lbl{ font-size:15px; font-weight:600; }
.price__sum{
  font-size:clamp(46px,5.4vw,64px); font-weight:700; line-height:1;
  letter-spacing:-.03em; margin-top:8px; font-variant-numeric:tabular-nums;
}
.price__sum span{ font-size:.46em; }
.price__inst{ margin:14px 0 24px; font-size:15px; }
.price__right .meta{ margin-top:18px; }

/* ----------------------------------------------------------------- FAQ ----
   Белые скруглённые строки на лавандовой секции, справа фиолетовый круг с
   «+», который поворотом превращается в «×». Логика — в main.js, как была. */
.faq{ display:grid; gap:10px; margin:40px auto 0; max-width:820px; }
.faq__i{ border-radius:var(--r-md); background:var(--surface); }
.faq__i h3{ margin:0; font:inherit; }
.faq__q{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  width:100%; min-height:64px; padding:16px 16px 16px 24px;
  background:none; border:0; border-radius:var(--r-md);
  font-family:var(--display); font-size:17px; font-weight:600; text-align:left;
  color:var(--on); cursor:pointer;
}
.faq__q:focus-visible{ outline-offset:-2px; }
.faq__ico{
  flex:none; display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%;
  background:var(--grad-brand); color:#FFFFFF;
  transition:rotate .2s ease;
}
.faq__ico .ico{ width:18px; height:18px; stroke-width:2.2; }
.faq__q[aria-expanded="true"] .faq__ico{ rotate:45deg; }
.faq__a{ padding:0 24px 22px; color:var(--on-muted); max-width:66ch; }

/* ------------------------------------------------------- финал и покупка --
   Большая фиолетовая плашка (.on-brand): слева итог, справа покупка.      */
.fin{ background:var(--surface); color:var(--on); padding-block:clamp(40px,6vw,88px); }
.fin__card{
  position:relative;
  display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,.92fr);
  gap:clamp(32px,5vw,64px); align-items:center; min-height:420px;
  padding:clamp(28px,4vw,52px);
  border-radius:var(--r-lg);
}
.fin__deco{
  position:absolute; top:-40px; left:clamp(18px,3vw,40px); width:140px;
  pointer-events:none; filter:drop-shadow(0 14px 18px rgb(var(--c-ink) / .3));
}
.fin__lead{ padding-top:clamp(40px,5vw,64px); }
.fin__t{ font-size:clamp(28px,3.4vw,44px); max-width:16ch; }
.fin__sum{ font-size:clamp(48px,5vw,64px); font-weight:700; line-height:1;
           margin-top:28px; letter-spacing:-.03em; font-variant-numeric:tabular-nums; }
.fin__sum span{ font-size:.46em; }
.fin__purchase{
  padding:clamp(28px,3vw,38px);
  border-radius:var(--r-card);
  border:1px solid rgb(var(--c-paper) / .18);
  background:rgb(var(--c-ink) / .2);
  box-shadow:0 24px 44px -32px rgb(var(--c-ink) / .55);
}
.fin__purchase-title{ font-size:clamp(22px,2.2vw,28px); line-height:1.2; }
.fin__purchase .fine{ margin-top:14px; }
.fin__purchase .btn{ margin-top:30px; }

/* --------------------------------------------------------------- подвал --- */
.ftr{ background:var(--surface-2); color:var(--on);
      padding-block:52px 30px; }
.ftr__in{ display:flex; flex-wrap:wrap; gap:40px; justify-content:space-between; }
.ftr__list{ display:grid; gap:11px; font-size:15px; }
.ftr__bot{ display:flex; flex-wrap:wrap; gap:8px 28px; justify-content:space-between;
           margin-top:40px; padding-top:22px; border-top:1px solid var(--line);
           color:var(--on-muted); font-size:13px; }

/* ----------------------------------------------------------- липкий CTA --- */
.sticky{
  position:fixed; left:0; right:0; bottom:0; z-index:90;
  padding:10px 18px calc(10px + env(safe-area-inset-bottom));
  background:rgb(255 255 255 / .95);
  backdrop-filter:blur(10px);
  border-top:1px solid var(--line);
  transform:translateY(110%);
  transition:transform .22s ease;
}
.sticky.is-on{ transform:none; }
.sticky__in{ display:flex; align-items:center; gap:14px; max-width:560px; margin-inline:auto; }
.sticky__price{ display:grid; line-height:1.25; }
.sticky__price b{ font-size:18px; }
.sticky__price span{ color:var(--on-muted); font-size:13px; }
.sticky .btn{ margin-left:auto; }
@media (min-width:761px){ .sticky{ display:none; } }

/* ---------------------------------------------------------------- колода --
   Механика жеста живёт на скролл-контейнере со snap внутри карты, а не на
   ручной обработке pointermove: у скроллера бесплатно есть инерция, упругий
   возврат, трекпад, клавиатура и учёт настройки «меньше движения».
   Наклон карты и глубинные украшения из первой версии убраны: содержимое
   теперь настоящие скриншоты, и им не нужен эффект поверх.                 */
.deck{ display:grid; gap:18px; }
.deck__stack{ position:relative; min-height:clamp(280px,26vw,340px); }
.deck__card{
  --i:0;
  position:absolute; inset:0;
  translate:0 calc(var(--i) * 10px);
  rotate:0deg;
  scale:calc(1 - var(--i) * .035);
  opacity:calc(1 - max(0, var(--i) - 2));
  z-index:calc(20 - var(--i));
  transition:translate .45s cubic-bezier(.22,1,.36,1),
             scale     .45s cubic-bezier(.22,1,.36,1),
             opacity   .3s ease;
}
.deck__card:nth-child(1){ --i:0 } .deck__card:nth-child(2){ --i:1 }
.deck__card:nth-child(3){ --i:2 } .deck__card:nth-child(4){ --i:3 }
.deck__card:nth-child(5){ --i:4 } .deck__card:nth-child(6){ --i:5 }

.deck__track{
  height:100%;
  display:grid; grid-template-columns:100% 100% 100%;
  overflow-x:scroll; overflow-y:hidden;
  overscroll-behavior-x:none;      /* иначе перетягивание вызовет жест «назад» */
  scroll-snap-type:x mandatory;    /* карта не может застыть на полпути */
  scrollbar-width:none;
}
.deck__track::-webkit-scrollbar{ display:none; }
.deck__track::before,.deck__track::after{ content:""; scroll-snap-align:start; }
.deck__track > .shot{ height:100%; scroll-snap-align:start; scroll-initial-target:nearest; }
.deck__track:focus-visible{ outline:none; }
.deck__track:focus-visible > .shot img{ outline:2px solid var(--on); outline-offset:-3px; }

.shot{ margin:0; display:grid; grid-template-rows:1fr auto; gap:10px; }
.shot img{ width:100%; height:100%; object-fit:cover; object-position:top left;
           border:1px solid var(--line); border-radius:var(--r-md); background:var(--surface-2);
           box-shadow:var(--shadow-card); }
.shot figcaption{ font-size:13px; color:var(--on-muted); }

.deck__ui{ display:flex; align-items:center; gap:14px; }
.deck__nav{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; padding:0;
  border:0; border-radius:50%;
  background:var(--surface-2); color:var(--accent-brand); cursor:pointer;
  transition:background-color .18s ease;
}
.deck__nav:hover{ background:var(--surface-3); }
.deck__dots{ display:flex; align-items:center; gap:2px; }
.deck__dot{ width:24px; height:24px; padding:0; border:0; background:none; cursor:pointer;
            display:inline-flex; align-items:center; justify-content:center; }
.deck__dot::before{ content:""; width:7px; height:7px; border-radius:50%;
                    background:var(--line-control); transition:background .2s ease, width .2s ease; }
.deck__dot[aria-current="true"]::before{ width:18px; border-radius:4px; background:var(--accent-brand); }
.deck__card.is-flying{ transition:none; z-index:30; }

/* ------------------------------------------------------------- анимации --- */
.reveal{ opacity:1; }   /* появлений по скроллу нет: контент виден сразу */

@media (prefers-reduced-motion: reduce){
  .deck__card{ transition:none; }
  *,*::before,*::after{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

/* ---------------------------------------------------------- адаптивность -- */
@media (max-width:1000px){
  /* :has() берёт специфичность самого сильного аргумента, поэтому правило
     двух колонок весит (0,2,0) и перебивало бы это переопределение, несмотря
     на медиазапрос. Повторяем селектор целиком, чтобы веса совпали. */
  .hero__grid,
  .hero__grid:has(.hero__demo, .deck){ grid-template-columns:1fr; gap:56px; }
  .feats{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .price{ grid-template-columns:1fr; gap:24px; }
  .price__right{ margin-top:48px; }
  .fin__card{ grid-template-columns:1fr; gap:28px; min-height:0; }
  .lead-person{ grid-template-columns:240px 1fr; gap:28px; padding-right:28px; }
  .team{ grid-template-columns:1fr; gap:12px; }
}
@media (max-width:760px){
  body{ font-size:16px; }
  .wrap{ padding-inline:20px; }
  .sec{ padding-block:clamp(48px,10vw,72px); }
  .chat--wide{ margin-left:0; }

  /* Первый экран на телефоне — по центру, как у образца: в одну колонку
     левый край без правого давал рваный блок, а цена одна уезжала на
     вторую строку чипов. */
  .hero__lead{ text-align:center; }
  .hero__t, .hero__lead .lede, .hero__lead .fine{ margin-inline:auto; }
  /* У разрядки хвост после последней буквы — без компенсации слева
     надзаголовок визуально съезжал бы от центра. */
  .eyebrow{ padding-left:.32em; font-size:12px; }
  /* Размер по ширине экрана: на 360–440px заголовок держит четыре строки,
     при прежних 34px на 360px он разваливался на пять. */
  .hero__t{ font-size:clamp(30px,8.6vw,38px); }
  /* Четыре чипа в одну строку на телефоне не влезают, а «3 + 1» оставляет
     цену сиротой. Сетка 2×2: колонки по самому длинному чипу, чипы в
     колонке одной ширины, блок по центру. */
  .chips{ display:grid; grid-template-columns:repeat(2, max-content); justify-content:center; gap:6px; }
  .chips li{ padding:7px 12px; font-size:14px; text-align:center; }
  .hero__cta .btn{ display:flex; width:100%; }
  /* Ниши на телефоне — сегменты в ряд над фото, как в сторис. Текст вкладки
     остаётся для скринридера, а глазами название читается на сцене. */
  .aud.is-live{ grid-template-columns:1fr; gap:0; }
  .aud.is-live .aud__nav{ display:flex; align-items:center; gap:10px; margin-top:28px; }
  .aud__tabs{ display:flex; gap:6px; flex:1; border-top:0; }
  /* Высота 44px — под палец; видимая полоска всё равно 3px посередине. */
  .aud__tab,
  .aud__tab:hover,
  .aud__tab[aria-selected="true"]{ flex:1; height:44px; padding:0; background:none; }
  .aud__tab::before{
    content:""; position:absolute; left:0; right:0; top:50%; height:4px; margin-top:-2px;
    border-radius:2px; background:var(--line-control);
  }
  .aud__bar{ left:0; right:0; top:50%; bottom:auto; height:4px; margin-top:-2px; border-radius:2px; background:none; }
  .aud__name{
    position:absolute; width:1px; height:1px; margin:-1px; padding:0;
    overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0;
  }
  .aud.is-live .aud__stage{ margin-top:18px; }
  .aud.is-live .aud__title{ margin-top:18px; font-size:21px; }
  .aud.is-live .aud__desc{ margin-top:8px; font-size:16px; color:var(--on-muted); }
  .aud__panel{ grid-template-columns:84px 1fr; gap:4px 18px; }
  .aud__photo img{ width:84px; }
  /* Карточки — в одну колонку. Номер дня уходит над заголовком. */
  .days, .shift, .feats{ grid-template-columns:1fr; margin-top:32px; }
  .day{ grid-template-columns:1fr; padding:22px 22px 24px; gap:8px; }
  .day__n{ grid-row:auto; width:52px; height:52px; font-size:20px; }
  .shift__card{ padding:26px 22px 28px; }
  .shift__card--now{ padding:84px 22px 28px; }
  .shift__deco{ width:100px; top:-18px; right:10px; }
  .feat{ font-size:16px; }
  .feat__ico{ width:56px; height:56px; }
  .price__right{ padding:26px 22px 24px; }
  .price__deco{ width:104px; top:-34px; right:12px; }
  .lead-person{ grid-template-columns:1fr; gap:20px; padding:16px 16px 24px; }
  .lead-person img{ max-width:none; aspect-ratio:1/1; object-position:top; }
  .lead-person > div{ padding-inline:8px; }
  .team li{ grid-template-columns:72px 1fr; gap:14px; padding:16px; }
  .team img{ width:72px; }
  .faq__q{ padding:14px 12px 14px 18px; font-size:16px; }
  .faq__a{ padding:0 18px 18px; }
  .fin__card{ padding:24px 18px 20px; }
  .fin__deco{ width:104px; top:-30px; }
  .fin__lead{ padding-top:64px; }
  .fin__purchase{ padding:20px 16px 16px; }
  .fin__purchase .btn{ margin-top:24px; }
  .ftr__in{ flex-direction:column; gap:28px; }
  /* Логотип в подвале снят, и пока реквизиты в config.js не заполнены,
     левая колонка пустая — в столбик она давала лишние 28px над ссылками. */
  .ftr__in > div:has(> .fine:empty:only-child){ display:none; }
  .ftr{ padding-bottom:96px; }   /* место под липкую кнопку */
}

/* --------------------------------------------- высокая контрастность ----- */
@media (forced-colors: active){
  .btn{ border:1px solid ButtonText; }
  :where(a,button,input,[tabindex]):focus-visible{ outline-color:Highlight; }
}

/* Обновлённое обучение: первый экран с портретом, текстовые аудитории и формат. */
.hero.hero--portrait{
  position:relative; display:flex; align-items:center;
  min-height:100svh; overflow:hidden;
  background:#111725; color:#FFFFFF;
  --on:#FFFFFF; --on-muted:#FFFFFF;
}
.hero--portrait::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:rgb(var(--c-ink) / .48);
}
.hero__image{
  position:absolute; top:0; right:0; bottom:0;
  width:auto; max-width:none; height:100%;
  object-fit:contain; object-position:right center;
  -webkit-mask-image:linear-gradient(to right, transparent 0%, #000 24%);
  mask-image:linear-gradient(to right, transparent 0%, #000 24%);
}
.hero--portrait .hero__grid{
  position:relative; z-index:2; width:100%;
  min-height:calc(100svh - clamp(80px,12vw,176px));
}
.hero--portrait .hero__lead{ max-width:570px; }
.hero--portrait .hero__t{ max-width:12ch; font-size:clamp(38px,4.8vw,64px); }
.hero__who{
  position:absolute; right:0; bottom:0;
  display:grid; gap:2px; line-height:1.35; text-align:right;
  text-shadow:0 2px 12px rgb(var(--c-ink) / .7);
}
.hero__who strong{ font-size:18px; }
.hero__who span{ font-size:15px; }
.hero--portrait .hero__cta{ margin-top:40px; }

.audience-cards{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px;
  margin-top:44px;
}
.audience-card{
  padding:28px 30px; border-radius:var(--r-card);
  background:var(--surface-2); box-shadow:var(--shadow-card);
}
.audience-card:last-child{ grid-column:1/-1; }
.audience-card h3{ font-size:clamp(20px,2vw,25px); }
.audience-card p{ margin-top:12px; color:var(--on-muted); }
.section-cta{ display:flex; justify-content:center; margin-top:40px; }

.program-intro{ max-width:800px; margin:28px auto 0; display:grid; gap:10px; font-size:18px; }
.program-intro p:last-child{ color:var(--on-muted); }
.day__res{ display:block; }
.day__res::before{ margin-right:6px; }
.day__res strong{ font-weight:700; }
.day--extra .day__n{ clip-path:none; border-radius:var(--r-pill); }
@media (min-width:761px){ .days > li:nth-child(5), .days > li:nth-child(8){ grid-column:1/-1; } }

.learning-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.learning-card{ padding:32px; border-radius:var(--r-card); background:var(--surface-2); }
.learning-card .sec__t{ font-size:clamp(26px,3vw,38px); }
.learning-list{ display:grid; gap:14px; margin-top:24px; }
.learning-list li{ display:flex; align-items:flex-start; gap:12px; }
.learning-list li::before{
  content:"✓"; flex:none; display:grid; place-items:center;
  width:25px; height:25px; border-radius:50%;
  color:var(--accent-proof); background:rgb(var(--c-green) / .11);
  font-size:15px; font-weight:700;
}
.price--simple{ align-items:center; margin-top:42px; }
.price--simple .price__left{ padding:22px 0; }
.price--simple .price__right{ margin-top:0; }
.price--simple .sub{ font-size:clamp(22px,2.5vw,30px); }
.price--simple .learning-list{ font-size:18px; }
.shift__card--now{ padding-right:30px; }

@media (max-width:760px){
  .hero.hero--portrait{ min-height:100svh; align-items:flex-start; padding-top:48px; padding-bottom:24px; }
  .hero--portrait::before{ background:rgb(var(--c-ink) / .58); }
  .hero--portrait .hero__grid{ min-height:0; }
  .hero__image{
    top:auto; left:0; bottom:0; width:100%; height:84%;
    object-fit:cover; object-position:center 25%;
    -webkit-mask-image:linear-gradient(to bottom, transparent, #000 18%);
    mask-image:linear-gradient(to bottom, transparent, #000 18%);
  }
  .hero--portrait .hero__lead{
    display:flex; flex-direction:column;
    min-height:calc(100svh - 72px);
  }
  .hero--portrait .hero__t{
    max-width:none; margin-top:clamp(36px,6svh,64px);
    font-size:clamp(29px,8vw,34px); line-height:1.09; letter-spacing:-.035em;
  }
  .hero--portrait .hero__who{ position:static; margin-top:auto; text-align:center; }
  .hero--portrait .hero__cta{ margin-top:16px; }
  .audience-cards,.learning-grid{ grid-template-columns:1fr; gap:14px; margin-top:30px; }
  .audience-card:last-child{ grid-column:auto; }
  .audience-card,.learning-card{ padding:24px 22px; }
  .program-intro{ font-size:16px; }
  .section-cta .btn{ width:100%; }
  .price--simple .price__left{ padding:0; }
  .price--simple .learning-list{ font-size:16px; }
  .shift__card--now{ padding:28px 22px; }
}
