/* =============================================================================
   Киноискусство — онлайн-курс Рони Делгер
   Дизайн-система лендинга. Один стиль-лист на все страницы.

   Оглавление:
     1.  Токены (:root)
     2.  Сброс и база
     3.  Утилиты раскладки (container, section, grid)
     4.  Типографика (eyebrow, заголовки, prose, списки)
     5.  Кнопки и бейджи
     6.  Фоновые секции (фото + затемнение)
     7.  Hero
     8.  Видео-врезка
     9.  Карточки «боль»
     10. Блок «решение» / медиа-портрет
     11. Программа (вебинары, блоки, уроки, итоги, бонусы)
     12. Что входит / результаты
     13. Кому подойдёт / не подойдёт
     14. Об авторе + статистика
     15. Отзывы (карусель)
     16. Тарифы
     17. FAQ
     18. Финальный оффер
     19. Подвал
     20. Правовые страницы (оферта, политика)
     21. Адаптив и доступность
   ========================================================================== */

/* 1. ТОКЕНЫ ---------------------------------------------------------------- */
:root {
  /* Базовые каналы для полупрозрачности */
  --ink-rgb: 242, 236, 228;
  --accent-rgb: 233, 161, 92;

  /* Фоны */
  --bg: #0a0908;
  --bg-2: #100d0a;
  --bg-3: #15110d;
  --bg-4: #120e0b;
  --bg-footer: #070605;
  --surface: rgba(28, 24, 20, 0.85);

  /* Текст */
  --text: #f2ece4;
  --text-soft: #ded5c9;
  --text-soft-2: #e6ded3;
  --text-mut: #c4b8a9;
  --text-hint: #b3a99d;
  --muted: #a49a8e;
  --muted-2: #8d8378;
  --dot-dim: #6b6058;
  --sep: #5b544c;

  /* Акцент */
  --accent: #e9a15c;
  --accent-2: #f0b476;
  --accent-3: #ff8a3d;
  --accent-hover: #ffc48a;
  --on-accent: #170e06;
  --grad-accent: linear-gradient(100deg, #ff8a3d, #e9a15c);

  /* Шрифты */
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Раскладка */
  --container: 1080px;
  --container-narrow: 840px;
  --container-tight: 760px;
  --pad-x: clamp(16px, 5vw, 24px);
  --section-y: clamp(52px, 9vw, 96px);

  /* Радиусы */
  --r-sm: 13px;
  --r: 16px;
  --r-md: 18px;
  --r-lg: 20px;
  --r-xl: 22px;
  --r-2xl: 24px;
  --r-pill: 999px;

  /* Тени */
  --shadow-accent: 0 14px 44px rgba(var(--accent-rgb), 0.32);
}

/* 2. СБРОС И БАЗА ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.1;
}

p { margin: 0; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--accent-hover); }

p, li, summary, h1, h2, h3, span {
  hyphens: none;
  -webkit-hyphens: none;
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

details summary::-webkit-details-marker { color: var(--accent); }

@keyframes glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* 3. РАСКЛАДКА ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.container--narrow { max-width: var(--container-narrow); }
.container--tight { max-width: var(--container-tight); }

.section { padding-block: var(--section-y); }
.section--flush { padding-block: 0; }
.section--pt-0 { padding-top: 0; }
.section--bg { background: var(--bg); }
.section--bg-2 { background: var(--bg-2); }
.section--sink { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.section--rise { background: linear-gradient(180deg, var(--bg), var(--bg-4)); }

/* Адаптивная сетка «сколько влезет». Ширину колонки задаёт --col. */
.grid {
  display: grid;
  gap: var(--gap, 20px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--col, 300px)), 1fr));
}

/* 4. ТИПОГРАФИКА ----------------------------------------------------------- */
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.eyebrow--accent { color: var(--accent); }

.section-title {
  font-size: clamp(30px, 4.6vw, 52px);
  text-wrap: balance;
}
.section-title--sm { font-size: clamp(28px, 4.4vw, 48px); }
.section-title--lg { font-size: clamp(32px, 6vw, 66px); line-height: 1.05; }

.lead {
  font-size: clamp(16px, 2.2vw, 18px);
  color: var(--text-soft);
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 18px;
  color: var(--text-soft);
}
.prose em {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--accent-2);
}

.muted { color: var(--muted); }
.accent { color: var(--accent-2); }

/* Мелкие утилиты (ширина текстовой колонки, отступы, насыщенность) */
.measure { max-width: 620px; }
.measure-600 { max-width: 600px; }
.fw-600 { font-weight: 600; }
.mt-12 { margin-top: 12px; }
.mb-20 { margin-bottom: 20px; }
.prose-lead-in {
  margin: 18px 0 14px;
  font-weight: 600;
  color: var(--accent-2);
}

/* Список с точкой-маркером */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
}
.check-item::before {
  content: "";
  flex: none;
  margin-top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.check-item--dim::before { background: var(--dot-dim); }

/* 5. КНОПКИ И БЕЙДЖИ ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 24px;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn--lg { padding: 18px clamp(24px, 6vw, 34px); }
.btn--block { display: flex; width: 100%; margin-top: auto; }

.btn--primary {
  background: var(--grad-accent);
  color: var(--on-accent);
  font-weight: 700;
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  color: var(--on-accent);
  transform: translateY(-2px);
  box-shadow: 0 18px 54px rgba(var(--accent-rgb), 0.45);
}

.btn--ghost {
  border: 1px solid rgba(var(--ink-rgb), 0.35);
  color: var(--text);
}
.btn--ghost:hover {
  color: var(--text);
  background: rgba(var(--ink-rgb), 0.1);
}

.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 18px;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  border-radius: var(--r-pill);
  background: rgba(10, 9, 8, 0.45);
  backdrop-filter: blur(6px);
  font-size: clamp(10px, 1.5vw, 12px);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--accent-2);
}
.badge__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: glow 2.6s ease-in-out infinite;
}

/* 6. ФОНОВЫЕ СЕКЦИИ -------------------------------------------------------- */
.bg-section {
  position: relative;
  isolation: isolate;
}
.bg-section__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.bg-section__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
}
/* Прозрачность фотоподложки */
.bg-section__photo--dim-60 { opacity: 0.6; }
.bg-section__photo--dim-50 { opacity: 0.5; }
.bg-section__photo--dim-45 { opacity: 0.45; }
/* Кадрирование фотоподложки */
.bg-section__photo--pos-amplify { object-position: 60% 40%; }
.bg-section__photo--pos-cta { object-position: 50% 40%; }
/* Затемнения под конкретные секции */
.scrim--amplify {
  background: linear-gradient(90deg, var(--bg) 8%, rgba(10, 9, 8, 0.72) 55%, rgba(10, 9, 8, 0.35));
}
.scrim--results {
  background: linear-gradient(180deg, var(--bg-2), rgba(16, 13, 10, 0.78) 40%, var(--bg));
}
.scrim--reviews {
  background: linear-gradient(180deg, var(--bg-4), rgba(18, 14, 11, 0.8), var(--bg));
}
.scrim--cta {
  background: linear-gradient(180deg, var(--bg), rgba(10, 9, 8, 0.7) 45%, rgba(10, 9, 8, 0.95));
}

/* 7. HERO ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: min(94svh, 820px);
  padding: 0 0 clamp(40px, 7vw, 64px);
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  z-index: -2;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(10, 9, 8, 0.55) 0%,
    rgba(10, 9, 8, 0.25) 35%,
    rgba(10, 9, 8, 0.9) 78%,
    var(--bg) 100%
  );
}
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero__title {
  max-width: 900px;
  font-size: clamp(38px, 7.2vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  color: var(--accent-2);
}
.hero__lead {
  max-width: 620px;
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 300;
  line-height: 1.55;
  color: #cfc5b9;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
}
.hero__note {
  font-size: 14px;
  color: var(--muted);
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 14px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid rgba(var(--ink-rgb), 0.12);
  font-size: 13px;
  font-weight: 500;
  color: #cfc5b9;
}
.hero__facts li {
  display: flex;
  align-items: center;
  gap: 10px 28px;
}
.hero__facts li:not(:last-child)::after {
  content: "/";
  color: var(--sep);
}

/* 8. ВИДЕО-ВРЕЗКА ---------------------------------------------------------- */
.video-band { padding: clamp(28px, 5vw, 48px) 0 0; }
.video-band--tail { padding: 0 0 clamp(28px, 5vw, 48px); }

.video-frame {
  margin: 0;
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-3);
}
.video-frame video,
.video-frame__placeholder {
  width: 100%;
  height: auto;
  display: block;
}
.video-frame__placeholder {
  aspect-ratio: 16 / 9;
  background: var(--bg-3);
}

/* 9. КАРТОЧКИ «БОЛЬ» ------------------------------------------------------- */
.pain-grid {
  --col: 260px;
  --gap: 18px;
}
.pain-card {
  padding: clamp(22px, 4.5vw, 28px);
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-radius: var(--r-md);
  background: linear-gradient(
    180deg,
    rgba(var(--ink-rgb), 0.045),
    rgba(var(--ink-rgb), 0.015)
  );
}
.pain-card__num {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 34px;
  color: var(--accent);
}
.pain-card__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-soft-2);
}

/* 10. РЕШЕНИЕ / МЕДИА-ПОРТРЕТ ---------------------------------------------- */
.split {
  display: grid;
  gap: clamp(30px, 6vw, 48px);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.media {
  margin: 0;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid rgba(var(--ink-rgb), 0.12);
}
.media--portrait { aspect-ratio: 4 / 5; }
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-intro { margin: 0 0 36px; }

/* 11. ПРОГРАММА ------------------------------------------------------------ */
.webinar {
  display: grid;
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  margin: 20px 0;
  padding: clamp(22px, 4.5vw, 30px);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: var(--r-lg);
  background: linear-gradient(
    120deg,
    rgba(var(--accent-rgb), 0.1),
    rgba(var(--accent-rgb), 0.02)
  );
}
.webinar__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.webinar__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.15;
}
.webinar__sub {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-2);
}
.webinar__text {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-mut);
}
.webinar__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-soft-2);
}
.webinar__list p { margin: 0; }

.block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  margin: 20px 0;
  border: 1px solid rgba(var(--ink-rgb), 0.14);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-3);
}
.block__cover {
  position: relative;
  min-height: 260px;
}
.block__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.block__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 17, 13, 0.15), rgba(21, 17, 13, 0.9));
}
.block__cover-title {
  position: absolute;
  left: clamp(20px, 4.5vw, 28px);
  bottom: 20px;
  z-index: 1;
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(26px, 3.6vw, 38px);
}
.block__body { padding: clamp(22px, 4.5vw, 32px); }
.block__eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.block__hint {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted-2);
}

.lessons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lesson {
  padding: 15px 18px;
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: var(--r-sm);
  background: rgba(var(--ink-rgb), 0.04);
}
.lesson__summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}
.lesson__text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-hint);
}

.outcome {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.1);
}
.outcome__title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--accent-2);
}
.outcome__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-soft-2);
}
.outcome__list p { margin: 0; }

.bonus {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 280px;
  margin-top: 20px;
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.bonus__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
}
.bonus::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.2), rgba(10, 9, 8, 0.94));
}
.bonus__body {
  position: relative;
  z-index: 1;
  padding: 28px;
}
.bonus__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.bonus__title {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 28px;
}
.bonus__list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-soft-2);
}

/* 12. ЧТО ВХОДИТ / РЕЗУЛЬТАТЫ ---------------------------------------------- */
.results-band__grid {
  display: grid;
  gap: clamp(30px, 6vw, 44px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.includes {
  display: flex;
  flex-direction: column;
}
.includes__row {
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.12);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}
.includes__row:last-child { border-bottom: 0; }
.includes__row--gift { color: var(--accent-2); }

.results-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.result-card {
  margin: 0;
  padding: 20px 22px;
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-radius: var(--r);
  background: rgba(var(--ink-rgb), 0.06);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-soft-2);
}

/* 13. КОМУ / НЕ КОМУ ------------------------------------------------------- */
.fit-grid {
  --col: 300px;
  margin-top: 20px;
}
.fit-card {
  padding: clamp(24px, 5vw, 34px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  background: rgba(var(--ink-rgb), 0.03);
}
.fit-card--yes {
  border-color: rgba(var(--accent-rgb), 0.3);
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.1),
    rgba(var(--accent-rgb), 0.02)
  );
}
.fit-card__title {
  margin: 0 0 20px;
  font-family: var(--font-head);
  font-size: 30px;
}
.fit-card--yes .fit-card__title { color: var(--accent-2); }
.fit-card--no .fit-card__title { color: var(--muted); }
.fit-card--no .check-item { color: var(--text-hint); }

/* 14. ОБ АВТОРЕ ------------------------------------------------------------ */
.author__stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
  margin-top: 4px;
}
.stat {
  padding: 20px;
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-radius: var(--r);
  background: rgba(var(--ink-rgb), 0.05);
}
.stat__num {
  margin: 0;
  font-family: var(--font-head);
  font-size: 34px;
  color: var(--accent-2);
  white-space: nowrap;
}
.stat__label {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

/* 15. ОТЗЫВЫ --------------------------------------------------------------- */
.reviews__head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(24px, 4vw, 36px);
}
.reviews__nav { display: flex; gap: 10px; }
.reviews__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(var(--ink-rgb), 0.3);
  background: rgba(10, 9, 8, 0.6);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.reviews__btn:hover {
  background: rgba(var(--accent-rgb), 0.25);
  border-color: var(--accent);
}
.reviews__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  /* proximity (не mandatory): снап помогает свайпу, но не мешает
     программной прокрутке кнопками ← →. Плавность задаёт JS. */
  scroll-snap-type: x proximity;
  padding-bottom: 14px;
  align-items: flex-start;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--accent-rgb), 0.5) transparent;
}
.review {
  flex: 0 0 min(86%, 360px);
  scroll-snap-align: start;
  border: 1px solid rgba(var(--ink-rgb), 0.14);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
}
.review img { width: 100%; height: auto; }
.reviews__hint {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* 16. ТАРИФЫ --------------------------------------------------------------- */
.plans {
  display: grid;
  gap: 20px;
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.pay-note {
  max-width: 620px;
  margin: 0 0 clamp(30px, 6vw, 44px);
  padding: 16px 20px;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.1);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 5vw, 32px);
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: var(--r-xl);
  background: rgba(var(--ink-rgb), 0.035);
}
.plan--featured {
  position: relative;
  border-color: rgba(var(--accent-rgb), 0.5);
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.14),
    rgba(var(--accent-rgb), 0.03)
  );
  box-shadow: 0 20px 60px rgba(var(--accent-rgb), 0.12);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 32px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--grad-accent);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.plan__name {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 26px;
}
.plan--featured .plan__name { color: var(--accent-2); }
.plan__tagline {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.plan--featured .plan__tagline { color: var(--text-mut); }
.plan__price {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 42px;
  color: var(--text);
}
.plan--featured .plan__price { color: #fff; }
.plan__note {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.plan--featured .plan__note { color: var(--text-mut); }
.plan__features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-soft);
}
.plan__features p { margin: 0; }
.plan--featured .plan__features { color: var(--text); }
.plan__callout {
  margin-bottom: 28px;
  padding: 16px 18px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.08);
}
.plan__callout-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--accent-2);
}
.plan__callout-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-soft);
}
.plan__callout-list p { margin: 0; }

/* 17. FAQ ------------------------------------------------------------------ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  padding: 20px clamp(18px, 4vw, 24px);
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: var(--r);
  background: rgba(var(--ink-rgb), 0.035);
}
.faq-item__q {
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}
.faq-item__a {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-mut);
}

/* 18. ФИНАЛЬНЫЙ ОФФЕР ------------------------------------------------------ */
.cta { text-align: center; }
.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.cta__lead {
  max-width: 560px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-soft);
}
.cta__contact {
  font-size: 14px;
  color: var(--muted);
}

/* 19. ПОДВАЛ --------------------------------------------------------------- */
.footer {
  padding: 32px 0;
  background: var(--bg-footer);
  border-top: 1px solid rgba(var(--ink-rgb), 0.08);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: space-between;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer__legal { margin-top: 22px; }

/* 20. ПРАВОВЫЕ СТРАНИЦЫ ---------------------------------------------------- */
.legal {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding: clamp(40px, 8vw, 80px) var(--pad-x);
  color: var(--text-soft);
}
/* Ссылка «назад» — единственный прямой <a> в начале страницы */
.legal > a {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 500;
}
.legal h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.12;
  color: var(--text);
}
/* Вводный абзац — прямой ребёнок .legal сразу после заголовка */
.legal > p {
  margin: 0 0 40px;
  font-size: 16px;
  color: var(--muted);
}
.legal h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3.4vw, 30px);
  color: var(--accent-2);
}
/* Смысловые блоки — прямые <div> внутри .legal */
.legal > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  font-size: 16px;
  line-height: 1.65;
}
.legal > div p { margin: 0; }
.legal > div ul { margin: 0; padding-left: 22px; }
.legal > div li { margin: 0 0 8px; }

/* 21. АДАПТИВ И ДОСТУПНОСТЬ ------------------------------------------------ */
@media (max-width: 520px) {
  h1, h2 { letter-spacing: 0; }
}

@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;
    scroll-behavior: auto !important;
  }
}
