@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600&display=swap');
/* ============================================
   Шарик & Тузик — тема в стиле приложения AI Reels Start
   Подключается ПОСЛЕ styles.css. Откат — убрать <link> на этот файл.
   Палитра:  фон #fcfbfe · текст #1d1a24 · вторичный #625a6d
             фиолетовый #7040c9 · глубокий #2a1d4a · градиент #7c3aed → #e987b6
   ============================================ */

:root {
  --ink: #1d1a24;
  --ink-2: #625a6d;
  --violet: #7040c9;
  --line: rgba(112, 64, 201, .12);
  --tint: #f3ebfa;
  --g-brand: linear-gradient(115deg, #7c3aed 0%, #e987b6 100%);
  --g-brand-btn: linear-gradient(90deg, #630ed4 0%, #9d50bb 100%);
  --diffusion: 0 1px 2px rgba(42, 29, 74, .04), 0 12px 32px -12px rgba(42, 29, 74, .14);
  --diffusion-hover: 0 1px 2px rgba(42, 29, 74, .05), 0 20px 40px -14px rgba(42, 29, 74, .22);

  --c-primary: #7040c9;
  --c-primary-light: #a06ae8;
  --c-primary-dark: #630ed4;
  --c-primary-50: #f7f2fc;
  --c-primary-100: #eae2f2;
  --c-accent: #7040c9;
  --c-accent-light: #e987b6;
  --c-accent-50: #f7f2fc;
  --c-accent-100: #eae2f2;
  --c-bg: #fcfbfe;
  --c-bg-card: #fff;
  --c-bg-warm: #fcfbfe;
  --c-bg-cool: #fcfbfe;
  --c-bg-hero: none;
  --c-text: #1d1a24;
  --c-text-secondary: #625a6d;
  --c-text-muted: #8a8296;
  --c-heading: #1d1a24;
  --c-border: rgba(112, 64, 201, .12);
  --c-border-hover: rgba(112, 64, 201, .28);
  --g-primary: var(--g-brand-btn);
  --g-hero-glow: none;
  --g-hero-glow-2: none;
  --f-sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --shadow-card: var(--diffusion);
  --shadow-card-hover: var(--diffusion-hover);
  --shadow-sm: var(--diffusion);
  --shadow-btn: 0 10px 20px -8px rgba(99, 14, 212, .45);
  --shadow-btn-hover: 0 14px 26px -8px rgba(99, 14, 212, .55);
  --s-section: clamp(3rem, 2.4rem + 2.5vw, 4.5rem);
  --header-h: 64px;
}

html, body { background: #fcfbfe; color: var(--ink); }

.social-proof, .program, .results, .pricing, .faq, .final-cta, .course-video {
  background: transparent !important;
  border: 0 !important;
}

/* ---------- Карточки: белые, тонкая фиолетовая обводка, мягкая тень ---------- */
.card, .stat-card, .accordion__item, .result-item {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 24px;
  box-shadow: var(--diffusion) !important;
}
.card:hover { transform: none; box-shadow: var(--diffusion-hover) !important; }
.result-item:hover { transform: none; }

/* ---------- Верхняя панель: Liquid Glass ---------- */
.header {
  top: 16px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1120px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  overflow: clip;
  background: rgba(255, 255, 255, .36) !important;
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  backdrop-filter: blur(8px) saturate(1.15);
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.75), inset 0 0 2px 1px #ffffff59, inset 0 0 10px 4px #ffffff26,
    0 12px 28px -13px rgba(30,20,45,.24), 0 3px 8px -4px rgba(30,20,45,.12);
}
.header::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 45%);
  pointer-events: none;
}
.header.scrolled { background: rgba(255, 255, 255, .62) !important; }
@supports not (backdrop-filter: blur(1px)) { .header { background: rgba(250, 246, 255, .9) !important; } }
.header__inner { position: relative; z-index: 1; padding: 0 8px 0 14px; }
.header__logo { font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; gap: 8px; }
.header__logo-icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 4px; box-sizing: border-box; }
.header__nav { gap: 6px; }
.header__nav-list { gap: 0; }
.header__nav-link { color: #443d4e; font-weight: 500; white-space: nowrap; }
.header__nav-link:hover { color: var(--ink); background: rgba(255, 255, 255, .6); }
.header__cta { min-height: 44px; padding: 0 1.25rem; border-radius: 999px; }
.header__burger { margin-right: 12px; }
.header__burger span { background: #443d4e; }
@media (max-width: 1100px) { .header__nav-link { padding: .5rem .6rem; } }
@media (max-width: 900px) and (min-width: 769px) { .header__cabinet-link { display: none; } }

.mobile-nav {
  top: calc(16px + 64px + 10px);
  left: 16px; right: 16px; bottom: auto;
  border-radius: 28px;
  padding: 12px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  box-shadow: var(--diffusion-hover);
}
.mobile-nav__link { font-size: 17px; border-radius: 16px; display: block; }
.mobile-nav__link:hover { background: var(--tint); color: var(--ink); }

.purchased-banner {
  top: calc(16px + 64px + 10px);
  width: calc(100% - 32px);
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 22px;
  background: var(--g-brand-btn);
  border: 0;
  box-shadow: var(--shadow-btn);
}

/* ---------- HERO: тёмная иллюстрированная шапка с волной ---------- */
.hero {
  min-height: 0;
  padding: calc(16px + 64px + clamp(2rem, 1rem + 4vw, 4rem)) 0 clamp(5rem, 3rem + 6vw, 8rem);
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(233, 135, 182, .28), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(124, 58, 237, .45), transparent 70%),
    linear-gradient(160deg, #211a3a 0%, #2a1d4a 55%, #3b2160 100%) !important;
  color: #fff;
  overflow: hidden;
}
.hero::before { display: none; }
.hero::after {
  content: '';
  position: absolute;
  top: auto; left: -2%; right: -2%; bottom: -1px;
  height: clamp(48px, 7vw, 96px);
  opacity: 1;
  background: #fcfbfe;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 240 0 480 0 720 40 S 1200 100 1440 30 L1440 100 L0 100Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 240 0 480 0 720 40 S 1200 100 1440 30 L1440 100 L0 100Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 0;
}
.hero__orb { display: none; }
.hero__grid { grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.hero__title {
  font-family: var(--f-sans);
  font-size: clamp(2.2rem, 1.3rem + 3.2vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
  color: #fff;
}
.hero__title-highlight {
  background: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.hero__title-highlight::after { display: none; }
.hero__subtitle { color: rgba(255, 255, 255, .78); max-width: 32rem; }
.hero__badge {
  background: rgba(255, 255, 255, .12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  box-shadow: none !important;
}
.hero__trust .badge {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, .75);
  padding-left: 0;
}
.hero .btn--secondary {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: none;
}
.hero .btn--secondary:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.hero .btn--primary { background: #fff; color: #4c1d95; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); }
.hero .btn--primary:hover { color: #4c1d95; }
.hero__image-wrapper {
  max-width: 640px;
  aspect-ratio: auto;
  padding: 0;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}
.hero__image-wrapper::before { display: none; }
.hero__image-wrapper img {
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(10, 4, 30, .45));
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { display: flex; order: -1; }
  .hero__image-wrapper { max-width: 440px; margin: 0 auto; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
}

/* ---------- Заголовки разделов: слева, с градиентной планкой ---------- */
.section__label { display: none; }
.section__header {
  text-align: left;
  margin-bottom: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  padding-left: 18px;
  position: relative;
}
.section__header::before {
  content: '';
  position: absolute;
  left: 0; top: .3em;
  width: 5px; height: 1.5em;
  border-radius: 999px;
  background: linear-gradient(180deg, #7c3aed, #e987b6);
}
.section__header .section__subtitle { margin: 0; }
.section__title {
  font-family: var(--f-sans);
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.12;
  margin-bottom: .5rem;
}
.section__title br { display: none; }
.section__subtitle { font-size: 1.0625rem; color: var(--ink-2); }

/* ---------- Кнопки ---------- */
.btn { border-radius: 16px; font-weight: 600; min-height: 48px; }
.btn--primary { background: var(--g-brand-btn); color: #fff; }
.btn--primary:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.btn--secondary { background: #fff; border: 1px solid var(--line); color: var(--violet); box-shadow: var(--diffusion); }
.btn--secondary:hover { background: var(--tint); color: var(--violet); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid #9476b2; outline-offset: 2px; }
.btn:active { transform: scale(.97); }

/* ---------- Цифры и отзывы ---------- */
.social-proof__stats { margin-bottom: 1.25rem; gap: 12px; }
.stat-card { text-align: left; padding: 22px 24px; }
.stat-card__number {
  font-family: var(--f-sans);
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.stat-card__label { color: var(--ink-2); }
.stat-card::after {
  content: '';
  display: block;
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #e987b6) 0 0 / var(--fill, 90%) 100% no-repeat, var(--tint);
}
.social-proof__stats .stat-card:nth-child(1) { --fill: 72%; }
.social-proof__stats .stat-card:nth-child(2) { --fill: 98%; }
.social-proof__stats .stat-card:nth-child(3) { --fill: 94%; }
.reviews-grid { gap: 12px; }
.review-card { padding: 24px; }
.review-card__stars { color: #d9779f; letter-spacing: 1px; }
.review-card__text { font-style: normal; color: #3a3443; font-size: .95rem; }
.review-card__avatar { background: var(--g-brand); color: #fff; border: 0; }

/* ---------- Программа ---------- */
.accordion { gap: 10px; }
.accordion__item.active { border-color: rgba(112, 64, 201, .35) !important; }
.accordion__header:hover { color: var(--violet); }
.accordion__number { border-radius: 14px; border: 0; background: var(--tint); color: var(--violet); }
.accordion__item.active .accordion__number { background: var(--g-brand-btn); color: #fff; }
.accordion__icon::before, .accordion__icon::after { background: var(--violet); }
.accordion__content a { color: var(--violet) !important; }

/* ---------- Результаты ---------- */
.results-grid { gap: 12px; }
.result-item { padding: 22px 24px; gap: 16px; }
.result-item__check { background: var(--tint); color: var(--violet); border: 0; font-size: 1rem; }

/* ---------- Цена ---------- */
.pricing-card--featured {
  transform: none;
  border: 1.5px solid transparent !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(115deg, #7c3aed, #e987b6) border-box !important;
  box-shadow: 0 24px 48px -20px rgba(99, 14, 212, .3) !important;
}
.pricing-card--featured:hover { transform: none; }
.pricing-card__badge {
  top: -14px;
  border-radius: 999px;
  padding: .35rem 1rem;
  background: linear-gradient(90deg, #7c3aed, #db2777);
  letter-spacing: .04em;
}
.pricing-card__name { font-family: var(--f-sans); font-weight: 800; letter-spacing: -.02em; }
.pricing-card__amount { font-family: var(--f-sans); font-weight: 800; color: var(--violet); letter-spacing: -.02em; }
.pricing-card__feature::before { color: var(--violet) !important; }

/* ---------- Финальный призыв — тёмная поверхность героя ---------- */
.final-cta__wrapper {
  background:
    radial-gradient(60% 80% at 90% 10%, rgba(233, 135, 182, .3), transparent 70%),
    linear-gradient(160deg, #211a3a 0%, #2a1d4a 55%, #3b2160 100%);
  border: 0;
  border-radius: 32px;
  color: #fff;
}
.final-cta__wrapper::before, .final-cta__wrapper::after { display: none; }
.final-cta__title { font-family: var(--f-sans); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.final-cta__title br { display: none; }
.final-cta__title .text-gradient { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.final-cta__subtitle { color: rgba(255, 255, 255, .78); }
.final-cta__wrapper .btn--primary { background: #fff; color: #4c1d95; }

/* ---------- Подвал ---------- */
.footer { background: #fcfbfe; color: var(--ink-2); border-top: 1px solid var(--line); }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--violet); }
.footer__title { color: var(--ink); }
.footer .header__logo { color: var(--ink); }
.footer__social-link { background: var(--tint) !important; color: var(--violet) !important; }
.footer__bottom { border-color: var(--line); }

@media (max-width: 768px) {
  .header { top: 12px; width: calc(100% - 24px); }
  .mobile-nav { top: calc(12px + 64px + 10px); left: 12px; right: 12px; }
  .hero { padding-top: calc(12px + 64px + 1.5rem); }
  .social-proof__stats { grid-template-columns: 1fr; }
}

@media (forced-colors: active) {
  .header, .card, .accordion__item { border: 1px solid CanvasText !important; }
}

/* ============================================
   v4: первый экран и финал — снова белые, без волны и тёмного градиента
   ============================================ */
.hero {
  background: #fcfbfe !important;
  color: var(--ink);
  padding: calc(16px + 64px + 40px) 0 clamp(2rem, 1.5rem + 2vw, 3rem);
}
.hero::after { display: none !important; }
.hero__grid { grid-template-columns: 1.15fr 1fr; }
.hero__title { color: var(--ink); font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1.08; }
.hero__title-highlight { color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; }
.hero__subtitle { color: var(--ink-2); }
.hero__badge {
  background: #fff !important;
  color: var(--violet) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--diffusion) !important;
}
.hero__trust .badge { color: var(--ink-2); }
.hero .btn--primary { background: var(--g-brand-btn); color: #fff; box-shadow: var(--shadow-btn); }
.hero .btn--primary:hover { color: #fff; }
.hero .btn--secondary { background: #fff; color: var(--violet); border: 1px solid var(--line); box-shadow: var(--diffusion); }
.hero .btn--secondary:hover { background: var(--tint); color: var(--violet); }
.hero__image-wrapper img { filter: none; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { padding-top: calc(12px + 64px + 1.5rem); }
}

.final-cta__wrapper {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--diffusion);
  color: var(--ink);
}
.final-cta__title, .final-cta__title .text-gradient { color: var(--ink); -webkit-text-fill-color: var(--ink); }
.final-cta__subtitle { color: var(--ink-2); }
.final-cta__wrapper .btn--primary { background: var(--g-brand-btn); color: #fff; }

/* v5: кнопка в шапке — по форме пилюли; иконка прозрачная */
.header .header__cta {
  border-radius: 999px;
  height: 48px;
  min-height: 48px;
  padding: 0 1.4rem;
}
.header__inner { padding-right: 8px; }
.header__logo-icon { background: transparent; padding: 0; border-radius: 0; }

/* v6: бейдж цены в одну строку, цена без кривого переноса */
.pricing-card__badge {
  white-space: nowrap;
  width: max-content;
  top: -15px;
  padding: .45rem 1.1rem;
  line-height: 1.2;
}
.pricing-card__amount { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.15; }

/* v6: капсула у заголовков появляется вместе с текстом */
.section__header::before {
  transform: scaleY(0);
  transform-origin: top center;
  opacity: 0;
  transition: transform .6s cubic-bezier(.34, 1.4, .64, 1) .1s, opacity .3s ease .1s;
}
.section__header:has(.reveal.visible)::before,
.section__header:not(:has(.reveal))::before {
  transform: scaleY(1);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .section__header::before { transform: none; opacity: 1; transition: none; }
}

/* v7: видеоплеер — как в первой версии редизайна (стеклянный, тёмно-фиолетовый) */
.video-player {
  --c-primary: #5e4280;
  --c-primary-light: #9476b2;
  --c-accent-light: #9476b2;
  --c-border: rgba(255, 255, 255, .6);
  --g-primary: #2b2236;
  --r-lg: 22px;
  --r-2xl: 40px;
  --shadow-btn: 0 10px 24px -10px rgba(43,34,54,.6);
  --shadow-btn-hover: 0 14px 30px -10px rgba(43,34,54,.7);
}
.video-player__wrapper {
  padding: 0;
  border-radius: 32px;
  overflow: hidden;
  border: 0 !important;
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  backdrop-filter: blur(8px) saturate(1.15);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.75), inset 0 0 2px 1px #ffffff59, inset 0 0 10px 4px #ffffff26,
              0 12px 28px -13px rgba(30,20,45,.24), 0 3px 8px -4px rgba(30,20,45,.12) !important;
}
.video-player .btn { border-radius: 999px; }
.video-player .btn--primary { background: #2b2236; color: #fff; filter: none; }
.video-player .btn--primary:hover { background: #3a2e48; color: #fff; filter: none; }
.video-player .btn--secondary {
  background: rgba(255, 255, 255, .42); color: #2b2236; border: 0;
  -webkit-backdrop-filter: blur(8px) saturate(1.15); backdrop-filter: blur(8px) saturate(1.15);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.75), 0 12px 28px -13px rgba(30,20,45,.24);
}
.video-player .btn--secondary:hover { background: rgba(255, 255, 255, .6); color: #2b2236; }

/* v8: плеер — в наших цветах, без перебора */
.video-player {
  --c-primary: #7040c9;
  --c-primary-light: #a06ae8;
  --c-accent-light: #e987b6;
  --g-primary: linear-gradient(90deg, #630ed4 0%, #9d50bb 100%);
  --shadow-btn: 0 10px 20px -8px rgba(99, 14, 212, .45);
  --shadow-btn-hover: 0 14px 26px -8px rgba(99, 14, 212, .55);
}
.vp-big-play { background: linear-gradient(135deg, #630ed4 0%, #9d50bb 100%) !important; box-shadow: 0 10px 30px -6px rgba(99, 14, 212, .55) !important; }
.vp-progress__filled { background: linear-gradient(90deg, #7c3aed, #e987b6) !important; }
.video-player .btn--primary { background: linear-gradient(90deg, #630ed4 0%, #9d50bb 100%); color: #fff; box-shadow: var(--shadow-btn); }
.video-player .btn--primary:hover { background: linear-gradient(90deg, #630ed4 0%, #9d50bb 100%); filter: brightness(1.08); color: #fff; box-shadow: var(--shadow-btn-hover); }

/* ============================================
   v9: первый экран — заголовок слева, справа «сцена»: собаки идут по маршруту курса
   ============================================ */
.hero {
  padding: calc(16px + 64px + clamp(2rem, 1.2rem + 3vw, 4rem)) 0 clamp(2.5rem, 2rem + 2vw, 4rem);
}
.hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: center;
}
.hero__content { display: flex; flex-direction: column; gap: 1.5rem; }
.hero__title {
  margin: 0;
  font-size: clamp(2.3rem, 1.4rem + 3vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  max-width: 11ch;
  text-wrap: balance;
}
.hero__subtitle {
  margin: 0;
  font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem);
  line-height: 1.6;
  max-width: 30rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: .25rem 0 0; }
.hero__actions .btn { min-height: 56px; padding: 0 1.9rem; }
.hero__trust {
  list-style: none;
  margin: .25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-2);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { color: var(--violet); flex: none; }

/* Сцена */
.hero__stage {
  position: relative;
  border-radius: 40px;
  padding: clamp(1.25rem, .8rem + 2vw, 2.25rem) clamp(1rem, .6rem + 2vw, 2rem) clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background:
    radial-gradient(70% 60% at 50% 45%, #ffffff 0%, rgba(255,255,255,0) 70%),
    linear-gradient(160deg, #f3ebfa 0%, #f7f2fc 55%, #fbeef6 100%);
  border: 1px solid var(--line);
  box-shadow: var(--diffusion);
  display: flex;
  flex-direction: column;
  gap: clamp(.75rem, .5rem + 1vw, 1.25rem);
  overflow: hidden;
}
.hero__dogs {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  animation: dogs-walk-in 1.1s cubic-bezier(.22, 1, .36, 1) both .15s;
}
.hero__stage::after {
  /* тень под лапами */
  content: '';
  position: absolute;
  left: 14%; right: 14%;
  bottom: calc(clamp(1.25rem, 1rem + 1vw, 1.75rem) + 52px);
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(60, 30, 100, .16), transparent);
  pointer-events: none;
}

/* Маршрут курса: 5 точек — модули по порядку */
.hero__route {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  counter-reset: step;
}
.hero__route::before,
.hero__route::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 10%; right: 10%;
  height: 3px;
  border-radius: 3px;
  background: rgba(112, 64, 201, .14);
}
.hero__route::after {
  background: linear-gradient(90deg, #7c3aed, #e987b6);
  transform-origin: left center;
  animation: route-fill 1.4s cubic-bezier(.65, 0, .35, 1) both .5s;
}
.hero__route li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: #4a4257;
  text-align: center;
  line-height: 1.25;
}
.hero__route li::before {
  counter-increment: step;
  content: '';
  width: 17px; height: 17px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #a06ae8;
  box-shadow: 0 2px 6px rgba(112, 64, 201, .25);
}
.hero__route li:last-child::before {
  background: linear-gradient(135deg, #7c3aed, #e987b6);
  border-color: #fff;
  width: 21px; height: 21px;
  margin-top: -2px;
}

@keyframes dogs-walk-in {
  from { opacity: 0; transform: translateX(-6%); }
  to   { opacity: 1; transform: none; }
}
@keyframes route-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__dogs, .hero__route::after { animation: none; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { order: -1; max-width: 560px; width: 100%; margin: 0 auto; box-sizing: border-box; }
  .hero__content { align-items: flex-start; }
  .hero__title { max-width: 14ch; }
}
@media (max-width: 480px) {
  .hero__route li { font-size: .68rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stage { border-radius: 28px; }
}
@media (max-width: 900px) {
  .hero__content, .hero__title, .hero__subtitle { text-align: left; }
  .hero__actions, .hero__trust { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .hero__route li { font-size: .62rem; letter-spacing: -.01em; padding: 0 1px; }
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* ============================================
   v10: первый экран по центру — собаки на «пьедестале» в окружении навыков курса
   ============================================ */
.hero--center { padding: calc(16px + 64px + clamp(1.5rem, 1rem + 2vw, 3rem)) 0 clamp(2.5rem, 2rem + 2vw, 4rem); }
.hc { display: flex; flex-direction: column; align-items: center; text-align: center; }

.hc__scene {
  position: relative;
  width: min(100%, 760px);
  margin-bottom: clamp(1rem, .6rem + 1.5vw, 1.75rem);
}
.hc__dogs {
  position: relative;
  z-index: 2;
  display: block;
  width: 78%;
  height: auto;
  margin: 0 auto;
  animation: hc-dogs 1s cubic-bezier(.22, 1, .36, 1) both .1s;
}
.hc__pedestal {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 2%;
  width: 70%;
  height: 26%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, #ffffff 0%, #f1e7fb 55%, #ecdff8 100%);
  box-shadow:
    inset 0 -10px 18px rgba(112, 64, 201, .12),
    inset 0 6px 10px rgba(255, 255, 255, .9),
    0 18px 30px -16px rgba(112, 64, 201, .35);
}

.hc__chips { list-style: none; margin: 0; padding: 0; }
.hc__chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  backdrop-filter: blur(8px) saturate(1.15);
  border: 1px solid var(--line);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.8), 0 12px 24px -12px rgba(42, 29, 74, .28);
  animation: hc-chip .7s cubic-bezier(.34, 1.4, .64, 1) both;
}
.hc__chip svg { color: var(--violet); flex: none; }
.hc__chip--1 { left: 0;    top: 10%;  animation-delay: .55s; }
.hc__chip--2 { right: 0;   top: 4%;   animation-delay: .7s; }
.hc__chip--3 { left: 2%;   bottom: 22%; animation-delay: .85s; }
.hc__chip--4 { right: 2%;  bottom: 28%; animation-delay: 1s; }
.hc__chip--4 svg { color: #c2477f; }

.hc__title {
  margin: 0;
  font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
  color: var(--ink);
  max-width: 16ch;
  text-wrap: balance;
}
.hc__subtitle {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}
.hc__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 1.75rem; }
.hc__actions .btn { min-height: 56px; padding: 0 2rem; border-radius: 999px; }
.hc__proof { margin: 1.25rem 0 0; font-size: .95rem; color: var(--ink-2); }
.hc__proof strong { color: var(--ink); }
.hc__stars { color: #e8a33d; letter-spacing: 2px; margin-right: 4px; }

@keyframes hc-dogs { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes hc-chip { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hc__dogs, .hc__chip { animation: none; } }

@media (max-width: 640px) {
  .hc__dogs { width: 92%; }
  .hc__chip { font-size: .74rem; padding: 7px 11px; gap: 6px; }
  .hc__chip svg { width: 14px; height: 14px; }
  .hc__chip--1 { top: -2%; left: 0; }
  .hc__chip--2 { top: -2%; right: 0; }
  .hc__chip--3 { bottom: -4%; left: 0; }
  .hc__chip--4 { bottom: -4%; right: 0; }
  .hc__scene { margin-bottom: 2rem; padding-top: 1.75rem; }
  .hc__actions { width: 100%; flex-direction: column; }
  .hc__actions .btn { width: 100%; }
}
@media (min-width: 641px) {
  .hc__scene { width: min(100%, 820px); }
  .hc__dogs { width: 56%; }
  .hc__pedestal { width: 54%; }
  .hc__chip--1 { left: 2%; top: 18%; }
  .hc__chip--2 { right: 2%; top: 10%; }
  .hc__chip--3 { left: 6%; bottom: 14%; }
  .hc__chip--4 { right: 6%; bottom: 20%; }
  .hc__title { max-width: 20ch; font-size: clamp(2.2rem, 1.3rem + 2.8vw, 3.8rem); }
}

/* ============================================
   v11: блоки из приложения — «От промпта к Reels», устройства, выглядывающие собаки у цены
   ============================================ */
@property --p { syntax: '<percentage>'; inherits: true; initial-value: 0%; }

.how__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1rem, .6rem + 2vw, 2.5rem);
  align-items: center;
}
.how__col { display: flex; flex-direction: column; gap: 16px; }
.how__card {
  position: relative;
  border-radius: 26px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  backdrop-filter: blur(8px) saturate(1.15);
  border: 1px solid var(--line);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.8), 0 0 30px rgba(252, 121, 189, .10), var(--diffusion);
}
.how__step { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; color: var(--ink); margin-bottom: 12px; }
.how__num {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #7c3aed, #e987b6);
}
.how__prompt-head {
  display: flex; justify-content: space-between;
  font-size: .8rem; font-weight: 600; color: var(--ink-2);
  padding-bottom: 10px; margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.how__prompt-text { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--ink); }
.how__prompt-text mark {
  color: inherit;
  background: linear-gradient(transparent 58%, rgba(233, 135, 182, .3) 58%, rgba(233, 135, 182, .3) 90%, transparent 90%);
  padding: 0 1px;
}
.how__caret {
  display: inline-block; width: 2px; height: 1.1em; margin-left: 3px;
  vertical-align: -.15em; background: var(--violet);
  animation: how-caret 1s steps(1) infinite;
}

/* Таймлайн монтажа */
.how__timeline { overflow: hidden; }
.how__track { position: relative; }
.how__clips { display: flex; gap: 3px; height: 48px; }
.how__clips img { height: 100%; flex: 1 1 0; min-width: 0; object-fit: cover; border-radius: 4px; }
.how__clips img:nth-child(1), .how__clips img:nth-child(4) { flex-grow: 1.15; }
.how__wave {
  height: 14px; margin-top: 6px;
  background: linear-gradient(90deg, #7c3aed, #e987b6) 0 0 / var(--p) 100% no-repeat, #e9def6;
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 4px);
          mask: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 4px);
  clip-path: polygon(0 60%, 4% 20%, 8% 70%, 12% 10%, 16% 50%, 20% 30%, 24% 80%, 28% 15%, 32% 55%, 36% 25%, 40% 65%, 44% 10%, 48% 45%, 52% 30%, 56% 75%, 60% 20%, 64% 50%, 68% 15%, 72% 60%, 76% 30%, 80% 70%, 84% 20%, 88% 55%, 92% 25%, 96% 65%, 100% 35%, 100% 100%, 0 100%);
  animation: how-play 6s linear infinite;
}
.how__subs { position: relative; height: 6px; margin-top: 6px; border-radius: 4px; background: #f3ebfa; overflow: hidden; }
.how__subs-fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #7C3AED 0%, #9C5FE3 35%, #C965D4 68%, #E86AAF 100%);
  transform-origin: left; transform: scaleX(0);
  animation: how-fill 6s linear infinite;
}
.how__playhead {
  position: absolute; top: -6px; bottom: -4px; left: 0; width: 1px;
  background: #7C3AED; z-index: 3;
  animation: how-head 6s linear infinite;
}
.how__playhead::before {
  content: ""; position: absolute; top: -6px; left: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 1px solid rgba(124, 58, 237, .5); box-shadow: 0 0 8px rgba(124, 58, 237, .4);
}
.how__caption { margin: 12px 0 0; font-size: .85rem; color: var(--ink-2); }

/* Веер телефонов */
.how__phones { position: relative; height: clamp(380px, 30vw + 160px, 520px); }
.how__step--float {
  position: absolute; z-index: 5; top: 0; left: 50%; transform: translateX(-50%);
  white-space: nowrap; margin: 0;
  padding: 8px 14px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  box-shadow: var(--diffusion);
}
.how__glow {
  position: absolute; left: 50%; top: 55%; width: 70%; height: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(168, 85, 247, .35), rgba(233, 135, 182, .18), transparent);
  filter: blur(20px);
}
.how__phone {
  position: absolute; bottom: 0; left: 50%;
  height: 86%; width: auto;
  transform-origin: bottom center;
  filter: drop-shadow(0 20px 30px rgba(42, 29, 74, .22));
}
.how__phone--l { transform: translateX(-118%) rotate(-7deg) scale(.88); }
.how__phone--r { transform: translateX(18%) rotate(7deg) scale(.88); }
.how__phone--c { transform: translateX(-50%); z-index: 2; }

/* Устройства */
.how__sync {
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 24px;
  padding: clamp(20px, 1rem + 2vw, 36px);
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--diffusion);
}
.how__sync-text h3 { margin: 0 0 .5rem; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); }
.how__sync-text p { margin: 0; color: var(--ink-2); line-height: 1.55; max-width: 26rem; }
.how__devices { position: relative; height: clamp(170px, 12vw + 90px, 250px); }
.how__laptop { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: 88%; object-fit: contain; }
.how__mini-phone { position: absolute; left: 4%; bottom: 0; height: 82%; width: auto; z-index: 2; filter: drop-shadow(0 12px 18px rgba(42, 29, 74, .25)); }

@keyframes how-caret { 50% { opacity: 0; } }
@keyframes how-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes how-head { from { left: 0; } to { left: 100%; } }
@keyframes how-play { from { --p: 0%; } to { --p: 100%; } }

@media (max-width: 860px) {
  .how__grid { grid-template-columns: 1fr; }
  .how__phones { order: -1; height: 420px; }
  .how__sync { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .how__phones { height: 360px; }
  .how__phone--l { transform: translateX(-108%) rotate(-7deg) scale(.82); }
  .how__phone--r { transform: translateX(8%) rotate(7deg) scale(.82); }
  .how__devices { height: 170px; }
}

/* Выглядывающие Шарик и Тузик у карточки цены (как в тарифах приложения) */
.pricing-single { position: relative; isolation: isolate; }
.pricing-single .pricing-card { position: relative; z-index: 2; }
.peek {
  position: absolute; z-index: 1;
  top: 16%;
  width: clamp(120px, 9vw + 60px, 170px);
  aspect-ratio: 1;
  pointer-events: none;
  transition: transform .9s cubic-bezier(.34, 1.4, .64, 1) .4s;
}
.peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.peek__blink { opacity: 0; animation: peek-blink 5s infinite; }
.peek__open { animation: peek-open 5s infinite; }
.peek--right .peek__blink, .peek--right .peek__open { animation-delay: 1.3s; }
@keyframes peek-blink { 0%, 92%, 100% { opacity: 0; } 94%, 97% { opacity: 1; } }
@keyframes peek-open  { 0%, 92%, 100% { opacity: 1; } 94%, 97% { opacity: 0; } }
@media (max-width: 640px) { .peek { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .how__caret, .how__wave, .how__subs-fill, .how__playhead, .peek__blink, .peek__open { animation: none; }
  .peek { transition: none; }
}
.peek--left  { right: calc(50% + min(220px, 50%) - 40px); }
.peek--right { left:  calc(50% + min(220px, 50%) - 40px); }
@media (max-width: 860px) {
  .how__grid { display: flex; flex-direction: column; gap: 16px; }
  .how__col { display: contents; }
  .how__prompt { order: 1; }
  .how__phones { order: 2; margin-top: 8px; }
  .how__timeline { order: 3; }
}

/* ============================================
   v12: анимации из приложения (управляются how.js)
   ============================================ */

/* --- Веер телефонов по скроллу: --fan 0 (стопка) → 1 (веер) --- */
.how__phones { --fan: 0; perspective: 1200px; }
.how__phone { transition: none; will-change: transform; }
.how__phone--c {
  transform: translateX(-50%) translateY(calc(var(--fan) * -12px)) scale(calc(1 + var(--fan) * .05));
}
.how__phone--l {
  transform:
    translateX(calc(-50% - var(--fan) * 68%))
    translateY(calc(14px - var(--fan) * 14px))
    rotateZ(calc(-4deg - var(--fan) * 4deg))
    rotateY(calc(var(--fan) * 6deg))
    scale(calc(.91 - var(--fan) * .03));
}
.how__phone--r {
  transform:
    translateX(calc(-50% + var(--fan) * 68%))
    translateY(calc(14px - var(--fan) * 14px))
    rotateZ(calc(4deg + var(--fan) * 4deg))
    rotateY(calc(var(--fan) * -6deg))
    scale(calc(.91 - var(--fan) * .03));
}
.how__glow { opacity: calc(.15 + var(--fan) * .85); }
@media (max-width: 480px) {
  .how__phone--l { transform: translateX(calc(-50% - var(--fan) * 58%)) rotateZ(calc(-4deg - var(--fan) * 4deg)) scale(calc(.86 - var(--fan) * .04)); }
  .how__phone--r { transform: translateX(calc(-50% + var(--fan) * 58%)) rotateZ(calc(4deg + var(--fan) * 4deg)) scale(calc(.86 - var(--fan) * .04)); }
}

/* --- Промпт печатается по словам --- */
.how__prompt-text.is-typing .how__word { opacity: .12; filter: blur(2px); transition: opacity .35s ease, filter .35s ease; }
.how__prompt-text.is-typing .how__word.is-on { opacity: 1; filter: none; }
.how__prompt-text mark { background-size: 0% 100%; background-repeat: no-repeat; transition: background-size .6s ease .2s; }
.how__prompt-text.is-done mark, .how__prompt-text:not(.is-typing) mark { background-size: 100% 100%; }
.how__prompt-text mark .how__word.is-on { text-shadow: 0 0 14px rgba(233, 135, 182, .45); }
.how__prompt { transition: box-shadow .6s ease; }
.how__prompt:has(.is-done) { box-shadow: inset 1px 1px 0 rgba(255,255,255,.8), 0 0 36px rgba(252, 121, 189, .22), var(--diffusion); }

/* --- Таймлайн: --play 0..1 из how.js (заменяет бесконечные CSS-анимации) --- */
.how__track { --play: 0; }
.how__wave { animation: none; --p: calc(var(--play) * 100%); }
.how__subs-fill { animation: none; transform: scaleX(var(--play)); }
.how__playhead { animation: none; left: calc(var(--play) * 100%); }
.how__clips img {
  opacity: 0; transform: scale(.97);
  border: 2px solid transparent;
  box-sizing: border-box;
  transition: opacity .4s ease, transform .4s ease, border-color .2s ease, filter .3s ease;
}
.how__timeline.is-in .how__clips img { opacity: 1; transform: none; }
.how__timeline.is-in .how__clips img:nth-child(2) { transition-delay: .08s, .08s, 0s, 0s; }
.how__timeline.is-in .how__clips img:nth-child(3) { transition-delay: .16s, .16s, 0s, 0s; }
.how__timeline.is-in .how__clips img:nth-child(4) { transition-delay: .24s, .24s, 0s, 0s; }
.how__clips img.is-active { border-color: rgba(124, 58, 237, .6); filter: saturate(1.15) brightness(1.05); transform: scale(1.03); }
.how__sweep {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  width: 50%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-250%) skewX(-20deg);
}
.how__timeline.is-sweep .how__sweep { animation: how-sweep .9s ease-in-out; }
@keyframes how-sweep { from { transform: translateX(-250%) skewX(-20deg); } to { transform: translateX(300%) skewX(-20deg); } }
.how__timeline:not(.is-in) .how__step, .how__timeline:not(.is-in) .how__caption { opacity: 0; transform: translateY(8px); }
.how__timeline .how__step, .how__timeline .how__caption { transition: opacity .4s ease .1s, transform .4s ease .1s; }

/* --- Телефон и ноутбук --- */
.how__mini-phone { opacity: 0; transform: translateX(-28px) rotate(-4deg); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.how__laptop { opacity: 0; transform: translateX(32px) scale(.96); transition: opacity .7s cubic-bezier(.22,1,.36,1) .15s, transform .7s cubic-bezier(.22,1,.36,1) .15s; }
.how__sync.is-in .how__mini-phone { opacity: 1; transform: none; }
.how__sync.is-in .how__laptop { opacity: 1; transform: none; }
.how__sync-text > * { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.how__sync-text p { transition-delay: .12s; }
.how__sync.is-in .how__sync-text > * { opacity: 1; transform: none; }
.how__sync-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; overflow: visible; pointer-events: none; }
.how__sync-path {
  fill: none; stroke: url(#howSyncGrad); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 2 7;
  opacity: 0; transition: opacity .5s ease;
  animation: how-dash 1.2s linear infinite;
}
.how__sync-dot { fill: #b98cff; filter: drop-shadow(0 0 6px rgba(185, 140, 255, .9)); opacity: 0; transition: opacity .4s ease .2s; }
.how__sync.is-linked .how__sync-path, .how__sync.is-linked .how__sync-dot { opacity: 1; }
.how__sync-pulse {
  position: absolute; z-index: 4; left: var(--tx, 50%); top: var(--ty, 30%);
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: #b98cff; box-shadow: 0 0 10px 4px rgba(185, 140, 255, .6);
  opacity: 0;
}
.how__sync.is-linked .how__sync-pulse { animation: how-pulse 1.8s ease-out infinite; }
@keyframes how-dash { to { stroke-dashoffset: -18; } }
@keyframes how-pulse {
  0%, 80% { opacity: 0; transform: scale(.6); }
  88% { opacity: 1; transform: scale(1.4); }
  100% { opacity: 0; transform: scale(2.4); }
}

/* --- Шарик и Тузик: прячутся за карточку и снова выглядывают; моргают только веки --- */
.peek { transition: none; }
.peek__rig { position: absolute; inset: 0; }
.peek--left  .peek__rig { transform-origin: 82% 66%; animation: peek-hide-left 11s cubic-bezier(.45,0,.2,1) infinite 1.2s; }
.peek--right .peek__rig { transform-origin: 17.5% 66%; animation: peek-hide-right 11s cubic-bezier(.45,0,.2,1) infinite 4.7s; }
@keyframes peek-hide-left {
  0%, 46%  { transform: translateX(0) rotate(0); }
  50%      { transform: translateX(4%) rotate(4deg); }
  56%, 70% { transform: translateX(62%) rotate(8deg); }
  78%      { transform: translateX(-4%) rotate(-5deg); }
  84%      { transform: translateX(1%) rotate(2deg); }
  90%, 100%{ transform: translateX(0) rotate(0); }
}
@keyframes peek-hide-right {
  0%, 46%  { transform: translateX(0) rotate(0); }
  50%      { transform: translateX(-4%) rotate(-4deg); }
  56%, 70% { transform: translateX(-62%) rotate(-8deg); }
  78%      { transform: translateX(4%) rotate(5deg); }
  84%      { transform: translateX(-1%) rotate(-2deg); }
  90%, 100%{ transform: translateX(0) rotate(0); }
}
.peek__open { animation: none; opacity: 1; }
.peek--left .peek__blink {
  -webkit-mask-image: radial-gradient(ellipse 10% 7% at 40% 38%, #000 60%, transparent 100%), radial-gradient(ellipse 9% 7% at 64% 27%, #000 60%, transparent 100%);
          mask-image: radial-gradient(ellipse 10% 7% at 40% 38%, #000 60%, transparent 100%), radial-gradient(ellipse 9% 7% at 64% 27%, #000 60%, transparent 100%);
}
.peek--right .peek__blink {
  -webkit-mask-image: radial-gradient(ellipse 10% 7% at 44% 41%, #000 60%, transparent 100%), radial-gradient(ellipse 10% 7% at 65% 51%, #000 60%, transparent 100%);
          mask-image: radial-gradient(ellipse 10% 7% at 44% 41%, #000 60%, transparent 100%), radial-gradient(ellipse 10% 7% at 65% 51%, #000 60%, transparent 100%);
}
.peek__blink { animation: peek-blink2 4.2s infinite; }
.peek--right .peek__blink { animation-delay: 1.6s; }
@keyframes peek-blink2 { 0%, 90%, 100% { opacity: 0; } 92%, 95% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .how__phone, .how__mini-phone, .how__laptop, .how__sync-text > *, .how__clips img { transition: none; }
  .how__sync-path, .how__sync-pulse, .peek__rig, .peek__blink, .how__sweep { animation: none !important; }
}

/* v13: телефон и ноутбук — без анимации; курсор промпта появляется вместе с текстом */
.how__mini-phone, .how__laptop, .how__sync-text > * { opacity: 1 !important; transform: none !important; transition: none !important; }
.how__prompt-text.is-typing .how__caret { margin-left: 0; }

/* v14: цикл «спрятался/выглянул» ведёт how.js; в спрятанном состоянии собаку не видно совсем */
.peek--left .peek__rig, .peek--right .peek__rig { animation: none; transition: transform .8s cubic-bezier(.34, 1.3, .64, 1), opacity .25s ease; }
.peek--left.is-hiding .peek__rig  { transform: translateX(110%) rotate(8deg); opacity: 0; transition: transform .75s cubic-bezier(.55, 0, .7, .2), opacity .2s ease .55s; }
.peek--right.is-hiding .peek__rig { transform: translateX(-110%) rotate(-8deg); opacity: 0; transition: transform .75s cubic-bezier(.55, 0, .7, .2), opacity .2s ease .55s; }

/* v15: телефон + планшет + ноутбук — одной собранной композицией */
.how__devices { height: clamp(200px, 14vw + 100px, 280px); }
.how__laptop { right: 0; bottom: 6px; height: 92%; max-width: 74%; z-index: 1; }
.how__tablet {
  position: absolute; z-index: 2;
  left: 16%; bottom: 0;
  height: 66%; aspect-ratio: 4 / 3;
  padding: 6px;
  box-sizing: border-box;
  border-radius: 16px;
  background: linear-gradient(145deg, #3a3546, #1d1a24);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 16px 26px -10px rgba(42, 29, 74, .45);
}
.how__tablet-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 11px; overflow: hidden; background: #000;
}
.how__tablet-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.how__tablet-play {
  position: absolute; left: 50%; top: 46%; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.35);
}
.how__tablet-play::after {
  content: ""; position: absolute; left: 11px; top: 8px;
  border-left: 10px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.how__tablet-bar { position: absolute; left: 10px; right: 10px; bottom: 9px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); }
.how__tablet-bar span { display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7c3aed, #e987b6); }
.how__mini-phone { left: 2%; bottom: 0; height: 74%; z-index: 3; }
@media (max-width: 480px) {
  .how__devices { height: 190px; }
  .how__tablet { left: 14%; height: 60%; }
  .how__laptop { max-width: 72%; }
}

/* v16: планшет — картинка-мокап в стиле телефона и ноутбука */
.how__tablet {
  padding: 0; background: none; border-radius: 0; box-shadow: none;
  aspect-ratio: auto; width: auto; height: 64%;
  left: 15%; bottom: 0;
  filter: drop-shadow(0 14px 20px rgba(42, 29, 74, .25));
}

/* v17: устройства — ровная «витрина»: ноутбук по центру, планшет слева, телефон справа,
   все стоят на одной линии с общей мягкой тенью */
.how__devices { height: auto; aspect-ratio: 16 / 8; max-width: 620px; width: 100%; margin-left: auto; }
.how__devices::before {
  content: ""; position: absolute; z-index: 0;
  left: 4%; right: 4%; bottom: -2%; height: 9%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(60, 30, 110, .22), transparent);
  filter: blur(2px);
}
.how__laptop {
  left: 50%; right: auto; bottom: 1%;
  width: 66%; height: auto; max-width: none;
  transform: translateX(-50%) !important;
  z-index: 1;
}
.how__tablet {
  left: 0; bottom: 0;
  width: 37%; height: auto;
  z-index: 2;
  filter: drop-shadow(0 10px 16px rgba(42, 29, 74, .22));
}
.how__mini-phone {
  left: auto; right: 3%; bottom: 0;
  height: 56%; width: auto;
  z-index: 3;
  filter: drop-shadow(0 10px 16px rgba(42, 29, 74, .25));
}
@media (max-width: 480px) {
  .how__devices { height: auto; }
}
.how__mini-phone { right: 9%; height: 58%; }
.how__tablet { left: 3%; }
.how__mini-phone { right: 8%; height: 64%; }
@media (max-width: 860px) {
  .how__grid { align-items: stretch; }
  .how__phones { width: 100%; align-self: stretch; }
}

/* ============================================
   v18: верхняя панель — материал 1:1 из top_panel_liquid_glassTemplate.html
   ============================================ */
.header.glass-island,
.header.glass-island.scrolled {
  background: transparent !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0;
  border-radius: 999px;
  overflow: clip;
  box-shadow: 0 12px 28px -13px rgba(30,20,45,.24), 0 3px 8px -4px rgba(30,20,45,.12);
}
.header.glass-island::before { content: none; display: none; }
.glass-island .island-surface {
  position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  pointer-events: none; overflow: hidden; isolation: isolate;
}
.glass-island .island-filter,
.glass-island .island-overlay,
.glass-island .island-specular { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.glass-island .island-filter {
  z-index: 0; isolation: isolate; background: transparent;
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  backdrop-filter: blur(8px) saturate(1.15);
}
.glass-island .island-overlay { z-index: 1; background: rgba(255,255,255,.36); }
.glass-island .island-specular {
  z-index: 2; opacity: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 45%);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.75), inset 0 0 2px 1px #ffffff59, inset 0 0 10px 4px #ffffff26,
              inset 0 4px 16px #11111a0d, inset 0 8px 24px #11111a0d, inset 0 6px 56px #11111a0d;
}
.glass-island > :not(.island-surface) { position: relative; z-index: 3; }
@supports not (backdrop-filter: blur(1px)) { .glass-island .island-surface { background: rgba(250,246,255,.85); } }
@media (forced-colors: active) { .glass-island { border: 1px solid CanvasText; } }

/* ============================================
   v19: рисовка из «Текстового урока» — маркеры от руки, стрелка, картинка с бумагой
   ============================================ */
.rough-target { position: relative; }
.rough-title + .rough-annotation { z-index: -1; }
.section__title { isolation: isolate; }
.pricing-card__old-price { text-decoration: none !important; }
.stat-card__number .rough-circle { display: inline-block; }

/* Стрелка «начни отсюда» в первом экране */
.hc__actions { position: relative; }
.hc__note {
  position: absolute;
  left: calc(100% + 6px);
  top: -34px;
  width: 150px;
  pointer-events: none;
  color: #9271AD;
}
.hc__note span {
  display: block;
  margin-left: 52px;
  font-family: 'Caveat', 'Segoe Print', 'Comic Sans MS', cursive;
  font-size: 1.45rem;
  line-height: 1;
  transform: rotate(-6deg);
  opacity: 0;
  transition: opacity .5s ease .9s;
}
.hc__note svg { display: block; width: 120px; height: 70px; overflow: visible; }
.doodle-path, .doodle path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dashoffset .9s cubic-bezier(.6, 0, .3, 1);
}
.hc__note svg .doodle-path:nth-child(2) { transition-delay: .85s; transition-duration: .3s; }
.hc__note.is-drawn .doodle-path, .doodle.is-drawn path { stroke-dashoffset: 0 !important; }
.hc__note.is-drawn span { opacity: 1; }
@media (max-width: 860px) { .hc__note { display: none; } }

/* Программа: картинка «Шарик и Тузик с уроком» рядом с модулями */
.program__layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  align-items: start;
}
.program__layout .accordion { max-width: none; margin: 0; }
.program__art {
  position: sticky;
  top: calc(16px + 64px + 20px);
  margin: 0;
  border-radius: 28px;
  overflow: visible;
}
.program__art img {
  display: block; width: 100%; height: auto;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--diffusion-hover);
  transform: rotate(-1.5deg);
}
.doodle--spark {
  position: absolute; right: -14px; top: -22px;
  width: 54px; height: 54px; color: #9271AD;
}
.doodle--spark path { stroke-width: 3; transition-duration: .5s; }
@media (max-width: 900px) {
  .program__layout { grid-template-columns: 1fr; }
  .program__art { position: relative; top: 0; max-width: 520px; width: 100%; margin: 0 auto; }
  .doodle--spark { right: 4px; }
}
.hc__note { left: auto; right: calc(100% + 4px); top: -40px; text-align: right; }
.hc__note svg { transform: scaleX(-1); margin-left: auto; }
.hc__note span { margin: 0 46px 2px 0; transform: rotate(5deg); }
.hc__note span { white-space: nowrap; }

/* v20: живые значки в первом экране — парят, покачиваются, по стеклу пробегает блик, иконка «дышит» */
.hc__chip { overflow: hidden; }
.hc__chip--1 { animation: hc-chip .7s cubic-bezier(.34,1.4,.64,1) both .55s, hc-float-a 5.2s ease-in-out 1.3s infinite; }
.hc__chip--2 { animation: hc-chip .7s cubic-bezier(.34,1.4,.64,1) both .7s,  hc-float-b 6.1s ease-in-out 1.5s infinite; }
.hc__chip--3 { animation: hc-chip .7s cubic-bezier(.34,1.4,.64,1) both .85s, hc-float-b 5.6s ease-in-out 1.7s infinite reverse; }
.hc__chip--4 { animation: hc-chip .7s cubic-bezier(.34,1.4,.64,1) both 1s,   hc-float-a 6.4s ease-in-out 1.9s infinite reverse; }
@keyframes hc-float-a {
  0%, 100% { translate: 0 0;     rotate: 0deg; }
  30%      { translate: 3px -9px; rotate: -2deg; }
  65%      { translate: -2px -4px; rotate: 1.5deg; }
}
@keyframes hc-float-b {
  0%, 100% { translate: 0 0;      rotate: 0deg; }
  35%      { translate: -4px -7px; rotate: 2deg; }
  70%      { translate: 2px -11px; rotate: -1deg; }
}
/* блик по стеклу */
.hc__chip::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.85), transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: hc-shine 7s ease-in-out infinite;
  pointer-events: none;
}
.hc__chip--1::after { animation-delay: 2s; }
.hc__chip--2::after { animation-delay: 3.6s; }
.hc__chip--3::after { animation-delay: 5.2s; }
.hc__chip--4::after { animation-delay: 6.8s; }
@keyframes hc-shine {
  0%, 82%  { transform: translateX(-160%) skewX(-18deg); }
  100%     { transform: translateX(330%) skewX(-18deg); }
}
/* иконка «дышит» и чуть подмигивает */
.hc__chip svg { animation: hc-icon 3.4s ease-in-out infinite; transform-origin: 50% 50%; }
.hc__chip--2 svg { animation-delay: .8s; }
.hc__chip--3 svg { animation-delay: 1.6s; }
.hc__chip--4 svg { animation-delay: 2.4s; }
@keyframes hc-icon {
  0%, 70%, 100% { transform: scale(1) rotate(0); }
  78%           { transform: scale(1.22) rotate(-10deg); }
  86%           { transform: scale(.95) rotate(6deg); }
  93%           { transform: scale(1.06) rotate(0); }
}
/* при наведении — значок приподнимается */
.hc__chip { transition: box-shadow .3s ease; }
@media (hover: hover) {
  .hc__chip:hover { box-shadow: inset 1px 1px 0 rgba(255,255,255,.8), 0 18px 30px -12px rgba(112, 64, 201, .35); }
}
@media (prefers-reduced-motion: reduce) {
  .hc__chip, .hc__chip::after, .hc__chip svg { animation: none !important; }
}

/* v21: 4 отзыва сеткой 2×2; у результатов — свои иконки */
.reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .reviews-grid { grid-template-columns: 1fr; } }

.result-item__check {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f7f0fd 0%, #fbeef6 100%);
  border: 1px solid rgba(124, 58, 237, .12);
  box-shadow: inset 1px 1px 0 #fff, 0 8px 18px -10px rgba(124, 58, 237, .45);
  display: grid; place-items: center;
  font-size: 0;
}
.result-item__check svg { display: block; transition: transform .45s cubic-bezier(.34, 1.5, .64, 1); }
@media (hover: hover) {
  .result-item:hover .result-item__check svg { transform: scale(1.14) rotate(-8deg); }
}

/* ============================================
   v22: программа курса — список как «разбор сцены» в Текстовом уроке приложения:
   тонкие разделители, «+» поворачивается в «×», раскрытие по высоте 0fr→1fr.
   Номера 01–05 остаются плашками, как были.
   ============================================ */
#program .accordion { gap: 0; border-top: 1px solid #dcd0e3; }
#program .accordion__item,
#program .accordion__item:hover,
#program .accordion__item.active {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #e3d8e9 !important;
  border-radius: 0;
  box-shadow: none !important;
  overflow: visible;
}
#program .accordion__header {
  padding: 17px 0;
  gap: 13px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.3px;
  color: #37283f;
}
#program .accordion__header:hover { color: #37283f; }
#program .accordion__header:focus-visible { outline: 2px solid #aa82c3; outline-offset: 2px; border-radius: 5px; }

/* «+» как в приложении: тонкий, лиловый, поворачивается на 45° */
#program .accordion__icon { width: 16px; height: 16px; transition: transform .34s cubic-bezier(.22, 1, .36, 1); }
#program .accordion__icon::before,
#program .accordion__icon::after { background: #9e80af; }
#program .accordion__icon::before { height: 1.5px; }
#program .accordion__icon::after  { width: 1.5px; }
#program .accordion__item.active .accordion__icon { transform: rotate(45deg); }
#program .accordion__item.active .accordion__icon::after { transform: translateX(-50%); opacity: 1; }

/* Раскрытие: высота 0fr → 1fr и плавное появление */
#program .accordion__body {
  max-height: none !important;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: visible;
  transition: grid-template-rows .34s cubic-bezier(.22, 1, .36, 1), opacity .25s ease;
}
#program .accordion__item.active .accordion__body { grid-template-rows: 1fr; opacity: 1; }
#program .accordion__content {
  min-height: 0;
  overflow: hidden;
  padding: 0 0 22px calc(2.25rem + 13px);
  color: #716278;
  font-size: 16px;
  line-height: 1.65;
}
#program .accordion__content li::before { color: #b99bd0; font-weight: 500; }
@media (prefers-reduced-motion: reduce) {
  #program .accordion__body, #program .accordion__icon { transition: none; }
}

/* ============================================
   v23: программа курса = «разбор сцены» из Текстового урока приложения
   картинка с лупой + список с разделителями, текст и сиреневый блок внутри
   ============================================ */
.program__layout.scene-study {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 1rem + 2vw, 3rem);
  align-items: start;
}
.scene-figure {
  position: sticky;
  top: calc(16px + 64px + 20px);
  margin: 0;
}
.scene-stage { position: relative; width: 100%; aspect-ratio: 3 / 2; isolation: isolate; }
.scene-stage > img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--diffusion-hover);
}
.scene-lens {
  position: absolute; z-index: 2; pointer-events: none;
  border-radius: 50%; overflow: hidden;
  border: 1px solid #ffffffb3;
  box-shadow: 0 8px 20px #160c3038, 0 1px 3px #150c2330;
  transition: left .52s cubic-bezier(.22,1,.36,1), top .52s cubic-bezier(.22,1,.36,1), width .52s, height .52s, opacity .22s, transform .42s cubic-bezier(.34,1.4,.64,1);
  transform: scale(1);
}
.scene-lens.is-hidden { opacity: 0; transform: scale(.85); }
.scene-lens-optics { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.scene-lens-optics img {
  position: absolute; max-width: none; object-fit: fill;
  transition: left .52s cubic-bezier(.22,1,.36,1), top .52s cubic-bezier(.22,1,.36,1), width .52s, height .52s;
}
.scene-lens-shine {
  position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 2px 3px #fff9, inset 2px 0 4px #fff5, inset 0 -4px 8px #24203555;
  background: linear-gradient(135deg, #ffffff38, transparent 32%, transparent 70%, #ffffff26);
}

.scene-reading { border-top: 1px solid #dcd0e3; }
.scene-observation { border-bottom: 1px solid #e3d8e9; }
.scene-summary {
  display: flex; gap: 13px; align-items: center;
  width: 100%; text-align: left;
  padding: 17px 0;
  background: none; border: 0; cursor: pointer;
  font: inherit; color: #37283f;
  font-size: 17px; line-height: 1.4; font-weight: 600; letter-spacing: -.3px;
}
.scene-summary:focus-visible { outline: 2px solid #aa82c3; outline-offset: 2px; border-radius: 5px; }
/* номера — как на сайте (фиолетовые, жирные), но без плашки */
.scene-number {
  flex: 0 0 26px;
  font-size: .9rem; font-weight: 700;
  color: #7040c9;
  font-variant-numeric: tabular-nums;
}
.scene-title { flex: 1; }
.scene-toggle {
  font-size: 23px; font-weight: 400; line-height: 1;
  color: #9e80af; margin-left: auto;
  transition: transform .2s;
}
.scene-observation.is-open .scene-toggle { transform: rotate(45deg); }

.scene-reveal {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .34s cubic-bezier(.22,1,.36,1), opacity .25s;
}
.scene-observation.is-open .scene-reveal { grid-template-rows: 1fr; opacity: 1; }
.scene-reveal-inner { overflow: hidden; min-height: 0; }
.scene-body { padding: 0 0 22px 39px; }
.scene-body > p { margin: 0 0 8px; font-size: 16px; line-height: 1.65; color: #716278; }
.scene-phrase {
  padding: 26px 20px 30px;
  background: linear-gradient(180deg, #fcfbfe 0, #eee5f3 28px);
  border-radius: 0 0 58px 58px / 0 0 48px 48px;
}
.scene-phrase > span { font-size: 10px; text-transform: uppercase; letter-spacing: .13em; color: #8b689f; font-weight: 600; }
.scene-phrase ul { list-style: none; margin: 7px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.scene-phrase li { position: relative; padding-left: 16px; font-size: 16px; line-height: 1.55; color: #493451; }
.scene-phrase li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: #b99bd0; }

.scene-figure .doodle--spark { position: absolute; right: -14px; top: -22px; width: 54px; height: 54px; color: #9271AD; }

@media (max-width: 900px) {
  .program__layout.scene-study { grid-template-columns: 1fr; }
  .scene-figure { top: calc(12px + 64px + 8px); z-index: 5; background: #fcfbfe; padding: 6px 0 12px; box-shadow: 0 12px 12px -10px #fcfbfe; }
  .scene-stage { width: min(100%, 48svh * 1.5); margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-lens, .scene-lens-optics img, .scene-reveal, .scene-toggle { transition: none; }
}

/* v24: без лупы и без блока «Внутри модуля» — только пункты модуля текстом */
.scene-body ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.scene-body li { position: relative; padding-left: 16px; font-size: 16px; line-height: 1.6; color: #716278; }
.scene-body li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 5px; height: 5px; border-radius: 50%; background: #b99bd0; }

/* ============================================
   v25: наполнение карточки цены — переключатель валюты, крупная цена, фичи с иконками
   ============================================ */
.pricing-card--single { text-align: left; }
.pricing-card__name { font-size: 1.6rem; margin-bottom: .25rem; }
.pricing-card__desc { color: var(--ink-2); margin-bottom: 1.25rem; }

.pc-cur {
  --i: 0;
  position: relative;
  display: inline-grid; grid-template-columns: repeat(3, 44px);
  padding: 4px; border-radius: 999px;
  background: #f3ebfa;
  border: 1px solid rgba(124, 58, 237, .1);
  margin-bottom: 1rem;
}
.pc-cur__thumb {
  position: absolute; top: 4px; left: 4px; width: 44px; bottom: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #630ed4, #9d50bb);
  box-shadow: 0 6px 14px -6px rgba(99, 14, 212, .6);
  transform: translateX(calc(var(--i) * 44px));
  transition: transform .42s cubic-bezier(.34, 1.4, .64, 1);
}
.pc-cur button {
  position: relative; z-index: 1;
  height: 34px; border: 0; background: none; cursor: pointer;
  font: 700 15px/1 Inter, sans-serif; color: #625a6d;
  border-radius: 999px;
  transition: color .25s;
}
.pc-cur button[aria-checked="true"] { color: #fff; }
.pc-cur button:focus-visible { outline: 2px solid #9476b2; outline-offset: 2px; }

.pc-price { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.pc-price__now {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-size: clamp(2.6rem, 2rem + 2vw, 3.3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(115deg, #630ed4, #b44fc0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pc-price__sym { font-size: .62em; letter-spacing: 0; }
.pc-price__side { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 6px; }
.pc-price__old { font-size: .95rem; color: #9a90a6; text-decoration-color: #ca8b89; text-decoration-thickness: 1.5px; }
.pc-price__off {
  font-size: .78rem; font-weight: 700; color: #fff;
  padding: 3px 8px; border-radius: 999px;
  background: linear-gradient(90deg, #db2777, #ef625b);
}
.pc-price__note { margin: .6rem 0 1.4rem; font-size: .88rem; color: var(--ink-2); }
.pc-price__now, .pc-price__side, .pc-price__note { transition: opacity .16s ease, transform .16s ease; }
.pricing-card.is-swapping .pc-price__now,
.pricing-card.is-swapping .pc-price__side { opacity: 0; transform: translateY(6px); }

.pc-feats {
  list-style: none; margin: 0 0 1.5rem; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
}
.pc-feat {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #faf6fd;
  border: 1px solid rgba(124, 58, 237, .08);
}
.pc-feat svg {
  flex: none; width: 34px; height: 34px; padding: 7px; box-sizing: border-box;
  border-radius: 11px; background: #fff;
  box-shadow: inset 1px 1px 0 #fff, 0 4px 10px -6px rgba(124, 58, 237, .5);
}
.pc-feat span { display: flex; flex-direction: column; min-width: 0; }
.pc-feat strong { font-size: .88rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.pc-feat small { font-size: .75rem; color: #7d7488; line-height: 1.3; }
@media (max-width: 380px) { .pc-feats { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pc-cur__thumb, .pc-price__now, .pc-price__side { transition: none; } }
.pricing-single { max-width: 520px; }
.pricing-card--single { max-width: 520px; width: 100%; }
.peek--left  { right: calc(50% + min(260px, 50%) - 40px); }
.peek--right { left:  calc(50% + min(260px, 50%) - 40px); }
.pc-cur { align-self: flex-start; width: max-content; }

/* v27: Шарик и Тузик выглядывают и на телефоне — карточка чуть уже, собаки по краям экрана */
@media (max-width: 640px) {
  #pricing { overflow-x: clip; }
  .pricing-single { padding-inline: 30px; box-sizing: border-box; }
  .peek {
    display: block;
    width: 100px;
    top: 10%;
  }
  .peek--left  { right: auto; left: -28px; }
  .peek--right { left: auto; right: -28px; }
}
@media (max-width: 640px) {
  .pricing-single { padding-inline: 36px; }
  .peek { width: 96px; }
  .peek--left  { left: -12px; }
  .peek--right { right: -12px; }
}
@media (max-width: 640px) {
  .pricing-single { padding-inline: 30px; }
  .pricing-card--single { padding: 28px 20px 22px; }
  .peek { width: 96px; }
  .peek--left  { left: -20px; }
  .peek--right { right: -20px; }
}

/* v30: финальный блок — Шарик и Тузик нажимают play */
.final-cta__dogs {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto 1.25rem;
  position: relative;
  filter: drop-shadow(0 14px 18px rgba(60, 30, 100, .14));
  transform-origin: 50% 100%;
}
.final-cta__wrapper.visible .final-cta__dogs { animation: cta-dogs-in .9s cubic-bezier(.34, 1.4, .64, 1) both .1s; }
@keyframes cta-dogs-in { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) { .final-cta__dogs { width: min(100%, 280px); } }
@media (prefers-reduced-motion: reduce) { .final-cta__wrapper.visible .final-cta__dogs { animation: none; } }
.final-cta__line { display: block; } .final-cta__title { text-wrap: balance; }

/* v32: кнопка play на плеере — стеклянная, как в экране «Бесплатный урок» приложения */
.video-player .vp-big-play {
  width: 70px !important; height: 70px !important;
  display: grid !important; place-items: center;
  border-radius: 50% !important;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.09) 0%, rgba(18,18,24,.16) 48%, rgba(255,255,255,.05) 100%) !important;
  -webkit-backdrop-filter: blur(6px) saturate(115%) brightness(.98) contrast(1.04);
  backdrop-filter: blur(6px) saturate(115%) brightness(.98) contrast(1.04);
  border: 1px solid rgba(255,255,255,.2) !important;
  box-shadow: 0 7px 20px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(0,0,0,.16) !important;
  color: #fff;
  transition: transform 180ms cubic-bezier(.16, 1, .3, 1);
}
.video-player .vp-big-play svg {
  width: 28px; height: 30px; margin: 0;
  position: relative; z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
}
.video-player .vp-big-play:hover { transform: translate(-50%, -50%) scale(1.035); }
.video-player .vp-big-play:active { transform: translate(-50%, -50%) scale(.95); }
.video-player .vp-big-play { padding: 0 !important; }
.video-player .vp-big-play.hidden { display: none !important; }

/* v33: плашки в карточке цены — в две колонки только когда им хватает места */
.pc-feats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pc-feat span { overflow-wrap: anywhere; }

/* v34: бургер ровно по центру капсулы, кнопка 44×44 */
.header__inner { height: 100%; align-items: center; }
.header__burger {
  width: 44px; height: 44px;
  padding: 0 9px; box-sizing: border-box;
  margin: 0 4px 0 0;
  flex-direction: column; justify-content: center; align-items: stretch;
  gap: 5px;
  border-radius: 50%;
  align-self: center;
}
.header__burger span { height: 2px; flex: none; }
.header__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   v35: вместо круглой кнопки по центру — стеклянная плашка «Смотреть урок» внизу слева,
   как у YouTube/Netflix-превью. Обложка не перекрыта, а видно, что это видео.
   ============================================ */
.video-player .vp-big-play {
  top: auto !important; left: 20px !important; bottom: 20px;
  transform: none !important;
  width: auto !important; height: auto !important;
  display: inline-flex !important; align-items: center; gap: 12px;
  padding: 7px 20px 7px 7px !important;
  border-radius: 999px !important;
  color: #fff; text-align: left;
  background: rgba(20, 14, 32, .38) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255,255,255,.22) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.18) !important;
  transition: transform .25s cubic-bezier(.16,1,.3,1), background .25s ease !important;
  z-index: 3;
}
.video-player .vp-big-play:hover { transform: translateY(-2px) !important; background: rgba(20, 14, 32, .5) !important; }
.video-player .vp-big-play:active { transform: scale(.97) !important; }
.vp-cta__icon {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #e05aa0);
  box-shadow: 0 6px 16px -4px rgba(124, 58, 237, .7);
  position: relative;
}
.vp-cta__icon svg { width: 20px; height: 22px; margin-left: 2px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
/* мягкая пульсация вокруг кнопки — показывает, что это можно нажать */
.vp-cta__icon::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(233, 135, 182, .7);
  animation: vp-ping 2.2s cubic-bezier(.2, .6, .3, 1) infinite;
}
@keyframes vp-ping { 0% { transform: scale(.9); opacity: .9; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
.vp-cta__text { display: flex; flex-direction: column; line-height: 1.2; }
.vp-cta__text strong { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.vp-cta__text small { font-size: 12.5px; color: rgba(255,255,255,.78); margin-top: 2px; }

/* затемнение снизу обложки, чтобы плашка читалась; пропадает после старта */
.video-player__wrapper::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
  background: linear-gradient(to top, rgba(10, 6, 20, .55), transparent);
  pointer-events: none; z-index: 2;
  transition: opacity .3s ease;
}
.video-player__wrapper:has(.vp-big-play.hidden)::after { opacity: 0; }
/* пока видео не запущено — нижняя панель управления не мешает */
.video-player__wrapper:has(.vp-big-play:not(.hidden)) .vp-controls { opacity: 0; pointer-events: none; }

@media (max-width: 560px) {
  .video-player .vp-big-play { left: 12px !important; bottom: 12px; gap: 10px; padding: 5px 14px 5px 5px !important; }
  .vp-cta__icon { width: 38px; height: 38px; }
  .vp-cta__icon svg { width: 16px; height: 18px; }
  .vp-cta__text strong { font-size: 14px; }
  .vp-cta__text small { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .vp-cta__icon::after { animation: none; display: none; } }

/* v36: плашка «Смотреть урок» — меньше и в правом нижнем углу */
.video-player .vp-big-play {
  left: auto !important; right: 16px; bottom: 16px;
  gap: 8px;
  padding: 4px 14px 4px 4px !important;
}
.vp-cta__icon { width: 34px; height: 34px; }
.vp-cta__icon svg { width: 14px; height: 16px; margin-left: 2px; }
.vp-cta__icon::after { inset: -3px; }
.vp-cta__text strong { font-size: 14px; }
.video-player__wrapper::after { height: 28%; background: linear-gradient(to top, rgba(10, 6, 20, .4), transparent); }
@media (max-width: 560px) {
  .video-player .vp-big-play { left: auto !important; right: 10px; bottom: 10px; padding: 3px 11px 3px 3px !important; gap: 6px; }
  .vp-cta__icon { width: 28px; height: 28px; }
  .vp-cta__icon svg { width: 12px; height: 13px; }
  .vp-cta__text strong { font-size: 12.5px; }
}

/* v37: плашка ещё меньше, снова слева; значок play ровный, без пульсирующего кольца */
.video-player .vp-big-play {
  left: 14px !important; right: auto; bottom: 14px;
  gap: 7px;
  padding: 3px 12px 3px 3px !important;
}
.vp-cta__icon {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  box-shadow: 0 3px 8px -2px rgba(124, 58, 237, .6);
}
.vp-cta__icon::after { content: none; display: none; }
.vp-cta__icon svg { width: 13px; height: 14px; margin-left: 2px; filter: none; }
.vp-cta__text strong { font-size: 13px; font-weight: 600; }
@media (max-width: 560px) {
  .video-player .vp-big-play { left: 10px !important; right: auto; bottom: 10px; padding: 2px 10px 2px 2px !important; gap: 6px; }
  .vp-cta__icon { width: 26px; height: 26px; }
  .vp-cta__icon svg { width: 11px; height: 12px; }
  .vp-cta__text strong { font-size: 12px; }
}

/* v38: значок play — как в первом варианте (фиолетово-розовый градиент, тень), в пропорциях маленькой плашки */
.vp-cta__icon {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, #7c3aed, #e05aa0);
  box-shadow: 0 4px 10px -3px rgba(124, 58, 237, .7);
}
.vp-cta__icon svg { width: 12.5px; height: 14px; margin-left: 1.5px; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.3)); }
@media (max-width: 560px) {
  .vp-cta__icon { width: 26px; height: 26px; }
  .vp-cta__icon svg { width: 11px; height: 12px; margin-left: 1px; }
}

/* v39: треугольник раньше перебивался старым правилом (28×30) — теперь точный размер; пульсация как в первом варианте */
.video-player .vp-big-play .vp-cta__icon svg { width: 12px; height: 13px; margin: 0 0 0 2px; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.3)); }
.video-player .vp-big-play .vp-cta__icon::after {
  content: ""; display: block;
  position: absolute; inset: -3px; border-radius: 50%;
  border: 1.5px solid rgba(233, 135, 182, .75);
  animation: vp-ping 2.2s cubic-bezier(.2, .6, .3, 1) infinite;
}
@media (max-width: 560px) {
  .video-player .vp-big-play .vp-cta__icon svg { width: 10px; height: 11px; margin-left: 2px; }
}
@media (prefers-reduced-motion: reduce) { .video-player .vp-big-play .vp-cta__icon::after { animation: none; display: none; } }

/* v40: плавный переход превью → видео */
.vp-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1; pointer-events: none;
  transition: opacity .7s ease, transform .9s cubic-bezier(.22, 1, .36, 1), filter .7s ease;
}
.video-player__wrapper.is-starting .vp-poster { filter: brightness(.85); transform: scale(1.02); }
.video-player__wrapper.is-started .vp-poster { opacity: 0; transform: scale(1.06); filter: blur(6px) brightness(.8); }
.video-player .vp-big-play { transition: opacity .3s ease, transform .3s ease !important; }
.video-player__wrapper.is-starting .vp-big-play { opacity: 0; transform: translateY(6px) !important; pointer-events: none; }
.video-player__wrapper.is-starting::after { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .vp-poster { transition: opacity .2s linear; } }

/* ============================================
   v41: правки после проверки на телефонах СНГ (320–430px)
   ============================================ */
/* рейтинг под кнопками — в одну строку */
.hc__proof { white-space: nowrap; }
@media (max-width: 400px) { .hc__proof { font-size: .85rem; } .hc__stars { letter-spacing: 1px; } }
@media (max-width: 340px) { .hc__proof { font-size: .78rem; } }

/* карточка цены на узких экранах — больше места для текста, собаки всё ещё видны */
@media (max-width: 400px) {
  .pricing-single { padding-inline: 24px; }
  .pricing-card--single { padding: 26px 16px 20px; }
  .peek { width: 88px; }
  .peek--left  { left: -24px; }
  .peek--right { right: -24px; }
  .pc-feat { padding: 9px 10px; gap: 9px; }
  .pc-feat svg { width: 30px; height: 30px; padding: 6px; }
}

/* «Что вы получите» — компактнее на телефоне */
@media (max-width: 560px) {
  .result-item { padding: 18px; gap: 14px; }
  .result-item__check { width: 44px; height: 44px; border-radius: 14px; }
  .result-item__check svg { width: 22px; height: 22px; }
}

/* финальный блок — текст читаемого размера */
@media (max-width: 560px) {
  .final-cta__subtitle { font-size: 1rem; line-height: 1.6; }
  .final-cta__wrapper { padding: 2rem 1.25rem; }
}
/* 320–350px: значки компактнее, чтобы не налезали друг на друга */
@media (max-width: 350px) {
  .hc__chip { font-size: .66rem; padding: 6px 9px; gap: 5px; }
  .hc__chip svg { width: 12px; height: 12px; }
  .hc__chip--1 { left: -4px; }
  .hc__chip--2 { right: -4px; }
}

/* v43: телефон горизонтально — сцена с собаками компактнее, заголовок и кнопки видны раньше */
@media (orientation: landscape) and (max-height: 500px) {
  .hero--center { padding-top: calc(12px + 64px + .75rem); }
  .hc__scene { width: min(100%, 560px); margin-bottom: .5rem; }
  .hc__dogs { width: 46%; }
  .hc__pedestal { width: 44%; }
  .hc__chip { font-size: .72rem; padding: 6px 10px; }
  .hc__title { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.4rem); }
  .mobile-nav { max-height: calc(100dvh - 100px); overflow-y: auto; }
}

/* v44: скрытые элементы не ловят фокус с клавиатуры */
.video-player__wrapper:has(.vp-big-play:not(.hidden)) .vp-controls { visibility: hidden; }
#faq .accordion__body { visibility: hidden; transition: max-height var(--t-slow), visibility 0s linear .5s; }
#faq .accordion__item.active .accordion__body { visibility: visible; transition: max-height var(--t-slow), visibility 0s; }

/* v45: на узких экранах «Личный кабинет» только в меню-бургере, не в шапке */
@media (max-width: 900px) { .header__cabinet-link { display: none !important; } }

/* v46: на телефоне видео не растягивается до краёв экрана — те же отступы, что у текста */
@media (max-width: 480px) {
  .video-player { margin-left: 0 !important; margin-right: 0 !important; }
  .video-player__wrapper { border-radius: 22px !important; }
}

/* v47: превью видео чёткое — у рамки плеера убрано стеклянное размытие (из-за него картинка мылилась) */
.video-player__wrapper { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.vp-poster { image-rendering: auto; backface-visibility: hidden; }
.video-player__wrapper:not(.is-starting):not(.is-started) .vp-poster { transform: none; filter: none; will-change: auto; }

/* v48: 5 валют в переключателе */
.pc-cur { grid-template-columns: repeat(5, 44px); }
.pc-cur button[data-cur="byn"] { font-size: 13px; }
@media (max-width: 360px) {
  .pc-cur { grid-template-columns: repeat(5, 40px); }
  .pc-cur__thumb { width: 40px; transform: translateX(calc(var(--i) * 40px)); }
}
.pricing-card[data-cur="usd"] .pc-price__sym { order: -1; margin-right: -2px; }

/* ---------- Плашка «Вы уже приобрели курс»: иконка в строку, кнопка в фирменном фиолетовом ---------- */
.purchased-banner__text { display: inline-flex; align-items: center; gap: 8px; }
.purchased-banner__text svg { display: block; flex-shrink: 0; margin: 0 !important; }
.purchased-banner__btn { color: #630ed4 !important; display: inline-flex; align-items: center; gap: 8px; }
.purchased-banner__btn svg { display: block; flex-shrink: 0; margin: 0 !important; }
/* Открытое мобильное меню всегда поверх плашки покупки */
.mobile-nav { z-index: 1001; }
/* Мобильное меню — тот же Liquid Glass, что у верхней панели */
.mobile-nav.glass-island {
  background: transparent !important;
  border: 0;
  overflow: clip;
  box-shadow: 0 12px 28px -13px rgba(30,20,45,.24), 0 3px 8px -4px rgba(30,20,45,.12);
}
.mobile-nav.glass-island .island-surface { z-index: 0; }
.mobile-nav.glass-island .island-overlay { background: rgba(255,255,255,.55); }
.mobile-nav.glass-island .island-filter { -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15); }
.mobile-nav.glass-island .mobile-nav__list { position: relative; z-index: 1; }
.mobile-nav.glass-island .mobile-nav__link:hover { background: rgba(255,255,255,.55); }

/* ---------- Мобильное меню: упругое раскрытие в духе iOS ---------- */
:root {
  /* мягкая пружина с лёгким перелётом (как анимации Apple) */
  --spring: linear(0, .006, .025 2.8%, .101 6.1%, .539 18.9%, .721 25.3%, .849 31.5%, .937 38.1%, .968 41.8%, .991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001 85.8%, 1);
  --spring-snappy: linear(0, .012, .05 2.6%, .2 6%, .698 16%, .893 21.6%, 1.012 26.6%, 1.054 30.2%, 1.068 33.6%, 1.06 37.6%, 1.023 45.8%, 1.003 53.8%, .997 62.7%, 1);
}
@media (max-width: 768px) {
  .mobile-nav {
    transform-origin: 50% 0;
    transform: translateY(-10px) scale(.94);
    opacity: 0;
    visibility: hidden;
    transition: transform .28s cubic-bezier(.4,0,.6,1), opacity .2s ease, visibility 0s linear .28s;
  }
  .mobile-nav.active {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: transform .7s var(--spring), opacity .25s ease, visibility 0s;
  }
  /* пункты выплывают по очереди */
  .mobile-nav__list > li {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .15s ease, transform .2s ease;
  }
  .mobile-nav.active .mobile-nav__list > li {
    opacity: 1;
    transform: none;
    transition: opacity .35s ease, transform .6s var(--spring);
  }
  .mobile-nav.active .mobile-nav__list > li:nth-child(1) { transition-delay: .04s; }
  .mobile-nav.active .mobile-nav__list > li:nth-child(2) { transition-delay: .08s; }
  .mobile-nav.active .mobile-nav__list > li:nth-child(3) { transition-delay: .12s; }
  .mobile-nav.active .mobile-nav__list > li:nth-child(4) { transition-delay: .16s; }
  .mobile-nav.active .mobile-nav__list > li:nth-child(5) { transition-delay: .2s; }
}

/* Бургер → крестик: полоски сходятся и поворачиваются с пружиной, средняя втягивается */
.header__burger span {
  transition: transform .55s var(--spring-snappy), opacity .2s ease, width .3s ease;
}
.header__burger span:nth-child(2) { transform-origin: 50% 50%; }
.header__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.active span:nth-child(2) { opacity: 0; transform: scaleX(.1); }
.header__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  .mobile-nav, .mobile-nav.active, .mobile-nav__list > li, .header__burger span { transition: none !important; transform: none; }
}


/* ---------- поддержка в один клик (плавающая кнопка → Telegram-бот) ---------- */
.support-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--g-brand-btn); color: #fff; text-decoration: none;
  font: 600 15px/1 var(--f-sans, system-ui, sans-serif);
  box-shadow: 0 10px 28px -8px rgba(99, 14, 212, .55), 0 2px 6px rgba(42, 29, 74, .18);
  transition: transform .25s var(--spring-snappy, ease), box-shadow .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.support-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(99, 14, 212, .6), 0 3px 8px rgba(42, 29, 74, .2); }
.support-fab:active { transform: scale(.96); }
/* общее правило ссылок красило текст и иконку в фиолетовый при наведении/нажатии — на фиолетовой кнопке они пропадали */
.support-fab, .support-fab:hover, .support-fab:focus, .support-fab:active, .support-fab:visited { color: #fff; }
.support-fab:hover, .support-fab:active { filter: brightness(1.06); }
.support-fab:focus-visible { outline: 3px solid #e987b6; outline-offset: 3px; }
.support-fab svg { flex-shrink: 0; }
@media (max-width: 600px) {
  .support-fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 52px; padding: 0; justify-content: center; }
  .support-fab__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media print { .support-fab { display: none; } }
/* чтобы плавающая «Поддержка» не закрывала нижние ссылки футера */
.footer__bottom { padding-bottom: 72px; }

/* v57: заголовок героя на телефонах — ровные строки без висячих слов */
.hc__title .nw { white-space: nowrap; }
@media (max-width: 640px) {
  .hc__title { max-width: none; font-size: min(2.2rem, calc((100vw - 48px) / 11)); line-height: 1.05; }
}
@media (min-width: 641px) {
  .hc__title { max-width: none; }
  .hc__title .hl { white-space: nowrap; }
}

/* старое правило тёмного футера красило «Шарик & Тузик» в белый при наведении */
.footer .header__logo:hover { color: var(--ink); }

/* v67: плашка «Вы уже приобрели курс» исчезает вместе со скроллом, целиком (--pb: 0 видна … 1 скрыта) */
.purchased-banner {
  --pb: 0;
  --pb-spring: linear(0, .009, .035 2.1%, .141 4.4%, .281 6.7%, .723 12.9%, .938 16.7%, 1.017 18.7%, 1.077 20.8%, 1.121 22.8%, 1.149 24.3%, 1.163 26.2%, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991 47.1%, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1);
  animation-fill-mode: backwards; /* входная анимация не держит transform после окончания */
  transform-origin: 50% 0;
  will-change: transform, opacity, filter;
  opacity: calc(1 - var(--pb));
  transform: translateY(calc(var(--pb) * -20px)) scale(calc(1 - var(--pb) * .08), calc(1 - var(--pb) * .2));
  filter: blur(calc(var(--pb) * 8px));
  /* отпустил скролл — пружиной доезжает до «видна» или «скрыта» */
  transition:
    transform .9s var(--pb-spring),
    opacity .5s cubic-bezier(.2, .7, .2, 1),
    filter .5s cubic-bezier(.2, .7, .2, 1),
    translate .7s var(--spring, cubic-bezier(.2, .8, .2, 1));
}
/* пока палец/колесо двигают страницу — плашка идёт за скроллом; короткое сглаживание убирает рывки от шагов колеса */
.purchased-banner.is-scrubbing {
  transition:
    transform .32s cubic-bezier(.22, .8, .3, 1),
    opacity .32s cubic-bezier(.22, .8, .3, 1),
    filter .32s cubic-bezier(.22, .8, .3, 1),
    translate .7s var(--spring, cubic-bezier(.2, .8, .2, 1));
}
.purchased-banner.is-gone { pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .purchased-banner { transform: none !important; filter: none !important; transition: opacity .25s ease !important; }
}
