/* ==========================================================================
   Посадки курсов (марафон, мини-курсы) — общие блоки.

   Страница свёрстана только под телефон: 99% лидов с мобильных. На планшете
   и компьютере она остаётся «телефоном» шириной --cl-frame-width по центру.
   Цвета, шрифты и фото — переменные из theme.css конкретной посадки; здесь
   значений цветов нет.

   Размеры шрифтов — min(Nvw, Mpx): растут с шириной телефона, но не больше,
   чем на самом широком (кадр не шире --cl-frame-width).
   ========================================================================== */

/* Evolventa — шрифт бренда, лежит у нас (/fonts). base.css лендинга сюда не
   подключаем: в нём общие правила body и заголовков, которые спорили бы с этими. */
@font-face {
  font-family: 'Evolventa';
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Evolventa-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Evolventa';
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Evolventa-Bold.woff') format('woff');
}

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

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

body {
  margin: 0;
  background: var(--cl-page-bg);
  color: var(--cl-ink);
  font-family: var(--cl-font-body);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

/* ---- Кадр-«телефон» --------------------------------------------------------- */

.cl-frame {
  position: relative;
  width: 100%;
  max-width: var(--cl-frame-width);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--cl-bg);
}

@media (min-width: 600px) {
  .cl-frame {
    margin: 28px auto;
    min-height: auto;
    border-radius: 28px;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.35);
  }
}

/* ---- Верхняя полоса --------------------------------------------------------- */

/* Одна строка на любом телефоне: размер шрифта — от ширины экрана. */
.cl-topline {
  padding: 11px 6px;
  overflow: hidden;
  background: var(--cl-surface);
  color: var(--cl-ink-soft);
  font-size: min(2.15vw, 9.4px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---- Герой ------------------------------------------------------------------- */

.cl-hero {
  position: relative;
  padding: 18px 16px 28px;
}

.cl-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.cl-pill {
  padding: 7px 14px;
  border: 1.5px solid var(--cl-ink);
  border-radius: var(--cl-radius-pill);
  font-size: min(3.2vw, 13px);
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.cl-pill b {
  font-weight: 700;
}

.cl-pill--filled {
  border-color: transparent;
  background: var(--cl-accent-soft);
  color: var(--cl-accent-ink);
}

.cl-title {
  margin: 0;
  color: var(--cl-heading);
  font-family: var(--cl-font-display);
  font-size: min(13.6vw, 60px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-align: center;
  text-transform: uppercase;
}

.cl-subtitle {
  margin: 12px auto 0;
  max-width: 360px;
  color: var(--cl-ink);
  font-size: min(4.4vw, 19px);
  font-weight: 700;
  line-height: 1.22;
  text-align: center;
  text-transform: uppercase;
}

.cl-subtitle em {
  color: var(--cl-accent);
  font-style: normal;
}

/* ---- Сцена: фото + карточки поверх ------------------------------------------ */

.cl-stage {
  position: relative;
  min-height: min(104vw, 458px);
  margin: 8px -16px 0;
  padding: 0 16px;
}

/* Фото справа «под светлым полотном»: чуть прозрачное — фон страницы его
   высветляет, — и маской растворяется влево (под карточками) и вниз (под
   кнопкой). Маска, а не цветной слой поверх: у слоя видны края прямоугольника. */
.cl-photo {
  position: absolute;
  top: var(--cl-hero-photo-top);
  right: var(--cl-hero-photo-right);
  width: var(--cl-hero-photo-width);
  aspect-ratio: 900 / 1032;
  background: var(--cl-hero-photo) center / contain no-repeat;
  opacity: calc(1 - var(--cl-hero-veil));
  filter: saturate(0.9) contrast(0.95);
  -webkit-mask-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, #000 55%),
    linear-gradient(180deg, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, #000 55%),
    linear-gradient(180deg, #000 72%, transparent 100%);
  mask-composite: intersect;
  pointer-events: none;
}

/* Мягкое светлое пятно за фигурой — глубина без отдельной картинки. */
.cl-stage::before {
  content: '';
  position: absolute;
  top: 0;
  right: -18%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 66%);
  pointer-events: none;
}

.cl-stage > *:not(.cl-photo) {
  position: relative;
  z-index: 1;
}

/* ---- Галочки «жидкое стекло» -------------------------------------------------- */

.cl-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 62%;
  margin: 0;
  padding: 10px 0 0;
  list-style: none;
}

.cl-glass {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--cl-radius-card);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.16) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 24px -12px rgba(42, 33, 28, 0.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  font-size: min(3.5vw, 14.5px);
  line-height: 1.3;
}

.cl-glass b {
  font-weight: 700;
}

.cl-check {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: var(--cl-ink);
}

.cl-check svg {
  width: 14px;
  height: 14px;
}

/* ---- Подарок ------------------------------------------------------------------- */

.cl-gift {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 62%;
  margin-top: 22px;
  padding: 14px 16px 14px 12px;
  border-radius: var(--cl-radius-card);
  background: var(--cl-gift-bg);
  color: var(--cl-gift-ink);
  box-shadow: 0 14px 30px -14px rgba(42, 33, 28, 0.45);
  font-size: min(3.6vw, 15px);
  line-height: 1.3;
}

.cl-gift-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--cl-gift-bg);
}

.cl-gift-icon svg {
  width: 18px;
  height: 18px;
}

.cl-gift-title {
  display: block;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ---- Цена и кнопка ---------------------------------------------------------------- */

.cl-offer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -40px;
}

.cl-price {
  padding: 10px 26px;
  border-radius: var(--cl-radius-pill);
  background: var(--cl-surface);
  box-shadow: 0 8px 24px -14px rgba(42, 33, 28, 0.35);
  font-size: min(4.2vw, 17px);
  line-height: 1.2;
}

.cl-price b {
  color: var(--cl-accent);
  font-weight: 800;
}

.cl-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: min(20vw, 86px);
  margin-top: 10px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--cl-radius-pill);
  background: var(--cl-cta-bg);
  box-shadow: var(--cl-cta-shadow);
  color: var(--cl-cta-ink);
  font-family: var(--cl-font-display);
  font-size: min(5.6vw, 24px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.cl-cta:active {
  transform: scale(0.98);
}

/* ==========================================================================
   Секции под героем
   ========================================================================== */

.cl-section {
  padding: 40px 16px 8px;
}

.cl-h2 {
  margin: 0 0 22px;
  color: var(--cl-heading);
  font-family: var(--cl-font-display);
  font-size: min(9.6vw, 42px);
  font-weight: 700;
  line-height: 1.02;
  text-align: center;
  text-transform: uppercase;
}

/* ---- Круглое фото + вводная фраза ---------------------------------------------- */

.cl-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.cl-circle {
  position: relative;
  flex: 0 0 auto;
  width: min(30vw, 128px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--cl-circle-bg);
}

.cl-circle img {
  position: absolute;
  top: var(--cl-circle-photo-top);
  left: 50%;
  width: var(--cl-circle-photo-width);
  max-width: none;
  height: auto;
  transform: translateX(var(--cl-circle-photo-shift));
}

/* Марафон, блок «Марафон для тебя, если»: фигура в круге целиком.

   Сначала фото было вписано в окружность полностью (высота 79% диаметра),
   и тогда стал виден прямой срез по ногам: у вырезки 420x546 кадр обрывает
   фигуру на голенях, и этот обрыв оказывался внутри круга.

   Теперь фото крупнее диаметра и опущено так, что нижняя кромка уходит
   за окружность: срез больше не попадает в кадр, а низ фигуры обрезает
   сама дуга — так читается как задуманный кроп, а не как дефект файла.
   Высота 105% и верх 2% подобраны по месту: выше макушка касается дуги,
   ниже в круге остаётся пустой фон. Левые 49% — фигура в файле смещена
   вправо от центра.

   Правило адресное: те же круг и фото стоят на страницах материалов,
   там портретный кроп уместен — в кружке 116px фигура целиком нечитаема. */
section[aria-labelledby="for-you"] .cl-circle img {
  top: 2%;
  left: 49%;
  width: auto;
  height: 105%;
  transform: translateX(-50%);
}

.cl-intro-text {
  margin: 0;
  color: var(--cl-heading);
  font-size: min(4.6vw, 19px);
  font-weight: 700;
  line-height: 1.25;
}

/* ---- Карточки с иконками ---------------------------------------------------------- */

.cl-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cl-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 18px 14px;
  border-radius: var(--cl-radius-card);
  background: var(--cl-surface);
  box-shadow: 0 10px 26px -18px rgba(42, 33, 28, 0.35);
  font-size: min(3.9vw, 16px);
  line-height: 1.35;
}

.cl-card b {
  font-weight: 700;
}

.cl-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cl-icon-bg);
  color: var(--cl-icon-ink);
}

.cl-icon svg {
  width: 22px;
  height: 22px;
}

/* ---- Приписка-пояснение --------------------------------------------------------------- */

.cl-note {
  margin-top: 18px;
  padding: 20px 18px;
  border-left: 4px solid var(--cl-accent);
  border-radius: 6px var(--cl-radius-card) var(--cl-radius-card) 6px;
  background: var(--cl-note-bg);
  font-size: min(3.9vw, 16px);
  line-height: 1.5;
}

.cl-note-title {
  margin: 0 0 8px;
  font-size: min(4.4vw, 18px);
  font-weight: 800;
  line-height: 1.3;
}

.cl-note p {
  margin: 0 0 8px;
}

.cl-note p:last-child {
  margin-bottom: 0;
}

.cl-note strong {
  color: var(--cl-heading);
}

/* ==========================================================================
   Липкая кнопка: появляется, когда кнопка героя ушла вверх за экран
   (js/course-landing.js). Ширина — как у кадра-«телефона».
   ========================================================================== */

.cl-sticky {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 50;
  width: 100%;
  max-width: var(--cl-frame-width);
  padding: 22px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(var(--cl-bg-rgb), 0) 0%, rgba(var(--cl-bg-rgb), 0.92) 40%, var(--cl-bg) 100%);
  transform: translate(-50%, 110%);
  transition: transform 0.28s ease;
  pointer-events: none;
}

.cl-sticky.is-visible {
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.cl-sticky .cl-cta {
  min-height: 60px;
  margin-top: 0;
  font-size: min(5vw, 21px);
}

/* Место под липкую кнопку, чтобы она не закрывала конец страницы. */
.cl-bottom-space {
  height: 110px;
}

/* ==========================================================================
   Белая секция («Об авторе»): фон страницы плавно переходит в белый сверху
   и возвращается обратно снизу — без резкой границы с соседними блоками.
   ========================================================================== */

.cl-section--white {
  padding-top: 80px;
  padding-bottom: 40px;
  /* Переход в белый — в верхних 64px, выше заголовка: заголовок стоит уже на белом. */
  background: linear-gradient(180deg,
    var(--cl-bg) 0,
    var(--cl-white) 64px,
    var(--cl-white) calc(100% - 40px),
    var(--cl-bg) 100%);                /* снизу переход короче: сразу под последней карточкой */
}

.cl-lead-accent {
  margin: 0 0 18px;
  padding: 0 12px;
  color: var(--cl-heading);
  font-size: min(5vw, 21px);
  font-weight: 700;
  line-height: 1.3;
}

/* ---- Список с закрашенными галочками ---------------------------------------- */

.cl-ticks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0 12px;
  list-style: none;
}

.cl-ticks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: min(3.9vw, 16px);
  line-height: 1.35;
}

.cl-ticks b {
  font-weight: 700;
}

.cl-tick {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cl-tick-bg);
  color: #FFFFFF;
}

.cl-tick svg {
  width: 14px;
  height: 14px;
}

/* ---- Большое фото: мягкий круг за фигурой, низ растворяется в белом ------------- */

.cl-portrait {
  position: relative;
  margin: 26px -16px 0;
}

.cl-portrait::before {
  content: '';
  position: absolute;
  top: 6%;
  left: 50%;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cl-portrait-glow);
  transform: translateX(-50%);
}

.cl-portrait img {
  position: relative;
  width: var(--cl-portrait-width);
  height: auto;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}

/* ---- Карточка-цитата ----------------------------------------------------------- */

.cl-quote {
  position: relative;
  margin-top: 8px;
  padding: 56px 22px 26px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--cl-quote-bg);
  font-size: min(3.9vw, 16px);
  line-height: 1.5;
}

/* Большие кавычки-подложка: лежат ЗА заголовком карточки, как в образце. */
.cl-quote::before {
  content: '\201C';
  position: absolute;
  top: 6px;
  left: 14px;
  color: var(--cl-quote-mark);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 260px;
  font-weight: 700;
  line-height: 0.82;
  pointer-events: none;
}

.cl-quote > * {
  position: relative;
}

.cl-quote-title {
  margin: 0 0 12px;
  color: var(--cl-heading);
  font-size: min(5vw, 21px);
  font-weight: 700;
  line-height: 1.3;
}

.cl-quote p {
  margin: 0 0 12px;
}

.cl-quote p:last-child {
  margin-bottom: 0;
}

.cl-quote-accent {
  color: var(--cl-heading);
}

/* ==========================================================================
   Программа по дням
   Фото дня: style="--day-photo: url('/marathon/day-1.webp')" на .cl-day.
   Нет фото — тёплая заглушка из темы (--cl-day-placeholder).
   ========================================================================== */

.cl-days {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cl-day {
  padding: 10px 10px 20px;
  border: 1.5px solid var(--cl-day-border);
  border-radius: 28px;
  background: var(--cl-surface);
}

.cl-day-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 148px;
  padding: 14px 16px 16px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--day-photo, var(--cl-day-placeholder)) center / cover no-repeat;
  /* Плашка — ровно 16:9, как фото дня (1600×900): кадр виден целиком, без обрезки. */
  aspect-ratio: 16 / 9;
  color: #FFFFFF;
}

/* Затемнение снизу — белый заголовок читается на любом фото. */
.cl-day-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 33, 28, 0.05) 0%, rgba(42, 33, 28, 0.25) 40%, rgba(42, 33, 28, 0.78) 100%);
}

.cl-day-banner > * {
  position: relative;
  z-index: 1;
}

.cl-day-num {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: var(--cl-radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--cl-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cl-day-title {
  margin: 18px 0 0;
  font-family: var(--cl-font-display);
  font-size: min(5.6vw, 24px);
  font-weight: 700;
  line-height: 1.12;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.cl-day-part {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding: 0 8px;
}

.cl-day-part .cl-icon {
  width: 36px;
  height: 36px;
}

.cl-day-part .cl-icon svg {
  width: 18px;
  height: 18px;
}

.cl-day-label {
  margin: 6px 0 4px;
  color: var(--cl-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cl-day-part p {
  margin: 0 0 6px;
  font-size: min(3.8vw, 15.5px);
  line-height: 1.45;
}

.cl-day-part p:last-child {
  margin-bottom: 0;
}

/* ---- Живой вебинар — выделенная карточка ---------------------------------------- */

.cl-live {
  position: relative;
  padding: 24px 20px 22px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--cl-live-bg);
  color: var(--cl-live-ink);
  font-size: min(3.9vw, 16px);
  line-height: 1.5;
}

.cl-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--cl-radius-pill);
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Пульсирующая точка «в эфире». */
.cl-live-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF5A3C;
  box-shadow: 0 0 0 0 rgba(255, 90, 60, 0.7);
  animation: cl-pulse 1.8s ease-out infinite;
}

@keyframes cl-pulse {
  70% { box-shadow: 0 0 0 8px rgba(255, 90, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 60, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .cl-live-badge::before { animation: none; }
}

.cl-live-title {
  margin: 14px 0 10px;
  font-family: var(--cl-font-display);
  font-size: min(6vw, 26px);
  font-weight: 700;
  line-height: 1.12;
}

.cl-live p {
  margin: 0 0 10px;
}

.cl-live-time {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--cl-heading);
  font-weight: 700;
}

/* ==========================================================================
   Подарок
   ========================================================================== */

.cl-gift-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}

.cl-gift-head .cl-h2 {
  margin: 0;
}

.cl-gift-badge {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: min(13vw, 56px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cl-icon-bg);
  color: var(--cl-accent);
}

.cl-gift-badge svg {
  width: 55%;
  height: 55%;
}

.cl-gift-sub {
  margin: 0 auto;
  max-width: 340px;
  font-size: min(4.4vw, 18px);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.cl-gift-sub em {
  color: var(--cl-heading);
  font-style: normal;
}

/* ==========================================================================
   «Что ты получишь»: большая бледная цифра, поверх — круг с фото, справа текст.
   Фото круга: style="--b-photo: url('/marathon/benefit-1.webp')" на .cl-benefit-photo
   (иконка-заглушка внутри тогда скрывается сама).
   ========================================================================== */

.cl-benefits {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cl-benefit {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cl-benefit-media {
  position: relative;
  flex: 0 0 auto;
  width: min(37vw, 160px);
  height: min(28vw, 120px);
}

.cl-benefit-num {
  position: absolute;
  top: 50%;
  left: 0;
  color: var(--cl-number);
  font-family: var(--cl-font-display);
  font-size: min(32vw, 138px);
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.cl-benefit-photo {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(28vw, 120px);
  aspect-ratio: 1;
  border: 4px solid var(--cl-surface);
  border-radius: 50%;
  background: var(--b-photo, var(--cl-benefit-placeholder)) center / cover no-repeat;
  box-shadow: 0 10px 24px -14px rgba(42, 33, 28, 0.45);
  color: var(--cl-icon-ink);
}

.cl-benefit-photo svg {
  width: 40%;
  height: 40%;
}

.cl-benefit-photo[style*="--b-photo"] svg {
  display: none;
}

.cl-benefit-text {
  margin: 0;
  font-size: min(3.7vw, 15px);
  line-height: 1.4;
}

.cl-benefit-text b {
  display: block;
  margin-bottom: 2px;
  font-size: min(4.1vw, 16.5px);
  font-weight: 800;
  line-height: 1.25;
}

/* ==========================================================================
   «Как проходит марафон»: макет утреннего сообщения бота в Telegram,
   плашки, шкала дневника День 0 → День 5, плашка «Пропустила день?».
   ========================================================================== */

.cl-how-lead {
  margin: 0 0 14px;
  font-size: min(4.2vw, 17px);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

/* ---- Макет чата ------------------------------------------------------------------ */

.cl-tg {
  overflow: hidden;
  border-radius: 24px;
  background: var(--cl-tg-bg);
  box-shadow: 0 18px 40px -24px rgba(42, 33, 28, 0.45);
}

.cl-tg-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--cl-surface);
}

.cl-tg-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cl-tick-bg);
  color: #FFFFFF;
  font-weight: 800;
}

.cl-tg-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.cl-tg-status {
  display: block;
  color: var(--cl-ink-faint);
  font-size: 12px;
  font-weight: 500;
}

.cl-tg-body {
  padding: 16px 14px 18px;
}

.cl-tg-bubble {
  position: relative;
  max-width: 92%;
  padding: 12px 14px 22px;
  border-radius: 18px 18px 18px 6px;
  background: var(--cl-surface);
  box-shadow: 0 2px 6px -3px rgba(42, 33, 28, 0.3);
  font-size: min(3.8vw, 15px);
  line-height: 1.4;
}

.cl-tg-bubble p {
  margin: 0 0 10px;
}

.cl-tg-time {
  position: absolute;
  right: 12px;
  bottom: 6px;
  color: var(--cl-ink-faint);
  font-size: 11px;
}

.cl-tg-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cl-tg-links li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  background: var(--cl-tg-link-bg);
  font-weight: 600;
}

.cl-tg-links svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--cl-tick-bg);
}

.cl-tg-links small {
  margin-left: auto;
  color: var(--cl-ink-soft);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}

/* ---- Плашки ------------------------------------------------------------------------ */

.cl-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 6px;
}

.cl-chip {
  padding: 8px 14px;
  border-radius: var(--cl-radius-pill);
  background: var(--cl-surface);
  box-shadow: 0 6px 16px -12px rgba(42, 33, 28, 0.4);
  font-size: min(3.5vw, 14px);
  font-weight: 600;
}

.cl-chip b {
  color: var(--cl-heading);
  font-weight: 800;
}

.cl-how-note {
  margin: 8px 0 0;
  color: var(--cl-ink-soft);
  font-size: min(3.6vw, 14.5px);
  line-height: 1.45;
  text-align: center;
}

/* ---- Шкала дневника --------------------------------------------------------------- */

.cl-diary {
  margin-top: 26px;
  padding: 20px 18px 18px;
  border-radius: 24px;
  background: var(--cl-surface);
}

.cl-diary-title {
  margin: 0 0 16px;
  color: var(--cl-heading);
  font-size: min(4.4vw, 18px);
  font-weight: 800;
}

.cl-diary-line {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

/* Линия между точками. */
.cl-diary-line::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 9px;
  right: 9px;
  border-top: 2px dashed var(--cl-day-border);
}

.cl-diary-point {
  position: relative;
  max-width: 46%;
  font-size: min(3.6vw, 14.5px);
  line-height: 1.35;
}

.cl-diary-point:last-child {
  text-align: right;
}

.cl-diary-dot {
  display: block;
  width: 20px;
  height: 20px;
  margin-bottom: 8px;
  border: 4px solid var(--cl-surface);
  border-radius: 50%;
  background: var(--cl-tick-bg);
  box-shadow: 0 0 0 2px var(--cl-tick-bg);
}

.cl-diary-point:last-child .cl-diary-dot {
  margin-left: auto;
}

.cl-diary-point b {
  display: block;
  font-weight: 800;
}

.cl-diary-foot {
  margin: 16px 0 0;
  font-weight: 700;
  text-align: center;
}

/* ---- «Пропустила день?» ------------------------------------------------------------- */

.cl-calm {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--cl-icon-bg);
  font-size: min(3.8vw, 15px);
  line-height: 1.4;
}

.cl-calm .cl-icon {
  background: var(--cl-surface);
}

/* ==========================================================================
   Отзывы — карусель на нативной прокрутке (scroll-snap), без библиотек.
   Точки под каруселью строит js/course-landing.js ([data-carousel]).
   ========================================================================== */

.cl-carousel {
  display: flex;
  gap: 12px;
  margin: 0 -16px;
  padding: 4px 16px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  list-style: none;
}

.cl-carousel::-webkit-scrollbar {
  display: none;
}

.cl-review {
  display: flex;
  flex: 0 0 86%;
  flex-direction: column;
  scroll-snap-align: start;
}

/* Подпись всегда занимает две строки (по вертикали — по центру, по
   горизонтали — у левого края): однострочная и двухстрочная не сдвигают
   карточки по высоте. */
.cl-review-result {
  display: flex;
  align-items: center;
  min-height: 2.6em;
  margin: 0 0 10px;
  padding: 0 4px;
  font-size: min(4.2vw, 17px);
  font-weight: 800;
  line-height: 1.3;
}

.cl-review-card {
  display: flex;
  flex: 1;
  align-items: center;                /* короткий отзыв — по центру, а не вверху с пустотой */
  gap: 12px;
  padding: 20px 20px 22px 16px;
  border-radius: 24px;
  background: var(--cl-surface);
  box-shadow: 0 12px 28px -18px rgba(42, 33, 28, 0.4);
  color: var(--cl-ink-soft);
  font-size: min(3.9vw, 15.5px);
  line-height: 1.55;
}

.cl-review-card::before {
  content: '\201C';
  flex: 0 0 auto;
  align-self: flex-start;             /* кавычка — наверху, даже когда текст по центру */
  color: var(--cl-accent);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 0.8;
}

.cl-review-card p {
  margin: 0;
}

/* Отзывы-скриншоты (sleep): карточка ~85% ширины – край следующей виден.
   Скриншот в натуральном размере, ужимается только до ширины карточки; по центру на светлом фоне. */
.cl-carousel--shots {
  align-items: stretch;
}

.cl-shot {
  display: flex;
  flex: 0 0 85vw;                      /* от ширины экрана, а не ленты: скриншот крупнее */
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 18px;
  background: var(--cl-surface, #fff) center / cover no-repeat;
  box-shadow: 0 12px 28px -18px rgba(42, 33, 28, 0.4);
  scroll-snap-align: start;
}

/* Фоны карточек (sleep, от Моти 23.11) – по кругу: облака сиреневые, облака розовые, светлая абстракция. */
.cl-shot:nth-child(3n+1) { background-image: url('/sleep/reviews/bg1.webp'); }
.cl-shot:nth-child(3n+2) { background-image: url('/sleep/reviews/bg2.webp'); }
.cl-shot:nth-child(3n)   { background-image: url('/sleep/reviews/bg3.webp'); }

.cl-shot img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Планшет и десктоп: скриншоты в натуральную величину (Telegram – 1:1, как в самом Telegram),
   высокие инстаграм-карточки ужимаются по высоте до уровня остальных. */
@media (min-width: 600px) {
  .cl-shot { flex: 0 0 auto; max-width: 520px; }
  .cl-shot img { width: auto; max-height: 380px; }
}

.cl-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.cl-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--cl-day-border);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.cl-dot.is-active {
  width: 22px;
  background: var(--cl-accent);
}

.cl-review-author {
  margin-top: 14px !important;
  color: var(--cl-ink);
  font-size: min(3.7vw, 14.5px);
  font-weight: 700;
}

/* Навигация карусели: стрелки по бокам от точек — только при мыши. */
.cl-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.cl-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1.5px solid var(--cl-day-border);
  border-radius: 50%;
  background: var(--cl-surface);
  color: var(--cl-heading);
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.cl-arrow svg {
  width: 18px;
  height: 18px;
}

.cl-arrow:hover:not(:disabled) {
  background: var(--cl-icon-bg);
}

.cl-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (hover: hover) and (pointer: fine) {
  .cl-arrow {
    display: flex;
  }
}

/* Круговая лента (отзывы sleep): стрелки по бокам ленты, а не у точек. */
.cl-carousel-wrap {
  position: relative;
}

/* Боковые стрелки: на широком экране всегда (ноутбук с сенсорным экраном может не считаться
   «мышью»), на узком – если есть любая мышь. На телефоне листают пальцем. */
/* Стрелки – только десктоп. any-pointer: fine срабатывал на телефонах (24.11) */
@media (min-width: 1024px), (min-width: 600px) and (hover: hover) and (pointer: fine) {
  .cl-carousel-wrap .cl-arrow--side {
    display: flex;
  }
}

.cl-carousel-wrap + .cl-carousel-nav .cl-arrow {
  display: none;
}

.cl-arrow--side {
  position: absolute;
  z-index: 2;
  top: calc(50% - 9px);                 /* центр карточек: у ленты 18px отступа снизу */
  width: 52px;
  height: 52px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px -10px rgba(42, 33, 28, 0.45);
  transform: translateY(-50%);
}

.cl-arrow--side svg {
  width: 24px;
  height: 24px;
}

.cl-arrow--side.cl-arrow--prev { left: 12px; }
.cl-arrow--side.cl-arrow--next { right: 12px; }

.cl-arrow--side:hover:not(:disabled) {
  background: #fff;
}

/* ==========================================================================
   Вопросы — раскрывающиеся <details>: без скриптов, с клавиатуры и экранным
   диктором работают сами. Первый вопрос открыт сразу (атрибут open).
   ========================================================================== */

.cl-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cl-faq details {
  border-radius: 20px;
  background: var(--cl-surface);
  box-shadow: 0 10px 24px -20px rgba(42, 33, 28, 0.45);
}

.cl-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px;
  font-size: min(4vw, 16.5px);
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.cl-faq summary::-webkit-details-marker {
  display: none;
}

.cl-faq-toggle {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--cl-heading);
  border-radius: 50%;
  color: var(--cl-heading);
  transition: transform 0.2s ease, background 0.2s ease;
}

.cl-faq-toggle svg {
  width: 16px;
  height: 16px;
}

.cl-faq details[open] .cl-faq-toggle {
  background: var(--cl-heading);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.cl-faq-answer {
  padding: 0 18px 18px;
  color: var(--cl-ink-soft);
  font-size: min(3.9vw, 15.5px);
  line-height: 1.5;
}

.cl-faq-answer p {
  margin: 0 0 8px;
}

.cl-faq-answer p:last-child {
  margin-bottom: 0;
}

.cl-faq-answer .cl-faq-short {
  color: var(--cl-ink);
  font-weight: 800;
}


/* ==========================================================================
   Компьютер: экраны от 1024px

   Разметка та же, что на телефоне; здесь блоки перекладываются в колонки и
   сетки. Уже 1024px правила не действуют — там мобильная посадка в «телефонной»
   рамке. Раскладку выбирает браузер по ширине окна, устройство не угадываем.
   ========================================================================== */

:root {
  --cl-desk-max: 1160px;   /* ширина содержимого */
  --cl-desk-gap: 56px;     /* промежуток между колонками */
}

@media (min-width: 1024px) {

  /* ---- Кадр: больше не «телефон» ------------------------------------------------- */

  .cl-frame {
    max-width: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  body {
    background: var(--cl-bg);
  }

  .cl-topline {
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 12px 24px;
  }

  /* Каждый блок — по центру, своей ширины. */
  .cl-hero,
  .cl-section {
    max-width: var(--cl-desk-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
  }

  /* Белые секции — во всю ширину окна, содержимое — по центру. */
  .cl-section--white {
    max-width: none;
    padding-left: max(32px, calc((100% - var(--cl-desk-max)) / 2 + 32px));
    padding-right: max(32px, calc((100% - var(--cl-desk-max)) / 2 + 32px));
  }

  .cl-section {
    padding-top: 96px;
  }

  .cl-section--white {
    padding-top: 140px;
    padding-bottom: 96px;
    background: linear-gradient(180deg,
      var(--cl-bg) 0,
      var(--cl-white) 110px,
      var(--cl-white) calc(100% - 80px),
      var(--cl-bg) 100%);
  }

  .cl-h2 {
    margin-bottom: 44px;
    font-size: 54px;
  }

  /* ==========================================================================
     Герой: слева текст и кнопка, справа фото
     ========================================================================== */

  .cl-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas:
      "pills    photo"
      "title    photo"
      "subtitle photo"
      "checks   photo"
      "gift     photo"
      "offer    photo";
    grid-template-rows: auto auto auto auto auto 1fr;
    column-gap: var(--cl-desk-gap);
    align-items: start;
    min-height: calc(100vh - 48px);
    padding-top: 64px;
    padding-bottom: 64px;
  }

  /* Сцена «растворяется»: её фото, галочки и подарок встают в общую сетку героя. */
  .cl-stage {
    display: contents;
  }

  .cl-stage::before {
    display: none;
  }

  .cl-pills    { grid-area: pills; justify-content: flex-start; margin-bottom: 26px; }
  .cl-title    { grid-area: title; text-align: left; font-size: clamp(72px, 9vw, 104px); line-height: 0.92; }  /* на 1024px уменьшается, чтобы влезть в колонку */
  .cl-subtitle { grid-area: subtitle; max-width: 520px; margin: 26px 0 0; text-align: left; font-size: 22px; }
  .cl-checks   { grid-area: checks; width: auto; max-width: 520px; padding-top: 36px; }
  .cl-gift     { grid-area: gift; width: auto; max-width: 520px; margin-top: 14px; }
  .cl-offer    { grid-area: offer; align-items: flex-start; margin-top: 36px; }

  .cl-pill {
    font-size: 13px;
  }

  .cl-glass,
  .cl-gift {
    font-size: 15.5px;
  }

  /* На светлом фоне без фото «стекло» теряется — делаем его плотнее. */
  .cl-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.6) 100%);
  }

  .cl-price {
    font-size: 17px;
  }

  .cl-cta {
    width: auto;
    min-width: 420px;
    min-height: 76px;
    margin-top: 14px;
    padding: 0 48px;
    font-size: 22px;
  }

  .cl-cta:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
  }

  /* Фото — справа во всю высоту героя, под той же светлой «вуалью». */
  .cl-photo {
    grid-area: photo;
    position: relative;
    top: auto;
    right: auto;
    align-self: center;
    width: 100%;                       /* ровно по колонке: без выступа за край экрана */
    margin-left: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  }

  /* Мягкий свет за фигурой. */
  .cl-hero::after {
    content: '';
    grid-area: photo;
    align-self: center;
    justify-self: center;
    width: 110%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 65%);
    z-index: -1;
  }

  .cl-hero {
    position: relative;
    isolation: isolate;
  }

  /* ==========================================================================
     «Марафон для тебя, если»: фото и вводная слева, карточки — сеткой справа
     ========================================================================== */

  section[aria-labelledby="for-you"] {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    column-gap: var(--cl-desk-gap);
    align-items: start;
  }

  section[aria-labelledby="for-you"] .cl-h2 {
    grid-column: 1 / -1;
  }

  section[aria-labelledby="for-you"] .cl-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    position: sticky;
    top: 96px;
  }

  section[aria-labelledby="for-you"] .cl-circle {
    width: 240px;
  }

  section[aria-labelledby="for-you"] .cl-intro-text {
    font-size: 28px;
    line-height: 1.2;
  }

  .cl-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .cl-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 26px 24px;
    font-size: 16.5px;
  }

  /* Пятая карточка — во всю ширину, чтобы сетка не обрывалась дыркой. */
  .cl-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }

  section[aria-labelledby="for-you"] .cl-note {
    grid-column: 2;
    margin-top: 20px;
    padding: 28px 30px;
    font-size: 17px;
  }

  /* ==========================================================================
     «Про автора»: слева текст, справа фото, цитата — под текстом
     ========================================================================== */

  section[aria-labelledby="author"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "h2     h2"
      "lead   photo"
      "ticks  photo"
      "quote  photo";
    grid-template-rows: auto auto auto 1fr;
    column-gap: var(--cl-desk-gap);
  }

  section[aria-labelledby="author"] .cl-h2 { grid-area: h2; }
  section[aria-labelledby="author"] .cl-lead-accent { grid-area: lead; padding: 0; font-size: 28px; }
  section[aria-labelledby="author"] .cl-ticks { grid-area: ticks; padding: 0; }
  section[aria-labelledby="author"] .cl-ticks li { font-size: 17px; }
  section[aria-labelledby="author"] .cl-quote { grid-area: quote; align-self: start; margin-top: 36px; font-size: 16.5px; }
  section[aria-labelledby="author"] .cl-portrait { grid-area: photo; align-self: center; margin: 0; }

  /* ==========================================================================
     Программа: дни — сеткой в две колонки, вебинар — во всю ширину
     ========================================================================== */

  .cl-days {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .cl-day {
    padding: 12px 12px 24px;
  }

  .cl-day-banner {
    min-height: 180px;
  }

  .cl-day-title {
    font-size: 28px;
  }

  .cl-day-part p {
    font-size: 16px;
  }

  .cl-live {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    column-gap: 48px;
    align-items: center;
    padding: 44px 48px;
    font-size: 17px;
  }

  .cl-live-badge,
  .cl-live-title {
    grid-column: 1;
  }

  .cl-live-title {
    font-size: 40px;
  }

  .cl-live p,
  .cl-live-time {
    grid-column: 2;
  }

  .cl-live-badge { grid-row: 1; align-self: end; justify-self: start; }
  .cl-live-title { grid-row: 2 / span 4; align-self: start; }
  .cl-live-time  { justify-self: start; }

  /* ---- Подарок -------------------------------------------------------------------- */

  section[aria-labelledby="gift"] {
    padding-top: 72px;
  }

  .cl-gift-badge {
    width: 72px;
  }

  .cl-gift-sub {
    max-width: 560px;
    font-size: 22px;
  }

  /* ==========================================================================
     «Что ты получишь»: пункты — сеткой 3 + 2
     ========================================================================== */

  .cl-benefits {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 48px 32px;
  }

  .cl-benefit {
    grid-column: span 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  /* Последние два — по центру второго ряда. */
  .cl-benefit:nth-child(4) { grid-column: 2 / span 2; }
  .cl-benefit:nth-child(5) { grid-column: 4 / span 2; }

  .cl-benefit-media {
    width: 190px;
    height: 140px;
  }

  .cl-benefit-num {
    font-size: 160px;
  }

  .cl-benefit-photo {
    width: 140px;
  }

  .cl-benefit-text {
    font-size: 16px;
  }

  .cl-benefit-text b {
    font-size: 18px;
  }

  /* ==========================================================================
     «Как проходит марафон»: слева сообщение из Telegram, справа остальное
     ========================================================================== */

  section[aria-labelledby="how"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "h2    h2"
      "lead  lead"
      "tg    chips"
      "tg    note"
      "tg    diary"
      "tg    calm";
    grid-template-rows: auto auto auto auto auto 1fr;
    column-gap: var(--cl-desk-gap);
    align-items: start;
  }

  section[aria-labelledby="how"] .cl-h2 { grid-area: h2; }
  section[aria-labelledby="how"] .cl-how-lead { grid-area: lead; margin-bottom: 36px; font-size: 20px; }
  section[aria-labelledby="how"] .cl-tg { grid-area: tg; }
  section[aria-labelledby="how"] .cl-chips { grid-area: chips; justify-content: flex-start; margin-top: 0; }
  section[aria-labelledby="how"] .cl-how-note { grid-area: note; text-align: left; font-size: 16px; }
  section[aria-labelledby="how"] .cl-diary { grid-area: diary; }
  section[aria-labelledby="how"] .cl-calm { grid-area: calm; font-size: 16px; }

  .cl-tg-bubble {
    font-size: 16px;
  }

  /* ==========================================================================
     Отзывы: на широком экране помещаются все — сетка вместо карусели
     ========================================================================== */

  .cl-carousel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 4px 0 0;
    overflow: visible;
  }

  .cl-review {
    flex: none;
  }

  .cl-review-result {
    font-size: 18px;
  }

  .cl-review-card {
    padding: 26px 28px 28px 22px;
  }

  .cl-review-card {
    font-size: 15.5px;
  }

  /* Навигация карусели (её строит скрипт) здесь не нужна. */
  .cl-carousel-nav {
    display: none;
  }

  /* Скриншоты-отзывы (sleep) остаются лентой: 11 карточек сеткой – слишком длинно. */
  .cl-carousel.cl-carousel--shots {
    display: flex;
    gap: 20px;
    padding: 4px 0 18px;
    overflow-x: auto;
  }

  .cl-carousel-wrap + .cl-carousel-nav {
    display: flex;
  }

  /* ---- Вопросы — узкой колонкой ---------------------------------------------------- */

  section[aria-labelledby="faq"] {
    max-width: 820px;
  }

  .cl-faq summary {
    padding: 22px 26px;
    font-size: 18px;
  }

  .cl-faq-answer {
    padding: 0 26px 24px;
    font-size: 16.5px;
  }

  /* ==========================================================================
     Липкая кнопка → тонкая верхняя панель
     ========================================================================== */

  .cl-sticky {
    top: 0;
    bottom: auto;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: none;
    padding: 10px max(32px, calc((100% - var(--cl-desk-max)) / 2 + 32px));
    background: rgba(var(--cl-bg-rgb), 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(42, 33, 28, 0.08);
    transform: translateY(-110%);
  }

  .cl-sticky.is-visible {
    transform: none;
  }

  .cl-sticky::before {
    content: 'Гормоны после 40 · бесплатный марафон';
    color: var(--cl-heading);
    font-family: var(--cl-font-display);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
  }

  /* Своя подпись посадки: <div class="cl-sticky" data-label="…"> (сон); без атрибута – марафон. */
  .cl-sticky[data-label]::before {
    content: attr(data-label);
  }

  .cl-sticky .cl-cta {
    box-shadow: none;
    width: auto;
    min-width: 0;
    min-height: 48px;
    padding: 0 28px;
    font-size: 16px;
  }

  .cl-bottom-space {
    height: 96px;
  }

}

/* ==========================================================================
   Посадки платных мини-курсов (sleep, 22.11.2026). Только новые классы:
   посадка марафона их не использует и не меняется.
   ========================================================================== */

/* Длинный заголовок-обещание вместо короткого названия: обычный регистр, мельче.
   Название курса – мелко над ним (.cl-kicker внутри h1, чтобы не ломать сетку героя). */
/* Заголовок заглавными в две строки, когда первая строка длинная («Спокойный сон»).
   9.4vw: 13 знаков Evolventa заглавными влезают в 343px телефона 375. */
.cl-title--two {
  font-size: min(9.4vw, 41px);
  /* Кегль меньше марафонского – штрих тоньше. Bold – самое жирное начертание Evolventa,
     что у нас есть, поэтому плотность добираем тенями в цвет текста (утолщают штрих).
     Не -webkit-text-stroke: у шрифта контуры букв перекрываются, обводка даёт белые прожилки. */
  text-shadow:
    0.014em 0 0 currentColor,
    -0.014em 0 0 currentColor,
    0 0.008em 0 currentColor,
    0 -0.008em 0 currentColor;
}

.cl-title--long {
  font-size: min(7vw, 30px);
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
}

.cl-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--cl-ink-soft);
  font-family: var(--cl-font-body);
  font-size: min(3.4vw, 14px);
  font-weight: 600;
  line-height: 1.3;
}

.cl-subtitle--plain {
  max-width: 400px;
  margin-top: 8px;
  color: var(--cl-ink-soft);
  font-size: min(3.7vw, 15.5px);
  font-weight: 500;
  line-height: 1.4;
  text-transform: none;
}

/* Сцена без большой высоты: первый экран с ценой и кнопкой влезает в телефон. */
.cl-stage--compact {
  min-height: 0;
  margin-top: 4px;
}

.cl-stage--compact .cl-photo {
  top: -14px;
  right: 1%;          /* как у марафона: голова в кадре, не уезжает за край */
  width: 62%;
}

.cl-stage--compact .cl-checks {
  gap: 7px;
  width: 66%;
  padding-top: 6px;
}

.cl-stage--compact .cl-glass {
  padding-top: 7px;
  padding-bottom: 7px;
  font-size: min(3.4vw, 14px);
}

.cl-stage--compact .cl-check {
  width: 26px;
  height: 26px;
}

.cl-stage--compact + .cl-offer {
  margin-top: 12px;
}

.cl-stage--compact + .cl-offer .cl-cta {
  min-height: min(16vw, 66px);
  margin-top: 8px;
}

.cl-price--big {
  padding: 3px 22px;
}

.cl-price--big b {
  font-size: 1.6em;
}

.cl-offer-note {
  margin: 8px 0 0;
  color: var(--cl-ink-soft);
  font-size: min(3.3vw, 13.5px);
  text-align: center;
}

/* Цена акции: «Всего $X» и под ней старая цена зачёркнутой. */
.cl-price--deal {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7px 28px 8px;
}

.cl-price--deal b {
  font-family: var(--cl-font-display);
  font-size: 1.45em;
  line-height: 1.05;
  text-transform: uppercase;
}

.cl-price-old {
  margin-top: 2px;
  color: var(--cl-ink-soft);
  font-size: 0.78em;
  line-height: 1.1;
}

.cl-price-old s {
  text-decoration-thickness: 1.5px;
}

/* Цена акции без подложки: «Всего $X» крупно, «вместо $Y» под ней.
   Белое свечение – чтобы цифры читались поверх фото. */
.cl-price--bare {
  padding: 0;
  background: none;
  box-shadow: none;
}

.cl-price--bare b {
  font-size: 1.9em;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.95), 0 0 4px rgba(255, 255, 255, 0.9);
}

.cl-price--bare .cl-price-old {
  color: var(--cl-ink);
  font-size: 0.85em;
  text-shadow: 0 0 8px #FFFFFF;
}

/* Таймер акции под кнопкой (/js/offer-timer.js). */
.cl-timer {
  width: 100%;
  margin-top: 16px;
  padding: 12px 16px 14px;
  border-radius: var(--cl-radius-card);
  background: var(--cl-surface);
  box-shadow: 0 10px 26px -18px rgba(42, 33, 28, 0.35);
  text-align: center;
}

.cl-timer-title {
  margin: 0 0 10px;
  color: var(--cl-ink);
  font-size: min(4vw, 16px);
}

.cl-timer-cells {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.cl-timer-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--cl-ink);
  font-size: min(3.7vw, 15px);
}

.cl-timer-cell b {
  min-width: 64px;
  padding: 3px 10px;
  border: 1.5px solid var(--cl-accent);
  border-radius: 8px;
  color: var(--cl-accent);
  font-family: var(--cl-font-display);
  font-size: min(6.2vw, 25px);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

@media (min-width: 1024px) {
  .cl-price--bare {
    margin-top: 16px;   /* на десктопе цена иначе прилипает к буллетам */
    align-items: flex-start;   /* «вместо» под ценой, по левому краю */
  }

  .cl-timer {
    width: auto;
    min-width: 420px;
  }
}

/* Первый экран «сумерки»: градиент фона во всю ширину окна, белый заголовок,
   подзаголовок на стеклянной плашке. Цвета – в theme.css (--cl-dusk-*). */
.cl-hero--dusk {
  isolation: isolate;
}

.cl-hero--dusk::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);   /* на десктопе – до краёв окна; лишнее срезает .cl-frame */
  right: calc(50% - 50vw);
  background: var(--cl-dusk-bg);
}

.cl-hero--dusk .cl-title {
  color: var(--cl-dusk-title);
}

.cl-hero--dusk .cl-title.cl-title--two {
  text-shadow:
    0.014em 0 0 currentColor,
    -0.014em 0 0 currentColor,
    0 0.008em 0 currentColor,
    0 -0.008em 0 currentColor,
    0 4px 18px var(--cl-dusk-title-glow);
}

.cl-hero--dusk .cl-subtitle {
  max-width: none;
  font-weight: 500;   /* легче заголовка (22.11 выбрали из 700/600/500/400) */
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--cl-radius-card);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.16) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 24px -12px rgba(42, 33, 28, 0.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}

@media (min-width: 1024px) {
  .cl-hero--dusk .cl-subtitle {
    max-width: 520px;
  }
}

/* Звёздное небо за первым экраном «сумерки» – только телефон и планшет.
   Мелкие звёзды тремя слоями разного шага (повтор не бросается в глаза),
   сверху ярче, к середине экрана растворяются – не мешают тексту и фото. */
@media (max-width: 1023px) {
  .cl-hero--dusk::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    height: 70%;
    background-image:
      var(--cl-stars);
    background-size: 330px 330px, 240px 240px, 150px 150px;
    background-position: 0 0, 40px 20px, 0 0;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%);
    pointer-events: none;
  }
}

/* Первый экран «Сна» на телефоне: воздух между заголовком, дескриптором, буллетами и оффером.
   Место есть – заголовок в две строки (.cl-title--two) освободил строку. */
@media (max-width: 1023px) {
  .cl-pills + .cl-title--two { margin-top: 30px; }  /* схлопывается с margin-bottom плашек; ~31px до букв, как под заголовком */
  .cl-title--two + .cl-subtitle { margin-top: 16px; }  /* на глаз ~26px от букв до плашки */
  .cl-title--two ~ .cl-stage--compact { margin-top: 20px; }  /* ~26px от плашки до буллетов – как над ней */
  .cl-title--two ~ .cl-stage--compact .cl-checks { gap: 12px; }
  .cl-title--two ~ .cl-stage--compact + .cl-offer { margin-top: 24px; }
  .cl-title--two ~ .cl-stage--compact + .cl-offer .cl-cta { margin-top: 16px; }
  .cl-title--two ~ .cl-stage--compact + .cl-offer .cl-offer-note { margin-top: 14px; }
}

/* Дни без фото: плашка по высоте текста. */
.cl-day-banner--plain {
  min-height: 0;
  aspect-ratio: auto;
  gap: 10px;
  background: var(--cl-day-placeholder);
}

.cl-day-banner--plain::after {
  display: none;
}

.cl-day-part--short {
  margin-top: 12px;
}

.cl-day-meta {
  color: var(--cl-ink-faint);
  font-size: 13px !important;
}

.cl-bonus {
  margin-top: 14px;
  padding: 16px 18px;
  border: 1.5px dashed var(--cl-day-border);
  border-radius: 22px;
  background: var(--cl-surface);
  font-size: min(3.8vw, 15px);
  line-height: 1.45;
}

.cl-bonus p {
  margin: 0;
}

.cl-bonus-title {
  margin-bottom: 4px !important;
  color: var(--cl-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

div.cl-how-note p {
  margin: 0;
}

.cl-how-note .cl-need {
  margin-top: 6px;
  color: var(--cl-ink);
  font-weight: 600;
}

/* Цена ещё раз + гарантия перед вопросами. */
.cl-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 18px 24px;
  border-radius: 28px;
  background: var(--cl-surface);
  box-shadow: 0 14px 40px -24px rgba(42, 33, 28, 0.35);
  text-align: center;
}

.cl-final .cl-h2 {
  margin-bottom: 18px;
  font-size: min(7.4vw, 32px);
}

.cl-final .cl-price {
  box-shadow: none;
  background: var(--cl-bg);
}

.cl-guarantee {
  margin: 16px 0 0;
  max-width: 360px;
  color: var(--cl-ink-soft);
  font-size: min(3.7vw, 15px);
  line-height: 1.45;
}

.cl-guarantee b {
  color: var(--cl-ink);
}

/* Подвал с юр. данными. */
.cl-footer {
  margin-top: 32px;
  padding: 22px 16px 8px;
  border-top: 1px solid rgba(42, 33, 28, 0.1);
  color: var(--cl-ink-faint);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.cl-footer p {
  margin: 10px 0 0;
}

.cl-footer a {
  color: inherit;
}

.cl-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Контакты над юридическими ссылками: чуть крупнее и темнее */
.cl-footer-links--contact {
  margin-bottom: 12px;
  gap: 6px 24px;
  font-size: 14px;
  font-weight: 600;
}

.cl-footer-links--contact a {
  color: var(--cl-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cl-footer-links--contact a:hover {
  color: var(--cl-accent);
}

@media (min-width: 1024px) {
  .cl-title.cl-title--two {
    font-size: clamp(46px, 4.1vw, 56px);  /* «Спокойный сон» в колонку ~520px */
  }

  .cl-title.cl-title--long {
    font-size: clamp(34px, 3vw, 44px);
    line-height: 1.08;
  }

  .cl-stage--compact .cl-checks {
    width: auto;
    padding-top: 24px;
  }

  .cl-stage--compact .cl-glass {
    font-size: 15px;
  }

  .cl-hero .cl-subtitle--plain {
    max-width: 520px;
    margin-top: 16px;
  }

  .cl-kicker {
    font-size: 16px;
  }

  .cl-subtitle.cl-subtitle--plain {
    font-size: 18px;
    font-weight: 500;
    text-transform: none;
  }

  .cl-stage--compact .cl-photo {
    top: auto;
    right: auto;
    width: 100%;
  }

  .cl-offer-note {
    text-align: left;
  }

  .cl-final {
    max-width: 720px;
    margin: 0 auto;
    padding: 44px 40px 36px;
  }

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

  .cl-footer {
    font-size: 13px;
  }
}

/* Гарантия отдельным блоком (посадка «Сон», 23.11): заголовок, обещание автора, щит + условия возврата. */
.cl-guar {
  max-width: 560px;
  margin: 0 auto;
}

.cl-guar-title {
  color: var(--cl-guar-accent, var(--cl-heading));
}

.cl-guar-text {
  margin: 0;
  text-align: center;   /* под центрированным заголовком левый край смотрелся сдвинутым */
  color: var(--cl-ink);
  font-size: min(4.8vw, 20px);
  font-weight: 500;
  line-height: 1.4;
}

.cl-guar-promise {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.cl-guar-shield {
  flex-shrink: 0;
  width: min(24vw, 96px);
  height: auto;
}

.cl-guar-promise p {
  margin: 0;
  color: var(--cl-guar-accent, var(--cl-heading));
  font-size: min(3.9vw, 16px);
  font-weight: 600;
  line-height: 1.4;
}

/* «Курс для тебя, если» зигзагом (посадка «Сон», 23.11): круглое фото + номер «/01» за ним, текст рядом,
   стороны чередуются. */
.cl-zig {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 640px;
  margin: 38px auto 0;   /* номер «/01» торчит над фото – место под заголовком */
  padding: 0;
  list-style: none;
}

.cl-zig-item {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 18px;
  align-items: center;
}

.cl-zig-item:nth-child(even) {
  grid-template-columns: 1fr 44%;
}

.cl-zig-item:nth-child(even) .cl-zig-photo {
  order: 2;
}

.cl-zig-photo {
  position: relative;
  isolation: isolate;
}

.cl-zig-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--cl-surface, #fff), 0 16px 32px -18px rgba(42, 33, 28, 0.45);
}

/* Номер за фото: торчит из-за круга в сторону текста. */
.cl-zig-photo::after {
  content: '/' attr(data-n);
  position: absolute;
  z-index: -1;
  top: -14%;
  right: -34%;
  color: var(--cl-heading);
  font-family: var(--cl-font-display);
  font-size: min(15vw, 64px);
  font-weight: 700;
  line-height: 1;
  opacity: 0.16;
}

.cl-zig-item:nth-child(even) .cl-zig-photo::after {
  right: auto;
  left: -34%;
}

.cl-zig-text {
  margin: 0;
  color: var(--cl-ink);
  font-size: min(4.2vw, 18px);
  line-height: 1.4;
}

.cl-zig-text b {
  color: var(--cl-heading);
}

.cl-zig + .cl-note {
  margin-top: 30px;
}

@media (min-width: 1024px) {
  /* У марафона секция – сетка «фото слева, карточки справа»; зигзагу нужна обычная колонка. */
  section[aria-labelledby="for-you"].cl-section--zig { display: block; }
  section[aria-labelledby="for-you"].cl-section--zig .cl-note { max-width: 640px; margin: 40px auto 0; }
  .cl-zig { gap: 34px; margin-top: 48px; }
  .cl-zig-item { grid-template-columns: 240px 1fr; gap: 40px; }
  .cl-zig-item:nth-child(even) { grid-template-columns: 1fr 240px; }
  .cl-zig-item:nth-child(even) .cl-zig-text { text-align: right; }
  .cl-zig-photo::after { right: -30%; font-size: 72px; }
  .cl-zig-item:nth-child(even) .cl-zig-photo::after { left: -30%; }
  .cl-zig-text { font-size: 20px; }
}

/* Звёзды «Сна» – общий набор картинок (телефон: .cl-hero--dusk::after; десктоп: .cl-stars). */
.cl-hero--dusk {
  --cl-stars:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='330' height='330'%3E%3Cg fill='%23fff'%3E%3Cpath d='M250 30 l1.2 4.3 4.3 1.2 -4.3 1.2 -1.2 4.3 -1.2 -4.3 -4.3 -1.2 4.3 -1.2z' fill-opacity='0.95'/%3E%3Cpath d='M60 170 l1.0 3.4 3.4 1.0 -3.4 1.0 -1.0 3.4 -1.0 -3.4 -3.4 -1.0 3.4 -1.0z' fill-opacity='0.8'/%3E%3Cpath d='M300 250 l0.8 3.0 3.0 0.8 -3.0 0.8 -0.8 3.0 -0.8 -3.0 -3.0 -0.8 3.0 -0.8z' fill-opacity='0.75'/%3E%3C/g%3E%3C/svg%3E"),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Ccircle cx='108.6' cy='134.3' r='1.75' fill='%23fff' fill-opacity='0.84'/%3E%3Ccircle cx='121.9' cy='141.0' r='1.23' fill='%23fff' fill-opacity='0.85'/%3E%3Ccircle cx='151.2' cy='190.3' r='1.17' fill='%23fff' fill-opacity='0.79'/%3E%3Ccircle cx='21.8' cy='194.3' r='1.59' fill='%23fff' fill-opacity='0.71'/%3E%3Ccircle cx='235.7' cy='231.5' r='1.56' fill='%23fff' fill-opacity='0.88'/%3E%3Ccircle cx='37.8' cy='3.6' r='1.47' fill='%23fff' fill-opacity='0.72'/%3E%3Ccircle cx='45.6' cy='58.1' r='1.12' fill='%23fff' fill-opacity='0.84'/%3E%3Ccircle cx='105.7' cy='202.2' r='1.46' fill='%23fff' fill-opacity='0.89'/%3E%3Ccircle cx='119.9' cy='159.0' r='1.42' fill='%23fff' fill-opacity='0.78'/%3E%3Ccircle cx='239.4' cy='239.0' r='1.69' fill='%23fff' fill-opacity='0.91'/%3E%3C/svg%3E"),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Ccircle cx='48.6' cy='22.6' r='0.86' fill='%23fff' fill-opacity='0.58'/%3E%3Ccircle cx='80.4' cy='54.9' r='0.62' fill='%23fff' fill-opacity='0.78'/%3E%3Ccircle cx='5.6' cy='65.0' r='0.63' fill='%23fff' fill-opacity='0.59'/%3E%3Ccircle cx='63.7' cy='124.0' r='0.65' fill='%23fff' fill-opacity='0.65'/%3E%3Ccircle cx='94.1' cy='142.2' r='0.83' fill='%23fff' fill-opacity='0.73'/%3E%3Ccircle cx='146.4' cy='7.0' r='0.94' fill='%23fff' fill-opacity='0.68'/%3E%3Ccircle cx='21.6' cy='17.7' r='0.72' fill='%23fff' fill-opacity='0.92'/%3E%3Ccircle cx='27.1' cy='87.2' r='0.86' fill='%23fff' fill-opacity='0.72'/%3E%3Ccircle cx='82.2' cy='9.4' r='0.62' fill='%23fff' fill-opacity='0.64'/%3E%3Ccircle cx='102.1' cy='64.1' r='0.73' fill='%23fff' fill-opacity='0.81'/%3E%3Ccircle cx='68.0' cy='45.0' r='0.92' fill='%23fff' fill-opacity='0.86'/%3E%3Ccircle cx='36.6' cy='86.2' r='0.81' fill='%23fff' fill-opacity='0.94'/%3E%3Ccircle cx='109.4' cy='43.2' r='0.99' fill='%23fff' fill-opacity='0.60'/%3E%3Ccircle cx='62.7' cy='113.6' r='0.66' fill='%23fff' fill-opacity='0.77'/%3E%3Ccircle cx='5.9' cy='100.2' r='0.91' fill='%23fff' fill-opacity='0.81'/%3E%3Ccircle cx='131.3' cy='47.1' r='0.88' fill='%23fff' fill-opacity='0.82'/%3E%3Ccircle cx='87.0' cy='68.4' r='0.94' fill='%23fff' fill-opacity='0.98'/%3E%3Ccircle cx='71.1' cy='99.6' r='0.62' fill='%23fff' fill-opacity='0.87'/%3E%3Ccircle cx='97.1' cy='149.0' r='0.93' fill='%23fff' fill-opacity='0.68'/%3E%3Ccircle cx='57.9' cy='100.3' r='0.61' fill='%23fff' fill-opacity='0.76'/%3E%3Ccircle cx='25.2' cy='17.6' r='0.62' fill='%23fff' fill-opacity='0.90'/%3E%3Ccircle cx='19.4' cy='37.1' r='0.76' fill='%23fff' fill-opacity='0.94'/%3E%3Ccircle cx='12.1' cy='67.4' r='0.82' fill='%23fff' fill-opacity='0.95'/%3E%3Ccircle cx='122.9' cy='129.6' r='0.71' fill='%23fff' fill-opacity='0.74'/%3E%3Ccircle cx='53.8' cy='132.6' r='0.98' fill='%23fff' fill-opacity='0.62'/%3E%3Ccircle cx='26.4' cy='34.8' r='0.69' fill='%23fff' fill-opacity='0.77'/%3E%3Ccircle cx='88.4' cy='39.4' r='0.60' fill='%23fff' fill-opacity='0.74'/%3E%3Ccircle cx='55.4' cy='85.0' r='0.98' fill='%23fff' fill-opacity='0.86'/%3E%3Ccircle cx='77.3' cy='92.6' r='0.87' fill='%23fff' fill-opacity='0.57'/%3E%3Ccircle cx='134.9' cy='117.0' r='0.95' fill='%23fff' fill-opacity='0.91'/%3E%3C/svg%3E");
}

/* Десктоп: ::after героя занят светом за фото, поэтому звёзды – отдельный <span class="cl-stars">.
   На телефоне он скрыт, там звёзды рисует ::after. */
.cl-stars {
  display: none;
}

@media (min-width: 1024px) {
  .cl-hero--dusk .cl-stars {
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    height: 75%;
    background-image: var(--cl-stars);
    background-size: 330px 330px, 240px 240px, 150px 150px;
    background-position: 0 0, 40px 20px, 0 0;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
    pointer-events: none;
  }
}

/* «Как проходит курс» карточками (посадка «Сон», 23.11): иконка в круге, заголовок, текст. */
.cl-how-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cl-how-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 20px 22px;
  border-radius: var(--cl-radius-card);
  background: var(--cl-surface, #fff);
  box-shadow: 0 12px 30px -22px rgba(42, 33, 28, 0.35);
}

.cl-how-ico {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cl-icon-bg);
  color: var(--cl-icon-ink);
}

.cl-how-ico svg {
  width: 22px;
  height: 22px;
}

.cl-how-card p {
  margin: 0;
  color: var(--cl-ink);
  font-size: min(3.9vw, 16px);
  line-height: 1.45;
}

.cl-how-card .cl-how-card-title {
  margin: 2px 0 8px;
  color: var(--cl-heading);
  font-size: min(4.3vw, 18px);
  font-weight: 700;
  line-height: 1.25;
}

@media (min-width: 1024px) {
  /* У марафона секция – сетка «чат слева, заметки справа»; карточкам нужна обычная колонка. */
  section[aria-labelledby="how"].cl-section--cards { display: block; }

  .cl-how-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .cl-how-card {
    flex-direction: column;
    gap: 18px;
    padding: 28px 26px;
  }
}


/* Цена и кнопка под гарантией (посадка «Сон», 23.11) – как в оффере первого экрана. */
.cl-guar-offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}

.cl-guar-offer .cl-cta {
  margin-top: 16px;
}

@media (min-width: 1024px) {
  .cl-guar-offer .cl-cta {
    max-width: 420px;
  }
}
