/* ============================================================================
   Chess Prime — Design System
   ----------------------------------------------------------------------------
   Слой поверх экспорта Tilda. Чинит типографику, задаёт токены (shadcn/tweakcn
   совместимые имена переменных), выравнивает адаптив на mobile/tablet/desktop.

   Порядок подключения: ПОСЛЕ всех tilda-*.css, ДО cp-pricing.css
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. ШРИФТЫ (self-hosted, вариативные, с полной кириллицей)
   ---------------------------------------------------------------------------
   Onest    — основной текст и интерфейс. SIL OFL 1.1.
   Unbounded — акцентный дисплейный (короткие заголовки, цифры). SIL OFL 1.1.

   Причина замены: экспорт Tilda ссылается на GraphikTT / Gilroy с приватного
   CDN Tilda (лицензия не переносится на свой хостинг), а --t-text-font в
   экспорте не определён — из-за этого весь основной текст падал в
   Times New Roman / Arial. Это и есть «убогий шрифт на русском».
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/onest-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/onest-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/onest-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/unbounded-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------------------
   2. ТОКЕНЫ
   ---------------------------------------------------------------------------
   Имена переменных совместимы с shadcn/ui и экспортом tweakcn — если позже
   покрутить тему на tweakcn.com/editor/theme, полученный CSS можно вставить
   в блок :root ниже почти без правок.
   -------------------------------------------------------------------------- */

:root {
  /* --- фирменная палитра (взята из текущего макета) --- */
  --cp-indigo-900: #1a0733;
  --cp-indigo-800: #2b0c4d; /* основной цвет заголовков */
  --cp-indigo-700: #3d1a66;
  --cp-indigo-600: #543092;
  --cp-indigo-300: #a99bc4;
  --cp-indigo-100: #e6e0f0;

  --cp-coral-600: #e8452f;
  --cp-coral-500: #ff6163; /* старт фирменного градиента */
  --cp-coral-400: #ff765a; /* основной акцент */
  --cp-orange-400: #ff9050; /* конец фирменного градиента */
  --cp-orange-200: #ffc39a;
  --cp-coral-50: #fff2ee;

  --cp-lavender-50: #f6f8fe;
  --cp-lavender-100: #edf2fc; /* фон секций */
  --cp-lavender-200: #e3e8f2;
  --cp-blue-400: #7692c5;

  --cp-mint-500: #22a06b;
  --cp-mint-50: #e8f7f0;
  --cp-gold-500: #f2a81d;

  /* --- градиенты --- */
  --cp-gradient-brand: linear-gradient(180deg, var(--cp-orange-400) 0%, var(--cp-coral-500) 100%);
  --cp-gradient-brand-hover: linear-gradient(180deg, #ff9d64 0%, #ff7577 100%);
  --cp-gradient-indigo: linear-gradient(140deg, #3d1a66 0%, #2b0c4d 60%, #1a0733 100%);
  --cp-gradient-sheen: linear-gradient(120deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 80%);

  /* --- семантические токены (shadcn shape) --- */
  --background: #ffffff;
  --foreground: var(--cp-indigo-800);
  --card: #ffffff;
  --card-foreground: var(--cp-indigo-800);
  --popover: #ffffff;
  --popover-foreground: var(--cp-indigo-800);
  --primary: var(--cp-coral-400);
  --primary-foreground: #ffffff;
  --secondary: var(--cp-lavender-100);
  --secondary-foreground: var(--cp-indigo-800);
  --muted: var(--cp-lavender-100);
  --muted-foreground: #6b6480;
  --accent: var(--cp-coral-50);
  --accent-foreground: var(--cp-coral-600);
  --destructive: #d92d20;
  --destructive-foreground: #ffffff;
  --border: rgba(43, 12, 77, 0.1);
  --input: rgba(43, 12, 77, 0.14);
  --ring: var(--cp-coral-400);

  /* --- радиусы --- */
  --radius: 18px;
  --radius-sm: calc(var(--radius) - 8px);
  --radius-md: calc(var(--radius) - 4px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 8px);
  --radius-2xl: calc(var(--radius) + 16px);
  --radius-full: 999px;

  /* --- тени: мягкие, многослойные, с оттенком индиго --- */
  --shadow-2xs: 0 1px 2px rgba(43, 12, 77, 0.04);
  --shadow-xs: 0 1px 3px rgba(43, 12, 77, 0.06), 0 1px 2px rgba(43, 12, 77, 0.04);
  --shadow-sm: 0 2px 6px rgba(43, 12, 77, 0.06), 0 1px 2px rgba(43, 12, 77, 0.04);
  --shadow: 0 6px 16px -4px rgba(43, 12, 77, 0.1), 0 2px 6px -2px rgba(43, 12, 77, 0.06);
  --shadow-md: 0 12px 28px -8px rgba(43, 12, 77, 0.14), 0 4px 10px -4px rgba(43, 12, 77, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(43, 12, 77, 0.18), 0 8px 16px -8px rgba(43, 12, 77, 0.1);
  --shadow-xl: 0 40px 72px -16px rgba(43, 12, 77, 0.22), 0 12px 24px -12px rgba(43, 12, 77, 0.12);
  --shadow-brand: 0 12px 28px -8px rgba(255, 97, 99, 0.45), 0 4px 10px -4px rgba(255, 144, 80, 0.3);
  --shadow-brand-lg: 0 20px 44px -10px rgba(255, 97, 99, 0.5), 0 8px 16px -8px rgba(255, 144, 80, 0.35);

  /* --- типографика --- */
  --cp-font-sans: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --cp-font-display: 'Unbounded', 'Onest', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Arial, sans-serif;
  --cp-font-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;

  --cp-tracking-display: -0.03em;
  --cp-tracking-tight: -0.02em;
  --cp-tracking-normal: -0.01em;
  --cp-tracking-wide: 0.06em;

  /* --- движение --- */
  --cp-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --cp-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --cp-dur-fast: 0.18s;
  --cp-dur: 0.28s;
  --cp-dur-slow: 0.45s;

  /* --- перекрытие переменных Tilda ---
     Именно из-за пустого --t-text-font текст падал в системный шрифт. */
  --t-text-font: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --t-title-font: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --t-descr-font: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --t-menu-font: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* ---------------------------------------------------------------------------
   3. ПОДМЕНА ЛИЦЕНЗИОННЫХ ШРИФТОВ TILDA
   ---------------------------------------------------------------------------
   GraphikTT и Gilroy отдаются с fonts.tildacdn.com и на своём хостинге
   работать не должны (лицензия + внешняя зависимость). Объявляем их
   алиасами Onest — вся вёрстка, которая на них ссылается, продолжает
   работать, но рисуется уже нашим шрифтом.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'GraphikTT';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/onest-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'GraphikTT';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/onest-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Gilroy';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/onest-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Gilroy';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/onest-latin.woff2') format('woff2');
}

/* ---------------------------------------------------------------------------
   4. БАЗОВАЯ ТИПОГРАФИКА
   -------------------------------------------------------------------------- */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

/* Tilda задаёт border-box только своим .t-* классам. Наши компоненты
   (.cp-*) без этого считают padding сверх ширины и вылезают из контейнера. */
[class*='cp-'],
[class*='cp-']::before,
[class*='cp-']::after,
morph-icon {
  box-sizing: border-box;
}

body,
.t-text,
.t-title,
.t-descr,
.t-name,
.t-heading,
.t-uptitle,
.t-btn,
.t-btntext,
.t-submit,
.t-input,
.t-select,
.t-checkbox__labeltext,
.t-radio__labeltext,
.t-menu__link-item,
.t-menusub__link-item,
.tn-atom {
  font-family: var(--cp-font-sans);
}

body {
  color: var(--foreground);
  font-feature-settings: 'ss01' 1, 'cv01' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: var(--cp-tracking-normal);
}

/* Крупные заголовки — плотнее трекинг, иначе в русском они «рассыпаются» */
.t-title,
.t-heading,
h1,
h2,
h3 {
  letter-spacing: var(--cp-tracking-tight);
  text-wrap: balance;
}

/* Дисплейный шрифт — только там, где явно попросили классом */
.cp-display {
  font-family: var(--cp-font-display);
  letter-spacing: var(--cp-tracking-display);
  font-weight: 700;
}

/* Абзацы: не даём висячим строкам ломать ритм */
.t-text p,
.t-descr p {
  text-wrap: pretty;
}

/* Табличные цифры в ценах и таймерах — не «прыгают» при анимации */
.cp-tnum,
.t-price,
.t-store__prod-popup__price {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

::selection {
  background: var(--cp-coral-400);
  color: #fff;
}

/* ---------------------------------------------------------------------------
   5. ДОСТУПНОСТЬ И ИНТЕРАКЦИЯ
   -------------------------------------------------------------------------- */

/* Видимый фокус с клавиатуры — в экспорте Tilda его нет вовсе */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
.t-btn:focus-visible,
.tn-atom:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Мышью — без рамки */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* Тап-таргеты: на тач-устройствах ссылки меню/футера были 17–26px в высоту */
@media (hover: none) and (pointer: coarse) {
  .t-menu__link-item,
  .t-menusub__link-item,
  .t978__menu-link,
  .t-sociallinks__item a,
  footer a,
  .t-rec a:not(.t-btn):not([class*='tn-atom']) {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Ссылки-иконки соцсетей */
.t-sociallinks__item {
  transition: transform var(--cp-dur-fast) var(--cp-ease-out);
}
.t-sociallinks__item:hover {
  transform: translateY(-2px) scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------------------
   6. КНОПКИ
   ---------------------------------------------------------------------------
   Приводим все кнопки Tilda к единому поведению: один радиус, одна тень,
   один hover. До этого каждый блок жил своей жизнью.
   -------------------------------------------------------------------------- */

.t-btn,
.t-submit,
.t-btntext,
.tn-atom[href],
.tn-atom__button-border {
  transition: transform var(--cp-dur-fast) var(--cp-ease-out),
    box-shadow var(--cp-dur) var(--cp-ease-out),
    filter var(--cp-dur-fast) var(--cp-ease-out) !important;
}

.t-btn:hover,
.t-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

.t-btn:active,
.t-submit:active {
  transform: translateY(0) scale(0.985);
}

/* Кнопки на фирменном градиенте — добавляем «блик» при наведении */
.cp-shine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cp-shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cp-gradient-sheen);
  transform: translateX(-120%);
  transition: transform 0.7s var(--cp-ease-out);
  pointer-events: none;
}
.cp-shine:hover::after {
  transform: translateX(120%);
}

/* ---------------------------------------------------------------------------
   7. ФОРМЫ
   -------------------------------------------------------------------------- */

.t-input,
.t-select,
textarea.t-input {
  border-radius: var(--radius-md) !important;
  border: 1.5px solid var(--input) !important;
  transition: border-color var(--cp-dur-fast) var(--cp-ease-out),
    box-shadow var(--cp-dur-fast) var(--cp-ease-out) !important;
}

.t-input:focus,
.t-select:focus,
textarea.t-input:focus {
  border-color: var(--cp-coral-400) !important;
  box-shadow: 0 0 0 4px rgba(255, 118, 90, 0.16) !important;
  outline: none;
}

.t-input::placeholder {
  color: #a09aad;
}

/* Ошибки — читаемый контраст вместо тильдовского бледного красного */
.t-input_has-error {
  border-color: var(--destructive) !important;
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.12) !important;
}

/* Юридические подписи под формами: были 10–14px */
.t-form__errorbox-text,
.t-checkbox__labeltext,
.t-radio__labeltext {
  font-size: max(13px, 0.82em);
  line-height: 1.5;
}

/* ---------------------------------------------------------------------------
   8. АДАПТИВ: ОБЩИЕ ПОЧИНКИ ЭКСПОРТА
   -------------------------------------------------------------------------- */

/* Zero-блоки Tilda позиционируют элементы абсолютно и умеют вылезать за
   вьюпорт. Обрезаем по горизонтали, не ломая sticky/fixed-элементы. */
html,
body {
  overflow-x: clip;
  max-width: 100%;
}

/* Картинки в zero-блоках не должны инициировать горизонтальный скролл */
.t396__artboard {
  overflow-x: clip;
}

img,
svg,
video {
  max-width: 100%;
}

/* Длинные слова / e-mail / телефоны в узких колонках */
.t-text,
.t-descr,
.t-title,
.tn-atom {
  overflow-wrap: break-word;
}

/* ---------------------------------------------------------------------------
   9. ПЛАВАЮЩИЕ ЭЛЕМЕНТЫ (CTA + чат)
   ---------------------------------------------------------------------------
   Кнопка «Запись на пробное занятие» и виджет Jivo перекрывали друг друга
   и накрывали контент внизу страницы на мобильных.
   -------------------------------------------------------------------------- */

/* Резерв под плавающие элементы, чтобы футер не оказывался под ними */
body {
  --cp-floating-h: 0px;
}
@media (max-width: 959px) {
  body {
    --cp-floating-h: 84px;
  }
}
.t-body,
body > .t-records:last-of-type {
  padding-bottom: var(--cp-floating-h);
}

/* Jivo поднимаем над зафиксированной CTA-кнопкой на мобильных */
@media (max-width: 639px) {
  jdiv[class*='globalClass'] jdiv[class*='button'],
  jdiv.__jivoMobileButton {
    bottom: 92px !important;
  }
}

/* ---------------------------------------------------------------------------
   10. ЗАПАСНАЯ МОБИЛЬНАЯ НАВИГАЦИЯ
   ---------------------------------------------------------------------------
   Основная навигация теперь живёт в шапке (`.cp-header`, стили в
   cp-blocks.css) — вместе с бургером и выпадающей панелью.

   Плавающий бургер ниже остаётся для страниц, у которых своей шапки нет и
   которые свёрстаны отдельными HTML-блоками: статьи блога, B2B, материалы.
   Скрипт вешает его только там, где `.cp-header` на странице не нашлось.
   -------------------------------------------------------------------------- */

.cp-burger {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 100000;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--cp-indigo-800);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.cp-burger:hover {
  background: var(--cp-lavender-50);
}
.cp-burger svg {
  width: 24px;
  height: 24px;
  display: block;
}
.cp-burger[aria-expanded='true'] {
  background: var(--cp-indigo-800);
  color: #fff;
}

.cp-nav {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--cp-indigo-800);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 88px 24px 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--cp-dur) var(--cp-ease-out),
    transform var(--cp-dur) var(--cp-ease-out), visibility var(--cp-dur);
}
.cp-nav[data-open='true'] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cp-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cp-nav__link {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 8px 12px;
  font-family: var(--cp-font-sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: var(--cp-tracking-tight);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background var(--cp-dur-fast) var(--cp-ease-out);
}
.cp-nav__link:hover,
.cp-nav__link:active {
  background: rgba(255, 255, 255, 0.1);
}
.cp-nav__footer {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cp-nav__phone {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: var(--cp-tracking-tight);
}
.cp-nav__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: var(--radius-full);
  background: var(--cp-gradient-brand);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: var(--shadow-brand);
}

body.cp-nav-open {
  overflow: hidden;
}

/* Бургер включается там же, где в шапке пропадают пункты меню. */
@media (max-width: 1199px) {
  .cp-burger {
    display: flex;
  }
}

/* ---------------------------------------------------------------------------
   11. МОРФИНГ-ИКОНКИ
   ---------------------------------------------------------------------------
   <morph-icon> — веб-компонент библиотеки morphicons (MIT), подключается
   локально из js/morphicons. Здесь только оформление.
   -------------------------------------------------------------------------- */

/* !important обязателен: morphicons в connectedCallback выставляет
   style="display:contents" прямо на элементе, и без этого <morph-icon>
   перестаёт быть боксом — отступы и выравнивание к нему не применяются. */
morph-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: currentColor;
  line-height: 0;
}
morph-icon svg {
  display: block;
  overflow: visible;
}

/* До апгрейда кастомного элемента — резервируем место, чтобы не было сдвига */
morph-icon:not(:defined) {
  width: 24px;
  height: 24px;
}

/* ---------------------------------------------------------------------------
   11a. ЖИВЫЕ «КЛЯКСЫ» (фоновые пятна)
   ---------------------------------------------------------------------------
   Органическая форма из асимметричного border-radius, медленно перетекающая.
   Используется в фоне тарифов и подвала. Ноль дополнительных запросов.
   -------------------------------------------------------------------------- */

@keyframes cp-blob {
  0% {
    border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
    transform: rotate(0deg) scale(1);
  }
  33% {
    border-radius: 63% 37% 42% 58% / 56% 63% 37% 44%;
    transform: rotate(6deg) scale(1.06);
  }
  66% {
    border-radius: 37% 63% 56% 44% / 63% 37% 63% 37%;
    transform: rotate(-5deg) scale(0.96);
  }
  100% {
    border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
    transform: rotate(0deg) scale(1);
  }
}

/* ---------------------------------------------------------------------------
   12. ПОЯВЛЕНИЕ ПРИ СКРОЛЛЕ
   -------------------------------------------------------------------------- */

.cp-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--cp-dur-slow) var(--cp-ease-out),
    transform var(--cp-dur-slow) var(--cp-ease-out);
  transition-delay: var(--cp-reveal-delay, 0ms);
}
.cp-reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .cp-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------------------
   13. ПЕЧАТЬ
   -------------------------------------------------------------------------- */

@media print {
  .cp-header__burger,
  .cp-header__panel,
  jdiv,
  .t396__elem[data-elem-type='button'] {
    display: none !important;
  }
  /* липкая шапка на печати повторялась бы на каждой странице */
  .cp-header {
    position: static !important;
    box-shadow: none !important;
  }
  body {
    color: #000;
  }
}
