/* Лендинг, вариант B (сплит-тест). Свой стиль ФокусМП: фиолетовый акцент,
   много реальных карточек, кнопка после каждого блока. */
@font-face { font-family: Inter; src: url(fonts/InterVariable-ru.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --ink: #15112B; --muted: #5C5678; --line: #E9E4F7; --violet: #6D4CF5; --violet-ink: #4A2FC4;
  --violet-soft: #F3EFFF; --tint: #F8F6FF; --bg: #FFFFFF; --night: #15112B; --mint: #E4F7EE; --mint-ink: #11744F;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink);
  background: var(--bg); font-size: 16px; line-height: 1.5; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(26px, 6.4vw, 42px); line-height: 1.08; font-weight: 820; }
p { margin: 0; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
section, .b-top, .b-foot { padding-inline: max(16px, calc((100% - 1140px) / 2)); }
.st { width: .95em; height: .95em; fill: currentColor; vertical-align: -.1em; }
.st-w { display: inline-flex; color: var(--violet); }

/* шапка */
.b-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; height: 60px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.b-logo { font-weight: 850; font-size: 20px; color: #5B3FD6; text-decoration: none; letter-spacing: -.02em; }
.b-logo-light { color: #fff; }
.b-nav { display: none; gap: 22px; margin-left: auto; }
.b-nav a { color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none; }
.b-nav a:hover { color: var(--ink); }
.b-login { margin-left: auto; font-weight: 750; color: var(--violet-ink); text-decoration: none; padding: 8px 14px; border-radius: 12px; background: var(--violet-soft); }
.b-cta-sm { display: none !important; }

/* кнопки */
.b-cta { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 16px;
  background: var(--violet); color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; text-align: center;
  box-shadow: 0 14px 30px rgba(109,76,245,.3); transition: transform .15s, box-shadow .15s; }
.b-cta:hover { transform: translateY(-1px); box-shadow: 0 18px 36px rgba(109,76,245,.4); }
.b-cta-light { background: #fff; color: var(--violet-ink); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.b-sec > .b-cta { margin-top: 28px; }

/* первый экран */
.b-hero { display: grid; gap: 22px; padding-block: 18px 36px;
  background: radial-gradient(900px 480px at 80% 0%, #ECE5FF 0%, transparent 70%), var(--bg); }
.b-gift { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: var(--mint); color: var(--mint-ink);
  font-weight: 750; font-size: 13.5px; padding: 6px 12px; border-radius: 999px; }
.b-gift .st-w { color: var(--mint-ink); }
.b-hero-text { display: flex; flex-direction: column; gap: 14px; }
.b-hero h1 { font-size: clamp(30px, 8.4vw, 60px); line-height: 1.03; font-weight: 860; }
.b-hl { color: var(--violet); }
.b-lead { font-size: 16.5px; color: var(--muted); max-width: 32em; }
.b-hero-act { display: flex; flex-direction: column; gap: 10px; }
.b-note { font-size: 13.5px; color: var(--muted); text-align: center; }
.b-vk { display: inline-block; background: #0077FF; color: #fff; border-radius: 5px; font-size: 10.5px; font-weight: 800; padding: 2px 5px; margin-right: 6px; vertical-align: 1px; }
.b-mps { display: flex; gap: 8px; flex-wrap: wrap; }
.b-mps span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.b-hero-vis { display: flex; flex-direction: column; gap: 12px; }

.b-pair { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; align-items: end; }
.b-pair figure { margin: 0; position: relative; }
.b-pair img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; box-shadow: 0 14px 32px rgba(40,20,120,.14); }
.b-src img { transform: rotate(-3deg); }
.b-pair figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 750; color: #fff;
  background: rgba(21,17,43,.78); padding: 3px 10px; border-radius: 999px; }
.b-res figcaption { background: var(--violet); }
.b-strip { display: flex; align-items: center; gap: 8px; }
.b-strip img { width: 52px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 9px; border: 2px solid #fff; box-shadow: 0 4px 12px rgba(40,20,120,.14); }
.b-strip span { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-left: 4px; }

/* секции */
.b-sec { padding-block: 56px; }
.b-tint { background: var(--tint); }
.b-sub { margin-top: 10px; color: var(--muted); font-size: 16.5px; }

.b-steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; counter-reset: st; }
.b-steps li { counter-increment: st; position: relative; display: flex; flex-direction: column; gap: 4px;
  border: 1.5px solid var(--line); border-radius: 20px; padding: 18px 18px 18px 70px; background: #fff; }
.b-steps li::before { content: counter(st); position: absolute; left: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--violet); color: #fff; display: grid; place-items: center; font-weight: 800; }
.b-steps b { font-size: 18px; }
.b-steps span { color: var(--muted); font-size: 15px; }

.b-feats { margin-top: 26px; display: grid; gap: 12px; }
.b-feats article { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.b-feats h3 { font-size: 18px; }
.b-feats p { color: var(--muted); font-size: 15px; }
.b-feats small { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--violet-ink); font-size: 13.5px; }

.b-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-block: 40px; }
.b-nums div { border-left: 3px solid var(--violet); padding: 2px 0 2px 14px; display: flex; flex-direction: column; }
.b-nums b { font-size: clamp(24px, 6vw, 38px); font-weight: 850; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.b-nums span { color: var(--muted); font-size: 14px; }

.b-works { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b-works li { position: relative; }
.b-works img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; box-shadow: 0 10px 26px rgba(40,20,120,.1); }
.b-works span { position: absolute; left: 8px; top: 8px; background: rgba(255,255,255,.92); font-size: 12px; font-weight: 750; padding: 3px 9px; border-radius: 999px; }

.b-packs { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.b-packs li { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 18px;
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; }
.b-packs b { font-size: 17px; }
.b-packs strong { font-size: 22px; font-weight: 850; text-align: right; }
.b-packs span { color: var(--muted); font-size: 14px; }
.b-packs small { color: var(--muted); font-size: 14px; text-align: right; }
.b-packs .b-pop { border-color: var(--violet); box-shadow: 0 12px 30px rgba(109,76,245,.14); }
.b-packs em { position: absolute; top: -11px; left: 16px; font-style: normal; background: var(--violet); color: #fff; font-size: 12px; font-weight: 750; padding: 2px 10px; border-radius: 999px; }

.b-trial { display: flex; flex-direction: column; gap: 18px; padding-block: 40px; background: var(--violet); color: #fff; }
.b-trial h2 { color: #fff; }
.b-trial .st-w { color: #fff; }
.b-trial p { color: #E6DEFF; margin-top: 8px; font-size: 16.5px; }

.b-faq { margin-top: 22px; display: grid; gap: 10px; max-width: 820px; }
.b-faq details { border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; background: #fff; }
.b-faq summary { cursor: pointer; font-weight: 750; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.b-faq summary::after { content: "+"; color: var(--violet); font-weight: 800; font-size: 20px; line-height: 1; }
.b-faq details[open] summary::after { content: "–"; }
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq p { color: var(--muted); padding-bottom: 14px; }

.b-final { padding-block: 56px; background: var(--night); color: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.b-final h2 { color: #fff; }
.b-final p { color: #C9C3E6; margin-bottom: 10px; }
.b-final .b-cta { width: 100%; max-width: 420px; }

.b-foot { padding-block: 28px; background: #0E0B1F; color: #A9A3C6; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.b-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.b-foot a { color: #C9C3E6; }

@media (min-width: 860px) {
  .b-nav { display: flex; }
  .b-login { margin-left: 8px; }
  .b-cta-sm { display: inline-flex !important; min-height: 42px; padding: 0 16px; font-size: 14.5px; border-radius: 12px; box-shadow: none; }
  .b-hero { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-block: 64px; }
  .b-hero-vis { order: 0; }
  .b-hero-act { align-items: flex-start; }
  .b-hero-act .b-cta { display: inline-flex; }
  .b-note { text-align: left; }
  .b-lead { font-size: 19px; }
  .b-sec > .b-cta { display: inline-flex; }
  .b-steps { grid-template-columns: repeat(3, 1fr); }
  .b-steps li { padding: 70px 22px 22px; }
  .b-feats { grid-template-columns: repeat(3, 1fr); }
  .b-nums { grid-template-columns: repeat(4, 1fr); }
  .b-works { grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 18px; }
  .b-packs { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .b-packs li { grid-template-columns: 1fr; gap: 4px; padding: 22px; }
  .b-packs strong, .b-packs small { text-align: left; }
  .b-trial { flex-direction: row; align-items: center; justify-content: space-between; }
  .b-trial .b-cta { flex: 0 0 auto; }
  .b-foot { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .b-cta { transition: none; } }

/* Телефон: заголовок → «фото → карточка» → кнопка, всё до края экрана. */
@media (max-width: 859px) {
  .b-hero { gap: 12px; }
  .b-hero-text { display: contents; }
  .b-gift { order: 1; justify-self: start; width: fit-content; } .b-hero h1 { order: 2; } .b-lead { order: 3; font-size: 15.5px; }
  .b-hero-vis { order: 4; } .b-hero-act { order: 5; } .b-mps { order: 6; }
  .b-strip { display: none; }
  .b-pair img { max-height: 270px; }
}
/* Телефон: в две колонки нечётная последняя карточка осталась бы одна. */
@media (max-width: 859px) { .b-works li:nth-child(odd):last-child { display: none; } }

/* ---------- Анимации, вариант 5 «Мягко и живо» (ноябрь 2026) — как на лендинге A ----------
   Слова заголовка появляются по очереди, фото и карточка слегка покачиваются,
   сзади плывёт свечение, кнопка «дышит». Блоки ниже появляются при прокрутке
   (класс .rv ставит landing.js). На телефоне .b-hero-text — display: contents,
   поэтому анимируем каждый элемент отдельно, а не всю колонку. */
@keyframes fm-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fm-floatA { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-8px); } }
@keyframes fm-floatB { 0%, 100% { transform: rotate(2deg) translateY(-6px); } 50% { transform: rotate(2deg) translateY(4px); } }
@keyframes fm-blob { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6%, -5%) scale(1.12); } }
@keyframes fm-glow { 0%, 100% { box-shadow: 0 10px 24px rgba(109,76,245,.28); } 50% { box-shadow: 0 12px 34px rgba(109,76,245,.55); } }

.b-hero { position: relative; overflow-x: clip; }
@supports not (overflow: clip) { .b-hero { overflow: hidden; } }
/* Первый экран без анимации появления: из рекламы ВК сайт открывается во
   встроенном браузере, и пустой экран в первые 1–2 секунды терял людей.
   Заголовок, картинки и кнопка видны сразу. */
.b-hero h1 .w { display: inline; }
.b-pair { position: relative; isolation: isolate; }
.b-pair::before { content: ""; position: absolute; z-index: -1; inset: -12% -6% -8% 25%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(109,76,245,.26), rgba(109,76,245,0)); animation: fm-blob 9s ease-in-out infinite; }
.b-src { animation: fm-floatA 5s ease-in-out infinite; }
.b-res { animation: fm-floatB 5s ease-in-out infinite; }
.b-hero-act .b-cta { animation: fm-glow 2.6s ease-in-out 1.4s infinite; }

.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* У кого анимации выключены в системе — всё видно сразу и стоит на месте. */
@media (prefers-reduced-motion: reduce) {
  .b-hero, .b-hero *, .b-hero *::before { animation: none !important; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- Анимации блоков, вариант 2 «Веер» (ноябрь 2026) ----------
   Классы is-armed / is-on ставит landing.js, когда блок показался на экране.
   Без скрипта и у кого анимации выключены — всё стоит на своих местах сразу.
   1) Шаги: фиолетовая линия тянется от кружка к кружку, кружки загораются по очереди. */
.fm-steps { position: relative; }
.fm-steps > li::before { z-index: 3; }
.fm-steps::after { content: ""; position: absolute; z-index: 1; pointer-events: none; border-radius: 2px; background: var(--violet);
  left: var(--lx, 0); top: var(--ly, 0); width: var(--lw, 0); height: var(--lh, 0); transform-origin: left top; }
.fm-steps.is-armed::after { transform: scale(var(--sx, 0), var(--sy, 0)); }
.fm-steps.is-armed.is-on::after { transform: none; transition: transform 1.4s cubic-bezier(.45,0,.2,1) .15s; }
@keyframes fm-dot { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(109,76,245,0); }
  45% { transform: scale(1.18); box-shadow: 0 0 0 9px rgba(109,76,245,.2); } 100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(109,76,245,.12); } }
.fm-steps.is-armed > li::before { background: #fff; color: var(--violet-ink); box-shadow: inset 0 0 0 2px var(--violet); transition: background .3s, color .3s; }
.fm-steps.is-armed.is-on > li::before { background: var(--violet); color: #fff; animation: fm-dot .6s ease-out both;
  transition-delay: calc(var(--k, 0) * .42s + .15s); animation-delay: calc(var(--k, 0) * .42s + .15s); }
.fm-steps.is-armed > li { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s cubic-bezier(.2,.7,.2,1); }
.fm-steps.is-armed.is-on > li { opacity: 1; transform: none; transition-delay: calc(var(--k, 0) * .42s); }

/* 2) Примеры: лежат стопкой в центре и раскладываются веером по своим местам. */
.fm-deck.is-armed > li { transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--r, 0deg)); opacity: .001; }
.fm-deck.is-armed.is-on > li { transform: none; opacity: 1;
  transition: transform .9s cubic-bezier(.3,1.25,.45,1), opacity .25s; transition-delay: calc(var(--k, 0) * .09s); }

/* 3) Цены: полоска «сколько карточек» в тарифе растёт слева направо. */
.fm-bar { display: block; grid-column: 1 / -1; position: relative; height: 6px; margin-top: 8px; border-radius: 3px; background: var(--line); overflow: hidden; }
.fm-bar::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0); border-radius: 3px; background: var(--violet); transform-origin: left; }
.fm-bars.is-armed .fm-bar::after { transform: scaleX(0); }
.fm-bars.is-armed.is-on .fm-bar::after { transform: none; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.fm-bars.is-armed.is-on > li:nth-child(2) .fm-bar::after { transition-delay: .15s; }
.fm-bars.is-armed.is-on > li:nth-child(3) .fm-bar::after { transition-delay: .3s; }
.fm-bars.is-armed.is-on > li:nth-child(4) .fm-bar::after { transition-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
  .fm-steps::after, .fm-steps > li, .fm-steps > li::before, .fm-deck > li, .fm-bar::after { transition: none !important; animation: none !important; }
}

/* 4) После появления блоки не замирают (класс is-live ставит landing.js):
   по линии шагов бегает огонёк и «зажигает» кружки, примеры слегка покачиваются,
   по полоскам тарифов пробегает блик. */
@keyframes fm-run { 0% { transform: translate(0, 0); opacity: 0; } 6% { opacity: 1; } 64% { opacity: 1; }
  70% { transform: translate(var(--tx, 0), var(--ty, 0)); opacity: 0; } 100% { transform: translate(var(--tx, 0), var(--ty, 0)); opacity: 0; } }
@keyframes fm-ping { 0% { transform: scale(1); box-shadow: 0 0 0 6px rgba(109,76,245,.12); }
  6% { transform: scale(1.14); box-shadow: 0 0 0 10px rgba(109,76,245,.22); } 18%, 100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(109,76,245,.12); } }
.fm-steps::before { content: ""; position: absolute; z-index: 2; pointer-events: none; width: 11px; height: 11px; border-radius: 50%; opacity: 0;
  left: calc(var(--lx, 0px) - 4px); top: calc(var(--ly, 0px) - 4px); background: #fff; box-shadow: 0 0 0 3px var(--violet), 0 0 14px 4px rgba(109,76,245,.55); }
.fm-steps.is-live::before { animation: fm-run 4s cubic-bezier(.45,0,.4,1) infinite; }
.fm-steps.is-live > li::before { animation: fm-ping 4s ease-out infinite; animation-delay: calc(var(--k, 0) * 2.8s / var(--n1, 1)); }

@keyframes fm-bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 30% { transform: translateY(-6px) rotate(-.6deg); } 70% { transform: translateY(-2px) rotate(.5deg); } }
.fm-deck.is-live > li { animation: fm-bob 6s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -1.3s); }

@keyframes fm-shine { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.fm-bars.is-live .fm-bar::after { background: linear-gradient(90deg, var(--violet) 0%, var(--violet) 35%, #B6A4FF 50%, var(--violet) 65%, var(--violet) 100%);
  background-size: 200% 100%; animation: fm-shine 2.8s linear infinite; }
.fm-bars.is-live > li:nth-child(2) .fm-bar::after { animation-delay: .2s; }
.fm-bars.is-live > li:nth-child(3) .fm-bar::after { animation-delay: .4s; }
.fm-bars.is-live > li:nth-child(4) .fm-bar::after { animation-delay: .6s; }
@media (prefers-reduced-motion: reduce) {
  .fm-steps::before, .fm-steps > li::before, .fm-deck > li, .fm-bar::after { animation: none !important; }
}

/* ---------- Вход гостя и «Фото загружено ✓» (guest_auth.html) ---------- */
.g-body { min-height: 100vh; min-height: 100dvh; background: radial-gradient(800px 420px at 50% 0%, #ECE5FF 0%, transparent 70%), var(--bg); }
.g-main { display: flex; justify-content: center; padding: 20px 16px 48px; }
.g-card { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 14px; }
.g-card h1 { font-size: clamp(26px, 7vw, 34px); line-height: 1.08; font-weight: 850; letter-spacing: -.025em; }
.g-lead { color: var(--muted); }
.g-flash { background: var(--violet-soft); color: var(--violet-ink); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.g-step { align-self: flex-start; background: var(--mint); color: var(--mint-ink); font-weight: 750; font-size: 13px; padding: 4px 11px; border-radius: 999px; }
.g-ok { display: flex; gap: 12px; align-items: center; background: var(--mint); border-radius: 16px; padding: 10px; }
.g-ok img { width: 72px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.g-ok b { display: block; color: var(--mint-ink); font-size: 16px; }
.g-ok span { font-size: 14px; color: var(--ink); }
.g-gift { font-weight: 700; color: var(--mint-ink); font-size: 15px; }
.g-gift .st-w { color: var(--mint-ink); }
.g-form { display: flex; flex-direction: column; gap: 10px; }
.g-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.35; padding: 2px; border-radius: 10px; }
.g-check input { width: 20px; height: 20px; margin: 0; flex: 0 0 auto; accent-color: var(--violet); }
.g-check a { color: var(--violet-ink); font-weight: 650; }
.g-check.need { outline: 2px solid #B91C1C; outline-offset: 4px; animation: gShake .35s; }
.g-hint { color: #B91C1C; font-size: 13.5px; font-weight: 600; margin: 2px 0 0; }
@keyframes gShake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.g-vk { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border: 0; border-radius: 16px;
  background: #0077FF; color: #fff; font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; margin-top: 4px;
  box-shadow: 0 14px 30px rgba(0,119,255,.28); }
.g-vk span { background: #fff; color: #0077FF; border-radius: 7px; font-size: 12px; font-weight: 850; padding: 3px 6px; }
.g-upload, .g-again { margin: 0; }
.g-pick { position: relative; cursor: pointer; }
.g-pick input, .g-again input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.g-or { color: var(--muted); font-size: 14px; text-align: center; }
.g-again label { display: block; text-align: center; color: var(--violet-ink); font-weight: 650; font-size: 14.5px; text-decoration: underline; cursor: pointer; position: relative; }
.g-wait { position: fixed; inset: 0; z-index: 50; background: rgba(255,255,255,.92); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; font-weight: 750; font-size: 17px; }
.g-wait[hidden] { display: none; }
.g-wait span { width: 38px; height: 38px; border-radius: 50%; border: 4px solid var(--violet-soft); border-top-color: var(--violet); animation: gSpin 0.8s linear infinite; }
@keyframes gSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .g-check.need, .g-wait span { animation: none; } }
.gp-form { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Технические правки по аудиту (10.11.2026) ----------
   Телефон: без серой вспышки при нажатии, без задержки нажатия, кнопка не
   «залипает» в нажатом виде; удобные размеры для пальца (от 44 px);
   читаемый текст на фиолетовом блоке подарка (контраст по WCAG AA). */
a, button, summary, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@media (hover: none) { .b-cta:hover { transform: none; box-shadow: 0 14px 30px rgba(109,76,245,.3); } }
.b-cta:active { transform: scale(.98); }
.b-login { display: inline-flex; align-items: center; min-height: 44px; }
.b-foot nav a { display: inline-block; padding-block: 11px; }
.b-trial p { color: #F7F4FF; }

/* ---------- Первый экран «Сначала доказательство» (10.11.2026, вариант 2) ----------
   Шторка «было/стало»: ползунок поверх всей картинки (прозрачный input range),
   по вертикали палец листает страницу (touch-action: pan-y). */
.b-trust { font-size: 14px; color: var(--muted); }
.b-trust b { color: var(--ink); font-variant-numeric: tabular-nums; }
.b-ba { --p: 50%; position: relative; margin: 0; width: min(100%, 340px); aspect-ratio: 3 / 4; justify-self: center; align-self: center;
  border-radius: 22px; overflow: hidden; box-shadow: 0 22px 48px rgba(40,20,120,.2); touch-action: pan-y; user-select: none; -webkit-user-select: none; background: var(--violet-soft); }
.b-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.b-ba-after { clip-path: inset(0 0 0 var(--p)); }
.b-ba-tag { position: absolute; left: 12px; top: 12px; z-index: 3; background: rgba(21,17,43,.75); color: #fff; font-size: 13px; font-weight: 750; padding: 4px 11px; border-radius: 999px; }
.b-ba-tag-r { left: auto; right: 12px; background: var(--violet); }
.b-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: #fff; z-index: 4; pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.25); }
.b-ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--violet-ink); font-weight: 900; font-size: 18px; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.b-ba-range { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.b-ba:focus-within .b-ba-handle span { outline: 3px solid var(--violet); outline-offset: 2px; }
@media (min-width: 860px) { .b-ba { width: min(100%, 420px); } }
.b-trust span { white-space: nowrap; }
/* Телефон: шторка по высоте экрана, чтобы кнопка была видна без прокрутки. */
@media (max-width: 859px) { .b-trust { order: 6; text-align: center; font-size: 13.5px; }
  .b-ba { width: auto; height: min(40svh, 330px); max-width: 100%; } }

/* Примеры: выбор категории. */
.b-kinds { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.b-kinds button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.b-kinds button.on { border-color: var(--violet); background: var(--violet-soft); color: var(--violet-ink); }
.b-works li[hidden] { display: none !important; }
.b-works.is-filtered li:nth-child(odd):last-child { display: block; }
.b-made { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.b-made b { color: var(--ink); font-variant-numeric: tabular-nums; }
