/* Блоки главной после калькулятора и до подвала (этап 3), в языке первого экрана:
   сливовый фон, стекло, лиловые акценты, мягкое свечение. Тексты — content/home.yaml.
   Появление при прокрутке — [data-reveal] (flow.css + static/js/system.js), интерактив — static/js/blocks.js.
   Все движения выключаются при prefers-reduced-motion: тогда блоки сразу в конечном виде. */

/* ---------- общее ---------- */
.blk {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(72px, 8vw, 128px) var(--gutter);
  background: var(--hero-bg);
  color: #FFFFFF;
}
/* соседние блоки чуть различаются по тону — страница читается секциями, но остаётся одной темой */
.blk--eco, .blk--about, .blk--faq { background: var(--hero-bg-2); }
.blk__inner { position: relative; max-width: var(--container); margin-inline: auto; }

.blk__head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.blk__title {
  overflow-wrap: break-word; /* страховка: длинное неразрывное сочетание не вылезает за экран */
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-wrap: balance;
}
/* акцентная часть — тем же шрифтом, переливом персиковый → лиловый, как «ваша задача» в калькуляторе (решение Ульяны) */
.blk { --cosmic: linear-gradient(90deg, var(--peach) 0%, #E5B8FF 45%, var(--lilac) 70%, #A9B8FF 100%); --rim: inset 0 0 24px rgba(255, 255, 255, 0.045), inset 0 0 0 1px rgba(201, 184, 255, 0.16); }
.blk__title .accent { font-family: inherit; font-style: normal; font-weight: inherit; font-size: inherit; letter-spacing: inherit; color: var(--lilac); background: var(--cosmic); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* звёзды на фоне — как в калькуляторе */
.blk > .calc__stars { z-index: -1; pointer-events: none; }

/* карточки в стиле калькулятора: мягкое свечение изнутри, рамка подсвечивается там, где курсор
   (координаты --cx/--cy ставит static/js/system.js) */
.glow-card { position: relative; box-shadow: var(--rim); }
.glow-card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(220px circle at var(--cx, -999px) var(--cy, -999px), rgba(201, 184, 255, 0.85), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.glow-card:hover::after { opacity: 1; }
.blk__lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--on-dark-soft); max-width: 56ch; }
.blk__sub {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.blk__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.blk__buttons .btn-main { box-shadow: 0 0 0 5px rgba(201, 184, 255, 0.1), 0 14px 40px -10px rgba(201, 184, 255, 0.6); }

/* ссылка со стрелкой («Архив кейсов в Telegram») */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(201, 184, 255, 0.5);
  text-underline-offset: 6px;
}
.link-arrow svg { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover { color: var(--lilac); }
.link-arrow:hover svg { transform: translateX(4px); }

/* «сборка» (static/js/blocks.js): части блока невидимы, пока блок не появится на экране и они не прилетят */
@media (prefers-reduced-motion: no-preference) {
  .can-assemble [data-assemble]:not(.is-built) > * { opacity: 0; }
}

/* стеклянная поверхность — одна на все карточки блоков */
.glass-card {
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

/* ---------- 3. Когда я нужна: «было → стало» ---------- */
.problems { display: grid; gap: 40px; }
.problems__list { display: flex; flex-direction: column; gap: 14px; }
.pair { display: grid; grid-template-columns: 1fr; justify-items: stretch; gap: 8px; }
.pair__was {
  position: relative;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
  line-height: 1.45;
  transition: opacity 0.6s var(--ease-out);
}
.pair__was b { display: block; margin-bottom: 2px; font-size: 1rem; font-weight: 600; color: var(--on-dark-soft); }
/* название ситуации «зачёркивает» тонкая персиковая линия — проблема решена */
.pair__was b {
  justify-self: start;
  width: fit-content;
  background: linear-gradient(rgba(242, 198, 168, 0.75), rgba(242, 198, 168, 0.75)) no-repeat 0 55% / 100% 1px;
  transition: background-size 0.7s var(--ease-out) 0.35s;
}
.pair__arrow {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  justify-self: center;
  border-radius: 50%;
  color: var(--lilac);
  background: rgba(201, 184, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(201, 184, 255, 0.3);
  transform: rotate(90deg);
}
.pair__now {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(201, 184, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(201, 184, 255, 0.3), 0 18px 40px -24px rgba(201, 184, 255, 0.5);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  transition: opacity 0.7s var(--ease-out) 0.55s, transform 0.7s var(--ease-out) 0.55s;
}
.pair__check {
  flex: none;
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--lilac);
  color: var(--on-accent);
}
/* до появления: ситуация ещё не зачёркнута, «стало» ждёт */
.can-reveal .pair:not(.is-in) .pair__was b { background-size: 0 1px; }
.can-reveal .pair:not(.is-in) .pair__now { opacity: 0; transform: translateX(-14px); }
.can-reveal .pair.is-in .pair__was { opacity: 0.72; transition-delay: 0.4s; }

/* телефон: «было» и «стало» в одной карточке, без стрелки — короче лента */
@media (max-width: 759px) {
  .pair { gap: 10px; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
  .pair__was { padding: 2px 4px 0; background: none; box-shadow: none; }
  .pair__arrow { display: none; }
  .pair__now { padding: 12px 14px; }
}
@media (min-width: 760px) {
  .pair { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); align-items: stretch; gap: 10px; }
  .pair__arrow { transform: none; align-self: center; }
}
@media (min-width: 1100px) {
  .problems { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  /* заголовок и кнопка стоят на месте, пока листаются пары */
  .problems__intro { position: sticky; top: 120px; }
}

/* ---------- 6. Экосистема: путь клиента ---------- */
.eco__glow { width: 1100px; height: 700px; left: 50%; top: 30%; margin-left: -550px; --glow-color: rgba(150, 110, 235, 0.16); }
.eco__track { position: relative; margin-top: 48px; }
.eco__nodes { position: relative; display: grid; gap: 6px; }
.eco__node {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  column-gap: 16px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--on-dark-muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.eco__icon {
  position: relative;
  z-index: 1;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #241C30;
  color: var(--lilac);
  box-shadow: inset 0 0 0 1px rgba(201, 184, 255, 0.22);
  transition: background-color 0.45s, color 0.45s, box-shadow 0.45s, transform 0.45s var(--ease-out);
}
.eco__label { font-size: 0.9375rem; font-weight: 600; transition: color 0.45s; }
/* на телефоне описание шага — прямо под его названием, панели нет */
.eco__desc { grid-column: 2; margin-top: -4px; font-size: 0.875rem; line-height: 1.45; color: var(--on-dark-muted); }
.eco__node:hover .eco__icon { transform: scale(1.06); }
.eco__node.is-done .eco__icon { box-shadow: inset 0 0 0 1px rgba(201, 184, 255, 0.6); }
.eco__node[aria-selected="true"] .eco__icon {
  background: var(--lilac);
  color: var(--on-accent);
  box-shadow: 0 0 0 6px rgba(201, 184, 255, 0.14), 0 0 34px rgba(201, 184, 255, 0.55);
}
.eco__node[aria-selected="true"] .eco__label { color: #FFFFFF; }

/* линия пути: на телефоне вертикальная — по центру значков */
.eco__line { position: absolute; left: 27px; top: 34px; bottom: 34px; width: 2px; background: rgba(201, 184, 255, 0.14); border-radius: 2px; }
.eco__fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--peach), var(--lilac)); transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform 0.8s var(--ease-out); }
.eco__spark { display: none; }
.eco__panel { display: none; }

@media (min-width: 900px) {
  .eco__nodes { grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr)); gap: 0; }
  .eco__node { grid-template-columns: 1fr; justify-items: center; row-gap: 14px; padding: 0 4px; text-align: center; }
  .eco__desc { display: none; }
  .eco__line { left: calc(50% / var(--n, 8)); right: calc(50% / var(--n, 8)); top: 27px; bottom: auto; width: auto; height: 2px; }
  .eco__fill { background: linear-gradient(90deg, var(--peach), var(--lilac)); transform-origin: left; transform: scaleX(var(--p, 0)); }
  /* огонёк на конце заполненной линии */
  .eco__spark {
    display: block;
    position: absolute; top: 50%; left: calc(var(--p, 0) * 100%);
    width: 10px; height: 10px; margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 0 8px var(--lilac), 0 0 18px var(--lilac);
    transition: left 0.8s var(--ease-out);
  }
  .eco__panel {
    display: flex; align-items: center; gap: 18px;
    max-width: 680px;
    margin: 44px auto 0;
    padding: 20px 26px 20px 20px;
    border-radius: 22px;
    background: rgba(34, 27, 46, 0.86);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    backdrop-filter: blur(14px) saturate(1.3);
    box-shadow: inset 0 0 0 1px rgba(201, 184, 255, 0.22), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  }
  .eco__panel-icon {
    flex: none;
    display: grid; place-items: center;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--lilac);
    color: var(--on-accent);
  }
  .eco__panel-body { display: flex; flex-direction: column; gap: 4px; transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out); }
  .eco__panel.is-swap .eco__panel-body { opacity: 0; transform: translateY(6px); }
  .eco__panel-title { font-size: 1.0625rem; font-weight: 600; }
  .eco__panel-text { font-size: 0.9375rem; line-height: 1.5; color: var(--on-dark-soft); }
}

/* ---------- 11. Отзывы и кейсы ---------- */
.cases__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
/* minmax(0, 1fr): колонка не растягивается по самому длинному тексту — на узком телефоне блок не шире экрана */
.cases__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 44px; }

.quotes {
  position: relative;
  display: flex; flex-direction: column; gap: 20px;
  padding: 32px 28px;
  border-radius: 24px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(201, 184, 255, 0.16), transparent 60%), rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(201, 184, 255, 0.2);
}
.quotes__mark { color: var(--lilac); opacity: 0.8; }
.quotes__stage { display: grid; grid-template-columns: minmax(0, 1fr); flex: 1; align-content: center; }
.quotes__item { grid-area: 1 / 1; transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.quotes__item:not(.is-on) { opacity: 0; transform: translateY(10px); pointer-events: none; }
.quotes__item p {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.125rem, 0.9rem + 1vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.quotes__caption { font-size: var(--fs-small); color: var(--on-dark-muted); }
/* цитаты листаются: свайпом/перетаскиванием и точками-кнопками */
.quotes__stage { cursor: grab; -webkit-user-select: none; user-select: none; touch-action: pan-y; }
.quotes__stage:active { cursor: grabbing; }
/* полоски и стрелки «назад / вперёд» — видно, что цитаты листаются */
.quotes__nav { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.quotes__dots { display: flex; gap: 4px; margin: 0 auto 0 -6px; }
.quotes__arrow {
  display: grid; place-items: center;
  width: 42px; height: 42px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(201, 184, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(201, 184, 255, 0.35);
  color: var(--lilac);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.quotes__arrow:hover { background: var(--lilac); color: var(--on-accent); }
.quotes__dot { position: relative; width: 30px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; transition: width 0.4s var(--ease-out); }
.quotes__dot::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); transition: background-color 0.4s; }
.quotes__dot:hover::before { background: rgba(201, 184, 255, 0.6); }
.quotes__dot.is-on { width: 46px; }
.quotes__dot.is-on::before { background: var(--lilac); }

.cases__list, .cases__reviews { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.case-card, .review-card {
  color: #FFFFFF;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, background-color 0.35s;
}
.case-card:hover, .review-card:hover {
  color: #FFFFFF; /* не лиловый из base.css: на тёмном он почти не виден */
  transform: translateY(-3px);
  background: rgba(201, 184, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(201, 184, 255, 0.45), 0 24px 50px -28px rgba(201, 184, 255, 0.5);
}
.case-card { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 24px; border-radius: 22px; }
.case-card__title { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.case-card__stack { display: flex; flex-wrap: wrap; gap: 6px; }
.case-card__stack i {
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark-soft);
  font-size: 12.5px;
  font-style: normal;
}
.case-card__read { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; color: var(--lilac); font-size: 14px; font-weight: 600; }
.case-card:hover .case-card__read svg, .review-card:hover .review-card__go svg { transform: translateX(3px); }
.case-card__read svg, .review-card__go svg { transition: transform 0.3s var(--ease-out); }

.review-card { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; border-radius: 18px; }
.review-card__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(201, 184, 255, 0.12); color: var(--lilac); }
.review-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.review-card__body b { font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.review-card__go { margin-left: auto; color: var(--lilac); }

@media (min-width: 760px) {
  .cases__list, .cases__reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .cases__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .quotes { grid-row: 1; padding: 40px 36px; }
  .cases__reviews { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 12. Обо мне, почему спокойно, ниши ---------- */
.about__glow { width: 900px; height: 700px; left: -300px; top: -120px; --glow-color: rgba(242, 198, 168, 0.08); }
.about__me { display: grid; gap: 32px; align-items: center; }
.about__photo {
  position: relative;
  display: block;
  width: min(72%, 340px);
  justify-self: start;
  aspect-ratio: 3 / 4; /* как у самого фото — голова не обрезается */
  overflow: hidden;
  border-radius: 28px;
  background: #241C30;
  box-shadow: inset 0 0 0 1px rgba(201, 184, 255, 0.2), 0 40px 80px -40px rgba(150, 110, 235, 0.6);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about__text { display: flex; flex-direction: column; gap: 24px; }
.about__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.about__pills li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-size: 14px;
  color: var(--on-dark-soft);
}
.about__pills svg { color: var(--lilac); }

.about__why, .about__niches { margin-top: clamp(56px, 7vw, 104px); }
.why { display: grid; gap: 0 40px; margin-top: 28px; }
/* без карточек: номер, мысль, пояснение; тонкая линия сверху загорается лиловым при появлении */
.why__item { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; row-gap: 4px; padding: 22px 0 24px; }
.why__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, 0.1); }
.why__num { grid-row: span 2; font-family: var(--font-head); font-size: 14px; color: var(--lilac); padding-top: 3px; }
.why__item b { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.why__item p { font-size: 0.9375rem; line-height: 1.5; color: var(--on-dark-muted); }

/* ниши: заголовок и облако тегов по центру — ровно с обеих сторон */
.about__niches { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin-top: 28px; }
.tags li {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: var(--on-dark-soft);
  transition: box-shadow 0.3s, color 0.3s;
}
/* цвета групп ниш: лиловый и персиковый из палитры, голубой и розовый — мягкие, в той же светлоте */
.g1 { --c: 201, 184, 255; }
.g2 { --c: 242, 198, 168; }
.g3 { --c: 160, 200, 255; }
.g4 { --c: 245, 170, 205; }
/* карточки групп ниш; на телефоне — друг под другом */
.niche-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; max-width: 1080px; margin-top: 28px; text-align: left; }
.niche-group {
  padding: 18px 18px 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(var(--c), 0.1), rgba(var(--c), 0.03));
  box-shadow: inset 0 0 0 1px rgba(var(--c), 0.28);
  transition: box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.niche-group:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(var(--c), 0.6), 0 20px 44px -26px rgba(var(--c), 0.6); }
.niche-group__title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0; color: #FFFFFF; }
.niche-group__title i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 10px rgba(var(--c), 0.8); }
.niche-group .tags { justify-content: flex-start; gap: 6px; max-width: none; margin-top: 0; }
.niche-group .tags li { padding: 6px 12px; font-size: 13px; background: rgba(var(--c), 0.1); box-shadow: inset 0 0 0 1px rgba(var(--c), 0.3); color: #FFFFFF; }
@media (max-width: 759px) {
  .niche-group { padding: 14px 14px 16px; }
  .niche-group .tags li { padding: 5px 10px; font-size: 12.5px; }
}
/* компьютер: большая группа на всю ширину сверху, маленькие — в ряд под ней */
@media (min-width: 760px) {
  .niche-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .niche-group.is-big { grid-column: 1 / -1; }
}

/* ниши в YAML — со строчной буквы (как в тексте), на теге — с заглавной */
.tags li::first-letter { text-transform: uppercase; }
.tags li:hover { box-shadow: inset 0 0 0 1px rgba(201, 184, 255, 0.5); color: #FFFFFF; }

@media (min-width: 760px) {
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .about__me { grid-template-columns: 340px minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); }
  .about__photo { width: 100%; }
  .why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 13. Как работаю и форматы ---------- */
.steps { position: relative; display: grid; gap: 22px; margin-top: 44px; }
/* линия шагов: на телефоне вертикальная, на компьютере горизонтальная; прорисовывается при появлении */
.steps::before, .steps::after { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; }
.steps::before { background: rgba(201, 184, 255, 0.14); }
.steps::after { background: linear-gradient(180deg, var(--peach), var(--lilac)); transform-origin: top; transition: transform 1.6s var(--ease-out) 0.2s; }
.can-reveal .steps:not(.is-in)::after { transform: scaleY(0); }
.steps__item { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-content: start; column-gap: 16px; row-gap: 2px; }
.steps__dot {
  grid-row: span 2;
  z-index: 1;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #241C30;
  box-shadow: inset 0 0 0 1px rgba(201, 184, 255, 0.45);
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--lilac);
  transition: background-color 0.5s, color 0.5s, box-shadow 0.5s;
  transition-delay: calc(var(--i) * 0.22s + 0.2s);
}
.steps.is-in .steps__dot, .no-js .steps__dot { background: var(--lilac); color: var(--on-accent); box-shadow: 0 0 0 5px rgba(201, 184, 255, 0.12); }
.steps__item b { padding-top: 2px; font-size: 1.0625rem; font-weight: 600; }
.steps__item p { font-size: 0.9375rem; line-height: 1.45; color: var(--on-dark-muted); }
@media (prefers-reduced-motion: reduce) {
  .steps__dot { background: var(--lilac); color: var(--on-accent); }
}

.formats { margin-top: clamp(56px, 7vw, 104px); }
.formats__list { display: grid; gap: 16px; margin-top: 28px; }
.format {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  transition: box-shadow 0.35s, transform 0.35s var(--ease-out);
}
.format:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(201, 184, 255, 0.45), 0 24px 50px -28px rgba(201, 184, 255, 0.5); }
.format__title { font-family: var(--font-head); font-weight: 400; font-size: 1.25rem; letter-spacing: -0.02em; }
.format__row { display: flex; flex-direction: column; gap: 3px; font-size: 0.9375rem; line-height: 1.45; color: var(--on-dark-soft); }
.format__row span { font-size: 12.5px; color: var(--on-dark-muted); }
.format__row--get { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: #FFFFFF; font-weight: 600; }
.format__row--get span { color: var(--lilac); font-weight: 500; }

@media (min-width: 760px) {
  .formats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
  .steps::before, .steps::after { left: 22px; right: calc(100% / var(--n, 6) - 22px); top: 21px; bottom: auto; width: auto; height: 2px; }
  .steps::after { background: linear-gradient(90deg, var(--peach), var(--lilac)); transform-origin: left; }
  .can-reveal .steps:not(.is-in)::after { transform: scaleX(0); }
  .steps__item { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .steps__dot { grid-row: auto; margin-bottom: 10px; }
  .formats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 14. Частые вопросы ---------- */
.faq { display: grid; gap: 32px; }
.faq__list { display: flex; flex-direction: column; }
.qa { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.qa:first-child { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px;
  padding: 18px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i {
  flex: none;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(201, 184, 255, 0.1);
  color: var(--lilac);
  font-style: normal;
  transition: transform 0.35s var(--ease-out), background-color 0.35s, color 0.35s;
}
.qa summary:hover i { background: rgba(201, 184, 255, 0.2); }
.qa[open] summary i { transform: rotate(45deg); background: var(--lilac); color: var(--on-accent); }
.qa p { max-width: 62ch; padding: 0 56px 22px 0; font-size: 1rem; line-height: 1.6; color: var(--on-dark-soft); }
@media (prefers-reduced-motion: no-preference) {
  .qa[open] p { animation: qa-open 0.4s var(--ease-out); }
}
/* ссылки прямо в ответе («Как с тобой связаться?») — не надо искать их внизу страницы */
.qa__links { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 22px; }
.qa__link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border-radius: var(--radius-pill);
  background: rgba(201, 184, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(201, 184, 255, 0.35);
  color: #FFFFFF; font-size: 15px; font-weight: 600; text-decoration: none;
  transition: background-color 0.25s, box-shadow 0.25s;
}
.qa__link:hover { color: #FFFFFF; background: rgba(201, 184, 255, 0.2); box-shadow: inset 0 0 0 1px var(--lilac); }
.qa__link svg { color: var(--lilac); }
@keyframes qa-open { from { opacity: 0; transform: translateY(-6px); } }
@media (min-width: 1100px) {
  .faq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
}

/* ---------- 15. Финальный призыв ---------- */
.blk--contact { padding-block: clamp(96px, 11vw, 168px); border-radius: 32px 32px 0 0; background: #1A1424; }
.contact__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.contact__glow { width: 1200px; height: 800px; left: 50%; top: 50%; margin: -400px 0 0 -600px; --glow-color: rgba(150, 110, 235, 0.26); }
.contact { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact .blk__head { align-items: center; max-width: 980px; }
.contact .blk__title { font-size: clamp(1.5rem, 1.05rem + 2.8vw, 3.5rem); }
.contact .blk__head { width: 100%; }
.contact .blk__lead { max-width: 60ch; }
.contact__buttons { justify-content: center; margin-top: 36px; }
.contact__buttons .btn { min-height: 56px; padding: 0 26px; }
