/* Главная платформы (landing.html). Тёмный зелёный первый экран, сценка записи в телефоне, разделы о сервисе.
 * Только CSS: у страниц платформы CSP без чужих скриптов. Всё содержимое видно и без анимаций; появление при
 * прокрутке — через animation-timeline там, где браузер его умеет; при «уменьшить движение» сцена стоит в конце. */

.sc-landing {
  --l-night: oklch(0.2 0.04 165);
  --l-night-2: oklch(0.25 0.05 164);
  --l-night-line: oklch(0.34 0.05 163);
  --l-on-night: oklch(0.97 0.012 160);
  --l-on-night-muted: oklch(0.82 0.035 160);
  --l-glow: oklch(0.8 0.17 152);
  --l-glow-ink: oklch(0.22 0.05 160);
  --l-ease: cubic-bezier(0.16, 1, 0.3, 1); /* ease-out-expo */
  --l-loop: 10s;
  --l-gutter: clamp(16px, 4vw, 40px);
}

/* шапка на главной — тёмная, одно целое с первым экраном */
.sc-landing .sc-header { background: color-mix(in oklch, var(--l-night) 92%, transparent); box-shadow: 0 1px 0 var(--l-night-line); backdrop-filter: blur(10px); }
.sc-landing .sc-logo, .sc-landing .sc-menu > a, .sc-landing .sc-dd > summary, .sc-landing .sc-burger { color: var(--l-on-night); }
.sc-landing .sc-menu > a:hover, .sc-landing .sc-dd > summary:hover { background: var(--l-night-2); color: #fff; }
.sc-landing .sc-menu > a[aria-current], .sc-landing .sc-dd > summary[aria-current] { background: var(--l-night-2); color: var(--l-glow); }
.sc-landing .sc-btn-ghost { color: var(--l-on-night); }
.sc-landing .sc-btn-ghost:hover { background: var(--l-night-2); color: #fff; }
.sc-landing .sc-nav .sc-btn:not(.sc-btn-ghost) { background: var(--l-glow); color: var(--l-glow-ink); }
.sc-landing .sc-nav .sc-btn:not(.sc-btn-ghost):hover { background: #fff; }
.sc-landing .sc-burger:hover { background: var(--l-night-2); color: #fff; }

/* ---------- кнопки ---------- */
.l-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 1.0625rem / 1.2 var(--sc-font); text-decoration: none; white-space: nowrap;
  transition: background-color 0.25s var(--l-ease), color 0.25s var(--l-ease), transform 0.25s var(--l-ease), box-shadow 0.4s var(--l-ease);
}
.l-btn svg { width: 20px; height: 20px; transition: transform 0.3s var(--l-ease); }
.l-btn:hover svg { transform: translateX(3px); }
.l-btn:active { transform: scale(0.98); }
.l-btn-glow { background: var(--l-glow); color: var(--l-glow-ink); box-shadow: 0 0 0 0 color-mix(in oklch, var(--l-glow) 50%, transparent); }
.l-btn-glow:hover { background: #fff; box-shadow: 0 0 40px -6px color-mix(in oklch, var(--l-glow) 70%, transparent); }
.l-btn-line { color: var(--l-on-night); box-shadow: inset 0 0 0 1.5px color-mix(in oklch, var(--l-on-night) 40%, transparent); }
.l-btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--l-on-night); color: #fff; }
.l-btn-dark { background: var(--l-night); color: #fff; }
.l-btn-dark:hover { background: var(--sc-brand-strong); }

/* ---------- заголовки разделов ---------- */
.l-h2 {
  margin: 0 0 clamp(28px, 4vw, 48px); max-width: 22ch;
  font: 600 clamp(1.75rem, 1.1rem + 2.6vw, 3rem) / 1.08 var(--sc-font-brand); letter-spacing: -0.03em; text-wrap: balance;
}
.l-h2-light { color: var(--l-on-night); }

/* =========================================================================================================
 * первый экран
 * ========================================================================================================= */
.l-hero {
  position: relative; overflow: clip; isolation: isolate;
  padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 120px);
  background: var(--l-night); color: var(--l-on-night);
}
/* медленно дышащее зелёное свечение за сценой и мягкая «виньетка» сверху */
.l-hero::before {
  content: ""; position: absolute; inset: auto -20% -40% 30%; height: 90%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in oklch, var(--l-glow) 22%, transparent), transparent);
  filter: blur(20px); animation: l-breathe 9s ease-in-out infinite alternate;
}
@keyframes l-breathe { from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; } to { transform: translate3d(-4%, -3%, 0) scale(1.08); opacity: 1; } }

.l-hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.l-hero-title {
  margin: 0; font: 600 clamp(2.05rem, 1rem + 3vw, 3.4rem) / 1.06 var(--sc-font-brand); letter-spacing: -0.03em; overflow-wrap: anywhere;
  color: var(--l-on-night);
}
/* строки заголовка поднимаются из-под маски одна за другой */
.l-line { display: block; overflow-x: visible; overflow-y: clip; padding-bottom: 0.06em; }
.l-line > span { display: inline-block; animation: l-line-in 1.1s var(--l-ease) both; }
.l-line:nth-child(2) > span { animation-delay: 0.08s; }
.l-line:nth-child(3) > span { animation-delay: 0.16s; }
.l-line-accent { color: var(--l-glow); }
@keyframes l-line-in { from { transform: translateY(105%); } to { transform: none; } }

.l-hero-lead {
  max-width: 34rem; margin: clamp(20px, 2.4vw, 28px) 0 0;
  color: var(--l-on-night-muted); font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; text-wrap: pretty;
  animation: l-fade-up 1s 0.3s var(--l-ease) both;
}
.l-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; animation: l-fade-up 1s 0.42s var(--l-ease) both; }
.l-hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 32px 0 0; padding: 0; list-style: none;
  color: var(--l-on-night-muted); font-size: 0.9375rem; animation: l-fade-up 1s 0.54s var(--l-ease) both;
}
.l-hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.l-hero-facts svg { width: 18px; height: 18px; color: var(--l-glow); }
@keyframes l-fade-up { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- сцена: телефон и уведомления ---------- */
.l-stage { position: relative; justify-self: center; width: min(100%, 420px); padding: 24px 0 40px; animation: l-stage-in 1.4s 0.2s var(--l-ease) both; }
@keyframes l-stage-in { from { opacity: 0; transform: translateY(40px) scale(0.96); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
.l-glow { position: absolute; inset: 10% 8% 0; z-index: -1; border-radius: 50%; background: color-mix(in oklch, var(--l-glow) 30%, transparent); filter: blur(60px); opacity: 0.55; }

.l-phone {
  position: relative; width: min(78vw, 290px); margin-inline: auto; aspect-ratio: 9 / 18.5; padding: 10px;
  border-radius: 46px; background: oklch(0.14 0.02 165);
  box-shadow: inset 0 0 0 1.5px oklch(0.4 0.03 165 / 60%), 0 40px 80px -30px rgb(0 0 0 / 70%);
}
.l-phone::before { /* вырез камеры */
  content: ""; position: absolute; top: 18px; left: 50%; z-index: 3; width: 74px; height: 20px; translate: -50% 0;
  border-radius: 999px; background: oklch(0.14 0.02 165);
}
.l-screen { position: relative; height: 100%; overflow: hidden; border-radius: 37px; background: #fff; color: oklch(0.22 0.02 20); }

.ph-book, .ph-done { position: absolute; inset: 0; }
.ph-cover { height: 34%; overflow: hidden; }
.ph-cover img { width: 100%; height: 100%; object-fit: cover; }
.ph-body { display: flex; flex-direction: column; gap: 9px; padding: 14px 16px; font-size: 0.75rem; }
.ph-name { font: 600 1rem / 1.2 var(--sc-font); }
.ph-meta { color: oklch(0.5 0.02 20); }
.ph-service { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; background: oklch(0.96 0.015 10); }
.ph-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; color: oklch(0.45 0.02 20); }
.ph-days span { padding: 6px 0; border-radius: 10px; box-shadow: inset 0 0 0 1px oklch(0.9 0.01 20); line-height: 1.25; }
.ph-days b { font-size: 0.875rem; color: oklch(0.22 0.02 20); }
.ph-days .is-on { background: oklch(0.38 0.11 355); color: #fff; box-shadow: none; }
.ph-days .is-on b { color: #fff; }
.ph-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.ph-slots span { padding: 8px 0; border-radius: 10px; text-align: center; box-shadow: inset 0 0 0 1px oklch(0.9 0.01 20); font-weight: 600; }
.ph-pick { animation: ph-pick var(--l-loop) var(--l-ease) infinite; }
.ph-cta { margin-top: 2px; padding: 11px 0; border-radius: 999px; background: oklch(0.38 0.11 355); color: #fff; text-align: center; font-weight: 600; animation: ph-cta var(--l-loop) var(--l-ease) infinite; }
/* касание пальцем: кольцо на 15:00, потом на «Записаться» */
.ph-pick, .ph-cta { position: relative; }
.ph-pick::after, .ph-cta::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: oklch(0.3 0.02 20 / 22%); box-shadow: 0 0 0 2px oklch(1 0 0 / 80%); opacity: 0; pointer-events: none;
}
.ph-pick::after { animation: ph-tap-a var(--l-loop) var(--l-ease) infinite; }
.ph-cta::after { animation: ph-tap-b var(--l-loop) var(--l-ease) infinite; }
.ph-book { animation: ph-book var(--l-loop) var(--l-ease) infinite; }
.ph-done {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px;
  text-align: center; font-size: 0.8125rem; color: oklch(0.45 0.02 20); background: #fff;
  animation: ph-done var(--l-loop) var(--l-ease) infinite;
}
.ph-done b { font: 600 1.25rem / 1.2 var(--sc-font); color: oklch(0.22 0.02 20); }
.ph-done-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: oklch(0.38 0.11 355); color: #fff; animation: ph-mark var(--l-loop) var(--l-ease) infinite; }
.ph-done-mark svg { width: 30px; height: 30px; }
.ph-done-note { margin-top: 6px; padding: 8px 12px; border-radius: 999px; background: oklch(0.96 0.015 10); color: oklch(0.38 0.11 355); font-weight: 600; }

/* уведомления выезжают у края телефона */
.l-note {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; max-width: 260px; padding: 12px 14px 12px 12px;
  border-radius: 16px; background: oklch(0.99 0.004 160 / 94%); color: oklch(0.22 0.02 165);
  box-shadow: 0 20px 40px -18px rgb(0 0 0 / 60%); backdrop-filter: blur(8px); font-size: 0.8125rem; line-height: 1.3;
  opacity: 0;
}
.l-note small { display: block; color: oklch(0.48 0.03 165); font-size: 0.75rem; }
.l-note b { font-weight: 600; }
.l-note-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--sc-brand); color: #fff; }
.l-note-icon svg { width: 18px; height: 18px; }
.l-note-master { top: 18%; right: -4%; animation: l-note-a var(--l-loop) var(--l-ease) infinite; }
.l-note-client { bottom: 14%; left: -4%; animation: l-note-b var(--l-loop) var(--l-ease) infinite; }
@media (max-width: 479.98px) { .l-note-master { right: 2%; } .l-note-client { left: 2%; } .l-note { max-width: 230px; } }

/* один цикл на 10 с: 0–14 % экран записи, 14 % касание 15:00, 26 % касание «Записаться», 32 % «Вы записаны»,
   40 % мастеру уведомление, 56 % напоминание клиенту, 88–100 % всё уходит и цикл начинается снова */
@keyframes ph-tap-a { 0%, 9% { opacity: 0; transform: scale(1.5); } 13% { opacity: 1; transform: scale(1); } 17%, 100% { opacity: 0; transform: scale(0.7); } }
@keyframes ph-tap-b { 0%, 21% { opacity: 0; transform: scale(1.5); } 25% { opacity: 1; transform: scale(1); } 29%, 100% { opacity: 0; transform: scale(0.7); } }
@keyframes ph-pick {
  0%, 13% { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px oklch(0.9 0.01 20); }
  15%, 100% { background: oklch(0.38 0.11 355); color: #fff; box-shadow: none; }
}
@keyframes ph-cta { 0%, 24% { transform: none; } 26% { transform: scale(0.96); } 29%, 100% { transform: none; } }
@keyframes ph-book { 0%, 29% { opacity: 1; transform: none; filter: none; } 33%, 95% { opacity: 0; transform: scale(0.97); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes ph-done { 0%, 29% { opacity: 0; transform: translateY(14px); } 34%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes ph-mark { 0%, 31% { transform: scale(0.4); } 37% { transform: scale(1.06); } 40%, 100% { transform: scale(1); } }
@keyframes l-note-a { 0%, 38% { opacity: 0; transform: translate(24px, 0) scale(0.96); } 43%, 88% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; transform: translate(0, -10px); } }
@keyframes l-note-b { 0%, 54% { opacity: 0; transform: translate(-24px, 0) scale(0.96); } 59%, 88% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; transform: translate(0, 10px); } }

/* =========================================================================================================
 * кто мы
 * ========================================================================================================= */
.l-who { padding: clamp(72px, 10vw, 140px) 0; background: var(--sc-bg); }
.l-who-grid { display: grid; gap: clamp(24px, 4vw, 48px); }
.l-who .l-h2 { margin: 0; max-width: 20ch; }
.l-who-text { max-width: 62ch; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.65; color: var(--sc-ink); }
.l-who-text p { margin: 0 0 16px; text-wrap: pretty; }
.l-who-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px !important; }
.l-who-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--sc-brand-strong); font-weight: 600; text-decoration: none; }
.l-who-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.l-who-links svg { width: 18px; height: 18px; }
.l-proof { display: grid; margin: 0; border-top: 1px solid var(--sc-border); }
.l-proof > div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--sc-border); }
.l-proof dt { color: var(--sc-muted); font-size: 0.875rem; }
.l-proof dd { margin: 0; font-weight: 600; }

/* =========================================================================================================
 * три шага
 * ========================================================================================================= */
.l-how { padding: clamp(72px, 10vw, 140px) 0; background: var(--l-night); color: var(--l-on-night); }
.l-steps { display: grid; gap: clamp(36px, 5vw, 56px); margin: 0; padding: 0; list-style: none; }
.l-step h3 { display: flex; align-items: center; gap: 14px; margin: 24px 0 10px; font: 600 1.375rem / 1.2 var(--sc-font-brand); letter-spacing: -0.02em; }
.l-step-n { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--l-glow); color: var(--l-glow); font: 600 1rem / 1 var(--sc-font-brand); }
.l-step p { max-width: 36ch; margin: 0; color: var(--l-on-night-muted); line-height: 1.6; }
.l-step-visual {
  position: relative; display: grid; place-content: center; justify-items: center; gap: 14px; height: 236px; padding: 24px; overflow: hidden;
  border-radius: 16px; background: var(--l-night-2); box-shadow: inset 0 0 0 1px var(--l-night-line);
}
/* шаг 1: шаблоны веером */
.v-templates { position: relative; width: 210px; height: 140px; }
.v-templates span { position: absolute; top: 0; left: 50%; width: 92px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; box-shadow: 0 12px 24px -10px rgb(0 0 0 / 60%); translate: -50% 0; transform: translateX(var(--x)) rotate(var(--r)); animation: v-fan 6s var(--l-ease) infinite; animation-delay: calc(var(--i) * 0.12s); }
.v-templates span:nth-child(1) { --r: -14deg; --x: -64px; }
.v-templates span:nth-child(2) { --r: 0deg; --x: 0px; z-index: 1; }
.v-templates span:nth-child(3) { --r: 14deg; --x: 64px; }
.v-templates img { width: 100%; height: 100%; object-fit: cover; }
@keyframes v-fan { 0%, 100% { transform: translateX(var(--x)) rotate(var(--r)); } 45%, 60% { transform: translateX(calc(var(--x) * 0.55)) rotate(calc(var(--r) * 0.5)) translateY(6px); } }
.v-caption { display: inline-flex; align-items: center; gap: 8px; color: var(--l-on-night-muted); font-size: 0.875rem; }
.v-caption svg { width: 16px; height: 16px; color: var(--l-glow); }
/* шаг 2: адрес и куда его поставить */
.v-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--l-on-night); color: var(--l-glow-ink); font-weight: 600; }
.v-link svg { width: 18px; height: 18px; }
.v-share { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.v-share span { padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--l-night-line); color: var(--l-on-night-muted); font-size: 0.8125rem; animation: v-ping 6s var(--l-ease) infinite; }
.v-share span:nth-child(2) { animation-delay: 0.4s; }
.v-share span:nth-child(3) { animation-delay: 0.8s; }
.v-share span:nth-child(4) { animation-delay: 1.2s; }
@keyframes v-ping { 0%, 20% { box-shadow: inset 0 0 0 1px var(--l-night-line); color: var(--l-on-night-muted); } 30%, 60% { box-shadow: inset 0 0 0 1.5px var(--l-glow); color: var(--l-on-night); } 75%, 100% { box-shadow: inset 0 0 0 1px var(--l-night-line); color: var(--l-on-night-muted); } }
/* шаг 3: неделя заполняется записями */
.v-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: min(64vw, 260px); }
.v-day { display: grid; gap: 6px; text-align: center; }
.v-day small { color: var(--l-on-night-muted); font-size: 0.75rem; }
.v-booked { height: 26px; border-radius: 6px; background: var(--l-night-line); animation: v-fill 7s var(--l-ease) infinite; animation-delay: calc(var(--d) * 0.35s); }
@keyframes v-fill { 0%, 8% { background: var(--l-night-line); transform: scaleY(0.6); } 16%, 85% { background: var(--l-glow); transform: none; } 100% { background: var(--l-night-line); transform: scaleY(0.6); } }

/* =========================================================================================================
 * что внутри
 * ========================================================================================================= */
.l-inside { padding: clamp(72px, 10vw, 140px) 0; background: var(--sc-surface); }
.l-bento { display: grid; gap: 14px; }
.l-tile { display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 28px); border-radius: 16px; background: var(--sc-bg); }
.l-tile h3 { margin: 18px 0 8px; font: 600 1.1875rem / 1.25 var(--sc-font-brand); letter-spacing: -0.015em; }
.l-tile p { margin: 0; color: var(--sc-muted); line-height: 1.6; }
.t-scene { display: flex; align-items: center; min-height: 112px; }
/* запись: строки дня, новая запись подсвечивается */
.t-cal { flex-direction: column; align-items: stretch; gap: 6px; font-size: 0.875rem; }
.t-cal-row { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 10px; }
.t-cal-row span { color: var(--sc-muted); font-variant-numeric: tabular-nums; }
.t-cal-row i { font-style: normal; padding: 7px 12px; border-radius: 8px; }
.t-cal .is-busy { background: var(--sc-surface); }
.t-cal .is-free { box-shadow: inset 0 0 0 1px var(--sc-border); color: var(--sc-muted); }
.t-cal .is-new { background: var(--sc-brand-soft); color: var(--sc-brand-strong); font-weight: 600; animation: t-new 4s var(--l-ease) infinite; }
@keyframes t-new { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--sc-brand) 0%, transparent); } 40% { box-shadow: 0 0 0 6px color-mix(in oklch, var(--sc-brand) 18%, transparent); } }
/* магазин: товар и корзина */
.t-shop { gap: 14px; }
.t-shop-item { width: 64px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; }
.t-shop-item img { width: 100%; height: 100%; object-fit: cover; }
.t-shop-cart { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--l-night); color: #fff; }
.t-shop-cart svg { width: 22px; height: 22px; }
.t-shop-cart b { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; background: var(--l-glow); color: var(--l-glow-ink); font-size: 0.75rem; animation: t-bump 4s var(--l-ease) infinite; }
@keyframes t-bump { 0%, 30% { transform: scale(0); } 38% { transform: scale(1.15); } 44%, 100% { transform: scale(1); } }
/* отзывы */
.t-review { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
.t-stars { color: var(--sc-star); letter-spacing: 2px; }
.t-review q { font-weight: 600; line-height: 1.4; quotes: "«" "»"; }
/* каталог */
.t-catalog { gap: 10px; font-weight: 600; }
.t-catalog svg { width: 28px; height: 28px; color: var(--sc-brand); animation: t-drop 4s var(--l-ease) infinite; }
@keyframes t-drop { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-8px); } 45% { transform: translateY(0); } }
/* клиенты */
.t-trust { gap: 8px; flex-wrap: wrap; }
.t-trust span { padding: 8px 14px; border-radius: 999px; background: var(--sc-surface); font-weight: 600; }
.t-trust span + span { background: var(--sc-brand-soft); color: var(--sc-brand-strong); }
/* документы */
.t-docs { flex-wrap: wrap; gap: 10px; }
.t-docs svg { width: 32px; height: 32px; color: var(--sc-brand); }
.t-docs span { padding: 8px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--sc-border); font-size: 0.875rem; }

/* =========================================================================================================
 * бесплатно у нас — то, за что обычно платят
 * ========================================================================================================= */
.l-free { padding: clamp(72px, 10vw, 140px) 0; background: var(--sc-bg); }
.l-free .l-h2 { margin-bottom: 18px; max-width: 24ch; }
.l-free-lead { max-width: 62ch; margin: 0 0 clamp(28px, 4vw, 44px); color: var(--sc-muted); font-size: 1.125rem; line-height: 1.6; text-wrap: pretty; }
.l-free-table { width: 100%; border-collapse: collapse; }
.l-free-table thead th { padding: 0 0 14px; color: var(--sc-muted); font: 500 0.875rem / 1.3 var(--sc-font); text-align: left; }
.l-free-table tbody tr { border-top: 1px solid var(--sc-border); }
.l-free-table tbody th { padding: 18px 16px 18px 0; font: 600 1.0625rem / 1.35 var(--sc-font); text-align: left; }
.l-free-table td { padding: 18px 16px 18px 0; color: var(--sc-muted); line-height: 1.45; vertical-align: middle; }
.l-free-yes { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--sc-brand-soft); color: var(--sc-brand-strong); font-weight: 600; white-space: nowrap; }
.l-free-yes svg { width: 16px; height: 16px; }
.l-free-total th { color: var(--sc-brand-strong); }
.l-free-note { margin: 28px 0 0; color: var(--sc-muted); }
.l-free-note a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--sc-brand-strong); font-weight: 600; }
.l-free-note svg { width: 16px; height: 16px; }
/* на телефоне таблица становится списком: название, «Бесплатно», чем обычно заменяют */
@media (max-width: 719.98px) {
  .l-free-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .l-free-table, .l-free-table tbody, .l-free-table tr, .l-free-table th, .l-free-table td { display: block; }
  .l-free-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 16px 0; }
  .l-free-table tbody th { padding: 0; }
  .l-free-table td { padding: 0; }
  .l-free-table td:last-child { grid-column: 1 / -1; font-size: 0.9375rem; }
  .l-free-table td:last-child::before { content: "Обычно: "; color: var(--sc-ink); font-weight: 500; }
  .l-free-total { padding-inline: 14px; border-radius: 12px; background: var(--sc-surface); }
}

/* =========================================================================================================
 * для кого
 * ========================================================================================================= */
.l-for { padding: clamp(72px, 10vw, 140px) 0; background: var(--sc-surface); }
.l-for-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sc-border); }
.l-for-list a {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 4px 18px;
  padding: 18px 4px; border-bottom: 1px solid var(--sc-border); color: inherit; text-decoration: none;
}
.l-for-list img { grid-row: span 2; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; transition: transform 0.5s var(--l-ease); }
.l-for-name { font: 600 clamp(1.25rem, 1rem + 1.4vw, 2rem) / 1.15 var(--sc-font-brand); letter-spacing: -0.02em; transition: color 0.3s var(--l-ease); }
.l-for-who { grid-column: 2; color: var(--sc-muted); font-size: 0.9375rem; }
.l-for-arrow { grid-row: 1 / span 2; grid-column: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--sc-border); transition: background-color 0.3s var(--l-ease), color 0.3s var(--l-ease), transform 0.4s var(--l-ease); }
.l-for-arrow svg { width: 20px; height: 20px; }
@media (hover: hover) {
  .l-for-list a:hover .l-for-name { color: var(--sc-brand-strong); }
  .l-for-list a:hover .l-for-arrow { background: var(--l-night); color: #fff; transform: translateX(4px); }
  .l-for-list a:hover img { transform: scale(1.06) rotate(-2deg); }
}

/* =========================================================================================================
 * цена
 * ========================================================================================================= */
.l-price { padding: clamp(72px, 10vw, 140px) 0; background: var(--l-night); color: var(--l-on-night); }
.l-plans { display: grid; gap: 16px; }
.l-plan { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 36px); border-radius: 16px; background: var(--l-night-2); box-shadow: inset 0 0 0 1px var(--l-night-line); }
.l-plan h3 { margin: 0; font: 600 1.25rem / 1.2 var(--sc-font-brand); }
.l-plan-price { margin: 0; font: 600 clamp(2.25rem, 1.6rem + 2vw, 3.25rem) / 1 var(--sc-font-brand); letter-spacing: -0.03em; }
.l-plan-price small { font: 400 1rem / 1 var(--sc-font); letter-spacing: 0; color: var(--l-on-night-muted); }
.l-plan ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--l-on-night-muted); }
.l-plan li { display: flex; gap: 10px; line-height: 1.45; }
.l-plan li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--l-glow); }
.l-plan .l-btn { align-self: flex-start; margin-top: auto; }
.l-plan-pro { box-shadow: inset 0 0 0 1.5px color-mix(in oklch, var(--l-glow) 60%, transparent); }

/* =========================================================================================================
 * ищете мастера
 * ========================================================================================================= */
.l-seek { padding: clamp(72px, 10vw, 140px) 0; background: var(--sc-surface); overflow: clip; }
.l-seek-grid { display: grid; gap: 40px; align-items: center; }
.l-seek-copy p { max-width: 44ch; margin: 0 0 28px; color: var(--sc-muted); font-size: 1.125rem; line-height: 1.6; }
.l-seek-copy .l-h2 { margin-bottom: 16px; }
.l-seek-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.l-seek-photos img { width: 100%; aspect-ratio: 3 / 4; border-radius: 12px; object-fit: cover; translate: 0 calc(var(--i) * 6% - 9%); }

/* ---------- вопросы и финал ---------- */
.l-faq { background: var(--sc-bg); }
.l-final { padding: clamp(80px, 11vw, 150px) 0; background: var(--l-night); color: var(--l-on-night); text-align: center; position: relative; overflow: clip; isolation: isolate; }
.l-final::before { content: ""; position: absolute; inset: 20% 20% -40%; z-index: -1; border-radius: 50%; background: color-mix(in oklch, var(--l-glow) 22%, transparent); filter: blur(70px); }
.l-final-inner { display: grid; justify-items: center; gap: 18px; }
.l-final-title { margin: 0; max-width: 18ch; font: 600 clamp(1.9rem, 1.1rem + 3vw, 3.4rem) / 1.08 var(--sc-font-brand); letter-spacing: -0.03em; text-wrap: balance; }
.l-final p { margin: 0 0 10px; color: var(--l-on-night-muted); font-size: 1.125rem; }

/* =========================================================================================================
 * шире телефона
 * ========================================================================================================= */
@media (min-width: 720px) {
  .l-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .l-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .l-tile-wide { grid-column: span 2; }
  .l-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 960px) {
  .l-hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); }
  .l-who-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .l-who .l-h2 { grid-row: span 2; position: sticky; top: calc(var(--sc-header-h) + 32px); }
  .l-seek-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .l-for-list a { grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1fr) auto; padding: 22px 4px; }
  .l-for-list img { grid-row: auto; width: 88px; height: 88px; }
  .l-for-who { grid-column: auto; }
  .l-for-arrow { grid-row: auto; grid-column: auto; }
}

/* =========================================================================================================
 * появление разделов при прокрутке — только где браузер умеет; иначе всё видно сразу
 * ========================================================================================================= */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: l-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .l-steps .rv:nth-child(2), .l-bento .rv:nth-child(even), .l-plans .rv:nth-child(2) { animation-range: entry 8% entry 65%; }
    .l-seek-photos img { animation: l-drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes l-reveal { from { opacity: 0; transform: translateY(32px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes l-drift { from { transform: translateY(calc(var(--i) * 8px + 24px)); } to { transform: translateY(calc(var(--i) * -8px - 24px)); } }

/* «уменьшить движение»: сцена стоит в конечном кадре, ничего не движется */
@media (prefers-reduced-motion: reduce) {
  .l-hero::before, .l-line > span, .l-hero-lead, .l-hero-actions, .l-hero-facts, .l-stage,
  .ph-pick, .ph-cta, .ph-pick::after, .ph-cta::after, .ph-book, .ph-done, .ph-done-mark, .l-note-master, .l-note-client,
  .v-templates span, .v-share span, .v-booked, .t-new, .t-cal .is-new, .t-shop-cart b, .t-catalog svg { animation: none !important; }
  .ph-book { opacity: 0; }
  .ph-done, .l-note { opacity: 1; }
  .ph-pick { background: oklch(0.38 0.11 355); color: #fff; }
  .v-templates span:nth-child(1) { transform: translateX(-64px) rotate(-14deg); }
  .v-templates span:nth-child(3) { transform: translateX(64px) rotate(14deg); }
  .v-booked { background: var(--l-glow); }
}

/* =========================================================================================================
 * Внутренние страницы в стиле главной: страницы сфер (/dlya/…) и инструкция (/help)
 * ========================================================================================================= */
.l-hero-inner { padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 104px); }
.l-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--l-on-night-muted); font-size: 0.875rem; }
.l-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--l-on-night-muted); }
.l-crumbs a:hover { color: #fff; }
.l-crumbs [aria-current] { color: var(--l-on-night); }
.l-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--l-glow); font-weight: 600; }
.l-kicker svg { width: 20px; height: 20px; }
.l-page-title {
  margin: 0; max-width: 18ch; color: var(--l-on-night);
  font: 600 clamp(2rem, 1.1rem + 3.2vw, 3.6rem) / 1.06 var(--sc-font-brand); letter-spacing: -0.03em; text-wrap: balance;
  animation: l-fade-up 1s var(--l-ease) both;
}
.l-hero-inner .l-hero-lead { animation-delay: 0.12s; }
.l-who-fit { max-width: 40rem; margin: 24px 0 0; color: var(--l-on-night-muted); font-size: 0.9375rem; line-height: 1.55; animation: l-fade-up 1s 0.5s var(--l-ease) both; }
.l-who-fit b { color: var(--l-on-night); }

/* телефон с живым примером сферы — без сценки, только мягко покачивается */
.l-stage-static { padding-bottom: 0; }
.l-phone-float { animation: l-float 7s ease-in-out infinite; }
@keyframes l-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.l-stage-static .ph-cover { height: 42%; }
.l-stage-static .ph-body { gap: 10px; padding: 16px; }
.l-stage-static .ph-text { color: oklch(0.45 0.02 20); font-size: 0.8125rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ph-cta-static { animation: none; background: var(--sc-brand); }
.ph-cta-static::after { display: none; }
.ph-ghost { padding: 10px 0; border-radius: 999px; box-shadow: inset 0 0 0 1px oklch(0.88 0.01 20); text-align: center; font-weight: 600; font-size: 0.75rem; }

/* оглавление инструкции — строка «таблеток» на тёмном */
.l-hero-doc .l-page-title { max-width: 16ch; }
.l-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; animation: l-fade-up 1s 0.3s var(--l-ease) both; }
.l-toc a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--l-night-line); color: var(--l-on-night); text-decoration: none; font-weight: 500;
  transition: background-color 0.25s var(--l-ease), box-shadow 0.25s var(--l-ease);
}
.l-toc a:hover { background: var(--l-night-2); box-shadow: inset 0 0 0 1px var(--l-glow); }
.l-toc svg { width: 18px; height: 18px; color: var(--l-glow); }
@media (max-width: 639.98px) {
  .l-toc { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .l-toc a { flex: none; }
}

/* общие светлые разделы */
.l-sec { padding: clamp(64px, 9vw, 120px) 0; scroll-margin-top: var(--sc-header-h); }
.l-sec-white { background: var(--sc-bg); }
.l-sec-surface { background: var(--sc-surface); }
.l-sec-lead { max-width: 62ch; margin: -12px 0 clamp(28px, 4vw, 40px); color: var(--sc-muted); font-size: 1.125rem; line-height: 1.6; text-wrap: pretty; }
.l-sec-note { margin: 24px 0 0; color: var(--sc-muted); }
.l-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.l-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--sc-brand-strong); font-weight: 600; text-decoration: none; }
.l-more svg { width: 18px; height: 18px; transition: transform 0.3s var(--l-ease); }
.l-more:hover svg { transform: translateX(3px); }

/* «было → стало» */
.l-fixes { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sc-border); }
.l-fixes li { display: grid; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--sc-border); }
.l-fix-was { margin: 0; color: var(--sc-muted); font-size: 1.0625rem; line-height: 1.45; }
.l-fix-arrow { display: none; }
.l-fix-now { display: flex; gap: 12px; margin: 0; font-weight: 600; font-size: 1.0625rem; line-height: 1.45; }
.l-fix-now svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--sc-brand); }
@media (min-width: 860px) {
  .l-fixes li { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1.15fr); align-items: center; gap: 24px; }
  .l-fix-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sc-surface); color: var(--sc-brand-strong); }
  .l-fix-arrow svg { width: 20px; height: 20px; }
}

/* возможности: плитки с иконкой; на широком экране первые две — шире */
.l-feats { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.l-feats li { display: grid; align-content: start; gap: 8px; padding: clamp(20px, 2.4vw, 28px); border-radius: 16px; background: var(--sc-bg); }
.l-sec-white .l-feats li { background: var(--sc-surface); }
.l-feats b { margin-top: 6px; font: 600 1.125rem / 1.25 var(--sc-font-brand); letter-spacing: -0.015em; }
.l-feats li > span:last-child { color: var(--sc-muted); line-height: 1.6; }
.l-feat-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--l-night); color: var(--l-glow); }
.l-feat-icon svg { width: 22px; height: 22px; }
@media (min-width: 720px) { .l-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .l-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* шаги без картинок — на тёмной полосе */
.l-steps-plain .l-step h3 { margin-top: 0; }
.l-how-cta { margin-top: clamp(36px, 5vw, 56px); }
@media (min-width: 720px) { .l-steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .l-steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.l-other { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.l-other a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--l-night-line); color: var(--l-on-night); text-decoration: none; }
.l-other a:hover { box-shadow: inset 0 0 0 1px var(--l-glow); }

/* инструкция: шаги таймлайном с номерами */
.l-split { display: grid; gap: clamp(28px, 5vw, 56px); }
.l-split-head .l-h2 { margin-bottom: 24px; }
.l-timeline { margin: 0; padding: 0; list-style: none; counter-reset: tl; }
.l-timeline li { position: relative; padding: 0 0 28px 64px; counter-increment: tl; }
.l-timeline li::before {
  content: counter(tl); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--l-night); color: var(--l-glow); font: 600 1rem / 1 var(--sc-font-brand);
}
.l-timeline li::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--sc-border); }
.l-timeline li:last-child::after { display: none; }
.l-timeline h3 { margin: 6px 0; font: 600 1.1875rem / 1.3 var(--sc-font-brand); letter-spacing: -0.015em; }
.l-timeline p { max-width: 62ch; margin: 0; color: var(--sc-muted); line-height: 1.65; }
.l-timeline a { color: var(--sc-brand-strong); }
@media (min-width: 960px) {
  .l-split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
  .l-split-head { position: sticky; top: calc(var(--sc-header-h) + 32px); }
}

/* инструкция: «название — пояснение» */
.l-defs { display: grid; margin: 0; border-top: 1px solid var(--sc-border); }
.l-defs > div { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--sc-border); }
.l-defs dt { font: 600 1.125rem / 1.3 var(--sc-font-brand); letter-spacing: -0.015em; }
.l-defs dd { margin: 0; max-width: 68ch; color: var(--sc-muted); line-height: 1.65; }
@media (min-width: 860px) { .l-defs > div { grid-template-columns: minmax(0, 0.35fr) minmax(0, 1fr); gap: 32px; } }
.l-defs-dark { margin-top: clamp(36px, 5vw, 56px); border-color: var(--l-night-line); }
.l-defs-dark > div { border-color: var(--l-night-line); }
.l-defs-dark dt { color: var(--l-on-night); }
.l-defs-dark dd { color: var(--l-on-night-muted); }
.l-bots { margin: 32px 0 0; color: var(--l-on-night-muted); }
.l-bots a { display: inline-flex; align-items: center; min-height: 44px; margin-left: 6px; padding: 0 16px; border-radius: 999px; background: var(--l-glow); color: var(--l-glow-ink); font-weight: 600; text-decoration: none; }

/* видео */
.l-videos { display: grid; gap: 24px 16px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.l-videos li { display: grid; align-content: start; gap: 6px; }
.l-videos video { width: 100%; aspect-ratio: 9 / 16; border-radius: 16px; background: var(--l-night); object-fit: cover; }
.l-videos b { margin-top: 6px; font: 600 1.0625rem / 1.3 var(--sc-font-brand); letter-spacing: -0.01em; }
.l-videos span { color: var(--sc-muted); font-size: 0.9375rem; line-height: 1.5; }

/* поддержка */
.l-support { display: grid; gap: 14px; }
.l-support > div { padding: clamp(20px, 2.4vw, 28px); border-radius: 16px; background: var(--sc-bg); }
.l-support h3 { margin: 0 0 8px; font: 600 1.1875rem / 1.3 var(--sc-font-brand); }
.l-support p { margin: 0; color: var(--sc-muted); line-height: 1.65; }
.l-support a, .l-sec-note a { color: var(--sc-brand-strong); }
@media (min-width: 720px) { .l-support { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  .l-page-title, .l-who-fit, .l-toc, .l-phone-float { animation: none !important; }
}

/* =========================================================================================================
 * экраны 1–3 «сайт за 10 минут»: телефон с настоящими сайтами, шаги со временем, боли
 * ========================================================================================================= */
.l-shots { position: relative; }
.l-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0;
  animation: l-shot 12s var(--l-ease) infinite; }
.l-shots img:nth-child(1) { animation-delay: 0s; }
.l-shots img:nth-child(2) { animation-delay: 4s; }
.l-shots img:nth-child(3) { animation-delay: 8s; }
@keyframes l-shot { 0% { opacity: 0; transform: scale(1.03); } 6%, 33% { opacity: 1; transform: none; } 39%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .l-shots img { animation: none; }
  .l-shots img:first-child { opacity: 1; }
}

.l-ten-steps { display: grid; gap: clamp(28px, 4vw, 40px); margin: 0; padding: 0; list-style: none; }
.l-ten-step { display: grid; align-content: start; gap: 10px; }
.l-ten-time { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px; border-radius: 999px;
  background: color-mix(in oklch, var(--l-glow) 16%, transparent); color: var(--l-glow); font: 600 0.9375rem / 1 var(--sc-font-brand); }
.l-ten-time svg { width: 16px; height: 16px; }
.l-ten-step h3 { margin: 4px 0 0; font: 600 1.375rem / 1.2 var(--sc-font-brand); letter-spacing: -0.02em; }
.l-ten-step p { max-width: 38ch; margin: 0; color: var(--l-on-night-muted); line-height: 1.6; }
.l-ten-step p b { color: var(--l-on-night); }
.l-ten-shot { margin-top: 10px; height: clamp(260px, 30vw, 380px); overflow: hidden; border-radius: 24px 24px 0 0;
  border: 1px solid var(--l-night-line); border-bottom: 0; background: #fff;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.l-ten-shot img { display: block; width: 100%; height: auto; }
.l-ten-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(32px, 4vw, 48px); }
.l-ten-cta span { max-width: 46ch; color: var(--l-on-night-muted); line-height: 1.5; }

.l-pains { padding: clamp(72px, 10vw, 128px) 0; background: var(--sc-surface); }
.l-pain-grid { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.l-pain { display: grid; align-content: start; gap: 10px; padding: 22px 22px 24px; border: 1px solid var(--sc-border); border-radius: 22px; background: var(--sc-bg); }
.l-pain-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--l-night); color: var(--l-glow); }
.l-pain-icon svg { width: 22px; height: 22px; }
.l-pain-q { margin: 6px 0 0; font: 600 1.1875rem / 1.25 var(--sc-font-brand); letter-spacing: -0.01em; }
.l-pain p:not(.l-pain-q) { margin: 0; color: var(--sc-muted); line-height: 1.6; }
.l-pains-cta { margin-top: clamp(28px, 4vw, 44px); }

@media (min-width: 720px) {
  .l-pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .l-ten-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .l-pain-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

/* ---------- карточка «Показать, как это работает?» и видео (_promo.html, promo.js) ---------- */
.l-pop {
  position: fixed; z-index: 40; right: 16px; bottom: 16px; width: min(380px, calc(100vw - 32px));
  display: grid; gap: 10px; padding: 20px 20px 18px; border-radius: 20px;
  background: var(--l-night); color: var(--l-on-night);
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / 55%), 0 0 0 1px var(--l-night-line);
  opacity: 0; transform: translateY(16px); transition: opacity 0.3s var(--l-ease), transform 0.4s var(--l-ease);
}
.l-pop.is-in { opacity: 1; transform: none; }
.l-pop[hidden] { display: none; }
.l-pop-kicker {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 5px 10px 5px 8px;
  border-radius: 999px; background: color-mix(in oklch, var(--l-glow) 18%, transparent); color: var(--l-glow);
  font-size: 0.8125rem; font-weight: 700;
}
.l-pop-kicker svg { width: 16px; height: 16px; }
.l-pop-title { margin: 0; padding-right: 32px; font-family: var(--sc-font-brand); font-size: 1.1875rem; line-height: 1.25; font-weight: 600; text-wrap: balance; }
.l-pop-text { margin: 0; color: var(--l-on-night-muted); font-size: 0.9375rem; line-height: 1.5; }
.l-pop-offer { margin: 0; padding-left: 12px; border-left: 2px solid var(--l-glow); font-size: 0.9375rem; line-height: 1.45; font-weight: 600; }
.l-pop-actions { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.l-pop-actions .l-btn { flex: 1; min-height: 48px; justify-content: center; }
.l-pop-actions .l-btn svg { width: 18px; height: 18px; }
.l-pop-later { min-height: 48px; padding: 0 12px; border: 0; border-radius: 12px; background: none; color: var(--l-on-night-muted); font: inherit; font-weight: 600; cursor: pointer; }
.l-pop-later:hover { color: #fff; background: var(--l-night-2); }
.l-pop-close {
  position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: none; color: var(--l-on-night-muted); cursor: pointer;
}
.l-pop-close:hover { background: var(--l-night-2); color: #fff; }
.l-pop-close svg { width: 20px; height: 20px; }
@media (max-width: 520px) {
  .l-pop { left: 8px; right: 8px; bottom: 8px; width: auto; gap: 8px; padding: 16px 16px 12px; }
  .l-pop-title { font-size: 1.0625rem; }
  .l-pop-text, .l-pop-offer { font-size: 0.875rem; }
}

.l-video {
  width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 20px;
  background: var(--l-night); color: var(--l-on-night); overflow: auto;
}
.l-video::backdrop { background: rgb(4 18 12 / 72%); backdrop-filter: blur(4px); }
.l-video-head { position: relative; padding: 16px 56px 12px 20px; }
.l-video-head h2 { margin: 0; font-size: 1.0625rem; line-height: 1.3; }
.l-video-head .l-pop-close { top: 8px; }
.l-video video { display: block; width: 100%; max-height: calc(100dvh - 220px); aspect-ratio: 9 / 16; object-fit: contain; background: #000; }
.l-video-list { display: flex; gap: 10px; overflow-x: auto; padding: 14px 20px 4px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.l-video-item {
  flex: none; display: flex; gap: 10px; align-items: center; width: 220px; padding: 8px; border: 0; border-radius: 14px;
  background: var(--l-night-2); color: var(--l-on-night); font: inherit; text-align: left; cursor: pointer; scroll-snap-align: start;
  box-shadow: inset 0 0 0 1px var(--l-night-line);
}
.l-video-item:hover { box-shadow: inset 0 0 0 1px var(--l-on-night-muted); }
.l-video-item.is-on { box-shadow: inset 0 0 0 2px var(--l-glow); }
.l-video-item img { flex: none; width: 48px; height: 85px; border-radius: 8px; object-fit: cover; }
.l-video-item span { display: grid; gap: 4px; min-width: 0; }
.l-video-item b { font-size: 0.875rem; line-height: 1.3; font-weight: 600; }
.l-video-item small { color: var(--l-on-night-muted); font-size: 0.75rem; }
.l-video-all { justify-self: center; color: var(--l-on-night-muted); font-size: 0.875rem; text-decoration: underline; text-underline-offset: 3px; }
.l-video-all:hover { color: #fff; }
.l-video-foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px 20px 18px; }
.l-video-foot .l-btn { justify-content: center; white-space: normal; text-align: center; }
.l-video-foot p { margin: 0; color: var(--l-on-night-muted); font-size: 0.8125rem; line-height: 1.45; text-align: center; }
.l-plan-gift { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in oklch, var(--l-glow) 16%, transparent); font-size: 0.875rem; line-height: 1.4; }
.l-plan-gift svg { flex: none; width: 18px; height: 18px; color: var(--l-glow); margin-top: 1px; }
@media (prefers-reduced-motion: reduce) { .l-pop { transition: none; transform: none; } }
