/* Instagram × AI — лендинг курса Alex Kap
   Все цвета и размеры — в токенах :root. Mobile-first. */

:root {
  --cobalt: #2347ff;
  --cobalt-600: #1a35d6;
  --cobalt-300: #7d93ff;
  --cobalt-050: #eef1ff;
  --navy: #0a1233;
  --navy-800: #0d1740;
  --ink: #05070f;
  --paper: #ffffff;
  --mist: #f4f6fb;
  --line: #e3e7f0;
  --line-dark: rgba(255, 255, 255, 0.1);
  --text: #0b1020;
  --muted: #5a6378;
  --muted-dark: #a3acc4;
  --warn: #b45309;
  --warn-bg: #fff7ea;

  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(10, 18, 51, 0.06), 0 2px 8px rgba(10, 18, 51, 0.04);
  --shadow: 0 2px 4px rgba(10, 18, 51, 0.04), 0 12px 32px rgba(10, 18, 51, 0.08);
  --shadow-lg: 0 30px 80px rgba(5, 7, 15, 0.45);

  --gutter: 16px;
  --container: 1200px;
  --header-h: 60px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 68px; }
}

/* ------------------------------------------------------------ BASE */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.25rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--cobalt-300); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--text); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.accent { color: var(--cobalt); }
.section--dark .accent, .section--vip .accent, .hero .accent, .final .accent { color: var(--cobalt-300); }

/* ------------------------------------------------------------ PREVIEW BAR */
.preview-bar {
  display: block;
  background: #111a3d; color: #c9d2ff; font-size: 12.5px; line-height: 1.4;
  padding: 8px var(--gutter); text-align: center;
}
.preview-bar code { color: #fff; white-space: nowrap; }
.preview-bar__dot { display: inline-block; vertical-align: 1px; margin-right: 8px; width: 8px; height: 8px; border-radius: 50%; background: #ffb547; box-shadow: 0 0 0 4px rgba(255, 181, 71, 0.18); }

/* ------------------------------------------------------------ BUTTONS */
.btn {
  --btn-bg: var(--cobalt); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 15.5px/1 var(--font-body); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.25s, border-color 0.2s;
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { box-shadow: 0 8px 24px rgba(35, 71, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn--primary:hover { --btn-bg: #3a5bff; box-shadow: 0 12px 32px rgba(35, 71, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; border-color: rgba(255, 255, 255, 0.22); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.06); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--text); border-color: var(--line); }
.btn--light:hover { border-color: #c8cfdf; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] {
  --btn-bg: rgba(255, 255, 255, 0.1); --btn-fg: rgba(255, 255, 255, 0.85);
  box-shadow: none; cursor: default; border-color: rgba(255, 255, 255, 0.16); transform: none;
}

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn:hover { border-color: #c8cfdf; transform: translateY(-1px); }
.icon-btn:disabled { opacity: 0.35; cursor: default; transform: none; }

.text-btn {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  color: var(--cobalt); font-weight: 600; font-size: 15px;
}
.text-btn:hover { text-decoration: underline; text-underline-offset: 4px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  color: var(--cobalt); font-weight: 600; text-decoration: none;
}
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform 0.25s var(--ease); }

/* ------------------------------------------------------------ HEADER */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 15, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line-dark); color: #fff;
}
.header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-right: auto; }
.logo__mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: var(--cobalt); color: #fff; font: 800 13px/1 var(--font-display); letter-spacing: 0.02em;
}
.logo__text { font: 700 17px/1 var(--font-display); letter-spacing: -0.02em; }
.nav { display: none; gap: 28px; font-size: 14.5px; }
.nav a { color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color 0.2s; }
.nav a:hover { color: #fff; }
.header__cta { display: none; }
.burger {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; color: #fff; cursor: pointer; border-radius: 12px;
}
.mobile-menu { border-top: 1px solid var(--line-dark); background: rgba(5, 7, 15, 0.96); }
.mobile-menu__nav { display: grid; gap: 2px; padding-top: 12px; padding-bottom: 20px; }
.mobile-menu__nav a:not(.btn) {
  display: block; padding: 14px 4px; color: rgba(255, 255, 255, 0.88); text-decoration: none;
  font: 600 18px/1.2 var(--font-display); border-bottom: 1px solid var(--line-dark);
}
.mobile-menu__nav .btn { margin-top: 16px; }

@media (min-width: 960px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .burger, .mobile-menu { display: none !important; }
  .logo { margin-right: 0; }
  .nav { margin: 0 auto; }
}

/* ------------------------------------------------------------ EYEBROW / HEADS */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cobalt); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--dark { color: var(--cobalt-300); }

.section { padding: 88px 0; position: relative; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { max-width: 760px; margin-bottom: 44px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__lead { margin-top: 18px; font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem); color: var(--muted); max-width: 640px; }
.section__head--center .section__lead { margin-left: auto; margin-right: auto; }
.section--dark .section__lead { color: var(--muted-dark); }
@media (min-width: 1024px) {
  .section { padding: 128px 0; }
  .section__head { margin-bottom: 56px; }
}

.note { margin-top: 28px; font-size: 14px; color: var(--muted); max-width: 720px; }

/* Метка «заглушка / ждёт подтверждения» */
.pending-tag {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
  padding: 3px 9px; border-radius: 8px; font: 600 11.5px/1.3 var(--font-body); letter-spacing: 0.01em;
  background: var(--warn-bg); color: var(--warn); border: 1px solid #f6dcb0; max-width: 100%;
}
.pending-tag--dark { background: rgba(255, 181, 71, 0.12); color: #ffcf85; border-color: rgba(255, 181, 71, 0.3); }

/* ------------------------------------------------------------ HERO */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 40%, rgba(35, 71, 255, 0.45), transparent 70%),
    radial-gradient(45% 45% at 10% 0%, rgba(35, 71, 255, 0.18), transparent 70%),
    linear-gradient(180deg, #05070f 0%, #0a1233 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero__grid { display: grid; gap: 40px; padding-top: 36px; padding-bottom: 56px; }
.hero__title { font-size: clamp(2.35rem, 1.1rem + 4.8vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.0; }
/* Позиционирование «видеокурс» — заметная, но спокойная плашка (Alex 15.11.2026) */
.hero__kicker { padding: 7px 14px 7px 12px; border: 1px solid rgba(143, 163, 255, 0.35); border-radius: 999px; background: rgba(35, 71, 255, 0.14); color: #dfe4ff; letter-spacing: 0.06em; line-height: 1.35; width: fit-content; max-width: 100%; }
.hero__kicker::before { background: var(--cobalt-300); }
.hero__facts + .hero__stats { margin-top: 20px; }
.hero__lead { margin-top: 18px; font: 600 clamp(1.15rem, 0.95rem + 0.9vw, 1.6rem)/1.3 var(--font-display); letter-spacing: -0.015em; color: #fff; max-width: 560px; }
.hero__sub { margin-top: 24px; color: var(--muted-dark); font-size: clamp(0.98rem, 0.94rem + 0.2vw, 1.08rem); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__actions .btn { flex: 1 1 auto; }
@media (min-width: 600px) { .hero__actions .btn { flex: 0 0 auto; } }
.hero__footnote { margin-top: 18px; font-size: 12.5px; color: #8892ad; max-width: 540px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14.5px; font-weight: 600; color: #dfe4f5; }
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts .icon { width: 16px; height: 16px; color: var(--cobalt-300); }
.hero__disclaimer { margin-top: 14px; font-size: 12.5px; color: #8892ad; max-width: 540px; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.stat {
  display: grid; gap: 2px; padding: 12px 16px 12px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.stat__value { white-space: nowrap; display: flex; align-items: center; gap: 8px; font: 800 clamp(1.5rem, 1.2rem + 1.3vw, 2.15rem)/1 var(--font-display); letter-spacing: -0.03em; }
.stat__value .icon { width: 0.7em; height: 0.7em; color: var(--cobalt-300); }
.stat__label { font-size: 12.5px; color: var(--muted-dark); }
.stat sup { font-size: 0.5em; color: #ffcf85; margin-left: -4px; }
.hero__stats-caption { flex-basis: 100%; font-size: 13px; color: var(--muted-dark); margin-top: 2px; }

/* Сцена с веером Reels */
.hero__stage { position: relative; height: 380px; display: grid; place-items: center; }
.hero__stage .reel { position: absolute; width: 168px; }
.hero__stage .reel:nth-child(1) { z-index: 3; width: 196px; }
.hero__stage .reel:nth-child(2) { z-index: 2; transform: translateX(-112px) rotate(-8deg) scale(0.9); opacity: 0.92; }
.hero__stage .reel:nth-child(3) { z-index: 1; transform: translateX(112px) rotate(8deg) scale(0.9); opacity: 0.92; }
.hero__stage .reel:hover { transform-origin: center; }
.hero__chip {
  position: absolute; z-index: 4; left: 50%; bottom: 0; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(10, 18, 51, 0.82); border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); white-space: nowrap;
}
.hero__chip-photo { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--navy-800); display: grid; place-items: center; color: var(--muted-dark); border: 1px dashed rgba(255, 255, 255, 0.25); }
.hero__chip-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__chip-photo.has-img { border: 0; }
.hero__chip-text { display: grid; line-height: 1.2; }
.hero__chip-text strong { font-size: 14px; }
.hero__chip-text span { font-size: 12px; color: var(--muted-dark); }

@media (min-width: 480px) {
  .hero__stage { height: 440px; }
  .hero__stage .reel { width: 190px; }
  .hero__stage .reel:nth-child(1) { width: 224px; }
  .hero__stage .reel:nth-child(2) { transform: translateX(-136px) rotate(-8deg) scale(0.9); }
  .hero__stage .reel:nth-child(3) { transform: translateX(136px) rotate(8deg) scale(0.9); }
}
@media (min-width: 1024px) {
  .hero__title { font-size: clamp(3rem, 0.9rem + 3.75vw, 4.6rem); }
  .hero__lead { margin-top: 14px; }
  .hero__stats { flex-wrap: nowrap; margin-top: 20px; }
  .stat { padding: 10px 14px; }
  .stat__value { font-size: clamp(1.35rem, 0.6rem + 1.2vw, 2rem); }
  .stat__label { font-size: 12px; white-space: nowrap; }
  .hero__actions { margin-top: 24px; }
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 48px; padding-top: 40px; padding-bottom: 80px; min-height: min(860px, calc(100svh - var(--header-h))); }
  .hero__stage { height: 600px; }
  .hero__stage .reel { width: 236px; }
  .hero__stage .reel:nth-child(1) { width: 280px; }
  .hero__stage .reel:nth-child(2) { transform: translateX(-170px) translateY(24px) rotate(-9deg) scale(0.88); }
  .hero__stage .reel:nth-child(3) { transform: translateX(170px) translateY(24px) rotate(9deg) scale(0.88); }
  .hero__chip { bottom: 6px; }
}

/* Скриншот ленты профиля вместо веера карточек */
.hero__stage--feed { height: auto; padding: 4px 0 72px; }
.feed {
  position: relative; margin: 0; width: min(100%, 440px); padding: 8px; border-radius: 30px;
  background: linear-gradient(160deg, #24338a, #0b1130 60%); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 100px rgba(5, 7, 15, 0.55), 0 0 0 1px rgba(125, 147, 255, 0.12), 0 0 120px rgba(35, 71, 255, 0.35);
}
.feed img { width: 100%; height: auto; border-radius: 23px; background: #fff; }
.feed .hero__chip { top: calc(100% + 14px); bottom: auto; }
.feed__ig { background: var(--cobalt); color: #fff; }
.feed__ig .icon { width: 20px; height: 20px; }
@media (min-width: 1024px) {
  .hero__stage--feed { height: auto; }
  .feed { transform: rotate(2deg); transition: transform 0.5s var(--ease); }
  .feed:hover { transform: rotate(0deg) scale(1.01); }
}

/* ------------------------------------------------------------ REEL CARD */
.reel {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; margin: 0;
  border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, #1b2a7a 0%, #0c1440 45%, #070a1c 100%);
  box-shadow: var(--shadow-lg); color: #fff; text-align: left; cursor: pointer;
  transition: transform 0.45s var(--ease), box-shadow 0.3s;
}
.reel__media { position: absolute; inset: 0; }
.reel__media img, .reel__media video { width: 100%; height: 100%; object-fit: cover; }
.reel__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 22%, transparent 52%, rgba(0, 0, 0, 0.78) 100%);
}
/* Обложка не 9:16 (плитка из ленты): целиком поверх размытой копии */
.reel__media--contain { background: #0b1130; overflow: hidden; }
.reel__media--contain .reel__backdrop { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(22px) brightness(0.55) saturate(1.2); }
.reel__media--contain .reel__fg { position: absolute; left: 0; top: 46%; width: 100%; height: auto; transform: translateY(-50%); object-fit: contain; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
/* Заглушка обложки */
.reel__ph {
  position: absolute; inset: 10px; border-radius: 15px; border: 1.5px dashed rgba(255, 255, 255, 0.22);
  display: grid; place-content: center; justify-items: center; gap: 10px; padding: 16px; text-align: center;
  color: rgba(255, 255, 255, 0.55); font-size: 12px; line-height: 1.35;
  background:
    radial-gradient(80% 50% at 50% 30%, rgba(35, 71, 255, 0.35), transparent 70%);
}
.reel__ph .icon { width: 28px; height: 28px; color: rgba(255, 255, 255, 0.5); }
.reel__top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; z-index: 1; }
.reel__badge { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--font-body); padding: 6px 9px 6px 7px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.reel__badge .icon { width: 15px; height: 15px; }
.reel__play {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.reel__play .icon { width: 22px; height: 22px; margin-left: 3px; }
.reel--placeholder .reel__play { display: none; }
.reel__bottom { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 4px; }
.reel__views { display: flex; align-items: center; gap: 8px; font: 800 clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem)/1 var(--font-display); letter-spacing: -0.03em; }
.reel__views .icon { width: 0.72em; height: 0.72em; opacity: 0.9; }
.reel__views--text { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); }
.reel__label { font-size: 12.5px; color: rgba(255, 255, 255, 0.75); }
.reel:hover { box-shadow: 0 34px 90px rgba(5, 7, 15, 0.55), 0 0 0 1px rgba(125, 147, 255, 0.4); }
.reel:hover .reel__play { transform: scale(1.08); background: var(--cobalt); }

/* ------------------------------------------------------------ GALLERY */
.gallery-wrap { position: relative; }
.gallery {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 24px; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 min(58vw, 250px); scroll-snap-align: start; display: grid; gap: 14px; }
.gallery__meta { display: grid; gap: 4px; padding: 0 4px; }
.gallery__title { font: 600 15px/1.35 var(--font-body); }
.case-notes { margin: 2px 0 0; display: grid; gap: 6px; font-size: 13px; line-height: 1.4; }
.case-notes div { display: grid; gap: 1px; }
.case-notes dt { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cobalt); }
.case-notes dd { margin: 0; color: var(--text); }
.case-notes--empty { display: block; color: var(--muted); font-size: 12.5px; }
.gallery__hint { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--cobalt); font-weight: 600; }
.gallery__controls { display: none; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.gallery .reel { box-shadow: 0 18px 40px rgba(10, 18, 51, 0.22); }

@media (min-width: 768px) {
  .gallery__item { flex-basis: 248px; }
  .gallery__controls.is-scrollable { display: flex; }
}
@media (min-width: 1024px) {
  .gallery { overflow: visible; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 282px)); gap: 24px; margin: 0; padding: 6px 0 8px; }
  .gallery.is-many { display: flex; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 24px; }
  .gallery.is-many .gallery__item { flex-basis: 264px; }
  .gallery .gallery__item:first-child .reel { box-shadow: 0 24px 60px rgba(35, 71, 255, 0.28); }
}

.profile-proof { margin: 28px 0 0; display: grid; gap: 12px; max-width: 620px; }
.profile-proof img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.profile-proof figcaption { font-size: 13.5px; color: var(--muted); }

/* ------------------------------------------------------------ PILLARS */
.pillars { display: grid; gap: 14px; counter-reset: pillar; }
.pillar {
  position: relative; display: grid; gap: 10px; padding: 26px 24px 24px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); counter-increment: pillar;
  transition: border-color 0.25s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.pillar:hover { border-color: #cbd3ff; box-shadow: var(--shadow); transform: translateY(-2px); }
.pillar__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--cobalt-050); color: var(--cobalt); margin-bottom: 6px; }
.pillar__icon .icon { width: 24px; height: 24px; }
.pillar::after { content: counter(pillar, decimal-leading-zero); position: absolute; top: 24px; right: 24px; font: 700 13px/1 var(--font-display); color: #b7bfd3; }
.pillar p { color: var(--muted); font-size: 15px; }
.pillar__lessons { font-size: 13px; font-weight: 600; color: var(--cobalt); margin-top: 4px; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 20px; } .pillar { padding: 32px 30px 30px; } }

/* ------------------------------------------------------------ COMPARE */
.compare { border-radius: var(--radius-lg); border: 1px solid var(--line-dark); overflow: hidden; background: rgba(255, 255, 255, 0.02); }
.compare__head { display: none; }
.compare__row { display: grid; gap: 12px; padding: 22px 20px; border-top: 1px solid var(--line-dark); }
.compare__row:first-of-type { border-top: 0; }
.compare__stage { font: 700 17px/1.2 var(--font-display); letter-spacing: -0.01em; }
.compare__cell { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.5; }
.compare__cell .icon { width: 18px; height: 18px; margin-top: 3px; }
.compare__cell--manual { color: #8a93ab; }
.compare__cell--manual .icon { color: #5d6684; }
.compare__cell--ai { color: #e8ecff; }
.compare__cell--ai .icon { color: var(--cobalt-300); }
.compare__tag { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #6f789a; margin-bottom: 2px; }
.compare__cell--ai .compare__tag { color: var(--cobalt-300); }
@media (min-width: 900px) {
  .compare__head, .compare__row { display: grid; grid-template-columns: 0.7fr 1fr 1.2fr; gap: 32px; padding: 22px 32px; align-items: start; }
  .compare__head { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #6f789a; background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--line-dark); }
  .compare__head span:last-child { color: var(--cobalt-300); }
  .compare__row:first-of-type { border-top: 0; }
  .compare__tag { display: none; }
  .compare__row { padding-top: 26px; padding-bottom: 26px; }
  .compare__row > :last-child { position: relative; }
}

/* ------------------------------------------------------------ OUTCOMES */
.outcomes { display: grid; gap: 14px; }
.outcome {
  display: grid; gap: 14px; align-content: start; padding: 28px 24px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff 0%, #f8f9fd 100%); border: 1px solid var(--line);
}
.outcome__tag { justify-self: start; font-size: 12.5px; font-weight: 600; color: var(--cobalt); background: var(--cobalt-050); padding: 5px 10px; border-radius: 999px; }
.outcome h3 { font-size: 1.35rem; }
@media (min-width: 640px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .outcomes { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.checklist { display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.5; }
.checklist li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--cobalt-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%232347ff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist--dark li { color: #dfe4f5; }
.checklist--dark li::before { background-color: rgba(125, 147, 255, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%237d93ff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------ AUDIENCE */
.audience { display: grid; gap: 14px; }
.persona { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.persona__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.persona__icon .icon { width: 22px; height: 22px; }
.persona p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.persona h4 { margin: 0; font: 700 1.15rem/1.25 var(--font-display); letter-spacing: -0.015em; }
.behind__audience { margin-top: 56px; }
.behind__subtitle { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); margin-bottom: 20px; }
@media (min-width: 768px) { .audience { grid-template-columns: repeat(2, 1fr); gap: 20px; } .persona { padding: 30px; } }

/* ------------------------------------------------------------ PROGRAM */
.program__tools { display: flex; justify-content: flex-end; margin: -24px 0 12px; }
.program { display: grid; gap: 36px; }
.module__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.module__num { font: 700 13px/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--cobalt); white-space: nowrap; }
.module__title { font-size: 1.3rem; }
.lessons { display: grid; gap: 10px; }
.lesson { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color 0.2s, box-shadow 0.25s; }
.lesson[open] { border-color: #c4ceff; box-shadow: var(--shadow-sm); }
.lesson summary, .lesson__static {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 16px 16px 16px 14px; cursor: pointer; list-style: none; border-radius: var(--radius);
}
.lesson__static { cursor: default; grid-template-columns: auto 1fr; }
.lesson summary::-webkit-details-marker { display: none; }
.lesson summary:hover .lesson__title { color: var(--cobalt); }
.lesson__num {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  font: 700 14px/1 var(--font-display); background: var(--mist); color: var(--text);
}
.lesson[open] .lesson__num { background: var(--cobalt); color: #fff; }
.lesson__title { font: 600 16px/1.35 var(--font-body); transition: color 0.2s; }
.lesson__dur { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.lesson__chev { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: transform 0.3s var(--ease); }
.lesson[open] .lesson__chev { transform: rotate(180deg); color: var(--cobalt); }
.lesson__body { padding: 0 18px 20px 68px; display: grid; gap: 12px; font-size: 15px; color: var(--muted); }
.lesson__body strong { display: block; color: var(--text); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 2px; }
@media (max-width: 479px) { .lesson__body { padding-left: 18px; } }

/* Плавное раскрытие details там, где браузер поддерживает */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details::details-content { height: 0; overflow: clip; transition: height 0.35s var(--ease), content-visibility 0.35s allow-discrete; }
  details[open]::details-content { height: auto; }
}

/* ------------------------------------------------------------ PLAYER */
.player {
  position: relative; max-width: 980px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(135deg, #0a1233 0%, #05070f 60%), var(--ink); color: #fff; box-shadow: 0 30px 80px rgba(10, 18, 51, 0.25);
}
.player__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__shade { position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(35, 71, 255, 0.3), transparent 70%), linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.55)); }
.player__btn {
  position: absolute; inset: 0; width: 100%; display: grid; place-content: center; justify-items: center; gap: 14px;
  background: none; border: 0; cursor: pointer; color: #fff;
}
.player__circle { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); box-shadow: 0 0 0 10px rgba(35, 71, 255, 0.25), 0 20px 40px rgba(35, 71, 255, 0.4); transition: transform 0.3s var(--ease); }
.player__circle .icon { width: 32px; height: 32px; margin-left: 4px; }
.player__btn:hover .player__circle { transform: scale(1.06); }
.player__meta { position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, 0.85); pointer-events: none; }
.player__empty { position: absolute; inset: 14px; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; border: 1.5px dashed rgba(255, 255, 255, 0.18); border-radius: calc(var(--radius-xl) - 10px); padding: 20px; color: var(--muted-dark); font-size: 15px; }
.player__empty .icon { width: 36px; height: 36px; color: rgba(255, 255, 255, 0.35); }
/* Под плеером демо: честная рамка, текст видео, кнопка продолжения */
.player-after { max-width: 880px; margin: 22px auto 0; display: grid; gap: 16px; }
/* Длинная подпись кнопки под видео не должна расширять блок на узких экранах (320 px). */
.player-after { grid-template-columns: minmax(0, 1fr); }
.player-after__cta .btn { max-width: 100%; white-space: normal; text-align: center; }
.player-after:empty { display: none; }
.player-after__note { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.player-after__note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--cobalt); }
.player-after__transcript { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 14px 18px; font-size: 15px; }
.player-after__transcript summary { cursor: pointer; font-weight: 600; }
.player-after__transcript p { margin-top: 10px; color: var(--muted); line-height: 1.6; }
.player-after__cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.player-after__hint { font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 599px) { .player-after__cta .btn { width: 100%; justify-content: center; } }

/* Кому курс не подойдёт */
.notfor { margin-top: 22px; padding: 24px; border-radius: var(--radius-lg); border: 1px dashed var(--line); background: var(--mist); }
.notfor__title { font-size: 1.1rem; margin-bottom: 14px; }
.notfor .minuslist li { color: var(--muted); }
@media (min-width: 768px) { .notfor { padding: 28px 30px; } .notfor .minuslist { grid-template-columns: repeat(2, 1fr); column-gap: 28px; } }

/* Что понадобится: техника, навыки, время и инструменты */
.req-facts { display: grid; gap: 14px; }
.req-fact { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px; border-radius: var(--radius-lg); background: var(--mist); border: 1px solid var(--line); min-width: 0; }
.req-fact h3 { font-size: 1.05rem; margin: 0; }
.req-fact p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.req__subtitle { margin: 40px 0 16px; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); }
.req-tools { display: grid; gap: 12px; }
.req-tool { padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; min-width: 0; }
.req-tool__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.req-tool__head h4 { margin: 0; font: 700 1.1rem/1.25 var(--font-display); }
.req-tool__lessons { font-size: 13px; font-weight: 600; color: var(--cobalt); background: var(--cobalt-050); border-radius: 999px; padding: 3px 10px; }
.req-tool__use { margin-top: 8px; font-size: 15px; line-height: 1.5; }
.req-tool__cost { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.req-tool__cost strong { color: var(--text); font-weight: 600; }
.req__note { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 760px; }
@media (min-width: 768px) { .req-facts { grid-template-columns: repeat(2, 1fr); gap: 18px; } .req-tools { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (min-width: 1100px) { .req-facts { grid-template-columns: repeat(4, 1fr); } .req-tools { grid-template-columns: repeat(3, 1fr); } }

/* Кнопка «Настройки аналитики» из общего скрипта сайта (conversion-events.js) */
.footer-privacy [data-analytics-settings] { margin-top: 12px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: inherit; opacity: 0.75; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-privacy [data-analytics-settings]:hover { opacity: 1; }

.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
@media (max-width: 599px) { .player { border-radius: var(--radius-lg); } .player__circle { width: 64px; height: 64px; } .player__circle .icon { width: 24px; height: 24px; } .player__meta { left: 16px; right: 16px; bottom: 12px; font-size: 13px; } }

/* ------------------------------------------------------------ AUTHOR */
.author { display: grid; gap: 40px; align-items: center; }
.author__photo { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-xl); overflow: hidden; background: linear-gradient(160deg, #1b2a7a, #05070f); max-width: 460px; width: 100%; }
.author__photo img { width: 100%; height: 100%; object-fit: cover; }
.author__photo-ph { position: absolute; inset: 14px; border: 1.5px dashed rgba(255, 255, 255, 0.22); border-radius: calc(var(--radius-xl) - 10px); display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; color: rgba(255, 255, 255, 0.6); font-size: 14px; }
.author__photo-ph .icon { width: 44px; height: 44px; color: rgba(255, 255, 255, 0.4); }
.author__local { display: block; font-size: 0.45em; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; margin-top: 10px; }
.author__role { margin-top: 18px; font: 600 1.1rem/1.4 var(--font-display); color: var(--cobalt); }
.author__bio { display: grid; gap: 14px; margin-top: 18px; color: var(--muted); font-size: 16.5px; }
.author .checklist { margin-top: 26px; }
@media (min-width: 900px) { .author { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }
@media (min-width: 900px) { .author--solo { grid-template-columns: minmax(0, 760px); } }

/* ------------------------------------------------------------ STEPS */
.steps { display: grid; gap: 12px; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); counter-increment: step; }
.step::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 16px/1 var(--font-display); background: var(--ink); color: #fff; }
.step h3 { font-size: 1.05rem; }
.step p { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .step { grid-template-columns: 1fr; gap: 18px; padding: 26px 22px; }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -17px; width: 18px; height: 2px; background: #c9d1e6; }
}

/* ------------------------------------------------------------ PRICING */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn--outline { --btn-bg: #fff; --btn-fg: var(--cobalt); border-color: rgba(35, 71, 255, 0.4); }
.btn--outline:hover { --btn-bg: var(--cobalt-050); border-color: var(--cobalt); }
.tier .btn[aria-disabled="true"] { --btn-bg: var(--mist); --btn-fg: var(--muted); border-color: var(--line); }
.tier--vip .btn[aria-disabled="true"], .vip__cta .btn[aria-disabled="true"] { --btn-bg: rgba(255, 255, 255, 0.08); --btn-fg: rgba(255, 255, 255, 0.75); border-color: rgba(255, 255, 255, 0.16); }

.chooser { max-width: 880px; margin: -12px auto 28px; text-align: center; }
.chooser__title { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.chooser__list { display: grid; gap: 8px; }
.chooser__item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 12px 14px 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: 15px; text-align: left; transition: border-color 0.2s, box-shadow 0.25s, transform 0.2s var(--ease);
}
.chooser__item:hover { border-color: #c4ceff; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.chooser__tier { display: inline-flex; align-items: center; gap: 6px; flex: none; font: 700 13px/1 var(--font-display); letter-spacing: 0.04em; padding: 7px 11px; border-radius: 999px; background: var(--mist); color: var(--text); }
.chooser__tier .icon { width: 14px; height: 14px; }
.chooser__item--pro .chooser__tier { background: var(--cobalt); color: #fff; }
.chooser__item--vip .chooser__tier { background: var(--ink); color: #fff; }
@media (min-width: 900px) { .chooser__list { grid-template-columns: repeat(3, 1fr); } .chooser__item { font-size: 14.5px; } }

.pricing__status { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; max-width: 760px; margin: 0 auto 24px; font-size: 14px; color: var(--muted); text-align: center; }
.pricing__status .icon { width: 16px; height: 16px; color: var(--cobalt); }

.tiers { display: grid; gap: 16px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 22px 26px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); outline: none; scroll-margin-top: calc(var(--header-h) + 24px);
  transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.tier:focus-visible { box-shadow: 0 0 0 3px var(--cobalt-300); }
.tier__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.tier__name { font-size: 1.5rem; font-weight: 800; letter-spacing: 0.02em; }
.tier__badge { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--cobalt-050); color: var(--cobalt); }
.tier__title { font: 600 1.05rem/1.3 var(--font-display); color: var(--muted); margin-top: -8px; }
.tier__price { display: flex; align-items: baseline; gap: 8px; }
.tier__amount { font: 800 clamp(2.4rem, 2rem + 1.4vw, 3rem)/1 var(--font-display); letter-spacing: -0.04em; }
.tier__amount--pending { font-size: 1.4rem; letter-spacing: -0.01em; }
.tier__tagline { font-size: 15px; color: var(--muted); min-height: 3em; }
.tier__note { font-size: 13px; color: var(--muted); margin-top: -6px; }
.tier__note--dark { color: var(--muted-dark); margin-top: 12px; }
.tier__list { gap: 9px; }
.tier__list li { font-size: 14.5px; }
.tier__terms { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 13.5px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
.tier__terms .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--cobalt); }
.tier__terms + .tier__terms { border-top: 0; padding-top: 0; }
.tier__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-weight: 600; font-size: 14.5px; color: var(--cobalt-300); text-decoration: none; }
.tier__more .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.tier__more:hover .icon { transform: translateX(3px); }

.minuslist { display: grid; gap: 8px; }
.minuslist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14.5px; color: #8a93ab; }
.minuslist li::before { content: "—"; text-align: center; color: #b2b9cb; }
.minuslist--dark li { color: #a3acc4; }
.minuslist--dark li::before { color: #5d6684; }

.tier--pro { border: 2px solid var(--cobalt); box-shadow: 0 24px 60px rgba(35, 71, 255, 0.16); }
.tier--pro .tier__badge { background: var(--cobalt); color: #fff; }
.tier--vip {
  color: #fff; border-color: rgba(125, 147, 255, 0.28);
  background: radial-gradient(90% 60% at 100% 0%, rgba(35, 71, 255, 0.45), transparent 60%), linear-gradient(170deg, #0d1740, #05070f 70%);
  box-shadow: 0 30px 80px rgba(5, 7, 15, 0.35);
}
.tier--vip .tier__badge { background: rgba(255, 255, 255, 0.1); color: #dfe4ff; border: 1px solid rgba(255, 255, 255, 0.18); }
.tier--vip .tier__title, .tier--vip .tier__tagline, .tier--vip .tier__note { color: var(--muted-dark); }
.tier--vip .tier__terms { color: #c1c8db; border-color: var(--line-dark); }
.tier--vip .tier__terms .icon { color: var(--cobalt-300); }
.tier.is-highlight { animation: tier-pulse 1.6s var(--ease); }
@keyframes tier-pulse { 0%, 100% { transform: none; } 20% { transform: translateY(-6px); box-shadow: 0 0 0 4px rgba(35, 71, 255, 0.35), 0 30px 80px rgba(35, 71, 255, 0.25); } }
@media (min-width: 1024px) {
  .tiers { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .tier { padding: 34px 30px 30px; }
  .tier--pro { transform: translateY(-8px); }
}

.tier-compare { margin: 56px auto 0; max-width: 980px; }
.tier-compare__title { text-align: center; font-size: 1.35rem; margin-bottom: 18px; }
.tier-compare__scroll { position: relative; overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.tier-compare__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tier-compare__table th, .tier-compare__table td { padding: 12px 8px; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; }
.tier-compare__table thead th { border-top: 0; font: 800 13px/1 var(--font-display); letter-spacing: 0.04em; padding-top: 16px; padding-bottom: 14px; }
.tier-compare__table tbody th { text-align: left; font-weight: 500; color: var(--text); padding-left: 16px; width: 44%; }
.tier-compare__table .tc--pro { background: rgba(35, 71, 255, 0.04); }
.tier-compare__table thead .tc--pro { color: var(--cobalt); }
.tier-compare__table .tc--vip { background: rgba(5, 7, 15, 0.035); }
.tc-yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--cobalt-050); color: var(--cobalt); }
.tc-yes .icon { width: 15px; height: 15px; }
.tc-no { color: #c0c6d6; }
.tc-text { font-size: 12.5px; font-weight: 600; color: var(--text); line-height: 1.3; }
.tc-price td, .tc-price th { font-weight: 700; }
.tc-price td { font: 800 15px/1 var(--font-display); }
@media (min-width: 768px) { .tier-compare__table { font-size: 15px; } .tier-compare__table th, .tier-compare__table td { padding: 14px 16px; } .tier-compare__table tbody th { padding-left: 24px; } .tc-text { font-size: 13.5px; } }

.pricing__disclaimer { margin: 28px auto 0; max-width: 720px; text-align: center; font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------ VIP */
.section--vip { background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.vip__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 50% at 85% 10%, rgba(35, 71, 255, 0.35), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(35, 71, 255, 0.18), transparent 70%); }
.vip__intro { display: grid; gap: 36px; align-items: center; }
.vip__photo { margin: 0; position: relative; aspect-ratio: 4 / 5; max-width: 420px; width: 100%; border-radius: var(--radius-xl); overflow: hidden; background: linear-gradient(160deg, #1b2a7a, #05070f); border: 1px solid var(--line-dark); }
.vip__photo img { width: 100%; height: 100%; object-fit: cover; }
.vip__title { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; }
.vip__lead { margin-top: 18px; color: #c9d0e6; font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem); max-width: 600px; }
.vip__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; max-width: 560px; }
.vip-fact { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); }
.vip-fact strong { font: 800 1.45rem/1.1 var(--font-display); letter-spacing: -0.02em; }
.vip-fact span { font-size: 13px; color: var(--muted-dark); }
.vip__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.vip__price { display: grid; line-height: 1.15; }
.vip__price strong { font: 800 2.2rem/1 var(--font-display); letter-spacing: -0.04em; }
.vip__price span { font-size: 13px; color: var(--muted-dark); margin-top: 4px; }
.vip__grid { display: grid; gap: 14px; margin-top: 48px; }
.vip__card { min-width: 0; padding: 26px 22px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); }
.vip__card h3 { font-size: 1.15rem; margin-bottom: 18px; }
.vip__card--muted { background: rgba(255, 255, 255, 0.02); }
.vip-steps { display: grid; gap: 12px; counter-reset: vs; }
.vip-steps li { counter-increment: vs; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 14.5px; color: #dfe4f5; line-height: 1.45; }
.vip-steps li::before { content: counter(vs); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 12.5px/1 var(--font-display); background: rgba(125, 147, 255, 0.16); color: var(--cobalt-300); }
.vip__limit { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: #c1c8db; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vip__disclaimer { margin-top: 28px; font-size: 13px; color: #7f89a6; max-width: 760px; }
@media (min-width: 900px) {
  .vip__intro { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
  .vip__intro--solo { grid-template-columns: 1fr; }
  .vip__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .vip__card { padding: 30px 28px; }
}

/* ------------------------------------------------------------ FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 2px; cursor: pointer; list-style: none; font: 600 clamp(1rem, 0.96rem + 0.2vw, 1.12rem)/1.4 var(--font-body); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--cobalt); }
.faq__plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); transition: transform 0.3s var(--ease), background-color 0.2s, border-color 0.2s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.faq__item[open] .faq__plus::after { transform: rotate(0); }
.faq__answer { padding: 0 52px 24px 2px; color: var(--muted); font-size: 15.5px; display: grid; gap: 10px; justify-items: start; }

/* ------------------------------------------------------------ FINAL CTA */
.final { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--ink); padding: 96px 0; text-align: center; }
.final__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 100%, rgba(35, 71, 255, 0.55), transparent 70%), radial-gradient(30% 40% at 50% 0%, rgba(35, 71, 255, 0.15), transparent 70%); }
.final__title { font-size: clamp(2rem, 1.1rem + 4vw, 4rem); font-weight: 800; letter-spacing: -0.035em; max-width: 920px; margin: 0 auto; }
.final__lead { margin: 22px auto 0; color: var(--muted-dark); font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem); max-width: 600px; }
.final__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
@media (min-width: 1024px) { .final { padding: 140px 0; } }

/* ------------------------------------------------------------ FOOTER */
.footer { background: var(--ink); color: #c1c8db; border-top: 1px solid var(--line-dark); padding: 56px 0 28px; font-size: 14.5px; }
.footer__inner { display: grid; gap: 36px; }
.logo--footer { color: #fff; }
.footer__tagline { margin-top: 12px; color: #7f89a6; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.footer__h { font: 600 12.5px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: #7f89a6; margin-bottom: 14px; }
.footer__list { display: grid; gap: 10px; }
.footer__list a { color: #dfe4f5; text-decoration: none; }
.footer__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__list .is-pending { color: #6b7591; }
.footer__bottom { display: grid; gap: 6px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 13px; color: #7f89a6; }
.footer__muted { color: #5d6684; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1fr 2fr; } .footer__bottom { grid-template-columns: 1fr auto; } }

/* ------------------------------------------------------------ STICKY CTA (mobile) */
.sticky-cta {
  position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
  padding: 8px 8px 8px 18px; border-radius: 999px; color: #fff;
  background: rgba(5, 7, 15, 0.9); border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 18px 40px rgba(5, 7, 15, 0.35);
  transform: translateY(140%); transition: transform 0.4s var(--ease); visibility: hidden;
}
.sticky-cta.is-visible { transform: translateY(0); visibility: visible; }
.sticky-cta__info { display: grid; line-height: 1.2; min-width: 0; }
.sticky-cta__info strong { font: 700 15px/1.2 var(--font-display); }
.sticky-cta__info span { font-size: 12.5px; color: var(--muted-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta .btn { min-height: 44px; padding: 0 18px; font-size: 14.5px; margin-left: auto; white-space: nowrap; }
.sticky-cta__close {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin-left: -4px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer;
}
.sticky-cta__close:hover, .sticky-cta__close:focus-visible { background: rgba(255, 255, 255, 0.2); }
.sticky-cta__close .icon { width: 16px; height: 16px; }
/* Пока панель видна, переходы по якорям и фокус не прячут элементы под ней. */
html.has-sticky { scroll-padding-bottom: 88px; }
@media (max-width: 359px) { .sticky-cta__info span { display: none; } }
@media (min-width: 960px) { .sticky-cta { display: none; } }

/* ------------------------------------------------------------ MODAL */
.modal {
  width: min(960px, calc(100% - 24px)); max-width: none; max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: var(--radius-xl);
  background: #fff; color: var(--text); box-shadow: 0 40px 120px rgba(5, 7, 15, 0.5); overflow: auto; overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(5, 7, 15, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in 0.35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.modal__inner { position: relative; display: grid; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; }
.modal__media { background: var(--ink); padding: 20px; display: grid; place-items: center; }
.modal__media .reel { width: min(260px, 62vw); cursor: default; }
.modal__media .reel:hover { box-shadow: var(--shadow-lg); }
.modal__media iframe { width: min(340px, 100%); aspect-ratio: 9 / 16; height: auto; border: 0; border-radius: 16px; background: #fff; }
.modal__media video { width: min(300px, 100%); aspect-ratio: 9 / 16; border-radius: 16px; background: #000; object-fit: cover; }
.modal__body { padding: 26px 22px 24px; display: grid; gap: 16px; align-content: start; }
.modal__body .eyebrow { margin-bottom: -4px; }
.modal__title { font-size: 1.45rem; padding-right: 40px; }
.modal__views { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.modal__views-num { display: flex; align-items: center; gap: 8px; font: 800 2.2rem/1 var(--font-display); letter-spacing: -0.035em; }
.modal__views-num .icon { width: 0.65em; height: 0.65em; color: var(--cobalt); }
.verified { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #127a4b; background: #e9f8f0; border: 1px solid #c4ecd7; padding: 3px 9px; border-radius: 999px; }
.verified .icon { width: 14px; height: 14px; }
.modal__shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.modal__shot figure { margin: 0; }
.modal__shot img { width: 100%; max-height: 420px; object-fit: contain; background: #fff; }
.modal__shot figcaption { font-size: 12.5px; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line); }
.shot-ph { display: grid; place-items: center; gap: 8px; padding: 28px 16px; text-align: center; color: var(--muted); font-size: 13.5px; border: 1.5px dashed #cdd4e4; border-radius: var(--radius); margin: 8px; }
.shot-ph .icon { width: 28px; height: 28px; color: #9aa3ba; }
.modal__breakdown { margin: 0; display: grid; gap: 12px; }
.breakdown__row { display: grid; gap: 3px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--mist); border: 1px solid var(--line); }
.breakdown__row dt { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cobalt); }
.breakdown__row dd { margin: 0; font-size: 15px; color: var(--text); }
.breakdown__row.is-empty { background: #fff; border-style: dashed; }
.breakdown__row.is-empty dd { color: var(--muted); font-size: 13.5px; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.modal__nav { display: flex; gap: 10px; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 16px; }
@media (min-width: 820px) {
  .modal__inner { grid-template-columns: 0.9fr 1.1fr; min-height: 560px; }
  .modal__media { padding: 36px; }
  .modal__body { padding: 40px 36px 32px; }
}

/* ------------------------------------------------------------ REVEAL */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* Блокировка прокрутки страницы под открытым окном */
html:has(dialog[open]) { overflow: hidden; }

/* ------------------------------------------------------------ лист ожидания */
.section--waitlist { background: var(--mist); scroll-margin-top: var(--header-h); }
.waitlist { display: grid; gap: 28px; align-items: start; max-width: 1040px; }
.waitlist__intro h2 { margin: 10px 0 12px; }
.waitlist__box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 20px; box-shadow: var(--shadow); min-width: 0; }
.waitlist__form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field__label { font-size: 14px; font-weight: 600; }
.field__input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--text); font: 16px/1.3 var(--font-body); }
.field__input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-050); }
.field__input[aria-invalid="true"] { border-color: #c2410c; }
.field--check { grid-template-columns: 22px 1fr; align-items: start; gap: 10px; font-size: 14px; line-height: 1.45; }
.field--check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--cobalt); }
.waitlist__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist__msg { min-height: 0; font-size: 14px; color: var(--muted); }
.waitlist__msg:empty { display: none; }
.waitlist__msg.is-error { color: #b42318; font-weight: 600; }
.waitlist__privacy { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.waitlist__privacy a { color: inherit; text-decoration: underline; }
.waitlist__done { display: grid; gap: 8px; text-align: center; padding: 12px 4px; }
.waitlist__done .icon { width: 36px; height: 36px; margin: 0 auto; color: var(--cobalt); }
.waitlist__done-title { font: 700 1.35rem/1.25 var(--font-display); outline: none; }
.waitlist__done p { color: var(--muted); overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .waitlist { grid-template-columns: 1fr 1fr; gap: 48px; }
  .waitlist__box { padding: 32px; }
}
/* Длинная подпись «Записаться в лист ожидания» не должна раздвигать карточки тарифов */
.tier { min-width: 0; }
.tier .btn, .vip__cta .btn, [data-cta="waitlist"].btn { white-space: normal; text-align: center; line-height: 1.25; }

/* Бонусный урок: выделен кобальтовой рамкой и меткой, номер не входит в основные уроки */
.lesson--bonus { border-color: #c4ceff; background: linear-gradient(180deg, var(--cobalt-050) 0%, #fff 70%); }
.lesson--bonus .lesson__num--bonus { background: var(--cobalt); color: #fff; }
.lesson__badge {
  display: flex; width: fit-content; align-items: center; gap: 6px; margin-bottom: 6px;
  padding: 4px 10px; border-radius: 999px; background: var(--cobalt); color: #fff;
  font: 700 11.5px/1.2 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase;
}
.lesson__badge .icon { width: 13px; height: 13px; }
.lesson--bonus .lesson__title { display: block; }
.lesson__status {
  display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px;
  background: var(--warn-bg); color: var(--warn); border: 1px solid #f6dcb0; font-size: 14px;
}
.lesson__status .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.lesson__reqs { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.lesson__note { font-size: 13px; }
.lesson__extra { padding: 12px 14px; border-radius: 10px; background: var(--cobalt-050); color: var(--text); }

/* ------------------------------------------------------------ 7 блоков (Alex 15.11.2026) */
.outcome__ai { display: grid; grid-template-columns: 18px 1fr; gap: 8px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.outcome__ai .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--cobalt); }
.outcome__ai strong { color: var(--ink); font-weight: 600; }
.fit { display: grid; gap: 14px; margin-top: 28px; }
.fit__col { padding: 22px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); min-width: 0; }
.fit__col--no { background: transparent; border-style: dashed; }
.fit__title { font-size: 1.1rem; margin-bottom: 12px; }
.fit__list { display: grid; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.fit__list strong { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .fit { grid-template-columns: 1fr 1fr; } }
.req { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.req__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.req__lead { margin: 10px 0 20px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.req .req-fact { padding: 16px 18px; }
.req__limits { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); background: var(--cobalt-050); color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.req__more { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 14px 18px; }
.req__more summary { cursor: pointer; font-weight: 600; }
.req__more .req-tools { margin-top: 14px; }
@media (min-width: 900px) { .req .req-facts { grid-template-columns: 1fr 1fr; } }
.pricing__how { margin: 22px auto 0; max-width: 820px; text-align: center; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.anchor { display: block; position: relative; top: -90px; visibility: hidden; height: 0; }

/* ------------------------------------------------------------ ссылки на профиль Instagram автора */
.feed__link { display: block; border-radius: 23px; }
.feed__link img { transition: filter 0.2s var(--ease); }
.feed__link:hover img { filter: brightness(1.04); }
.hero__chip--link { padding: 0; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.hero__chip--link:hover, .hero__chip--link:focus-within { border-color: rgba(125, 147, 255, 0.6); background: rgba(16, 28, 78, 0.92); }
.hero__chip-link { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; color: inherit; text-decoration: none; }
.hero__chip-link strong { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.45); text-underline-offset: 3px; }
.hero__chip-go { display: grid; place-items: center; color: var(--cobalt-300); }
.hero__chip-go .icon { width: 16px; height: 16px; }
.ig-check { margin-top: 24px; }
.ig-check .link-arrow { margin-top: 0; min-height: 44px; }
.author__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; margin-top: 28px; }
.author__links .link-arrow { margin-top: 0; min-height: 44px; }
