/* ===================================================================
   YouTube Uploader — основные стили (БЭМ)
   Структура:
   1. Переменные (:root)
   2. База (body, типографика)
   3. Утилиты (контейнер, секции, сетка-фон, reveal)
   4. Компоненты (logo, btn, badge)
   5. Блоки по секциям
   =================================================================== */

/* ============ 1. ПЕРЕМЕННЫЕ ============ */
:root {
  /* Цвета */
  --color-bg: #121317;
  --color-bg-deep: #0d0e12;
  --color-card: #181a22;
  --color-border: #262a35;
  --color-accent: #7c5cfc;
  --color-accent-light: #cabeff;
  --color-accent-dark: #4918c8;
  --color-text: #edeef2;
  --color-text-soft: #e3e2e8;
  --color-text-muted: #8a909c;
  --color-text-variant: #c9c4d8;

  /* Шрифты */
  --font-display: "Unbounded", sans-serif;
  --font-body: "Space Grotesk", sans-serif;

  /* Отступы / размеры */
  --container-max: 1440px;
  --gap-section: clamp(64px, 8vw, 110px);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Тени / свечения */
  --glow-accent: 0 0 25px rgba(124, 92, 252, 0.4);
  --glow-accent-strong: 0 0 50px rgba(124, 92, 252, 0.25);

  /* Переход */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============ 2. БАЗА ============ */
.page {
  background-color: var(--color-bg);
  color: var(--color-text-soft);
  font-family: var(--font-body);
  font-weight: 700;
  overflow-x: hidden;
}

::selection {
  background: var(--color-accent);
  color: #fff;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* ============ 3. УТИЛИТЫ ============ */
.section {
  position: relative;
  padding-block: var(--gap-section);
  border-top: 1px solid rgba(72, 69, 85, 0.1);
  overflow: hidden;
}

/* Сетка-фон (общая для всех секций кроме hero) */
.section__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(124, 92, 252, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 252, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}
.section__grid--bright {
  background-image: linear-gradient(rgba(124, 92, 252, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 252, 0.05) 1px, transparent 1px);
}

/* Заголовок секции */
.section__head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(48px, 6vw, 80px);
  position: relative;
  z-index: 1;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -0.02em;
}
.section__title--accent {
  color: var(--color-accent);
  font-style: italic;
}
.section__title-accent {
  color: var(--color-accent);
}
.section__subtitle {
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 600;
}
.section__subtitle--caps {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  font-weight: 700;
}

/* Появление при скролле */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }

/* ============ 4. КОМПОНЕНТЫ ============ */

/* Логотип */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo__icon {
  width: 32px;
  height: 32px;
  color: var(--color-accent-light);
}
.logo__text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent-light);
  letter-spacing: -0.03em;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn--lg {
  padding: 18px 40px;
}
.btn--primary {
  background: linear-gradient(to right, var(--color-accent), #947dff);
  color: #fff;
}
.btn--primary:hover {
  box-shadow: var(--glow-accent);
  transform: translateY(-2px);
}
.btn--secondary {
  background: rgba(24, 26, 34, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(72, 69, 85, 0.3);
  color: var(--color-text-soft);
}
.btn--secondary:hover {
  background: #38393e;
}
.btn--outline {
  border: 1px solid rgba(72, 69, 85, 0.5);
  color: var(--color-text-soft);
}
.btn--outline:hover {
  border-color: var(--color-accent);
  background: rgba(124, 92, 252, 0.05);
}

/* Бейдж */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(24, 26, 34, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(72, 69, 85, 0.3);
  margin-bottom: 32px;
}
.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  animation: pulse 2s infinite;
}
.badge__text {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent-light);
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============ 5. ШАПКА ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(18, 19, 23, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(72, 69, 85, 0.2);
  transition: background 0.3s, box-shadow 0.3s;
}
.header.is-scrolled {
  background: rgba(18, 19, 23, 0.92);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 16px 40px;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__link {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-variant);
  transition: all 0.3s;
}
.nav__link:hover {
  color: var(--color-accent-light);
  background: rgba(124, 92, 252, 0.05);
}

/* ============ 6. HERO ============ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 128px 16px 80px;
  text-align: center;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to bottom, transparent, rgba(18, 19, 23, 0.4), var(--color-bg));
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1024px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 8vw, 80px);
  line-height: 1.1;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.hero__title-accent {
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__subtitle {
  max-width: 800px;
  margin: 0 auto 48px;
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-text-soft);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
/* ============ 7. ВОЗМОЖНОСТИ (табы) ============ */
.features {
  background: var(--color-bg-deep);
}
.features__container {
  max-width: var(--container-max);
  width: 90%;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.features__layout {
  display: grid;
  grid-template-columns: 20% 25% 55%;
  gap: 24px;
  align-items: stretch;
}

/* Список вкладок */
.tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: left;
  color: var(--color-text-soft);
  border-left: 4px solid transparent;
  transition: all 0.2s;
}
.tab:hover {
  background: rgba(124, 92, 252, 0.05);
}
.tab--active {
  border-left-color: var(--color-accent);
  background: rgba(124, 92, 252, 0.1);
  color: var(--color-accent-light);
}
.tab__label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

/* Панель описания */
.tab-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.tab-panel__content {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.tab-panel__content.is-fading {
  opacity: 0;
  transform: translateY(10px);
}
.tab-panel__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 24px;
}
.tab-panel__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tab-panel__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-variant);
}
.tab-panel__check {
  color: var(--color-accent);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.tab-panel__benefit {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(72, 69, 85, 0.2);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

/* Скриншот */
.tab-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.tab-media__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.tab-media__img.is-fading {
  opacity: 0;
  transform: scale(0.98);
}

/* ============ 8. КАК ЭТО РАБОТАЕТ ============ */
.how__container {
  max-width: var(--container-max);
  width: 95%;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.how__timeline {
  position: relative;
}

/* Линия прогресса (десктоп) */
.how__line {
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(124, 92, 252, 0.15);
  z-index: 0;
  overflow: hidden;
}
.how__line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-light));
  box-shadow: 0 0 12px rgba(124, 92, 252, 0.8);
  transition: width 0.1s linear;
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

/* Карточка шага */
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.step:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 92, 252, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(124, 92, 252, 0.15);
}
.step__watermark {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 900;
  font-style: italic;
  color: rgba(124, 92, 252, 0.1);
  user-select: none;
  pointer-events: none;
}
.step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: linear-gradient(to bottom right, var(--color-accent), var(--color-accent-dark));
  box-shadow: var(--glow-accent);
  margin-bottom: 32px;
  transition: transform 0.5s var(--ease);
}
.step:hover .step__icon {
  transform: scale(1.1);
}
.step__icon .material-symbols-outlined {
  color: #fff;
  font-size: 44px;
}
.step__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.step__text {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}
.step__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  width: 100%;
}
.step__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-variant);
}
.step__item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
  flex-shrink: 0;
}

/* ============ 9. ПОЧЕМУ ЭТО РАБОТАЕТ ============ */
.why__container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 16px;
  position: relative;
  z-index: 1;
}
.why__layout {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 40px;
  align-items: center;
}

/* Преимущества */
.advantages {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.advantage {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(124, 92, 252, 0.1);
}
.advantage:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.advantage__stat {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-accent);
  transition: transform 0.3s;
  transform-origin: left;
}
.advantage:hover .advantage__stat {
  transform: scale(1.05);
}
.advantage__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text);
}
.advantage__text {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Видео */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  box-shadow: var(--glow-accent-strong);
  transition: box-shadow 0.5s;
}
.video:hover {
  box-shadow: 0 0 60px rgba(124, 92, 252, 0.25);
}
.video__badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(13, 14, 18, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(124, 92, 252, 0.3);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
}
.video__player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 60px rgba(124, 92, 252, 0.8);
  transition: transform 0.3s;
}
.video__play:hover {
  transform: translate(-50%, -50%) scale(1.1);
}
.video__play.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.video__play-ring {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  border: 4px solid var(--color-accent);
  opacity: 0.5;
  animation: ring 2s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
.video__play-icon {
  font-size: 56px;
  margin-left: 6px;
  font-variation-settings: "FILL" 1;
}
/* ============ 10. ТАРИФЫ ============ */
.pricing__container {
  max-width: 1200px;
  width: 90%;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}

/* Карточка тарифа */
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, transform 0.3s;
}
.plan:not(.plan--featured) {
  transform: scale(0.96);
  opacity: 0.92;
}
.plan:not(.plan--featured):hover {
  opacity: 1;
  border-color: rgba(124, 92, 252, 0.2);
}
.plan--featured {
  border: 3px solid var(--color-accent);
  z-index: 2;
  box-shadow: var(--glow-accent-strong);
  animation: border-glow 3s ease-in-out infinite;
}
@keyframes border-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(124, 92, 252, 0.25), 0 0 60px rgba(124, 92, 252, 0.1); }
  50% { box-shadow: 0 0 50px rgba(124, 92, 252, 0.5), 0 0 90px rgba(124, 92, 252, 0.25); }
}
.plan__badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 24px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(124, 92, 252, 0.4);
}
.plan__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(124, 92, 252, 0.1);
  border: 1px solid rgba(124, 92, 252, 0.3);
  color: var(--color-accent);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.plan__head {
  text-align: center;
  margin-bottom: 16px;
}
.plan__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.plan__note {
  font-size: 14px;
  color: rgba(201, 196, 216, 0.6);
}
.plan__note--accent {
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.plan__price--lg {
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
}
.plan__amount {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: #fff;
}
.plan__price--lg .plan__amount {
  font-size: 48px;
}
/* Beta: struck-through prices + "free in beta" labels */
s.plan__amount {
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: rgba(255, 110, 140, 0.85);
  color: rgba(201, 196, 216, 0.55);
}
.plan__nowfree {
  margin: -10px 0 18px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: #5ad19a;
  letter-spacing: .01em;
}
.plan__nowfree--hl {
  font-size: 26px;
  color: #6ee7a8;
  text-shadow: 0 0 22px rgba(90, 209, 154, 0.45);
}
.pricing__beta {
  max-width: 640px;
  margin: 22px auto 0;
  padding: 22px 26px;
  border: 1px solid rgba(124, 92, 252, 0.35);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.14), rgba(90, 209, 154, 0.08));
  text-align: center;
}
.pricing__beta-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(124, 92, 252, 0.25);
  border: 1px solid rgba(124, 92, 252, 0.5);
  color: var(--color-accent-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pricing__beta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: #fff;
  margin: 14px 0 8px;
}
.pricing__beta-free { color: #6ee7a8; }
.pricing__beta-text {
  color: rgba(201, 196, 216, 0.82);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.plan__period {
  font-size: 18px;
  color: rgba(201, 196, 216, 0.6);
}
.plan__once,
.plan__permonth {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan__once {
  color: rgba(201, 196, 216, 0.6);
}
.plan__permonth {
  text-align: center;
  color: var(--color-accent);
  margin-top: -16px;
  margin-bottom: 24px;
}
.plan__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  margin-bottom: 24px;
}
.plan__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-variant);
}
.plan__feature .material-symbols-outlined {
  color: var(--color-accent);
  font-size: 20px;
}
.plan__feature--off {
  color: rgba(201, 196, 216, 0.3);
  text-decoration: line-through;
}
.plan__feature--off .material-symbols-outlined {
  color: rgba(201, 196, 216, 0.3);
}
.plan__feature--hl {
  color: #fff;
  font-weight: 700;
}
.plan__feature--hl .material-symbols-outlined {
  font-variation-settings: "FILL" 1;
}
.plan__btn {
  width: 100%;
}
.plan--featured .plan__btn {
  box-shadow: 0 10px 25px rgba(124, 92, 252, 0.4);
}

/* ============ 11. КОНТАКТЫ ============ */
.contact__container {
  max-width: 60%;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.contact__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 40px;
}
.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 0.3s;
}
.contact-card:not(.contact-card--featured) {
  opacity: 0.85;
}
.contact-card:not(.contact-card--featured):hover {
  opacity: 1;
  border-color: rgba(124, 92, 252, 0.3);
}
.contact-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 0 30px rgba(124, 92, 252, 0.3);
  transform: scale(1.03);
  z-index: 2;
}
.contact-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(124, 92, 252, 0.1);
  margin-bottom: 24px;
}
.contact-card__icon .material-symbols-outlined {
  color: var(--color-accent);
  font-size: 32px;
}
.contact-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.contact-card__text {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.contact-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 32px;
  text-align: left;
}
.contact-card__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-variant);
}
.contact-card__item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
}
.contact-card__meta {
  margin-bottom: 32px;
}
.contact-card__note {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(124, 92, 252, 0.6);
}
.contact-card__note--muted {
  color: var(--color-text-muted);
  opacity: 0.6;
}
.contact-card__btn {
  width: 100%;
  margin-top: auto;
}
.contact__hours {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

/* ============ 12. FAQ ============ */
.faq__container {
  max-width: var(--container-max);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.faq__list {
  max-width: 800px;
  width: 65%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover {
  border-color: rgba(124, 92, 252, 0.3);
}
.faq-item__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 32px;
  text-align: left;
  gap: 16px;
}
.faq-item__q {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.faq-item__icon {
  color: var(--color-accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item--open .faq-item__icon {
  transform: rotate(45deg);
}
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-item__answer p {
  padding: 0 32px 24px;
  color: var(--color-text-muted);
  line-height: 1.6;
  font-weight: 500;
}

/* ============ 13. ФУТЕР ============ */
.footer {
  position: relative;
  background: var(--color-bg);
  border-top: 1px solid rgba(72, 69, 85, 0.1);
  overflow: hidden;
}
.footer__container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 64px 40px;
  position: relative;
  z-index: 1;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer__tagline {
  margin-top: 16px;
  max-width: 280px;
  font-size: 16px;
  color: var(--color-text-muted);
}
.footer__heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text);
  margin-bottom: 24px;
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__link {
  color: var(--color-text-muted);
  transition: color 0.3s;
}
.footer__link:hover {
  color: var(--color-accent-light);
}
.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(72, 69, 85, 0.1);
}
.footer__copy {
  font-size: 12px;
  color: var(--color-text-muted);
}
/* ===================================================================
   14. АДАПТИВ
   Брейкпоинты: 1024px (планшет/ноут), 768px (мобильный)
   =================================================================== */

/* ====== ≤ 1024px — планшеты, узкие ноуты ====== */
@media (max-width: 1024px) {
  .header__container {
    padding: 16px 24px;
  }

  /* Навигация прячется (заменяется кнопкой-бургером) */
  .nav {
    display: none;
  }

  /* Возможности: список вкладок сверху, контент снизу */
  .features__layout {
    grid-template-columns: 1fr;
  }
  .tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .tab {
    flex: 1 1 auto;
    border-left: none;
    border-bottom: 4px solid transparent;
  }
  .tab--active {
    border-left: none;
    border-bottom-color: var(--color-accent);
  }

  /* Как это работает: 2 колонки */
  .how__steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .how__line {
    display: none;
  }

  /* Почему это работает: видео сверху, преимущества снизу */
  .why__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Контакты шире */
  .contact__container {
    max-width: 90%;
  }

  /* FAQ шире */
  .faq__list {
    width: 100%;
  }
}

/* ====== ≤ 768px — мобильные ====== */
@media (max-width: 768px) {
  :root {
    --gap-section: 56px;
  }

  .header__container {
    padding: 12px 16px;
  }
  .logo__text {
    font-size: 18px;
  }
  .header__cta {
    padding: 10px 16px;
    font-size: 12px;
  }

  /* Hero */
  .hero {
    min-height: 520px;
    padding: 100px 16px 64px;
  }
  .hero__subtitle br {
    display: none;
  }
  .hero__actions {
    flex-direction: column;
    gap: 16px;
  }
  .btn--lg {
    width: 100%;
  }

  /* Возможности: вкладки в столбец, скриншот под текстом */
  .tabs {
    flex-direction: column;
  }
  .tab {
    border-bottom: none;
    border-left: 4px solid transparent;
  }
  .tab--active {
    border-left-color: var(--color-accent);
    border-bottom: none;
  }
  .tab-panel,
  .features__container,
  .how__container {
    width: 100%;
  }
  .features__container {
    width: 92%;
  }

  /* Как это работает: 1 колонка + вертикальная линия слева */
  .how__steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Тарифы: в столбец, Lifetime первым */
  .pricing__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .plan {
    transform: none !important;
    opacity: 1 !important;
  }
  .plan--featured {
    order: -1;
  }

  /* Контакты: в столбец, Менеджер первым */
  .contact__cards {
    grid-template-columns: 1fr;
  }
  .contact-card--featured {
    order: -1;
    transform: none;
  }

  /* FAQ */
  .faq-item__btn {
    padding: 20px;
  }
  .faq-item__q {
    font-size: 16px;
  }
  .faq-item__answer p {
    padding: 0 20px 20px;
  }

  /* Футер: в столбец */
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__container {
    padding: 48px 20px;
  }
}

/* ====== ≤ 480px — мелкие телефоны ====== */
@media (max-width: 480px) {
  .section__title {
    font-size: 28px;
  }
  .hero__title {
    font-size: 40px;
  }
  .step,
  .tab-panel,
  .plan,
  .contact-card {
    padding: 24px;
  }
}
/* ============ БУРГЕР И МОБИЛЬНОЕ МЕНЮ ============ */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 60;
}
.burger__line {
  width: 26px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.is-active .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active .burger__line:nth-child(2) { opacity: 0; }
.burger.is-active .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: rgba(18, 19, 23, 0.97);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
}
.mobile-menu__link:hover {
  color: var(--color-accent);
}
@media (max-width: 1024px) {
  .burger { display: flex; }
}

/* ===================================================================
   15. POLISH OVERRIDES
   Мобильная шапка, типографика, плавность и доступность
   =================================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

.page {
  font-weight: 500;
  line-height: 1.5;
}

.nav {
  margin-inline: auto;
}

.hero__subtitle,
.section__subtitle,
.badge__text,
.nav__link,
.btn,
.tab__label,
.tab-panel__item,
.tab-panel__benefit,
.step__text,
.step__item,
.advantage__text,
.plan__note,
.plan__period,
.plan__once,
.plan__permonth,
.plan__feature,
.contact-card__text,
.contact-card__item,
.contact-card__note,
.contact__hours,
.faq-item__q,
.faq-item__answer p,
.footer__tagline,
.footer__heading,
.footer__link,
.mobile-menu__link,
.video__badge,
.plan__badge,
.plan__tag,
.contact-card__badge {
  font-family: var(--font-body);
  font-style: normal;
}

.hero__subtitle,
.section__subtitle,
.tab-panel__item,
.step__text,
.advantage__text,
.plan__feature,
.contact-card__text,
.faq-item__answer p,
.footer__tagline {
  font-weight: 500;
  color: var(--color-text-soft);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.9vw, 18px);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.section__subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.65;
}

.section__subtitle--caps,
.badge__text,
.nav__link,
.btn,
.tab__label,
.tab-panel__benefit,
.step__item,
.contact-card__item,
.contact-card__note,
.contact__hours,
.footer__heading,
.mobile-menu__link,
.video__badge,
.plan__badge,
.plan__tag,
.contact-card__badge {
  letter-spacing: 0.08em;
}

.btn,
.nav__link,
.tab__label,
.faq-item__q,
.plan__feature,
.contact-card__item {
  font-weight: 600;
}

.btn {
  font-family: var(--font-body);
}

.nav__link,
.btn,
.tab,
.step,
.plan,
.contact-card,
.faq-item,
.video,
.video__play,
.tab-media__img,
.tab-panel__content,
.burger__line,
.mobile-menu {
  transition-timing-function: var(--ease);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.985);
  filter: blur(6px);
  transition: opacity 0.82s var(--ease), transform 0.82s var(--ease), filter 0.82s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }

.reveal-stagger > * {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  filter: blur(6px);
  transition: opacity 0.78s var(--ease), transform 0.78s var(--ease), filter 0.78s var(--ease);
  transition-delay: calc(var(--stagger-index, 0) * 90ms);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.tab-panel__content,
.tab-media__img {
  transition-duration: 0.24s;
}

.tab-panel__benefit {
  font-weight: 600;
  text-transform: none;
}

.step {
  transition: transform 0.4s var(--ease), border-color 0.35s var(--ease), box-shadow 0.4s var(--ease), background-color 0.35s var(--ease);
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), 0 0 22px rgba(124, 92, 252, 0.12);
}

.step:hover .step__icon {
  transform: translateY(-2px) scale(1.04);
}

.plan,
.plan:not(.plan--featured) {
  transform: none;
  opacity: 1;
}

.plan {
  transition: transform 0.4s var(--ease), border-color 0.35s var(--ease), box-shadow 0.4s var(--ease), background-color 0.35s var(--ease);
}

.plan:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 252, 0.4);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), 0 0 24px rgba(124, 92, 252, 0.14);
}

.plan--featured {
  animation: border-glow 4s ease-in-out infinite;
}

.contact-card,
.contact-card:not(.contact-card--featured),
.contact-card--featured {
  opacity: 1;
  transform: none;
}

.contact-card {
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 252, 0.38);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24), 0 0 20px rgba(124, 92, 252, 0.12);
}

.contact-card--featured {
  box-shadow: 0 0 28px rgba(124, 92, 252, 0.24);
}

.video__play {
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease), box-shadow 0.35s var(--ease);
  animation: playPulse 2.8s ease-in-out infinite;
}

.video__play:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.video__play-ring {
  animation: ring 2.8s ease-out infinite;
}

@keyframes playPulse {
  0%, 100% {
    box-shadow: 0 0 40px rgba(124, 92, 252, 0.42);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    box-shadow: 0 0 62px rgba(124, 92, 252, 0.62);
    transform: translate(-50%, -50%) scale(1.03);
  }
}

.how__line {
  height: 3px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, rgba(124, 92, 252, 0.06), rgba(124, 92, 252, 0.18), rgba(124, 92, 252, 0.06));
}

.how__line-fill {
  border-radius: inherit;
  overflow: visible;
  transition: width 0.16s linear;
}

.how__line-fill::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transform: translate(50%, -50%);
  box-shadow: 0 0 0 4px rgba(124, 92, 252, 0.22), 0 0 18px rgba(124, 92, 252, 0.85), 0 0 36px rgba(202, 190, 255, 0.45);
  animation: howDot 1.4s ease-in-out infinite;
}

@keyframes howDot {
  0%, 100% { transform: translate(50%, -50%) scale(1); }
  50% { transform: translate(50%, -50%) scale(1.12); }
}

.header__container {
  width: 100%;
  box-sizing: border-box;
  gap: 24px;
}

.burger {
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
}

.mobile-menu {
  padding: 120px 24px 40px;
  justify-content: flex-start;
}

.mobile-menu .btn {
  width: min(100%, 320px);
  margin-top: 8px;
}

.footer__tagline,
.faq-item__answer p,
.contact-card__text,
.plan__note,
.plan__feature,
.advantage__text,
.step__text,
.tab-panel__item,
.section__subtitle {
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .header__container {
    min-height: 72px;
    padding: 14px 24px;
    gap: 16px;
  }

  .header__cta {
    display: none;
  }

  .logo {
    min-width: 0;
    max-width: calc(100% - 64px);
  }

  .logo__text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .burger {
    display: inline-flex;
    margin-left: auto;
  }

  .mobile-menu__link {
    text-align: center;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 88px;
  }

  .header__container {
    min-height: 68px;
    padding: 12px 16px;
  }

  .logo__text {
    font-size: 17px;
  }

  .section__subtitle {
    font-size: 15px;
  }

  .contact__container,
  .faq__container,
  .why__container {
    width: 92%;
  }
}

@media (max-width: 480px) {
  .mobile-menu {
    padding-inline: 16px;
  }

  .logo__text {
    font-size: 16px;
  }

  .faq-item__q {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ===================================================================
   16. REVISION 2
   Фикс меню-оверлея, scroll-by-section и глобальный display font
   =================================================================== */
.page,
.page p,
.page a,
.page span,
.page li,
.page button,
.page label,
.page small,
.page strong,
.page em,
.page div {
  font-family: var(--font-display);
}

.hero__subtitle,
.section__subtitle,
.tab-panel__item,
.step__text,
.advantage__text,
.plan__feature,
.contact-card__text,
.faq-item__answer p,
.footer__tagline,
.plan__note,
.plan__period,
.plan__once,
.plan__permonth,
.contact-card__note,
.contact__hours,
.footer__link,
.footer__heading,
.badge__text,
.video__badge,
.mobile-menu__link,
.tab-panel__benefit,
.step__item,
.contact-card__item,
.faq-item__q,
.nav__link,
.btn,
.tab__label {
  font-family: var(--font-display) !important;
  font-style: normal;
}

.hero__subtitle,
.section__subtitle,
.tab-panel__item,
.step__text,
.advantage__text,
.plan__feature,
.contact-card__text,
.faq-item__answer p,
.footer__tagline,
.plan__note,
.plan__period,
.plan__once,
.plan__permonth,
.contact-card__note,
.contact__hours,
.footer__link {
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.65;
}

.page.menu-open {
  overflow: hidden;
}

.page.menu-open .header {
  background: rgba(12, 13, 18, 0.98);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.42);
}

.page.menu-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
  background: rgba(9, 10, 14, 0.995);
  backdrop-filter: blur(28px);
}

.page.menu-open .main,
.page.menu-open .footer {
  opacity: 0.02;
  pointer-events: none;
  user-select: none;
}

.mobile-menu {
  z-index: 80;
  gap: 24px;
}

.mobile-menu__link {
  position: relative;
  z-index: 2;
  font-size: clamp(22px, 5vw, 30px);
}

.mobile-menu .btn {
  position: relative;
  z-index: 2;
}

@media (min-width: 1025px) {
  html,
  body {
    overflow-y: auto;
  }

  .hero,
  .features,
  .how,
  .why,
  .pricing,
  .contact,
  .faq,
  .footer {
    scroll-margin-top: 96px;
  }
}

@media (max-width: 1024px) {
  .page.menu-open .main,
  .page.menu-open .footer {
    opacity: 0.01;
  }

  .mobile-menu {
    padding-top: 112px;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .mobile-menu {
    padding-top: 104px;
  }

  .mobile-menu__link {
    font-size: 19px;
  }
}

/* ===================================================================
   17. REVISION 3
   Возврат Material Symbols после глобальной смены шрифта
   =================================================================== */
.material-symbols-outlined,
.page .material-symbols-outlined,
.page span.material-symbols-outlined,
.page a .material-symbols-outlined,
.page button .material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal !important;
  text-transform: none !important;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.btn .material-symbols-outlined,
.tab .material-symbols-outlined,
.tab-panel__check,
.step__icon .material-symbols-outlined,
.plan__feature .material-symbols-outlined,
.contact-card__icon .material-symbols-outlined,
.faq-item__icon,
.video__play-icon {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* ===================================================================
   18. REVISION 4
   Дизайн заголовков и более естественная навигация по секциям
   =================================================================== */
.section {
  padding-block: clamp(44px, 4.6vw, 76px);
  scroll-margin-top: 88px;
}

.section__head {
  max-width: min(1040px, 100%);
  margin-bottom: clamp(28px, 3.5vw, 44px);
  scroll-margin-top: 88px;
}

.section__title {
  text-wrap: balance;
}

.features .section__head,
.why .section__head,
.pricing .section__head {
  max-width: min(1120px, 100%);
}

.section__title--split {
  color: #fff;
}

.section__title--split .section__title-main,
.section__title--split .section__title-accent {
  display: block;
}

.section__title--split .section__title-main {
  color: #fff;
}

.section__title--split .section__title-accent {
  color: var(--color-accent);
}

.section__title--inline {
  white-space: nowrap;
  font-size: clamp(24px, 4.8vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section__title--inline .section__title-accent {
  display: inline-block;
}

.section__title--why .section__title-accent,
.section__title--pricing .section__title-accent {
  margin-left: 0.12em;
}

.features__layout,
.why__layout,
.pricing__grid,
.contact__cards {
  align-items: start;
}

.why__layout,
.pricing__grid,
.contact__cards {
  gap: 32px;
}

.faq__list {
  margin-top: 4px;
}

@media (min-width: 1025px) {
  .features,
  .how,
  .why,
  .pricing,
  .contact,
  .faq {
    scroll-margin-top: 82px;
  }

  .features__container,
  .how__container,
  .why__container,
  .pricing__container,
  .contact__container,
  .faq__container {
    padding-top: 6px;
  }
}

@media (max-width: 1024px) {
  .section {
    padding-block: 44px 56px;
  }

  .section__head {
    margin-bottom: 28px;
  }

  .section__title--inline {
    white-space: normal;
    font-size: clamp(26px, 6vw, 48px);
  }
}

@media (max-width: 768px) {
  .section {
    padding-block: 40px 52px;
  }

  .section__title--split .section__title-main,
  .section__title--split .section__title-accent {
    display: inline;
  }

  .section__title--split .section__title-accent {
    margin-left: 0.12em;
  }
}

.hero__title-accent {
  display: inline-block;
  padding-right: 0.20em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}