/* ============================================================
   ЕДИНАЯ СИСТЕМА (16.11) — подключается последней и приводит блоки к одним правилам.
   1) заголовок раздела: один вид везде;
   2) шкала размеров текста;
   3) один чёрный для тёмных блоков и два скругления.
   ============================================================ */

/* ---------- 1. ЗАГОЛОВОК РАЗДЕЛА ----------
   Слева, одним цветом (тёмный на светлом, белый на тёмном), один размер и начертание.
   Подзаголовок под ним — тоже слева. */
html body .section-head,
html body .section-head.section-head--center,
html body .program-intro .wrap{ text-align: left !important; align-items: flex-start !important; margin-left: 0 !important; margin-right: auto !important; }
html body .section-head .section-h.section-h,
html body .program-intro__title.program-intro__title,
html body #profession .nx__claim.nx__claim{
  font-family: var(--h-font) !important; font-weight: 500 !important; text-transform: uppercase !important;
  font-size: clamp(30px, 4.4vw, 64px) !important; line-height: .95 !important; letter-spacing: -.005em !important;
  text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; max-width: none !important;
  color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important;
}
html body .section-head .section-h em,
html body .program-intro__title em,
html body #profession .nx__claim .nx-shine{
  font-style: normal !important; color: inherit !important; -webkit-text-fill-color: currentColor !important; background: none !important;
}
html body .section-head .section-h .word{ color: inherit !important; -webkit-text-fill-color: currentColor !important; }
/* на тёмном фоне — белый */
html body #after .section-head .section-h.section-h{ color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body .section-head .section-sub{ margin-left: 0 !important; margin-right: 0 !important; text-align: left !important; }
html body .section-head .section-sub > span{ text-align: left !important; }

/* ---------- 2. ШКАЛА РАЗМЕРОВ ----------
   Телефон:   подписи 12 · мелкий текст 14 · основной 16 · заголовок карточки 18
   Компьютер: подписи 12–13 · мелкий 15 · основной 17 · заголовок карточки 20 */
/* подписи — не меньше 12 */
html body .aig__name{ font-size: 11px !important; letter-spacing: .02em !important; }
html body .nxi__l,
html body .pacc__num,
html body .cd-eyebrow, html body .cd-lbl,
html body .bcard__num-of,
html body .ptr__badge, html body .ptr__no,
html body .pacc__foot, html body .program__sub,
html body .fold-tab,
html body .help-chat__msg, html body .help-chat__msg-text, html body .help-chat__meta,
html body .social-card b,
html body .consult__pill,
html body .bcard__list li{ font-size: 12px !important; }
/* мелкий текст — 14 */
html body .bcard__lead,
html body .who__a p, html body .who__a b,
html body .carousel-desc, html body .carousel-mobar__count,
html body .case__ba-row span,
html body .fold__p, html body .fold__list li,
html body .ptr__list li, html body .ptr__fit, html body .ptr__note,
html body .pay-card__list li,
html body .installment__sub, html body .installment__final,
html body .tnum__text, html body .tnum__text strong,
html body .btn, html body .sticky-cta, html body .nhero__mbtn, html body .ncui__btn{ font-size: 14px !important; }
/* основной — 16 */
html body .section-sub,
html body .aig__sub,
html body .pacc__list li, html body .pacc__list b, html body .pacc__result p,
html body .faq-item > summary, html body .faq-item__body, html body .faq-item__body p, html body .faq-item__body li, html body .faq-item__body a,
html body .testi-card-v2__quote p, html body .testi-card-v2__name,
html body .pay-card__p,
html body .nx-list__t{ font-size: 16px !important; }
/* заголовок карточки — 18 */
html body .bcard__title, html body .case__name, html body .case__result, html body .testi-card-v2__title{ font-size: 18px !important; }

@media (min-width: 768px){
  html body .aig__name{ font-size: 12px !important; letter-spacing: .08em !important; }
  html body .nxi__l, html body .pacc__foot, html body .program__sub, html body .help-chat__msg, html body .help-chat__msg-text{ font-size: 13px !important; }
  html body .header-nav a{ font-size: 12px !important; }
  html body .pacc__num{ font-size: 16px !important; }
  html body .bcard__num-of{ font-size: 18px !important; }
  html body .fold-tab{ font-size: 17px !important; }
  html body .bcard__list li{ font-size: 15px !important; }
  /* мелкий — 15 */
  html body .bcard__lead,
  html body .carousel-desc,
  html body .case__ba-row span,
  html body .ptr__list li, html body .ptr__fit,
  html body .pay-card__list li,
  html body .installment__sub,
  html body .tnum__text, html body .tnum__text strong{ font-size: 15px !important; }
  /* основной — 17 */
  html body .section-sub,
  html body .aig__sub,
  html body .who__a p, html body .who__a b,
  html body .fold__p, html body .fold__list li,
  html body .pacc__list li, html body .pacc__list b, html body .pacc__result p,
  html body .faq-item > summary, html body .faq-item__body, html body .faq-item__body p, html body .faq-item__body li, html body .faq-item__body a,
  html body .testi-card-v2__quote p,
  html body .pay-card__p,
  html body .nx-list__t{ font-size: 17px !important; }
  html body .bcard__title, html body .case__name, html body .case__result, html body .testi-card-v2__title{ font-size: 20px !important; }
}

/* ---------- 3. ОДИН ЧЁРНЫЙ И ДВА СКРУГЛЕНИЯ ----------
   Тёмные блоки — чистый чёрный, как обложка и галерея (раньше часть была тёплой тёмно-серой). */
html body section.program,
html body section#after,
html body .ptr--dark{ background-color: var(--dark, #1d1b1a) !important; }

/* скругления: крупные блоки — 20, мелкие элементы — 12; кнопки-капсулы и круглые кнопки не трогаем */
:root{ --r-card: 14px; --r-el: 12px; }
html body section.program,
html body .bcard__inner,
html body .fold,
html body .installment,
html body article.case,
html body article.ptr,
html body .cd-panel,
html body .pay-card,
html body .testi-card-v2,
html body .help-chat__msg,
html body .hvd-modal__frame,
html body .aig__cell{ border-radius: var(--r-card) !important; }
html body .social-card,
html body .fold__media,
html body .pacc__result,
html body .pay-tabs__list, html body .pay-tabs__trigger,
html body .carousel-card, html body .carousel-visual, html body .carousel-img,
html body .cd-cell,
html body .mobile-nav__close{ border-radius: var(--r-el) !important; }
html body .fold-tab{ border-radius: var(--r-el) var(--r-el) 0 0 !important; }
@media (max-width: 767px){ html body .aig__cell{ border-radius: var(--r-el) !important; } }

/* «Программа курса» — тоже слева */
html body .program-intro.program-intro{ text-align: left !important; }
html body .program-intro .program-intro__title{ display: block !important; width: 100% !important; }
/* телефон: подпись этапа в строке программы остаётся 10 px — иначе названия этапов уходят на вторую строку */
@media (max-width: 767px){ html body .pacc__num{ font-size: 10px !important; } html body .program-intro.program-intro{ padding-left: 0 !important; padding-right: 0 !important; } }

/* цветные слова в заголовках разделов — тем же цветом, что и весь заголовок (перебиваем старые правила с #id) */
html body :is(#format,#after,#cases,#testimonials,#pricing,#faq,#contact,#why) .section-head .section-h em,
html body :is(#format,#after,#cases,#testimonials,#pricing,#faq,#contact,#why) .section-head .section-h em *,
html body .program-intro.program-intro .program-intro__title em,
html body .program-intro.program-intro .program-intro__title em *{
  color: inherit !important; -webkit-text-fill-color: currentColor !important; background: none !important; font-style: normal !important;
}

/* «Работы учеников»: размер и начертание как у остальных заголовков (старое правило с #after было сильнее) */
html body #after .section-head .section-h.section-h.section-h{
  font-size: clamp(30px, 4.4vw, 64px) !important; font-weight: 500 !important; line-height: .95 !important; letter-spacing: -.005em !important;
}

/* ============================================================
   4. «ФОРМАТ КУРСА» — в стиле верхней части: плоские вкладки на линии, без «папок», теней и цветных панелей
   ============================================================ */
html body #format .folders{ padding: 0 !important; }
html body #format .folders__tabs{
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 0 !important; padding: 0 !important;
  border-top: 1px solid rgba(41,41,41,.16); border-bottom: 1px solid rgba(41,41,41,.16);
}
html body #format .fold-tab{
  display: flex !important; align-items: center; justify-content: flex-start; height: auto !important; min-height: 0 !important;
  padding: 18px 0 !important; margin: 0 !important; transform: none !important; top: 0 !important;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  font-family: var(--h-font) !important; font-weight: 500 !important; text-transform: uppercase !important; letter-spacing: 0 !important;
  font-size: clamp(13px, 1.5vw, 22px) !important; line-height: 1 !important; text-align: left !important;
  color: rgba(41,41,41,.45) !important; -webkit-text-fill-color: rgba(41,41,41,.45) !important;
  transition: color .25s ease;
}
html body #format .fold-tab::before, html body #format .fold-tab::after{ content: none !important; }
html body #format .fold-tab.is-active{
  color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important;
  box-shadow: inset 0 -2px 0 var(--bordo) !important;
}
@media (hover: hover){ html body #format .fold-tab:hover{ color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; } }
html body #format .fold-tab__dot, html body #format .fold-edge{ display: none !important; }
html body #format .folders__stack{ height: auto !important; margin-top: clamp(24px, 3vw, 44px) !important; }
html body #format .fold{
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important;
  color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; align-items: start;
}
html body #format .fold *{ color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; }
html body #format .fold__t{ font-family: var(--h-font) !important; font-weight: 500 !important; text-transform: uppercase !important; letter-spacing: -.005em !important; line-height: 1 !important; font-size: clamp(22px, 2.6vw, 38px) !important; }
html body #format .fold__list{ margin-top: clamp(16px, 2vw, 28px) !important; padding: 0 !important; display: block !important; }
html body #format .fold__list li{ padding: 12px 0 !important; margin: 0 !important; border-top: 1px solid rgba(41,41,41,.16) !important; }
html body #format .fold__list li:last-child{ border-bottom: 1px solid rgba(41,41,41,.16) !important; }
html body #format .fold__list li::before, html body #format .fold__list li::marker{ content: none !important; display: none !important; }
@media (min-width: 768px){
  html body #format .fold{ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: clamp(32px, 5vw, 80px) !important; }
}

/* ============================================================
   5. ОТЗЫВЫ — без карточек с тенью: колонки на линии, как списки наверху; кружки с буквами убраны
   ============================================================ */
html body .testi-list{ gap: clamp(20px, 2.6vw, 40px) !important; }
html body .testi-card-v2, html body .testi-card-v2.is-accent{
  background: none !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important;
  border-top: 1px solid rgba(41,41,41,.16) !important; padding: 20px 0 0 !important;
  color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important;
}
html body .testi-card-v2 .testi-card-v2__quote p, html body .testi-card-v2 .testi-card-v2__quote{ color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; }
html body .testi-card-v2 .testi-card-v2__title{ color: var(--bordo) !important; -webkit-text-fill-color: var(--bordo) !important; }
html body .testi-card-v2__avatar{ display: none !important; }
html body .testi-card-v2__foot{ flex-direction: row !important; }
html body .testi-card-v2 .testi-card-v2__name{
  font-size: 12px !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: .08em;
  color: rgba(41,41,41,.6) !important; -webkit-text-fill-color: rgba(41,41,41,.6) !important;
}
@media (min-width: 768px){ html body .testi-card-v2{ flex-basis: 340px !important; width: 340px !important; } }

/* ============================================================
   6. ОТСТУПЫ РАЗДЕЛОВ — одни и те же сверху и снизу: 96 на компьютере, 64 на телефоне
   ============================================================ */
:root{ --sec-pad: 96px; }
@media (max-width: 767px){ :root{ --sec-pad: 64px; } }
html body section#about-course, html body section#profession, html body section#audience,
html body section#format, html body section#after, html body section#cases,
html body section#testimonials, html body section#pricing, html body section#faq{
  padding-top: var(--sec-pad) !important; padding-bottom: var(--sec-pad) !important;
}

/* отступы: повторяем с удвоенным #id; на телефоне — 40, как у остальных разделов */
@media (max-width: 767px){ :root{ --sec-pad: 40px; } }
html body section#about-course#about-course, html body section#profession#profession, html body section#audience#audience,
html body section#format#format, html body section#after#after, html body section#cases#cases,
html body section#testimonials#testimonials, html body section#pricing#pricing, html body section#faq#faq{
  padding-top: var(--sec-pad) !important; padding-bottom: var(--sec-pad) !important;
}
/* вкладки «Формата»: подписи по центру своих колонок (на телефоне не слипаются) */
html body #format .fold-tab{ justify-content: center !important; text-align: center !important; }
/* автор отзыва — слева, под текстом */
html body .testi-card-v2__foot{ justify-content: flex-start !important; }
html body .testi-card-v2__info{ margin: 0 !important; text-align: left !important; }

/* ============================================================
   7. КНОПКИ — два вида на весь сайт
   Главная (предзаказ): бордовая капсула, белый текст. На бордовой карточке — наоборот: белая, бордовый текст.
   Второстепенная (сравнить, рассрочка, поддержка): прозрачная капсула с тёмной обводкой.
   ============================================================ */
:root{ --ease-out: cubic-bezier(.23, 1, .32, 1); --bordo-press: #6c1514; }
html body .btn, html body .ptr__btn, html body .nhero__mbtn, html body .ncui__btn, html body .sticky-cta{
  font-family: var(--t-font) !important; font-weight: 700 !important; font-size: 13px !important; letter-spacing: .04em !important;
  text-transform: uppercase !important; border-radius: 999px !important; box-shadow: none !important;
}
html body .ptr__btn, html body .nhero__mbtn, html body .btn--lg, html body .btn--compare, html body .installment__btn, html body .help-chat__btn{
  min-height: 48px !important; height: 48px !important; padding-top: 0 !important; padding-bottom: 0 !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
}
/* главная */
html body .header-cta, html body .mobile-nav__cta, html body .sticky-cta,
html body .nhero__mbtn,
html body .ptr .ptr__btn{
  background: var(--bordo) !important; border: 0 !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
}
html body .ptr--accent .ptr__btn{ background: #fff !important; color: var(--bordo) !important; -webkit-text-fill-color: var(--bordo) !important; }
/* второстепенная */
html body .btn--compare, html body .installment__btn, html body .help-chat__btn{
  background: transparent !important; border: 1.5px solid var(--ink) !important;
  color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important;
  padding-left: 26px !important; padding-right: 26px !important;
}
html body .btn--compare *, html body .installment__btn *, html body .help-chat__btn *{ color: inherit !important; -webkit-text-fill-color: currentColor !important; }

/* ============================================================
   8. ОТКЛИК — нажатие «проседает», наведение меняет тон. Только transform и цвет, быстро.
   ============================================================ */
html body .btn, html body .ptr__btn, html body .nhero__mbtn, html body .ncui__btn, html body .sticky-cta,
html body .trk-nav__btn, html body .testi-nav__btn, html body .carousel-arrow, html body .social-card{
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease, opacity 200ms ease !important;
}
html body .btn:active, html body .ptr__btn:active, html body .nhero__mbtn:active, html body .ncui__btn:active, html body .sticky-cta:active,
html body .social-card:active{ transform: scale(.97) !important; }
html body .trk-nav__btn:active, html body .testi-nav__btn:active, html body .carousel-arrow:active{ transform: scale(.92) !important; }
/* строки-аккордеоны и вкладки: касание слегка гасит строку */
html body .pacc__row, html body .who__btn, html body .faq-item > summary, html body #format .fold-tab{ transition: opacity 160ms ease, color 200ms ease !important; -webkit-tap-highlight-color: transparent; }
html body .pacc__row:active, html body .who__btn:active, html body .faq-item > summary:active, html body #format .fold-tab:active{ opacity: .55 !important; }
@media (hover: hover) and (pointer: fine){
  html body .header-cta:hover, html body .mobile-nav__cta:hover, html body .sticky-cta:hover,
  html body .ptr:not(.ptr--accent) .ptr__btn:hover{ background: var(--bordo-press) !important; opacity: 1 !important; }
  html body .ptr--accent .ptr__btn:hover{ background: #FFF278 !important; opacity: 1 !important; }
  html body .btn--compare:hover, html body .installment__btn:hover, html body .help-chat__btn:hover{
    background: var(--ink) !important; color: #fff !important; -webkit-text-fill-color: #fff !important;
  }
  html body .who__btn:hover, html body .faq-item > summary:hover{ color: var(--bordo) !important; -webkit-text-fill-color: var(--bordo) !important; }
  html body .trk-nav__btn:hover, html body .testi-nav__btn:hover{ background: var(--bordo) !important; }
}
html body :is(.btn, .ptr__btn, .nhero__mbtn, .ncui__btn, .who__btn, .pacc__row, .fold-tab, .trk-nav__btn, .testi-nav__btn):focus-visible{ outline: 2px solid var(--bordo) !important; outline-offset: 3px !important; }

/* ============================================================
   9. ТАЙМЕР — без плашки и ячеек: строка на линиях, крупные цифры
   ============================================================ */
html body section#countdown#countdown{ padding-top: 0 !important; padding-bottom: 0 !important; }
html body #countdown#countdown .cd-panel{
  max-width: none !important; margin: 0 !important; padding: clamp(24px, 3vw, 44px) 0 !important;
  background: none !important; border-radius: 0 !important; box-shadow: none !important; border: 0 !important;
  border-top: 1px solid rgba(41,41,41,.16) !important; border-bottom: 1px solid rgba(41,41,41,.16) !important;
  color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important;
  display: flex !important; flex-direction: column; gap: 24px;
}
html body #countdown#countdown .cd-panel::before, html body #countdown#countdown .cd-panel::after{ content: none !important; }
html body #countdown#countdown .cd-panel__head{ margin: 0 !important; text-align: left !important; display: block !important; }
html body #countdown#countdown .cd-eyebrow{
  display: block !important; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important;
  font-family: var(--h-font) !important; font-weight: 500 !important; font-size: 12px !important; letter-spacing: .04em !important; text-transform: uppercase !important; text-align: left !important;
  color: rgba(41,41,41,.6) !important; -webkit-text-fill-color: rgba(41,41,41,.6) !important;
}
html body #countdown#countdown .cd-panel__title{
  margin: 0 !important; text-align: left !important;
  font-family: var(--h-font) !important; font-weight: 500 !important; text-transform: uppercase !important;
  font-size: clamp(26px, 3.2vw, 48px) !important; line-height: .98 !important; letter-spacing: -.005em !important;
  color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important;
}
html body #countdown#countdown .cd-panel__title em{ font-style: normal !important; color: inherit !important; -webkit-text-fill-color: currentColor !important; background: none !important; }
html body #countdown#countdown .cd-panel__bonus{
  display: block !important; margin: 10px 0 0 !important; font-size: clamp(14px, 1.3vw, 18px) !important; letter-spacing: .02em !important; line-height: 1.2 !important;
  color: var(--bordo) !important; -webkit-text-fill-color: var(--bordo) !important;
}
html body #countdown#countdown .cd-grid{ display: flex !important; align-items: flex-start !important; justify-content: flex-start !important; gap: clamp(8px, 1.4vw, 22px) !important; margin: 0 !important; }
html body #countdown#countdown .cd-cell{
  display: flex !important; flex-direction: column !important; align-items: flex-start !important;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; min-width: 0 !important; width: auto !important; height: auto !important;
}
html body #countdown#countdown .cd-num{
  font-size: clamp(44px, 5.4vw, 84px) !important; line-height: .9 !important; font-variant-numeric: tabular-nums;
  color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important;
}
html body #countdown#countdown .cd-lbl{
  margin-top: 8px !important; font-size: 12px !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: .08em !important;
  color: rgba(41,41,41,.6) !important; -webkit-text-fill-color: rgba(41,41,41,.6) !important;
}
html body #countdown#countdown .cd-sep{
  display: block !important; height: auto !important; font-size: clamp(30px, 4vw, 60px) !important; line-height: .9 !important;
  color: rgba(41,41,41,.3) !important; -webkit-text-fill-color: rgba(41,41,41,.3) !important;
}
@media (min-width: 900px){
  html body #countdown#countdown .cd-panel{ flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
}

/* второстепенные кнопки: старые правила с #id сильнее — повторяем */
html body #pricing .installment__btn, html body #contact .help-chat__btn, html body #pricing .btn--compare{
  background: transparent !important; border: 1.5px solid var(--ink) !important; box-shadow: none !important;
  color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important;
  min-height: 48px !important; height: 48px !important; padding: 0 26px !important; font-size: 13px !important;
}
@media (hover: hover) and (pointer: fine){
  html body #pricing .installment__btn:hover, html body #contact .help-chat__btn:hover, html body #pricing .btn--compare:hover{
    background: var(--ink) !important; color: #fff !important; -webkit-text-fill-color: #fff !important;
  }
}
/* кнопки компактнее: шапка и нижняя закреплённая кнопка */
@media (min-width: 768px){ html body .header-cta{ height: 40px !important; min-height: 40px !important; padding: 0 20px !important; display: inline-flex !important; align-items: center !important; } }
html body .sticky-cta{ height: 46px !important; min-height: 46px !important; padding-top: 0 !important; padding-bottom: 0 !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; }
html body .ncui__btn{ padding: 0 24px !important; height: 48px !important; }

html body #countdown#countdown .cd-grid{ flex: none; }
html body #countdown#countdown .cd-panel__head{ min-width: 0; }

/* ОТЗЫВЫ на телефоне (17.11): колонки наезжали друг на друга и прилипали к левому краю экрана.
   Теперь: колонка уже экрана, с отступом как у заголовков; следующая выглядывает справа; ник сразу под текстом. */
@media (max-width: 767px){
  html body .testi-list{
    padding: 4px 20px 12px !important; gap: 24px !important; align-items: flex-start !important;
    scroll-padding-left: 20px; -webkit-overflow-scrolling: touch;
  }
  html body .testi-list .testi-card-v2{
    flex: 0 0 80% !important; width: auto !important; max-width: 80% !important; min-width: 0 !important;
    height: auto !important; min-height: 0 !important; padding: 16px 0 0 !important; scroll-snap-align: start;
    box-sizing: border-box;
  }
  html body .testi-card-v2 .testi-card-v2__title{ font-size: 17px !important; line-height: 1.25 !important; margin: 0 0 10px !important; }
  html body .testi-card-v2 .testi-card-v2__quote{ margin: 0 !important; }
  html body .testi-card-v2 .testi-card-v2__quote p{ font-size: 15px !important; line-height: 1.5 !important; margin: 0 0 8px !important; overflow-wrap: anywhere; }
  html body .testi-card-v2 .testi-card-v2__foot{ margin: 14px 0 0 !important; padding: 0 !important; }
  html body .testi-card-v2 .testi-card-v2__name{ font-size: 12px !important; color: rgba(41,41,41,.7) !important; -webkit-text-fill-color: rgba(41,41,41,.7) !important; }
  html body .testi-nav{ margin-top: 20px !important; }
}

/* «20+ нейросетей»: карточка Magnific видна только на телефоне (там три колонки, и без неё последний ряд неполный) */
@media (min-width: 768px){ html body .aig__cell.aig__cell--m{ display: none !important; } }

/* ОТЗЫВЫ, компьютер (17.11, по макету): заголовок слева, «10 000+» с аватарами справа на той же высоте,
   под ними строка про комьюнити на всю ширину, ниже — колонки отзывов. */
@media (min-width: 900px){
  html body #testimonials > .wrap{ display: grid !important; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: start; }
  html body #testimonials > .wrap > .section-head{ grid-column: 1; grid-row: 1; max-width: none !important; margin-right: 0 !important; margin-bottom: 0 !important; }
  html body #testimonials > .wrap > .section-head .section-h{ margin-bottom: 0 !important; }
  html body #testimonials .tnum{ display: contents !important; }
  html body #testimonials .tnum__row{
    grid-column: 2; grid-row: 1; display: flex !important; flex-direction: column !important; align-items: flex-end !important; justify-content: flex-start !important;
    gap: 6px !important; margin: 0 !important;
  }
  html body #testimonials .tnum__main{ text-align: right !important; }
  html body #testimonials .tnum__n.tnum__n{ font-size: clamp(64px, 7.2vw, 112px) !important; line-height: .9 !important; margin: 0 !important; }
  html body #testimonials .tnum__l{ position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; }
  html body #testimonials .tnum__text.tnum__text{
    grid-column: 1 / -1; grid-row: 2; margin: 22px 0 0 !important; max-width: none !important; text-align: left !important;
    font-size: 17px !important; line-height: 1.4 !important;
    color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important;
  }
  html body #testimonials .tnum__text strong{ font-weight: inherit !important; font-size: inherit !important; color: inherit !important; -webkit-text-fill-color: currentColor !important; }
  html body #testimonials > .wrap > .testi-list{ grid-column: 1 / -1; margin-top: 48px !important; }
  html body #testimonials > .wrap > .testi-nav{ grid-column: 1 / -1; }
}

/* «Работы учеников»: белая плашка — на всю ширину колонки, от края заголовка до края линии над блоком */
html body #after .carousel{ max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
html body #after .carousel .carousel-card{ max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }

/* Таймер: секунды обрезались — у блока было «обрезать лишнее», а ячейки сжимались уже своих табличек */
html body #countdown#countdown .cd-panel{ overflow: visible !important; }
html body #countdown#countdown .cd-cell{ flex: 0 0 auto !important; }
html body #countdown#countdown .cd-sep{ flex: 0 0 auto !important; }
@media (max-width: 767px){
  html body #countdown#countdown > .wrap{ padding-left: 20px !important; padding-right: 20px !important; }
  html body #countdown#countdown .cd-grid.has-flap{ gap: 4px !important; justify-content: space-between !important; }
}

/* Таймер: табло занимает столько места, сколько ему нужно; текст слева уступает */
html body #countdown#countdown .cd-grid{ flex: 0 0 auto !important; width: max-content !important; max-width: none !important; }
html body #countdown#countdown .cd-panel__head{ flex: 1 1 auto !important; min-width: 0 !important; }
@media (max-width: 767px){
  html body section#countdown#countdown{ padding-left: 0 !important; padding-right: 0 !important; }
  html body #countdown#countdown .cd-grid.has-flap{ width: 100% !important; }
}

/* РАССРОЧКА (17.11): рядом с карточкой — ролик с телефоном.
   Фон ролика выбелен до чистого белого, а сам ролик наложен в режиме «умножение»: белое исчезает,
   остаётся только телефон — краёв у видео не видно.
   Компьютер: карточка слева, ролик справа. Телефон: ролик над карточкой, по центру. */

html body .inst-media{
  display: block; order: -1; position: relative; width: min(84%, 330px); aspect-ratio: 36 / 47; margin: 4px auto -10px; overflow: hidden;
  background: none; border-radius: 0; opacity: 1 !important; transform: none !important;
}
html body .inst-media video{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; mix-blend-mode: multiply;
}
@media (min-width: 1024px){
  
  
  
  html body .inst-media video{ object-fit: contain; }
}

/* «ОСТАЛИСЬ ВОПРОСЫ» (17.11): переписка и кнопка слева, тот же ролик с телефоном справа (без подложки и краёв).
   На телефоне ролик стоит под заголовком, перед перепиской. */
html body #contact .help-chat{ display: flex !important; flex-direction: column; align-items: stretch; }
html body #contact .help-chat > .section-head{ order: -2; }
html body #contact .help-chat > .help-media{ order: -1; margin: 0 auto 4px; }
html body #contact .help-chat__dialog{ width: 100%; }
html body #contact .help-chat__btn{ align-self: center; }
@media (min-width: 1024px){
  html body #contact .help-chat{
    display: grid !important; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(16px, 1.8vw, 24px);
    grid-template-rows: auto auto 1fr; align-items: start; text-align: left;
  }
  html body #contact .help-chat > .section-head{ grid-column: 1; grid-row: 1; order: 0; }
  html body #contact .help-chat__dialog{ grid-column: 1; grid-row: 2; justify-self: start; max-width: 560px; margin: clamp(24px, 3vw, 44px) 0 0 !important; }
  html body #contact .help-chat__btn{ grid-column: 1; grid-row: 3; justify-self: start; align-self: start; margin: 28px 0 0 !important; }
  html body #contact .help-chat > .help-media{ grid-column: 2; grid-row: 1 / span 3; order: 0; width: auto; aspect-ratio: auto; align-self: stretch; height: 0; min-height: 100%; margin: 0; }
  /* высота ролика = высоте левой колонки: он не растягивает строки и не раздвигает текст с перепиской */
}

/* «Остались вопросы» на телефоне: переписка слева, маленький ролик с телефоном справа от неё */
@media (max-width: 1023px){
  html body #contact .help-chat{
    display: grid !important; grid-template-columns: minmax(0, 1fr) 36%; column-gap: 8px; align-items: center;
  }
  html body #contact .help-chat > .section-head{ grid-column: 1 / -1; grid-row: 1; order: 0; }
  html body #contact .help-chat__dialog{ grid-column: 1; grid-row: 2; width: auto; min-width: 0; margin: 20px 0 0 !important; }
  html body #contact .help-chat > .help-media{ grid-column: 2; grid-row: 2; order: 0; width: 100%; aspect-ratio: 36 / 52; margin: 20px 0 0; align-self: center; }
  html body #contact .help-chat__btn{ grid-column: 1 / -1; grid-row: 3; justify-self: center; margin-top: 24px !important; }
  html body #contact .help-chat__msg{ max-width: 100% !important; }
  html body #contact .help-chat__meta{ text-align: left !important; font-size: 11px !important; line-height: 1.35 !important; }
}

/* Рассрочка: ролик с девушкой занимает весь кадр, поэтому стоит плашкой со скруглёнными углами (без «прозрачного белого»).
   Компьютер — справа от карточки на всю её высоту; телефон — над карточкой. */




/* Рассрочка на телефоне: как на компьютере — текст слева, видео справа. Видео стоит в правом верхнем углу
   самой карточки, рядом с заголовком и подзаголовком; вкладки и условия ниже идут на всю ширину. */


/* «Остались вопросы» (17.11, второй заход): новый горизонтальный ролик с телефоном.
   Телефон и планшет: переписки нет — заголовок, ролик, кнопка. Компьютер: переписка слева, ролик справа. */
html body #contact .help-chat > .help-media video{ object-fit: contain; transform: scale(1.3); }   /* брызги на пике занимают почти весь кадр — показываем его целиком */
@media (max-width: 1023px){
  html body #contact .help-chat{ display: flex !important; flex-direction: column; align-items: stretch; }
  html body #contact .help-chat__dialog{ display: none !important; }
  html body #contact .help-chat > .section-head{ order: 0; }
  html body #contact .help-chat > .help-media{ order: 1; width: 100%; max-width: 520px; aspect-ratio: 4 / 3; height: auto; min-height: 0; margin: 8px auto 0; align-self: center; }
  html body #contact .help-chat__btn{ order: 2; align-self: center; margin-top: 8px !important; }
}

/* Кнопка «Написать в поддержку» — чёрная с белым текстом (по просьбе 17.11) */
html body #contact .help-chat__btn{
  background: var(--dark, #1d1b1a) !important; border: 1.5px solid var(--dark, #1d1b1a) !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
}
html body #contact .help-chat__btn *{ color: #fff !important; -webkit-text-fill-color: #fff !important; }
@media (hover: hover) and (pointer: fine){
  html body #contact .help-chat__btn:hover{ background: var(--bordo) !important; border-color: var(--bordo) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
}
/* Кнопка предзаказа внизу экрана на телефоне — по центру (после правки кнопок она прижалась к левому краю) */
html body .sticky-cta{ display: flex !important; margin-left: auto !important; margin-right: auto !important; }

/* РАССРОЧКА (17.11, третий заход): ролик с моделью на белом фоне.
   Фон ролика выбелен до чистого белого и наложен «умножением» — белое сливается со страницей, рамки нет.
   Низ кадра (где фигура обрезана) плавно растворяется. Компьютер — справа от карточки, прижат к её низу;
   телефон — в правом верхнем углу карточки, рядом с заголовком. */





/* «Формат курса»: ролики показываем целиком в их родных пропорциях (без обрезки снизу —
   там в записи стрима окно с лицом куратора). Если что-то и срезается, то только сверху. */
html body #format .fold__media.fold__media{ aspect-ratio: 1280 / 968 !important; }
html body #format .fold__video.fold__video{ aspect-ratio: 1280 / 968 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center bottom !important; }

/* Больше воздуха между разделами (+12%): 108 на компьютере, 46 на телефоне */
:root{ --sec-pad: 108px; }
@media (max-width: 767px){ :root{ --sec-pad: 46px; } }
html body section#about-course#about-course#about-course, html body section#profession#profession#profession, html body section#audience#audience#audience, html body section#format#format#format, html body section#after#after#after, html body section#cases#cases#cases, html body section#testimonials#testimonials#testimonials, html body section#pricing#pricing#pricing, html body section#faq#faq#faq, html body section#contact#contact#contact{ padding-top: var(--sec-pad) !important; padding-bottom: var(--sec-pad) !important; }

/* ОТЗЫВЫ на компьютере: ровно три в ряд, текст крупнее (17px, интервал 1,5),
   больше расстояния между заголовком, цитатой и именем автора. */
@media (min-width: 1024px){
  html body #testimonials .testi-list{ gap: 48px !important; }
  html body #testimonials .testi-list .testi-card-v2{
    flex: 0 0 calc((100% - 96px) / 3) !important; width: calc((100% - 96px) / 3) !important; max-width: none !important;
    scroll-snap-align: start; box-sizing: border-box !important; margin: 0 !important; zoom: 1 !important; /* старое правило уменьшало карточки на 20% — из-за него текст и был мелким */
  }
  html body #testimonials .testi-card-v2 .testi-stars{ margin: 0 0 18px !important; }
  html body #testimonials .testi-card-v2 .testi-card-v2__title{ font-size: 22px !important; line-height: 1.2 !important; margin: 0 0 20px !important; }
  html body #testimonials .testi-card-v2 .testi-card-v2__quote{ margin: 0 !important; }
  html body #testimonials .testi-card-v2 .testi-card-v2__quote p{ font-size: 17px !important; line-height: 1.5 !important; margin: 0 0 12px !important; }
  html body #testimonials .testi-card-v2 .testi-card-v2__quote p:last-child{ margin-bottom: 0 !important; }
  html body #testimonials .testi-card-v2 .testi-card-v2__foot{ margin: 28px 0 0 !important; padding: 0 !important; }
  html body #testimonials .testi-card-v2 .testi-card-v2__name{ font-size: 14px !important; }
}

/* «ДЛЯ КОГО КУРС»: названия категорий — того же размера, что названия этапов в «Программе»;
   раскрытый текст заметно меньше названия, не шире ~56 знаков, под ним больше воздуха до следующей строки. */
html body .who .who__t, html body .who .who__ic{ font-size: clamp(22px, 3.7vw, 54px) !important; }
html body .who .who__t{ line-height: 1.02 !important; }
html body .who .who__a{ padding: 4px clamp(30px, 4vw, 58px) calc(var(--pt) * 1.7) 0 !important; }
html body .who .who__a p, html body .who .who__a b{ font-size: 15px !important; line-height: 1.55 !important; }
html body .who .who__a p{ max-width: 56ch; }
@media (max-width: 767px){
  html body .who .who__t, html body .who .who__ic{ font-size: clamp(18px, 5.3vw, 26px) !important; }
  html body .who .who__a{ padding: 2px 8px 26px 0 !important; }
  html body .who .who__a p, html body .who .who__a b{ font-size: 13px !important; line-height: 1.5 !important; }
}

/* БОНУСЫ: карточек стало пять — путь прокрутки длиннее на одну карточку */
html body .bscene{ --bscene-run: 500vh; }

/* КЕЙСЫ: стрелки не прижаты к краю экрана — стоят по правому краю сетки сайта */
html body #cases .trk-nav{ max-width: var(--maxw, 1320px); margin-left: auto; margin-right: auto; padding: 0 var(--pad, 20px); box-sizing: border-box; width: 100%; }

/* ПЕРВЫЙ ЭКРАН: описание курса под заголовком */
html body .ncui .ncui__desc{
  margin: 14px 0 0; max-width: 440px; font-family: var(--t-font); font-weight: 400; text-transform: none; letter-spacing: 0;
  font-size: 17px; line-height: 1.4; color: #fff; -webkit-text-fill-color: #fff;
}
@media (max-width: 767px){ html body .ncui .ncui__desc{ text-align: center; margin-left: auto; margin-right: auto; max-width: 340px; } }
@media (min-width: 768px){ html body .ncui .ncui__desc{ font-size: 19px; margin-top: 20px; } }

/* ВТОРОЙ ЭКРАН: верхняя строка надписи — строчными, обычным начертанием, крупнее (по макету) */
html body .aigal .aigal__claim-a{
  font-family: var(--t-font) !important; font-weight: 400 !important; text-transform: lowercase !important; letter-spacing: 0 !important;
  font-size: clamp(16px, 2vw, 29px) !important; line-height: 1.15 !important; margin-bottom: .45em !important;
}
.aigal__mbr2{ display: none; }
/* на телефоне надпись выглядит так же, как на компьютере: заголовок в две строки, верхняя строка — 0,6 от его размера */
@media (max-width: 767px){
  html body .aigal .aigal__claim{ max-width: none !important; white-space: nowrap; }
  html body .aigal .aigal__claim-b{ font-size: clamp(17px, 5.6vw, 24px) !important; }
  html body .aigal .aigal__mbr2{ display: inline; }
  html body .aigal .aigal__claim-a{ font-size: clamp(11px, 3.4vw, 15px) !important; }
}

/* ============================================================
   НАШИ ПРИНЦИПЫ («Как мы учим») — бордовый раздел между «Форматом» и «Работами учеников».
   Слева заголовок, справа четыре принципа: жёлтый номер, название, короткий текст. Белый текст на бордо.
   ============================================================ */
html body section.prin.prin{ background: var(--bordo, #811A19) !important; color: #fff; padding-top: var(--sec-pad) !important; padding-bottom: var(--sec-pad) !important; }
html body .prin .shead--dark{ border-top-color: rgba(255,255,255,.45); }
html body .prin__grid{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: clamp(16px, 4vw, 64px); align-items: start; }
html body .prin__h{
  margin: 0; padding-top: clamp(20px, 2vw, 30px); font-family: var(--h-font); font-weight: 500; text-transform: uppercase;
  font-size: clamp(28px, 3.6vw, 52px); line-height: 1; letter-spacing: -.005em; color: #fff; -webkit-text-fill-color: #fff;
}
html body .prin__list{ list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.4); }
html body .prin__item{
  display: grid; grid-template-columns: clamp(40px, 5vw, 72px) minmax(0, 1fr); column-gap: clamp(8px, 1.4vw, 20px);
  padding: clamp(20px, 2vw, 30px) 0 clamp(24px, 2.4vw, 36px); border-bottom: 1px solid rgba(255,255,255,.4);
}
html body .prin__n{
  font-family: var(--t-font); font-weight: 600; font-size: 14px; line-height: 1; letter-spacing: .04em; font-variant-numeric: tabular-nums;
  color: #FFF278; -webkit-text-fill-color: #FFF278; padding-top: .55em;
}
html body .prin__t{
  margin: 0 0 12px; font-family: var(--h-font); font-weight: 500; text-transform: uppercase;
  font-size: clamp(20px, 2.1vw, 30px); line-height: 1.05; letter-spacing: -.005em; color: #fff; -webkit-text-fill-color: #fff;
}
html body .prin__p{
  margin: 0; max-width: 58ch; font-family: var(--t-font); font-weight: 400; font-size: 17px; line-height: 1.5;
  color: rgba(255,255,255,.9); -webkit-text-fill-color: rgba(255,255,255,.9);
}
@media (max-width: 767px){
  html body .prin__grid{ grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  html body .prin__h{ padding-top: 0; font-size: 32px; }
  html body .prin__h br{ display: none; }
  html body .prin__item{ grid-template-columns: 34px minmax(0, 1fr); padding: 18px 0 22px; }
  html body .prin__n{ font-size: 12px; }
  html body .prin__t{ font-size: 20px; margin-bottom: 8px; }
  html body .prin__p{ font-size: 15px; }
}
html body section#principles#principles#principles{ padding-top: var(--sec-pad) !important; padding-bottom: var(--sec-pad) !important; }

/* ТАРИФЫ: бегущая строка между заголовком и карточками. На всю ширину экрана, мелкий текст,
   тонкие линии сверху и снизу. Двигается только вместе с прокруткой (tk.js). */
html body .ptk{
  width: 100vw; margin: clamp(20px, 2.4vw, 36px) 0 clamp(28px, 3.4vw, 52px) calc(50% - 50vw); overflow: hidden;
  border-top: 1px solid rgba(41,41,41,.38); border-bottom: 1px solid rgba(41,41,41,.38); padding: 12px 0;
}
html body .ptk__track{ display: flex; width: max-content; will-change: transform; }
html body .ptk__set{ display: flex; flex: none; align-items: center; }
html body .ptk__i, html body .ptk__sep{
  flex: none; white-space: nowrap; font-family: var(--t-font); font-weight: 500; text-transform: uppercase; letter-spacing: .06em;
  font-size: 13px; line-height: 1; color: var(--ink); -webkit-text-fill-color: var(--ink);
}
html body .ptk__sep{ margin: 0 clamp(16px, 2vw, 30px); color: var(--bordo); -webkit-text-fill-color: var(--bordo); }
@media (max-width: 767px){ html body .ptk{ padding: 10px 0; } html body .ptk__i, html body .ptk__sep{ font-size: 12px; } }

/* ============================================================
   ЕДИНАЯ СИСТЕМА ЦВЕТОВ И СКРУГЛЕНИЙ
   --bordo — единственный акцент (кнопки, тариф «Премиум», выделенные цифры)
   --dark  — фон всех тёмных секций (оттенок из «Программы курса»), чисто чёрного на сайте нет
   --light — светлая нейтральная подложка карточек
   --r-card — радиус карточек (14px); кнопки — овальные (999px)
   Жёлтый (--yellow) — только для бонусов.
   ============================================================ */
:root{ --bordo: #811A19; --dark: #1d1b1a; --light: #F3F1EE; --line: rgba(41,41,41,.14); --r-card: 14px; --r-btn: 999px; }

/* тёмные секции — один оттенок */
html body section.aigal.aigal, html body section#about-course#about-course, html body .nstage{ background-color: var(--dark) !important; }
html body .bcard--ink{ background: var(--dark) !important; }

/* радиус 14 — карточки нейросетей, бонусов, работ, кейсов, тарифов; медиа обрезается по контуру карточки */
html body .aig__cell, html body .bcard__inner, html body .wkp__item, html body article.case, html body article.ptr{ border-radius: var(--r-card) !important; }
@media (max-width: 767px){ html body .aig__cell{ border-radius: var(--r-card) !important; } }
html body article.case, html body .wkp__item, html body .bcard__inner{ overflow: hidden !important; }
html body .case__img{ border-radius: 0 !important; }

/* НЕЙРОСЕТИ: однотонная светлая подложка и тонкая рамка, без размытия и теней */
html body .aig__cell{
  background: var(--light) !important; background-image: none !important; border: 1px solid var(--line) !important;
  box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}

/* БОНУСЫ: однотонная заливка; бордовый — тот же, что у кнопок */
html body .bcard--bordo{ background: var(--bordo) !important; background-image: none !important; }
html body .bcard__inner{ box-shadow: none !important; }

/* КЕЙСЫ: портреты на красном фоне (как в исходных фото); результат — белым поверх мягкого затемнения снизу.
   «До / После» — без плашек: подписи мелкими прописными в своей колонке, строки разделены тонкой линией;
   «до» — приглушённо, «после» — бордовая подпись и основной цвет текста. */
html body .case__img{ background: #8C130B !important; }
html body article.case{ box-shadow: none !important; border: 1px solid var(--line) !important; }
html body .case .case__ba{ display: block !important; gap: 0 !important; }
html body .case .case__ba-row{
  display: grid !important; grid-template-columns: 58px minmax(0, 1fr); column-gap: 12px; align-items: baseline !important;
  margin: 0 !important; padding: 12px 0 !important; border-top: 1px solid var(--line);
}
html body .case .case__ba-row:first-child{ border-top: 0; padding-top: 0 !important; }
html body .case .case__tag.case__tag{
  display: block !important; background: none !important; padding: 0 !important; border-radius: 0 !important; min-width: 0 !important; width: auto !important;
  font-family: var(--t-font) !important; font-weight: 700 !important; font-size: 11px !important; line-height: 1.5 !important;
  letter-spacing: .1em !important; text-transform: uppercase !important; text-align: left !important;
}
html body .case .case__tag--before.case__tag--before{ color: rgba(41,41,41,.5) !important; -webkit-text-fill-color: rgba(41,41,41,.5) !important; }
html body .case .case__tag--after.case__tag--after{ color: var(--bordo) !important; -webkit-text-fill-color: var(--bordo) !important; }
html body .case .case__ba-row:first-child > span:last-child{ color: rgba(41,41,41,.62) !important; -webkit-text-fill-color: rgba(41,41,41,.62) !important; }
html body .case .case__ba-row:last-child > span:last-child{ color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; }

/* ТАРИФЫ: кнопки одной высоты, по внутренней ширине карточки */
html body .ptr .ptr__btn{ width: 100% !important; height: 48px !important; box-sizing: border-box !important; border-radius: var(--r-btn) !important; }
html body .aig__cell::before{ content: none !important; background: none !important; }   /* без блика поверх подложки */

/* ШАПКИ РАЗДЕЛОВ: остаются только линия и номер справа; мелкое название раздела скрыто
   (для программ чтения с экрана оно остаётся) */
html body .shead .shead__t{ position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
html body .shead{ justify-content: flex-end !important; }

/* Заголовок «Философия KAVA.SCHOOL» — длиннее прежнего, кегль чуть меньше, чтобы слово помещалось в колонку */
html body .prin__h{ font-size: clamp(26px, 3vw, 44px); }
@media (max-width: 767px){ html body .prin__h{ font-size: 30px; } html body .prin__h br{ display: inline; } }

/* между «Философией» и «Работами учеников» не должно быть белой полосы */
html body section#after#after{ margin-top: 0 !important; }

/* ПЕРВЫЙ ЭКРАН НА ТЕЛЕФОНЕ: текст компактнее и целиком над девушкой — надписи не ложатся на кепку и лицо.
   Видео начинается ниже и плавно проявляется сверху, без видимого стыка. */
@media (max-width: 767px){
  html body .ncui .ncui__desc{ font-size: 15px; line-height: 1.35; margin-top: 10px; max-width: 330px; }
  html body .ncui .ncui__info{ margin-top: 14px !important; align-items: baseline !important; }
  html body .ncui .ncui__label{ font-size: 11px !important; line-height: 1.3 !important; letter-spacing: .05em !important; }
  html body .ncui .ncui__date{ font-size: clamp(22px, 6.6vw, 28px) !important; }
  html body section.nhero .nhero__media.nhero__media{
    top: 132px !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 90px) !important; mask-image: linear-gradient(to bottom, transparent 0, #000 90px) !important;
  }
}

/* ПЕРВЫЙ ЭКРАН НА ТЕЛЕФОНЕ: старт и длительность — одна строка одним кеглем, на одной линии,
   между двумя тонкими линиями (слева старт, справа длительность). На компьютере — прежняя подача. */
html body .ncui .ncui__meta{ display: none; }
@media (max-width: 767px){
  html body .ncui .ncui__label, html body .ncui .ncui__date{ display: none !important; }
  html body .ncui .ncui__info{ margin-top: 0 !important; }
  html body .ncui .ncui__meta{
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 16px 0 0; padding: 10px 0;
    border-top: 1px solid currentColor; border-bottom: 1px solid currentColor;
    font-family: var(--t-font); font-weight: 600; font-size: 12px; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
    color: #fff; -webkit-text-fill-color: #fff; white-space: nowrap;
  }
}

/* ЗАГОЛОВОК ОБЛОЖКИ: у строк есть маска (блик), она обрезала всё, что выше строки, — на iPhone пропадала
   «шапочка» у буквы Й. Даём строке запас сверху и возвращаем её на место отрицательным отступом. */
html body .ncui .ncui__title span{ padding-top: .2em !important; margin-top: -.2em !important; }
html body .ncui .ncui__title span:first-child{ margin-top: 0 !important; }

/* ОБЛОЖКА НА ТЕЛЕФОНЕ: фон ролика выбелен, а ролик наложен «умножением» — белое сливается с фоном обложки,
   поэтому границы видео не видно на любом телефоне (в т.ч. там, где видео отображается светлее страницы). */
@media (max-width: 767px){
  html body section.nhero .nhero__media.nhero__media{ mix-blend-mode: multiply; }
}

/* ОБЛОЖКА ПО МАКЕТУ: заголовок бордовый, описание в две строки, подпись к дате — обычным регистром.
   Слой надписей работает в режиме инверсии (exclusion), поэтому бордо #811A19 на светлом фоне
   задаётся его «негативом» #7EE5E6 — так же, как у кнопки. */
html body .ncui .ncui__title span{ color: #7EE5E6 !important; -webkit-text-fill-color: #7EE5E6 !important; }
@media (min-width: 768px){
  html body .ncui .ncui__desc{ max-width: 600px; font-size: 20px; line-height: 1.3; margin-top: 18px; }
  html body .ncui .ncui__info{ margin-top: clamp(28px, 6vh, 64px) !important; }
  html body .ncui .ncui__label{
    font-size: 19px !important; line-height: 1.2 !important; font-weight: 600 !important; text-transform: none !important;
    letter-spacing: -.005em !important; margin-bottom: 10px !important;
  }
}
/* телефон: девушка ближе к строке со стартом — между линией и кепкой небольшой зазор */
@media (max-width: 767px){ html body section.nhero .nhero__media.nhero__media{ top: 94px !important; } }

/* БЛОК ЦИФР: подпись ближе к своей цифре — читаются как одно целое (все четыре показателя, компьютер и телефон) */
html body .nxi .nxi__stat .nxi__n{ margin-bottom: 3px !important; }
html body .nxi .nxi__stat .nxi__l{ margin-top: 0 !important; }

/* ТАЙМЕР: без линий сверху и снизу */
html body #countdown#countdown .cd-panel{ border-top: 0 !important; border-bottom: 0 !important; box-shadow: none !important; }
html body section#countdown#countdown{ border-top: 0 !important; border-bottom: 0 !important; }
html body section#pricing#pricing{ border-top: 0 !important; }   /* линия под таймером — это была верхняя граница «Тарифов» */

/* КЕЙСЫ: рука с украшением спускается из-под тёмного блока «Работы учеников» — от его нижнего края,
   поэтому запястье не «висит в воздухе». Ролик без рамки: фон выбелен, наложение «умножением». */
html body section#cases#cases{ position: relative; }




/* РАССРОЧКА: за карточкой — ролик с хромированной фигурой, она «вырастает» из-за карточки во все стороны.
   Фон ролика выбелен, наложение «умножением»: белое сливается со страницей, видна только фигура.
   Карточка — непрозрачная белая, стоит поверх. Ролик идёт на всю ширину экрана и чуть выше/ниже карточки. */
html body #pricing > .wrap{ position: relative; }
html body #pricing .installment{ position: relative; z-index: 2; background: #fff !important; }
html body .inst-chrome{
  position: absolute; z-index: 1; pointer-events: none; mix-blend-mode: multiply;
  left: calc(50% - 50vw); width: 100vw; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
}
html body .inst-chrome video{ display: block; width: 100%; height: 100%; object-fit: cover; }

/* ===== Правки 18.11 ===== */
/* Главный экран: строки заголовка чуть дальше друг от друга (буква не задевает верхнюю строку);
   строки описания, наоборот, чуть ближе. Размер шрифта не меняется. */
html body .ncui .ncui__title span{ margin-top: -.12em !important; }
html body .ncui .ncui__title span:first-child{ margin-top: 0 !important; }
html body .ncui .ncui__desc{ line-height: 1.22; }
@media (min-width: 768px){ html body .ncui .ncui__desc{ line-height: 1.2; } }

/* Второй блок: работы, идущие поверх заголовка, лежат над ним */
html body .aigal .aigal__tile--over{ z-index: 2; position: relative; }

/* После второго блока шла линия раздела «О курсе» — на тёмном фоне сразу за тёмным блоком она выглядела
   лишней полосой. Линию убираем, номер раздела остаётся. */
html body #about-course .shead{ border-top-color: transparent !important; }

/* «Для кого курс»: названия категорий чуть меньше, заголовок блока чуть крупнее */
html body .who .who__t, html body .who .who__ic{ font-size: clamp(20px, 3.2vw, 46px) !important; }
html body .who .who__h{ font-size: clamp(22px, 3.5vw, 54px) !important; }
@media (max-width: 767px){
  html body .who .who__t, html body .who .who__ic{ font-size: clamp(17px, 4.8vw, 23px) !important; }
  html body .who .who__h{ font-size: clamp(21px, 5.8vw, 26px) !important; }
}

/* «Программа курса»: текст про 100+ уроков — строчными (меняется только регистр) */
html body .program .program__sub{ text-transform: none !important; }

/* Рассрочка: карточка всегда непрозрачная и всегда над роликом (раньше при появлении она была
   полупрозрачной, и ролик просвечивал поверх текста) */
html body #pricing .installment.installment{ opacity: 1 !important; transform: none !important; transition: none !important; isolation: isolate; }

@media (max-width: 767px){
  /* Блок цифр на телефоне: цифры бордовые (слой в режиме инверсии, поэтому задаём «негатив» бордо) */
  html body .nxi .nxi__n, html body .nxi .nxi__n span, html body .nxi .nxi__n b{ color: #7EE5E6 !important; -webkit-text-fill-color: #7EE5E6 !important; }

  /* Отзывы на телефоне: «10 000+» слева, аватарки справа на той же линии; текст о выпускниках — по левому краю заголовка */
  html body #testimonials .tnum{ text-align: left !important; padding: 0 20px !important; box-sizing: border-box; }
  html body #testimonials .tnum__row{ display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px; text-align: left !important; }
  html body #testimonials .tnum__main{ text-align: left !important; margin: 0 !important; }
  html body #testimonials .tnum__n{ justify-content: flex-start !important; margin: 0 !important; }
  html body #testimonials .tnum__l{ text-align: left !important; }
  html body #testimonials .avatar-circles{ margin: 0 !important; justify-content: flex-end !important; flex: none; }
  html body #testimonials .tnum__text.tnum__text{ text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }

  /* Таймер на телефоне: три надписи по центру, табло тоже по центру */
  html body #countdown#countdown .cd-panel__head, html body #countdown#countdown .cd-eyebrow,
  html body #countdown#countdown .cd-panel__title, html body #countdown#countdown .cd-panel__bonus{ text-align: center !important; }
  html body #countdown#countdown .cd-grid{ justify-content: center !important; }
}
/* уточнения к правкам 18.11 */
html body #program#program .program__head .program__sub{ text-transform: none !important; }
@media (max-width: 767px){
  html body .who .who__h{ font-size: 21px !important; }
  html body #testimonials .tnum__row{ flex-direction: row !important; flex-wrap: nowrap !important; }
  html body #testimonials .tnum__n.tnum__n{ font-size: 46px !important; line-height: 1 !important; }
  html body #testimonials .avatar-circles .avatar-circle{ width: 36px !important; height: 36px !important; margin-left: -9px; }
  html body #testimonials .avatar-circles .avatar-circle:first-child{ margin-left: 0; }
}

/* Кейсы: кнопка «Видеокейс» рядом с именем — ссылка на ролик ученицы в Instagram */
html body #cases .case__namerow{ display: flex !important; align-items: center; justify-content: space-between; gap: 12px; }
html body #cases .case__namerow .case__name{ min-width: 0; }
html body #cases .case__ig{
  flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--bordo); border-radius: var(--r-btn); background: transparent;
  font-family: var(--t-font); font-weight: 600; text-transform: uppercase; text-decoration: none;
  font-size: 11px !important; line-height: 1; letter-spacing: .08em; white-space: nowrap;
  color: var(--bordo) !important; -webkit-text-fill-color: var(--bordo) !important;
  transition: background-color .2s ease, color .2s ease, transform .16s ease-out;
}
html body #cases .case__ig span{ font-size: inherit !important; color: inherit !important; -webkit-text-fill-color: currentColor !important; }
html body #cases .case__ig svg{ display: block; width: 14px; height: 14px; fill: currentColor; }
html body #cases .case__ig:active{ transform: scale(.97); }
html body #cases .case__ig:focus-visible{ outline: 2px solid var(--bordo); outline-offset: 3px; }
@media (hover: hover){
  html body #cases .case__ig:hover{ background: var(--bordo); color: #fff !important; -webkit-text-fill-color: #fff !important; }
}

/* Компьютер: на стыке второго экрана и блока «О курсе» проступала тонкая светлая полоса.
   Первый экран закреплён под вторым и заканчивается на той же дробной высоте; при округлении
   нижний ряд пикселей его видео выглядывал из-под тёмного блока. Тёмный блок получает кромку
   в 2px вниз (он лежит поверх первого экрана), а видео первого экрана подрезается снизу на 2px. */
html body #aigal{ box-shadow: 0 2px 0 0 #1d1b1a; }
@media (min-width: 768px){
  html body #top.nhero .nhero__media{ clip-path: inset(0 0 2px 0); }
}

/* Блок «О курсе»: номер раздела «01 / 12» убран (у остальных разделов номера остаются).
   Строка сохраняет высоту, чтобы отступ над заголовком не изменился. */
html body #about-course .shead__n{ visibility: hidden; }

/* Конец страницы на телефоне: нижняя кнопка «Оформить предзаказ» (#stickyCTA) задумывалась плавающей,
   но фактически стояла отдельной строкой после подвала, а под неё у страницы был запас в 96px —
   получался пустой белый хвост. Кнопка скрыта, запас убран: страница заканчивается подвалом.
   Кнопка предзаказа остаётся в шапке и в блоке тарифов. */
html body #stickyCTA{ display: none !important; }
@media (max-width: 767px){ html body{ padding-bottom: 0 !important; } }

/* «Для кого», компьютер: текст внутри раскрытой строки крупнее (было 15px) */
@media (min-width: 768px){
  html body .who .who__a p, html body .who .who__a b{ font-size: 18px !important; line-height: 1.5 !important; }
}

/* Блок с цифрами «Всё, что нужно, чтобы работать с AI»: правый край текста стоит на общей линии сайта
   (та же ширина и поля, что у номеров разделов и заголовков), а не у самого края экрана */
@media (min-width: 768px){
  html body section.nxi .nxi__inner{
    padding-right: max(var(--pad, 20px), calc((100% - var(--maxw, 1320px)) / 2 + var(--pad, 20px))) !important;
    padding-left: max(var(--pad, 20px), calc((100% - var(--maxw, 1320px)) / 2 + var(--pad, 20px))) !important;
  }
}
@media (max-width: 767px){
  html body section.nxi .nxi__inner{ padding-right: var(--pad, 20px) !important; }
}

/* Продажи открыты: в карточке тарифа две кнопки — «Купить полностью» (основная) и «Оплатить половину» (вторая, контурная).
   На светлой карточке вторая кнопка бордовая, на бордовой и тёмной — белая. */
html body .ptr .ptr__btn--half{
  margin-top: 10px; background: transparent !important; border: 1px solid var(--bordo) !important;
  color: var(--bordo) !important; -webkit-text-fill-color: var(--bordo) !important;
}
html body .ptr--accent .ptr__btn--half, html body .ptr--dark .ptr__btn--half{
  background: transparent !important; border-color: rgba(255,255,255,.7) !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
}
@media (hover: hover){
  html body .ptr.ptr .ptr__btn--half:hover{ background: var(--bordo) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
  html body .ptr--accent.ptr--accent .ptr__btn--half:hover, html body .ptr--dark.ptr--dark .ptr__btn--half:hover{
    background: #fff !important; border-color: #fff !important; color: var(--dark, #1d1b1a) !important; -webkit-text-fill-color: var(--dark, #1d1b1a) !important;
  }
}
