/* ХАЙП СТИК — стили сайта.
   Концепция: тёмная «сцена» в фирменных цветах бота (золотой жёлтый, глубокий фиолетовый, тёплый янтарный свет),
   стикеры — главные объекты на ней. Сдержанная типографика, много воздуха, одна живая сцена в первом экране. */
:root {
  --bg: #0c0817;
  --bg-alt: #110b20;
  --surface: #171028;
  --surface-2: #21173a;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #f7f4ff;
  --muted: #a39bb8;
  --lime: #ffd60a;            /* фирменный золотой жёлтый */
  --lime-2: #ffb703;          /* тёплый край градиента кнопки */
  --lime-ink: #1b1229;
  --amber: #ff8a1e;           /* тёплый свет из фона бота */
  --violet: #6d4aff;
  --pink: #ff8a1e;
  --radius-lg: 32px;
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: 'Unbounded', 'Vazirmatn', 'Noto Sans Devanagari', system-ui, sans-serif;
  --font-body: 'Onest', 'Vazirmatn', 'Noto Sans Devanagari', system-ui, sans-serif;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  /* белая обводка по контуру стикера, как в Telegram */
  --stroke: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff);
  --sec: 56px;               /* единый вертикальный отступ секций: между блоками всегда 2 × --sec */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* тонкое зерно поверх всего — убирает «пластиковость» градиентов */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.container--narrow { max-width: 820px; }
.container--article { max-width: 880px; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 14px; border: 1px solid transparent; overflow: hidden;
  font: 600 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn--lime {
  background: linear-gradient(180deg, #ffe14a 0%, var(--lime) 45%, var(--lime-2) 100%); color: var(--lime-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 30px -10px rgba(255, 196, 0, .65), 0 0 0 1px rgba(255, 214, 10, .4);
}
.btn--lime::after { /* блик, пробегающий при наведении */
  content: ''; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transition: transform .7s ease;
}
.btn--lime:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 18px 40px -12px rgba(255, 196, 0, .8), 0 0 0 1px rgba(255, 214, 10, .5); }
.btn--lime:hover::after { transform: translateX(120%); }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--line-strong); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); }
.btn--dark { background: var(--lime-ink); color: var(--lime); }
.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 12px; }
.btn--sm .btn__icon { width: 16px; height: 16px; }
.btn--lg { padding: 16px 26px; font-size: 17px; }
.btn--xl { padding: 19px 32px; font-size: 18px; border-radius: 16px; }
.btn--block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 8px; background: rgba(255,255,255,.06);
  color: var(--text); font-size: 13px; font-weight: 500; text-decoration: none;
}
.chip small { color: var(--muted); font-weight: 500; }
.chip--lg { padding: 8px 16px; font-size: 15px; border: 1px solid var(--line-strong); background: transparent; border-radius: 12px; }
.chip--lg:hover { border-color: rgba(255,255,255,.3); }
.chip--lg.is-active { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.chip--lg.is-active small { color: rgba(27, 18, 41, .6); }

.link-arrow { color: var(--text); font-weight: 600; text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.link-arrow:hover { color: var(--lime); border-color: var(--lime); }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: transparent; transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
/* при прокрутке шапка мягко «проявляется»: фон с размытием, а нижний край растворяется без жёсткой линии */
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 28px; pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 8, 23, .75), rgba(12, 8, 23, 0)); opacity: 0; transition: opacity .35s ease;
}
.site-header__inner { display: flex; align-items: center; gap: 40px; height: 76px; }
.site-header.is-scrolled { background: rgba(12, 8, 23, .75); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.site-header.is-scrolled::after { opacity: 1; }
.site-header:has(.nav.is-open) { background: var(--bg); }

/* логотип + дескриптор */
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand__logo { height: 46px; width: auto; filter: drop-shadow(0 6px 14px rgba(255, 160, 0, .25)); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.brand:hover .brand__logo { transform: rotate(-4deg) scale(1.04); }
.brand__desc { display: grid; gap: 1px; padding-inline-start: 14px; border-inline-start: 1px solid var(--line-strong); line-height: 1.25; }
.brand__line1 { font-size: 14px; font-weight: 600; color: var(--text); }
.brand__line2 { font-size: 13px; color: var(--muted); }

/* меню */
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a:not(.btn) {
  position: relative; padding: 8px 14px; border-radius: 10px; color: var(--muted); text-decoration: none;
  font-weight: 500; font-size: 15px; transition: color .2s, background .2s;
}
.nav a:not(.btn):hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav a.is-active { color: var(--text); }
.nav a.is-active::after { content: ''; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--lime); }
.nav__cta { display: none !important; }
.site-header__cta { flex-shrink: 0; }

.burger { display: none; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255,255,255,.04); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s ease, top .3s ease; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .facts { gap: 10px 16px; font-size: 14px; }
  .site-header__inner { gap: 24px; }
  .brand__desc { display: none; }
}
@media (max-width: 900px) {
  .site-header__cta { display: none; }
  .burger { display: block; }
  .brand__desc { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 49; height: calc(100dvh - 76px - env(safe-area-inset-top, 0px)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
    padding: 12px max(20px, env(safe-area-inset-left, 0px)) 24px max(20px, env(safe-area-inset-right, 0px));
    background: var(--bg) radial-gradient(80% 50% at 100% 100%, rgba(109, 74, 255, .22), transparent 70%);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 15px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn):hover { background: none; }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { color: var(--lime); }
  .nav__cta { display: flex !important; margin-top: 18px; padding: 16px; font-size: 17px; }
}
@media (max-width: 420px) {
  .brand { gap: 10px; }
  .brand__logo { height: 38px; }
  .brand__desc { padding-inline-start: 10px; }
  .brand__line1 { font-size: 13px; }
  .brand__line2 { font-size: 12px; }
}
.admin-bar { background: var(--violet); color: #fff; text-align: center; font-size: 14px; padding: 6px; }
.admin-bar a { font-weight: 600; }

/* ---------- hero ---------- */
.hero { position: relative; margin-top: -76px; padding: 148px 0 calc(var(--sec) - 20px); overflow: hidden; isolation: isolate; }
.hero::before { /* янтарный свет слева, как на заставках бота */
  content: ''; position: absolute; z-index: -1; left: -15%; top: -30%; width: 70%; height: 140%;
  background: radial-gradient(closest-side, rgba(255, 138, 30, .22), transparent 75%);
}
.hero::after { /* фиолетовая глубина справа */
  content: ''; position: absolute; z-index: -1; right: -20%; top: -10%; width: 75%; height: 130%;
  background: radial-gradient(closest-side, rgba(109, 74, 255, .3), transparent 72%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.proof {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-strong); text-decoration: none;
  font-size: 14px; color: #d9d2ea; transition: border-color .2s, background .2s;
}
.proof:hover { border-color: rgba(255, 214, 10, .5); background: rgba(255, 214, 10, .06); }
.proof b { color: var(--lime); font-weight: 600; }
.proof__icon { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--lime-ink);
  background: linear-gradient(180deg, #ffe14a, var(--lime-2)); box-shadow: 0 0 0 3px rgba(255, 214, 10, .15), 0 4px 14px -4px rgba(255, 196, 0, .6); }
.proof__icon svg { width: 18px; height: 18px; }
.hero__title { font-size: clamp(40px, 5.6vw, 76px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; margin: 28px 0 24px; }
/* акцент в заголовке — как объёмные золотые буквы логотипа */
.hero__title .hl {
  display: inline-block; white-space: nowrap; font-weight: 700; color: var(--lime); rotate: -3deg; margin-top: .08em;
  text-shadow: .013em .013em 0 #f2a900, .026em .026em 0 #e08e00, .039em .039em 0 #c97200, .052em .052em 0 #ad5a00,
               .065em .065em 0 #8f4500, .078em .078em 0 #713500, .1em .16em .3em rgba(0, 0, 0, .55), 0 0 .8em rgba(255, 196, 0, .35);
}
.hero__lead { font-size: 19px; line-height: 1.55; color: #cbc3dd; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__actions--center { justify-content: center; }
.facts { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; white-space: nowrap; color: var(--muted); font-size: 15px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; color: var(--lime); }

/* сцена: телефон с чатом и стикеры на разной глубине */
.stage { position: relative; height: 740px; display: grid; place-items: center; }
.stage__halo {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 10, .28), rgba(255, 138, 30, .1) 45%, transparent 70%);
  filter: blur(10px);
}
.stage__phone { position: relative; z-index: 2; transition: translate .25s ease-out; }
.orbit { position: absolute; z-index: 1; width: 150px; transition: translate .3s ease-out; }
.orbit img { display: block; width: 100%; filter: var(--stroke) drop-shadow(0 22px 26px rgba(0,0,0,.55)); animation: bob 6s ease-in-out infinite; }
.orbit--1 { left: -2%; top: 4%; width: 165px; rotate: -12deg; }
.orbit--2 { right: -4%; top: 10%; width: 170px; rotate: 10deg; }
.orbit--3 { left: -6%; top: 38%; width: 135px; rotate: 7deg; z-index: 0; }
.orbit--4 { right: -8%; top: 42%; width: 150px; rotate: -8deg; z-index: 0; }
.orbit--5 { left: -5%; bottom: 6%; width: 175px; rotate: -7deg; z-index: 3; }
.orbit--6 { right: -3%; bottom: 3%; width: 160px; rotate: 9deg; z-index: 3; }
.orbit--3 img, .orbit--4 img { filter: var(--stroke) blur(1px) drop-shadow(0 20px 26px rgba(0,0,0,.5)); opacity: .85; }
.orbit--2 img { animation-duration: 7s; animation-delay: -2s; }
.orbit--3 img { animation-duration: 9s; animation-delay: -4s; }
.orbit--4 img { animation-duration: 6.5s; animation-delay: -1s; }
.orbit--5 img { animation-duration: 8s; animation-delay: -3s; }
.orbit--6 img { animation-duration: 7.5s; animation-delay: -5s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(2deg); } }

/* появление первого экрана — одна оркестрованная сцена */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .hero__copy > :nth-child(5) { animation-delay: .32s; }
  .stage__phone { animation: rise 1s .15s cubic-bezier(.2,.7,.2,1) both; }
  .orbit { animation: pop .9s cubic-bezier(.2,1.3,.4,1) both; }
  .orbit--1 { animation-delay: .45s; } .orbit--2 { animation-delay: .55s; } .orbit--3 { animation-delay: .65s; }
  .orbit--4 { animation-delay: .75s; } .orbit--5 { animation-delay: .85s; } .orbit--6 { animation-delay: .95s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }

/* ---------- лента стикеров ---------- */
.strip { position: relative; padding: calc(var(--sec) - 34px) 0 calc(var(--sec) - 26px); overflow: hidden; display: grid; gap: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.strip__row { overflow: hidden; padding: 14px 0 26px; } /* запас сверху и снизу под обводку и тень стикеров */
/* лента = два одинаковых набора подряд; сдвиг ровно на ширину одного набора даёт бесшовный цикл */
.strip__track { display: flex; width: max-content; animation: marquee 90s linear infinite; will-change: transform; }
.strip__row--2 .strip__track { animation-direction: reverse; animation-duration: 100s; }
.strip__set { display: flex; flex-shrink: 0; }
.strip__set img { width: 170px; height: 170px; margin-right: 34px; flex-shrink: 0; object-fit: contain; padding: 3px; filter: var(--stroke) drop-shadow(0 12px 16px rgba(0,0,0,.45)); }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (max-width: 600px) {
  .strip__set img { width: 120px; height: 120px; margin-right: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .article-cta__stickers img,
  .finale__rays, .finale__mark, .finale__btn, .finale__shine, .fs img, .pk-hero__s--1, .pk-promo__s, .pk-promo__rays { animation: none; } .strip__track { animation: none; } }

/* ---------- sections ---------- */
.section { padding: var(--sec) 0; }
.section--tight { padding: 40px 0 64px; }
.section--alt { /* единый фон страницы: блоки не разделяются заливкой и линиями */ }
.section__head { margin-bottom: 48px; max-width: 720px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section__title { font-size: clamp(30px, 3.8vw, 48px); margin-bottom: 40px; }
.section__head .section__title { margin-bottom: 14px; }
.section__title--sm { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 24px; }
.section__sub { color: var(--muted); font-size: 18px; line-height: 1.55; }
.center-cta { display: flex; justify-content: center; margin-top: 48px; }

/* три шага — компактная панель; анимации шагов идут по очереди в общем цикле 6 с */
.how { padding: var(--sec) 0; }
.how__panel {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 36px 40px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: radial-gradient(70% 120% at 0% 0%, rgba(255, 138, 30, .1), transparent 60%),
              radial-gradient(60% 120% at 100% 100%, rgba(109, 74, 255, .14), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
}
.how__intro { display: grid; gap: 14px; justify-items: start; }
.how__title { font-size: clamp(26px, 2.6vw, 34px); }
.how__sub { color: var(--muted); font-size: 16px; margin-bottom: 8px; }

.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; position: relative; }
.s3 { position: relative; display: grid; gap: 14px; padding: 14px 18px 18px; border-radius: 20px; border: 1px solid var(--line);
  background: radial-gradient(90% 60% at 50% 38%, rgba(255, 214, 10, .08), transparent 70%), rgba(0,0,0,.2);
  animation: s3-card 6s infinite; }
.s3--2 { animation-delay: 2s; } .s3--3 { animation-delay: 4s; }
@keyframes s3-card { 0%, 33% { border-color: rgba(255, 214, 10, .45); box-shadow: 0 0 40px -18px rgba(255, 196, 0, .6); } 38%, 100% { border-color: var(--line); box-shadow: none; } }
/* стрелка между шагами */
.s3:not(:last-child)::after {
  content: ''; position: absolute; right: -23px; top: 84px; z-index: 2; width: 10px; height: 10px;
  border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); rotate: 45deg; opacity: .5;
}
.s3__vis { position: relative; height: 168px; display: grid; place-items: center; }
.s3__text { display: flex; align-items: center; gap: 10px; min-height: 30px; }
.s3__num { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--lime); color: var(--lime-ink); font: 600 14px var(--font-display); }
.s3__text h3 { font-size: 16px; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: break-word; min-width: 0; }

/* шаг 1: фото «падает» в рамку загрузки, появляется галочка */
.s3__drop { position: absolute; width: 96px; height: 112px; border-radius: 14px; border: 2px dashed rgba(255,255,255,.22); }
.s3__photo { position: relative; width: 84px; height: 100px; object-fit: cover; border-radius: 10px; border: 3px solid #fff; box-shadow: 0 12px 24px -10px rgba(0,0,0,.8); animation: s3-photo 6s infinite; }
.s3__check { position: absolute; left: calc(50% + 30px); top: calc(50% + 32px); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: #5db94f; color: #fff; box-shadow: 0 0 0 3px #1a1328; animation: s3-check 6s infinite; }
.s3__check svg { width: 16px; height: 16px; }
@keyframes s3-photo { 0% { transform: translateY(-90px) rotate(-14deg); opacity: 0; } 10% { transform: translateY(6px) rotate(-3deg); opacity: 1; } 15%, 92% { transform: translateY(0) rotate(-4deg); opacity: 1; } 100% { transform: translateY(0) rotate(-4deg); opacity: 0; } }
@keyframes s3-check { 0%, 17% { transform: scale(0); } 22% { transform: scale(1.25); } 26%, 92% { transform: scale(1); } 100% { transform: scale(0); } }

/* шаг 2: фраза печатается в пузыре сообщения */
.s3__bubble { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 16px 16px 4px 16px; background: #effedd; color: #111;
  font: 600 19px/1.2 var(--font-body); box-shadow: 0 12px 24px -10px rgba(0,0,0,.8); animation: s3-bubble 6s 2s infinite both; }
.s3__typed { display: inline-block; white-space: nowrap; min-height: 1.2em; }
.s3__caret { width: 2px; height: 20px; margin-left: 2px; background: #3390ec; animation: caret 1s steps(1) infinite; }
@keyframes s3-bubble { 0% { transform: scale(.85); opacity: 0; } 4%, 92% { transform: none; opacity: 1; } 100% { opacity: 0; } }

/* шаг 3: стикер выпрыгивает с искрами */
.s3__sticker { position: relative; width: auto; height: 132px; max-width: 86%; object-fit: contain; filter: var(--stroke) drop-shadow(0 12px 14px rgba(0,0,0,.6)); animation: s3-pop 6s 4s infinite both; }
@keyframes s3-pop { 0% { transform: scale(.2) rotate(-20deg); opacity: 0; } 8% { transform: scale(1.12) rotate(4deg); opacity: 1; } 13%, 92% { transform: scale(1) rotate(0); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.s3__spark { position: absolute; width: 10px; height: 10px; background: var(--lime); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: s3-spark 6s 4s infinite both; }
.s3__spark--a { left: 24%; top: 22%; } .s3__spark--b { right: 22%; top: 30%; width: 14px; height: 14px; animation-delay: 4.1s; } .s3__spark--c { right: 30%; bottom: 16%; animation-delay: 4.2s; }
@keyframes s3-spark { 0%, 6% { transform: scale(0) rotate(0); opacity: 0; } 12% { transform: scale(1.3) rotate(45deg); opacity: 1; } 22%, 100% { transform: scale(0) rotate(90deg); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .s3, .s3__photo, .s3__check, .s3__bubble, .s3__typed, .s3__sticker, .s3__spark, .s3__caret { animation: none !important; }
}
@media (max-width: 1024px) {
  .how__panel { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px; }
  .steps3 { gap: 28px; }
  .s3:not(:last-child)::after { right: -19px; }
}
@media (max-width: 680px) {
  .how__panel { padding: 22px 18px; border-radius: 24px; }
  .steps3 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .s3 { grid-template-columns: 118px minmax(0, 1fr); align-items: center; padding: 10px; }
  .s3__vis { height: 116px; }
  .s3:not(:last-child)::after { display: none; }
  .s3__photo { width: 66px; height: 80px; } .s3__drop { width: 78px; height: 94px; }
  .s3__check { left: calc(50% + 22px); top: calc(50% + 24px); width: 26px; height: 26px; }
  .s3__bubble { font-size: 15px; padding: 8px 12px; }
  .s3__sticker { height: 96px; }
  .how__intro .btn { width: 100%; }
}

/* галерея стикеров */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery__item { margin: 0; position: relative; }
.gallery__pics {
  position: relative; aspect-ratio: 1; max-width: 100%; display: grid; place-items: center; padding: 22px; border-radius: var(--radius);
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.07), transparent 65%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--line); overflow: hidden; transition: border-color .3s ease;
}
.gallery__pics::before { /* мягкий золотой свет под стикером при наведении */
  content: ''; position: absolute; inset: 30% 15% -20%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 214, 10, .3), transparent); opacity: 0; transition: opacity .35s ease;
}
.gallery__img { position: relative; width: 100%; filter: var(--stroke) drop-shadow(0 14px 18px rgba(0,0,0,.5)); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.gallery__item:hover .gallery__pics { border-color: rgba(255, 214, 10, .35); }
.gallery__item:hover .gallery__pics::before { opacity: 1; }
.gallery__item:hover .gallery__img { transform: scale(1.06) rotate(-2deg); }
.gallery__src { position: absolute; left: 14px; bottom: 14px; width: 30%; border-radius: 10px; border: 3px solid #fff; rotate: -6deg; z-index: 1; }
.gallery__item--lead { grid-column: span 2; grid-row: span 2; }
.gallery__item--lead .gallery__pics { padding: 48px; }
.gallery__item figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* поводы для стикера: список + сцена со стикером выбранного повода */
.why-panel { padding: 48px 52px 44px; border-radius: 32px; border: 1px solid var(--line);
  background: radial-gradient(60% 70% at 0% 0%, rgba(255, 138, 30, .1), transparent 60%),
              radial-gradient(60% 70% at 100% 100%, rgba(109, 74, 255, .14), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.why__heading { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; margin: 0; }
.why__accent { display: block; color: var(--lime); }
.why__cta { display: flex; justify-content: center; margin-top: 36px; }
.why__intro { display: grid; gap: 14px; justify-items: start; }
.why__stage { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1.15; margin: 6px 0 8px; border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); overflow: hidden; isolation: isolate; }
.why__shot { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.why__shot::before { content: ''; position: absolute; inset: 10% 14% 0; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 42%, transparent), transparent 75%); }
.why__sticker { width: 58%; margin-top: -40px; filter: var(--stroke) drop-shadow(0 22px 28px rgba(0,0,0,.6)); transform: scale(.6) rotate(-12deg); transition: transform .55s cubic-bezier(.2,1.4,.4,1); }
.why__shot.is-active { opacity: 1; }
.why__shot.is-active .why__sticker { transform: scale(1) rotate(-3deg); }
.has-photo .why__sticker { width: 54%; margin: -30px 0 0 22%; }
.why__tag { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; white-space: nowrap; padding: 7px 13px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--lime-ink); background: var(--c);
  transform: translateY(8px); opacity: 0; transition: transform .4s .1s ease, opacity .4s .1s ease; box-shadow: 0 10px 24px -10px rgba(0,0,0,.7); }
.why__shot.is-active .why__tag { transform: none; opacity: 1; }
/* фото «было»: маленькое квадратное, слева сверху, со стрелкой к стикеру */
.why__before { position: absolute; left: 22px; top: 22px; z-index: 2; width: 20%; display: grid; gap: 6px; justify-items: center;
  transform: rotate(-6deg) scale(.7); opacity: 0; transition: transform .5s cubic-bezier(.2,1.3,.4,1), opacity .4s ease; }
.why__before img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 3px solid #fff; box-shadow: 0 12px 24px -10px rgba(0,0,0,.8); }
.why__before span { font-size: 12px; font-weight: 600; color: var(--muted); }
.why__curve { position: absolute; left: 12%; top: 41%; width: 17%; color: var(--c); opacity: 0; transition: opacity .4s .25s ease; }
.why__shot.is-active .why__before { transform: rotate(-6deg); opacity: 1; }
.why__shot.is-active .why__curve { opacity: .9; }

.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.why__item { position: relative; cursor: default; display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 18px;
  padding: 12px 18px 12px 12px; border-radius: 18px; text-decoration: none; border: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease; }
.why__item::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--c); opacity: 0; transition: opacity .3s; }
.why__item.is-active { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 12%, transparent), rgba(255,255,255,.02)); border-color: color-mix(in srgb, var(--c) 30%, transparent); }
.why__item.is-active::before { opacity: 1; }
.why__thumb { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; background: color-mix(in srgb, var(--c) 12%, rgba(255,255,255,.03)); }
.why__thumb img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff); transition: transform .4s cubic-bezier(.2,1.4,.4,1); }
.why__item.is-active .why__thumb img { transform: scale(1.12) rotate(-6deg); }
.why__body { display: grid; gap: 3px; min-width: 0; }
.why__title { font: 600 19px/1.25 var(--font-display); letter-spacing: -.015em; color: var(--text); }
.why__desc { color: var(--muted); font-size: 14.5px; line-height: 1.45; }

@media (max-width: 1024px) {
  .why { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .why-panel { padding: 36px 28px 32px; }
  .why__intro { justify-items: center; text-align: center; }
  .why__stage { max-width: 360px; }
}
@media (max-width: 600px) {
  .why__stage { max-width: 280px; }
  .why__item { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 10px 12px 10px 10px; }
  .why__thumb { width: 52px; height: 52px; } .why__thumb img { width: 46px; height: 46px; }
  .why__title { font-size: 17px; }
  .why__desc { font-size: 13.5px; }
  .why-panel { padding: 28px 16px 22px; border-radius: 24px; }
  .why__cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .why__shot img, .why__thumb img { transition: none; } }

/* ---------- Демонстрация бота (повторяет реальный сценарий) ----------
   Телефон свёрстан в натуральную величину iPhone (390×844) и масштабируется через --s. */
.bot { --s: .76; position: relative; width: calc(414px * var(--s)); height: calc(868px * var(--s)); margin: 0; flex-shrink: 0; }
.bot__phone {
  position: absolute; top: 0; left: 0; width: 414px; height: 868px; padding: 12px; border-radius: 64px;
  transform: scale(var(--s)); transform-origin: 0 0;
  background: linear-gradient(150deg, #3a3150 0%, #15101f 30%, #0b0812 60%, #2a2140 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.16), inset 0 0 0 5px #07050c, 0 0 0 1px rgba(0,0,0,.7),
              0 60px 110px -40px rgba(0,0,0,.95), 0 0 160px -50px rgba(255, 196, 0, .5);
}
.bot__screen {
  position: relative; width: 390px; height: 844px; border-radius: 52px; overflow: hidden; isolation: isolate;
  background: #c7ced5; color: #000;
  font: 400 15px/1.38 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Onest', system-ui, sans-serif;
}
.bot__wall {
  position: absolute; inset: 0; z-index: -1;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' fill='none' stroke='%23aeb7c0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 30c0-8 6-12 12-12s12 4 12 12-6 14-12 14-12-6-12-14zM24 20l-4-8 8 5M40 20l4-8-8 5M27 30h.5M37 30h.5M30 36q2 2 4 0'/%3E%3Cpath d='M120 22l6 12 13 2-9 9 2 13-12-6-12 6 2-13-9-9 13-2z'/%3E%3Cpath d='M70 92c-6-6 2-14 8-8l22-22c-6-6 2-14 8-8s14-2 8 8l-22 22c6 6-2 14-8 8s-14 2-8-8z'/%3E%3Ccircle cx='150' cy='110' r='14'/%3E%3Cpath d='M136 110h28M150 96c6 8 6 20 0 28M150 96c-6 8-6 20 0 28'/%3E%3Cpath d='M22 140l40-14-14 40-6-18z'/%3E%3Cpath d='M110 160c0-8 10-10 12-2 2-8 12-6 12 2 0 8-12 14-12 14s-12-6-12-14z'/%3E%3C/svg%3E") 0 0 / 180px 180px,
    linear-gradient(180deg, #ccd3d9, #c2cad1);
}
.bot__screen::before, .bot__screen::after { content: ''; position: absolute; left: 0; right: 0; z-index: 4; pointer-events: none; }
.bot__screen::before { top: 0; height: 150px; background: linear-gradient(180deg, #c9d0d6 72%, rgba(201,208,214,0)); }
.bot__screen::after { bottom: 0; height: 96px; background: linear-gradient(0deg, #c3cbd2 55%, rgba(195,203,210,0)); }
.bot__island { position: absolute; top: 11px; left: 50%; width: 122px; height: 35px; margin-left: -61px; border-radius: 20px; background: #000; z-index: 9; }
.bot__status { position: absolute; top: 0; left: 0; right: 0; height: 56px; padding: 6px 30px 0 40px; z-index: 9; display: flex; align-items: center; justify-content: space-between; color: #000; }
.bot__time { font-size: 17px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.bot__icons { display: flex; align-items: center; gap: 6px; }
.i-signal { width: 18px; height: 12px; fill: #000; }
.i-wifi { width: 16px; height: 12px; fill: #000; }
.i-battery { position: relative; width: 26px; height: 13px; padding: 2px; border: 1.5px solid rgba(0,0,0,.4); border-radius: 4.5px; margin-right: 3px; }
.i-battery::after { content: ''; position: absolute; right: -4.5px; top: 50%; width: 2.5px; height: 5px; margin-top: -2.5px; border-radius: 0 2px 2px 0; background: rgba(0,0,0,.4); }
.i-battery__lvl { display: block; width: 78%; height: 100%; border-radius: 2px; background: #000; }
.bot__head { position: absolute; top: 58px; left: 12px; right: 12px; z-index: 6; display: flex; align-items: center; gap: 8px; }
.bot__round, .bot__title, .bot__avatar { box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.bot__round { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); color: #000; flex-shrink: 0; }
.bot__round svg { width: 24px; height: 24px; }
.bot__title {
  flex: 1; min-width: 0; height: 52px; border-radius: 26px; padding: 0 18px; display: grid; place-content: center; text-align: center;
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px); line-height: 1.2;
}
.bot__title b { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bot__title small { font-size: 13px; color: #7d8790; }
.bot__avatar { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; border: 2px solid rgba(255,255,255,.9); }

.bot__chat { position: absolute; inset: 0 0 76px 0; overflow: hidden; }
.bot__stack { position: absolute; left: 10px; right: 10px; bottom: 8px; display: flex; flex-direction: column; gap: 5px; will-change: transform; }
.bot__stack.is-scrolling { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
[data-s].is-off { display: none !important; }
[data-s].is-in { animation: b-in .42s cubic-bezier(.2,.9,.3,1.15) both; }
@keyframes b-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }

.b-card { align-self: flex-start; width: 86%; background: #fff; border-radius: 18px; overflow: hidden; position: relative; box-shadow: 0 1px 1.5px rgba(0,0,0,.1); }
.b-card--narrow { width: 66%; }
.b-card__banner { display: block; width: 100%; height: auto; }
.b-card__banner--sq { aspect-ratio: 1; object-fit: cover; }
.b-card__banner--photo { aspect-ratio: 1; object-fit: cover; }
.b-card__gif { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 1px 7px; border-radius: 8px; background: rgba(0,0,0,.45); color: #fff; font-size: 12px; }
.b-card__text { padding: 10px 14px 13px; font-size: 14.5px; }
.b-card__text p + p { margin-top: 9px; }
.b-card__text b { font-weight: 600; }
.b-progress { display: block; height: 6px; margin-top: 12px; border-radius: 3px; background: #edf0f3; overflow: hidden; }
.b-progress i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, #ffd60a, #ffb703); }
.b-card.is-in .b-progress i { animation: b-progress 3s cubic-bezier(.4,.1,.3,1) forwards; }
@keyframes b-progress { to { width: 100%; } }

.b-kb { align-self: flex-start; width: 86%; display: grid; gap: 4px; }
.b-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.b-btn {
  height: 40px; padding: 0 10px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: filter .15s ease, transform .15s ease;
}
.b-btn--green { background: #5db94f; }
.b-btn--blue { background: #4aa7c8; }
.b-btn--red { background: #df7860; }
.b-btn--gray { background: rgba(126, 141, 156, .78); }
.b-btn.is-pressed { filter: brightness(.82); transform: scale(.97); }

.b-photo { align-self: flex-end; position: relative; width: 66%; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 1.5px rgba(0,0,0,.12); }
.b-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.b-photo__load { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .3s; }
.b-photo__load::after { content: ''; width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; animation: b-spin .8s linear infinite; }
.b-photo.is-loading .b-photo__load { opacity: 1; }
@keyframes b-spin { to { rotate: 360deg; } }
.b-note { align-self: flex-start; padding: 8px 13px; border-radius: 16px; background: #fff; font-size: 14.5px; box-shadow: 0 1px 1.5px rgba(0,0,0,.1); }
.b-me { align-self: flex-end; padding: 8px 16px; border-radius: 18px 18px 6px 18px; background: #effedd; font-size: 18px; box-shadow: 0 1px 1.5px rgba(0,0,0,.1); }
.b-sticker { align-self: flex-start; width: 56%; height: auto; margin: 4px 0 2px 4px; }
.b-sticker.is-in { animation: b-sticker .7s cubic-bezier(.2,1.5,.4,1) both; }
@keyframes b-sticker { from { opacity: 0; transform: scale(.3) rotate(-14deg); } to { opacity: 1; transform: none; } }

.bot__input { position: absolute; left: 0; right: 0; bottom: 0; height: 76px; padding: 8px 12px 20px; display: flex; align-items: center; gap: 8px; z-index: 5; }
.bot__menu { height: 46px; padding: 0 16px; border-radius: 23px; display: flex; align-items: center; gap: 6px; background: #2f8bf4; color: #fff; font-size: 16px; font-weight: 600; flex-shrink: 0; }
.bot__menu svg { width: 18px; height: 18px; }
.bot__field { flex: 1; min-width: 0; height: 46px; border-radius: 23px; padding: 0 16px; display: flex; align-items: center; background: rgba(255,255,255,.94); color: #9aa3ab; font-size: 16px; white-space: nowrap; overflow: hidden; }
.bot__field.is-typing { color: #000; }
.bot__field.is-typing span::after { content: ''; display: inline-block; width: 2px; height: 18px; margin-left: 1px; vertical-align: -3px; background: #2f8bf4; animation: caret 1s steps(1) infinite; }
.bot__send { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.94); color: #8a949c; flex-shrink: 0; transition: background .2s, color .2s; }
.bot__send svg { width: 22px; height: 22px; rotate: -90deg; }
.bot__send.is-active { background: #2f8bf4; color: #fff; }

.bot__tap {
  position: absolute; z-index: 8; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; pointer-events: none;
  background: rgba(255,255,255,.5); border: 2px solid rgba(255,255,255,.95); box-shadow: 0 6px 18px rgba(0,0,0,.25);
  opacity: 0; transform: scale(1.4); transition: opacity .25s ease, transform .25s ease, left .5s cubic-bezier(.3,.8,.3,1), top .5s cubic-bezier(.3,.8,.3,1);
}
.bot__tap.is-on { opacity: 1; transform: scale(1); }
.bot__tap.is-press { transform: scale(.8); }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- карточки паков ---------- */
.pack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pack-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pack-card {
  display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .3s ease;
}
.pack-card:hover { transform: translateY(-6px); border-color: rgba(255, 214, 10, .4); box-shadow: var(--shadow), 0 0 50px -20px rgba(255, 196, 0, .4); }
.pack-card__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 18px 18px 6px; }
.pack-card__grid img, .pack-card__empty { aspect-ratio: 1; width: 100%; object-fit: contain; }
.pack-card__grid img { filter: var(--stroke) drop-shadow(0 8px 12px rgba(0,0,0,.45)); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.pack-card__empty { background: transparent; }
.pack-card:hover .pack-card__grid img:nth-child(1) { transform: rotate(-5deg) scale(1.04); }
.pack-card:hover .pack-card__grid img:nth-child(4) { transform: rotate(5deg) scale(1.04); }
.pack-card__body { padding: 8px 20px 20px; }
.pack-card__title { font-size: 17px; font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em; }
.pack-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }

/* ---------- стикерпаки на главной ---------- */
.packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pk {
  position: relative; display: flex; flex-direction: column; text-decoration: none; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease, box-shadow .35s ease;
}
.pk:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 60px -24px var(--c); }
.pk__stage { position: relative; height: 240px; padding-top: 22px; display: grid; place-items: center; }
.pk__glow { position: absolute; inset: 18% 10% -10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 45%, transparent), transparent 75%); opacity: .55; transition: opacity .35s ease, transform .35s ease; }
.pk:hover .pk__glow { opacity: 1; transform: scale(1.1); }

/* веер стикеров: раскрывается при наведении */
.pk__fan { position: relative; width: 150px; height: 150px; }
.pk__s { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: var(--stroke) drop-shadow(0 14px 18px rgba(0,0,0,.55)); transition: transform .45s cubic-bezier(.2,.9,.25,1.15); }
.pk__s--1 { z-index: 4; }
.pk__s--2 { z-index: 3; transform: translate(-46%, 10%) rotate(-14deg) scale(.78); }
.pk__s--3 { z-index: 2; transform: translate(46%, 10%) rotate(14deg) scale(.78); }
.pk__s--4 { z-index: 1; transform: translate(0, -18%) scale(.66); opacity: .9; }
.pk__fan--1 .pk__s--1 { transform: scale(1.08); }
.pk__fan--2 .pk__s--1 { transform: translateX(22%) rotate(6deg); }
.pk__fan--2 .pk__s--2 { transform: translate(-30%, 4%) rotate(-10deg) scale(.86); }
.pk:hover .pk__s--1 { transform: translateY(-6px) scale(1.06); }
.pk:hover .pk__fan--2 .pk__s--1 { transform: translate(30%, -6px) rotate(8deg) scale(1.02); }
.pk:hover .pk__s--2 { transform: translate(-62%, 6%) rotate(-20deg) scale(.8); }
.pk:hover .pk__fan--2 .pk__s--2 { transform: translate(-44%, 4%) rotate(-14deg) scale(.88); }
.pk:hover .pk__s--3 { transform: translate(62%, 6%) rotate(20deg) scale(.8); }
.pk:hover .pk__s--4 { transform: translate(0, -34%) scale(.7); }

.pk__info { display: grid; gap: 6px; padding: 4px 22px 22px; }
.pk__title { font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.15; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* число стикеров — плашка в верхнем углу карточки, не зависит от длины названия */
.pk__count { position: absolute; top: 14px; left: 14px; z-index: 5; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); backdrop-filter: blur(6px);
  background: color-mix(in srgb, var(--c) 14%, transparent); }
.pk__desc { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* последний ряд уходит под «матовое стекло»: размытие и затемнение нарастают плавно, поверх — переход в каталог */
.packs { position: relative; }
.packs-sec { padding-bottom: calc(var(--sec) - 26px); }
.packs .pk:nth-child(n+9) { --ghost: 1; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 30%, rgba(0,0,0,.1) 52%, transparent 70%); mask-image: linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 30%, rgba(0,0,0,.1) 52%, transparent 70%); }
.packs .pk:nth-child(n+9) .pk__s { filter: var(--stroke) blur(1.5px); }
.packs__veil {
  position: absolute; left: -24px; right: -24px; bottom: -2px; top: calc(100% - 300px); z-index: 3;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 28px; pointer-events: none;
}
.packs__veil::after { /* тёплое свечение под кнопкой */
  content: ''; position: absolute; z-index: -1; left: 50%; bottom: 10px; width: 560px; max-width: 90%; height: 140px; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(255, 196, 0, .2), transparent); pointer-events: none;
}
.packs__cta { display: grid; justify-items: center; gap: 16px; pointer-events: auto; text-align: center; }
.packs__cta-title { font: 600 20px/1.3 var(--font-display); letter-spacing: -.015em; color: var(--text); }

@media (max-width: 1100px) { .packs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .packs .pk:nth-child(n+10) { display: none; } .packs .pk:nth-child(n+7) { --ghost: 1; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 30%, rgba(0,0,0,.1) 52%, transparent 70%); mask-image: linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 30%, rgba(0,0,0,.1) 52%, transparent 70%); } .packs .pk:nth-child(n+7) .pk__s { filter: var(--stroke) blur(1.5px); } }
@media (max-width: 860px) {
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .packs .pk:nth-child(n+7) { display: none; }
  .packs .pk:nth-child(n+5) { --ghost: 1; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 30%, rgba(0,0,0,.1) 52%, transparent 70%); mask-image: linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 30%, rgba(0,0,0,.1) 52%, transparent 70%); }
  .packs .pk:nth-child(n+5) .pk__s { filter: var(--stroke) blur(1.5px); }
  .pk__stage { height: 180px; padding-top: 20px; }
  .pk__fan { width: 104px; height: 104px; }
  .pk__info { padding: 2px 14px 16px; }
  .pk__count { top: 10px; left: 10px; padding: 3px 8px; font-size: 11.5px; }
  .pk__title { font-size: 17px; }
  .pk__desc { display: none; }
  .packs__veil { left: -12px; right: -12px; padding-bottom: 18px; }
  .packs-sec { padding-bottom: calc(var(--sec) - 14px); }
  .packs__cta { width: 100%; padding: 0 12px; }
  .packs__cta-title { font-size: 17px; }
  .packs__cta .btn { width: 100%; white-space: normal; }
}

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: start; }
.faq-wrap__head { position: sticky; top: 120px; }
.faq-wrap__head .section__title { margin-bottom: 14px; }

/* карточка поддержки */
.help { position: relative; margin-top: 36px; padding: 28px 28px 26px; border-radius: 24px; border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(80% 90% at 100% 0%, rgba(109, 74, 255, .22), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); }
.help__sticker { position: absolute; right: 18px; top: 12px; width: 104px; height: auto; rotate: 8deg; filter: var(--stroke); pointer-events: none; }
.help__title { font: 600 22px/1.2 var(--font-display); letter-spacing: -.02em; margin: 0 120px 8px 0; }
.help__text { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0 120px 20px 0; }
.help__btn { width: 100%; justify-content: center; }

/* вопросы */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.025); transition: border-color .25s, background .25s; }
.faq__item:hover { border-color: var(--line-strong); }
.faq__item[open] { border-color: rgba(255, 214, 10, .35);
  background: radial-gradient(70% 120% at 0% 0%, rgba(255, 214, 10, .08), transparent 60%), rgba(255,255,255,.035); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 20px 20px 20px 24px;
  font-weight: 600; font-size: 18px; line-height: 1.35; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__num { font: 600 13px/1 var(--font-display); color: var(--muted); min-width: 24px; transition: color .25s; }
.faq__item[open] .faq__num { color: var(--lime); }
.faq__q { flex: 1; transition: color .2s; }
.faq__item summary:hover .faq__q { color: var(--lime); }
.faq__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--lime); transition: rotate .35s ease, background .25s, color .25s, border-color .25s; }
.faq__icon svg { width: 18px; height: 18px; }
.faq__item[open] .faq__icon { rotate: 45deg; background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.faq__a p { margin: 0; padding: 0 76px 22px 66px; color: var(--muted); font-size: 16px; line-height: 1.6; }
/* плавное раскрытие там, где браузер это умеет */
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: hidden; transition: height .35s ease, content-visibility .35s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}

/* ---------- статьи на главной: одна главная + две компактные ---------- */
.arts { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; max-width: 1080px; margin-inline: auto; }
.arts--single { grid-template-columns: 1fr; max-width: 640px; }
.art { display: flex; text-decoration: none; color: var(--text); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)); transition: border-color .25s, transform .3s ease, background .25s; }
.art:hover { border-color: rgba(255, 214, 10, .35); transform: translateY(-3px); }
.art__cover { display: block; overflow: hidden; background: var(--surface); flex: none; }
.art__cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.art:hover .art__cover img { transform: scale(1.05); }
.art__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.art__meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.art__meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .7; }
.art__title { font-family: var(--font-body); font-weight: 700; line-height: 1.28; letter-spacing: -.01em; transition: color .2s;
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.art:hover .art__title { color: var(--lime); }
.art__excerpt { color: var(--muted); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.art--main { flex-direction: column; }
.art--main .art__cover { aspect-ratio: 16 / 8.4; }
.art--main .art__body { padding: 22px 26px 26px; }
.art--main .art__title { font-size: 22px; -webkit-line-clamp: 2; }

.arts__side { display: flex; flex-direction: column; gap: 20px; }
.art--row { align-items: stretch; flex: 1; }
.art--row .art__cover { width: 42%; aspect-ratio: auto; min-height: 150px; }
.art--row .art__body { padding: 20px 22px; justify-content: center; }
.art--row .art__title { font-size: 17px; -webkit-line-clamp: 3; }
.art__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--lime); }
.art__more svg, .arts__all svg { width: 16px; height: 16px; transition: transform .25s; }
.art:hover .art__more svg, .arts__all:hover svg { transform: translateX(3px); }

.arts__all { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border-radius: 18px;
  border: 1px dashed var(--line-strong); color: var(--text); font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.arts__all:hover { border-color: var(--lime); color: var(--lime); background: rgba(255, 214, 10, .05); }

@media (max-width: 860px) {
  .arts { grid-template-columns: 1fr; max-width: 560px; }
  .art--main .art__title { font-size: 20px; }
  .art--main .art__body { padding: 18px 20px 22px; }
  .art--row .art__cover { width: 36%; min-height: 120px; }
  .art--row .art__body { padding: 14px 16px; gap: 6px; }
  .art--row .art__title { font-size: 15px; }
  .art__more { display: none; }
}

/* ---------- статьи ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius); overflow: hidden; transition: transform .3s ease; }
.article-card:hover { transform: translateY(-4px); }
.article-card__cover { aspect-ratio: 1200 / 630; max-width: 100%; background: var(--surface); overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.article-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-card:hover .article-card__cover img { transform: scale(1.04); }
.article-card__body { padding: 18px 4px 4px; display: flex; flex-direction: column; gap: 8px; }
.article-card__date { color: var(--muted); font-size: 13px; }
.article-card__title { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; transition: color .2s; }
.article-card:hover .article-card__title { color: var(--lime); }
.article-card__excerpt { color: var(--muted); font-size: 15px; }

/* ---------- финальный призыв ---------- */
.finale { padding: var(--sec) 0 calc(var(--sec) * 2); }
.finale__panel {
  --mx: 50%; --my: 40%;
  position: relative; overflow: hidden; isolation: isolate; text-align: center; border-radius: var(--radius-lg);
  padding: 110px 24px 96px; display: grid; justify-items: center; gap: 22px; color: var(--lime-ink);
  background:
    radial-gradient(70% 90% at 50% 120%, rgba(255, 120, 20, .55), transparent 70%),
    linear-gradient(135deg, #ffe45c 0%, #ffd60a 38%, #ffb703 78%, #ff9a1a 100%);
  box-shadow: 0 40px 120px -30px rgba(255, 183, 3, .45), inset 0 1px 0 rgba(255,255,255,.6);
}
/* точечная фактура */
.finale__panel::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .18;
  background-image: radial-gradient(rgba(27, 18, 41, .55) 1px, transparent 1.4px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(75% 80% at 50% 50%, transparent 30%, #000 100%); mask-image: radial-gradient(75% 80% at 50% 50%, transparent 30%, #000 100%); }
/* световое пятно за курсором */
.finale__spot { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.55), transparent 65%); transition: background .1s; }
/* медленно вращающиеся лучи за заголовком */
.finale__rays { position: absolute; left: 50%; top: 50%; width: 1400px; height: 1400px; margin: -700px 0 0 -700px; z-index: -1; pointer-events: none; opacity: .22;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.9) 0 6deg, transparent 6deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, transparent 45%); mask-image: radial-gradient(circle, #000 0, transparent 45%);
  animation: finRays 60s linear infinite; }
@keyframes finRays { to { rotate: 360deg; } }

.finale__title { font-size: clamp(34px, 5vw, 66px); letter-spacing: -.035em; max-width: 820px; color: var(--lime-ink); line-height: 1.05; }
.finale__mark { display: inline-block; padding: .02em .28em .1em; margin: 0 .04em; border-radius: .28em; rotate: -2.5deg;
  background: var(--lime-ink); color: var(--lime); box-shadow: 0 14px 30px -10px rgba(27, 18, 41, .6);
  animation: finWobble 4s ease-in-out infinite; }
@keyframes finWobble { 0%, 100% { rotate: -2.5deg; } 50% { rotate: 1.5deg; scale: 1.03; } }
.finale__text { font-size: 19px; font-weight: 500; color: rgba(27, 18, 41, .78); max-width: 560px; margin: 0 0 6px; }

.finale__btn { position: relative; overflow: hidden; padding: 20px 34px; font-size: 18px; border-radius: 18px;
  background: var(--lime-ink); color: #fff; box-shadow: 0 18px 40px -12px rgba(27, 18, 41, .7);
  transition: transform .25s ease, box-shadow .25s ease; animation: finPulse 2.6s ease-in-out infinite; }
.finale__btn .btn__icon { color: var(--lime); }
.finale__btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 26px 50px -14px rgba(27, 18, 41, .8); color: #fff; }
@keyframes finPulse { 0%, 100% { box-shadow: 0 18px 40px -12px rgba(27,18,41,.7), 0 0 0 0 rgba(27,18,41,.35); }
  50% { box-shadow: 0 18px 40px -12px rgba(27,18,41,.7), 0 0 0 12px rgba(27,18,41,0); } }
.finale__shine { position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); skew: -20deg; animation: finShine 3.2s ease-in-out infinite; }
@keyframes finShine { 0%, 55% { left: -40%; } 100% { left: 130%; } }

.finale__facts { display: flex; gap: 22px; list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; font-weight: 600; color: rgba(27, 18, 41, .7); }
.finale__facts li { display: inline-flex; align-items: center; gap: 7px; }
.finale__facts svg { width: 17px; height: 17px; }

/* парящие стикеры */
.finale__stickers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fs { position: absolute; width: 150px; transition: translate .25s ease-out; }
.fs img { display: block; width: 100%; height: auto; filter: var(--stroke) drop-shadow(0 20px 22px rgba(90, 40, 0, .35));
  animation: finFloat 6s ease-in-out infinite; }
@keyframes finFloat { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 4deg)); } }
.fs--l1 { left: 4%; top: 9%; --r: -12deg; }
.fs--r1 { right: 4%; top: 7%; --r: 10deg; }
.fs--l1 img { animation-delay: -1s; } .fs--r1 img { animation-delay: -3s; }
.fs--l2 { left: 12%; bottom: 7%; width: 130px; --r: 7deg; } .fs--l2 img { animation-delay: -2s; animation-duration: 7s; }
.fs--r2 { right: 12%; bottom: 8%; width: 132px; --r: -8deg; } .fs--r2 img { animation-delay: -4.5s; animation-duration: 7s; }
.fs--l3 { left: 0.5%; top: 48%; width: 108px; --r: -6deg; } .fs--l3 img { animation-delay: -5s; animation-duration: 8s; }
.fs--r3 { right: 0.5%; top: 45%; width: 108px; --r: 8deg; } .fs--r3 img { animation-delay: -1.5s; animation-duration: 8s; }
.fs--t1 { left: 29%; top: 22px; width: 84px; --r: 14deg; } .fs--t1 img { animation-delay: -2.5s; animation-duration: 9s; }
.fs--t2 { right: 29%; bottom: 18px; width: 88px; --r: -12deg; } .fs--t2 img { animation-delay: -6s; animation-duration: 9s; }
.fs--l3 img, .fs--r3 img, .fs--t1 img, .fs--t2 img { opacity: .9; }

/* ---------- внутренние страницы ---------- */
.page-hero { position: relative; margin-top: -76px; padding: 132px 0 12px; isolation: isolate; overflow-x: clip; }
.page-hero::before { content: ''; position: absolute; z-index: -1; right: -10%; top: -60%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(109, 74, 255, .22), transparent 72%); pointer-events: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.page-hero__title { font-size: clamp(32px, 4.6vw, 58px); letter-spacing: -.035em; margin-bottom: 16px; }
.page-hero__lead { color: var(--muted); font-size: 18px; max-width: 680px; }
.page-hero__lead--wide { max-width: none; }
.draft-note { display: inline-block; background: var(--amber); color: #fff; font-weight: 600; font-size: 14px; padding: 4px 12px; border-radius: 8px; margin-bottom: 16px; }

.search { display: flex; gap: 10px; max-width: 560px; margin-top: 32px; }
.search input {
  flex: 1; min-width: 0; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.04); color: var(--text); font: 500 16px var(--font-body);
}
.search input:focus { outline: none; border-color: var(--lime); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination__arrow { min-width: 46px; height: 46px; padding: 0 10px; display: grid; place-items: center; border-radius: 14px;
  border: 1px solid var(--line-strong); text-decoration: none; font-weight: 600; color: var(--text); background: rgba(255,255,255,.02); transition: border-color .2s, color .2s, background .2s; }
.pagination a:hover { border-color: var(--lime); color: var(--lime); }
.pagination a.is-active { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); box-shadow: 0 10px 30px -10px rgba(255, 196, 0, .6); }
.pagination__arrow svg { width: 18px; height: 18px; }
.pagination__arrow.is-off { opacity: .3; }
.pagination__gap { color: var(--muted); padding: 0 2px; }

.empty { text-align: center; padding: 64px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); display: grid; gap: 12px; justify-items: center; color: var(--muted); }
.empty__title { color: var(--text); font: 600 24px var(--font-display); }
.empty--page { border: 0; }
.empty__code { font: 600 120px/1 var(--font-display); color: var(--lime); letter-spacing: -.04em; }

/* ---------- страница пака ---------- */
.pk-hero { padding-bottom: 8px; }
.pk-hero__grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 8px; }
.pk-hero__fan { position: relative; height: 360px; display: grid; place-items: center; }
.pk-hero__glow { position: absolute; inset: 10% 6%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 196, 0, .32), rgba(109, 74, 255, .18) 60%, transparent); filter: blur(10px); }
.pk-hero__s { position: absolute; width: 250px; height: 250px; object-fit: contain; filter: var(--stroke) drop-shadow(0 24px 30px rgba(0,0,0,.55));
  transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.pk-hero__s--1 { z-index: 3; animation: pkFloat 6s ease-in-out infinite; }
.pk-hero__s--2 { z-index: 2; transform: translate(-46%, 8%) rotate(-14deg) scale(.74); }
.pk-hero__s--3 { z-index: 1; transform: translate(46%, 8%) rotate(14deg) scale(.74); }
.pk-hero__fan:hover .pk-hero__s--2 { transform: translate(-56%, 4%) rotate(-20deg) scale(.78); }
.pk-hero__fan:hover .pk-hero__s--3 { transform: translate(56%, 4%) rotate(20deg) scale(.78); }
.pk-hero__fan--2 .pk-hero__s--2 { transform: translate(-30%, 6%) rotate(-12deg) scale(.8); }
@keyframes pkFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.pk-hero__count { display: inline-flex; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--lime);
  background: rgba(255, 214, 10, .1); border: 1px solid rgba(255, 214, 10, .3); margin-bottom: 18px; }
.pk-hero__info .page-hero__lead { margin-bottom: 28px; }

.pk-list__head { align-items: center; margin-bottom: 28px; }
.pk-list__head .section__title { margin: 0; }
.pk-list__count { color: var(--muted); font-size: 15px; }
.sticker-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sticker {
  position: relative; aspect-ratio: 1; padding: 22px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 45%, rgba(255,255,255,.06), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .3s ease;
}
.sticker:hover { transform: translateY(-6px); border-color: rgba(255, 214, 10, .4); box-shadow: 0 26px 50px -26px rgba(0,0,0,.9), 0 0 50px -26px rgba(255, 196, 0, .7); }
.sticker img { width: 100%; height: 100%; object-fit: contain; filter: var(--stroke) drop-shadow(0 12px 16px rgba(0, 0, 0, .45)); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.sticker:hover img { transform: scale(1.06) rotate(-2deg); }

.pk-promo { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: center; gap: 24px;
  padding: 52px 56px; border-radius: var(--radius-lg); color: var(--lime-ink);
  background: radial-gradient(70% 90% at 80% 120%, rgba(255, 120, 20, .5), transparent 70%), linear-gradient(135deg, #ffe45c 0%, #ffd60a 40%, #ffb703 80%, #ff9a1a 100%);
  box-shadow: 0 40px 100px -40px rgba(255, 183, 3, .5), inset 0 1px 0 rgba(255,255,255,.6); }
.pk-promo::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .16;
  background-image: radial-gradient(rgba(27, 18, 41, .55) 1px, transparent 1.4px); background-size: 18px 18px; }
.pk-promo__rays { position: absolute; right: -300px; top: 50%; width: 1000px; height: 1000px; margin-top: -500px; z-index: -1; opacity: .25; pointer-events: none;
  background: repeating-conic-gradient(rgba(255,255,255,.9) 0 6deg, transparent 6deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, transparent 45%); mask-image: radial-gradient(circle, #000 0, transparent 45%); animation: finRays 60s linear infinite; }
.pk-promo__body { display: grid; justify-items: start; gap: 14px; }
.pk-promo__title { margin: 0; font: 600 clamp(26px, 3vw, 40px)/1.12 var(--font-display); letter-spacing: -.03em; }
.pk-promo__title .finale__mark { font-size: .95em; margin-top: 6px; }
.pk-promo__text { margin: 0 0 8px; font-size: 17px; font-weight: 500; color: rgba(27, 18, 41, .75); }
.pk-promo__stickers { position: relative; height: 260px; }
.pk-promo__s { position: absolute; width: 190px; height: 190px; object-fit: contain; filter: var(--stroke) drop-shadow(0 18px 20px rgba(90, 40, 0, .35));
  animation: finFloat 6s ease-in-out infinite; }
.pk-promo__s--1 { left: 0; top: 40px; --r: -10deg; z-index: 2; }
.pk-promo__s--2 { left: 110px; top: -10px; --r: 6deg; z-index: 3; animation-delay: -2s; }
.pk-promo__s--3 { right: -10px; top: 60px; --r: 12deg; z-index: 1; animation-delay: -4s; }
.cat-grid.cat-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .pk-hero__grid { grid-template-columns: 340px minmax(0, 1fr); gap: 36px; }
  .pk-hero__s { width: 210px; height: 210px; }
  .sticker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pk-promo { grid-template-columns: minmax(0, 1fr) 300px; padding: 44px; }
  .pk-promo__s { width: 150px; height: 150px; } .pk-promo__s--2 { left: 80px; }
  .cat-grid.cat-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid--4 > :nth-child(4) { display: none; }
}
@media (max-width: 860px) {
  .pk-hero__grid { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .pk-hero__fan { height: 260px; }
  .pk-hero__s { width: 180px; height: 180px; }
  .pk-hero__info .hero__actions { justify-content: center; }
  .sticker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sticker { padding: 14px; border-radius: 20px; }
  .pk-promo { grid-template-columns: 1fr; padding: 36px 22px 0; text-align: center; }
  .pk-promo__body { justify-items: center; }
  .pk-promo__stickers { height: 170px; width: 300px; margin: 0 auto; }
  .pk-promo__s { width: 130px; height: 130px; } .pk-promo__s--1 { top: 30px; } .pk-promo__s--2 { left: 85px; top: 0; } .pk-promo__s--3 { right: 0; top: 40px; }
  .pk-promo .finale__btn { width: 100%; justify-content: center; }
  .cat-grid.cat-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat-grid--4 > :nth-child(4) { display: flex; }
}
@media (max-width: 520px) { .pk-list__count { display: none; } }

/* ---------- статья ---------- */
.article { padding-bottom: 40px; }
.article__head { padding-top: 48px; }
.article__title { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -.035em; margin-bottom: 20px; max-width: 900px; }
.article__meta { display: flex; gap: 18px; color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.article__cover { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 28px; border: 1px solid var(--line); }
.container--wide { max-width: 1120px; }
.article__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; margin-top: 48px; align-items: start; }
.article__aside { position: relative; min-width: 0; align-self: stretch; }
.article__sticky { position: sticky; top: 96px; display: grid; gap: 16px; }
.toc { display: grid; gap: 2px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); max-height: 38vh; overflow-y: auto; scrollbar-width: thin; }
.toc__title { font-weight: 600; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.toc a { display: flex; gap: 10px; color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.4; padding: 7px 10px; border-radius: 10px; transition: color .2s, background .2s; }
.toc__n { flex: none; font: 600 11px/1.9 var(--font-display); color: rgba(255,255,255,.3); transition: color .2s; }
.toc a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.toc a.is-active { color: var(--text); background: rgba(255, 214, 10, .08); }
.toc a.is-active .toc__n, .toc a.is-done .toc__n { color: var(--lime); }
.toc a.is-done { color: #cbc3dd; }
/* прогресс чтения */
.read-bar { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--lime), var(--amber)); box-shadow: 0 0 12px rgba(255, 196, 0, .6); }
.read-box { padding: 18px 16px 14px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.read-box__top { display: flex; align-items: baseline; justify-content: space-between; margin: 0 4px 10px; }
.read-box__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.read-box__pct { font: 600 20px/1 var(--font-display); color: var(--lime); }
.read-box__bar { height: 8px; margin: 0 4px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.read-box__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--lime), var(--amber)); transition: width .15s linear; }
.read-box__left { margin: 10px 4px 0; font-size: 13px; color: var(--muted); }
/* закреплённый призыв сбоку */
.side-cta { position: relative; overflow: hidden; isolation: isolate; padding: 20px 18px 18px; border-radius: 20px; color: var(--lime-ink); display: grid; gap: 4px;
  background: radial-gradient(80% 100% at 100% 0%, rgba(255,255,255,.45), transparent 60%), linear-gradient(135deg, #ffe45c, #ffd60a 45%, #ffb703 90%, #ff9a1a);
  box-shadow: 0 24px 50px -28px rgba(255, 183, 3, .7); }
.side-cta__head { display: grid; grid-template-columns: minmax(0, 1fr) 68px; gap: 8px; align-items: center; margin-bottom: 14px; }
.side-cta__st { width: 68px; height: auto; rotate: 8deg; filter: var(--stroke) drop-shadow(0 8px 10px rgba(90,40,0,.3)); }
.side-cta__title { margin: 0 0 4px; font: 600 16px/1.25 var(--font-display); letter-spacing: -.015em; }
.side-cta__text { margin: 0; font-size: 13px; color: rgba(27, 18, 41, .7); }
.side-cta__btn { width: 100%; justify-content: center; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; background: var(--lime-ink); color: #fff; box-shadow: 0 12px 24px -12px rgba(27,18,41,.7); }
.side-cta__btn .btn__icon { color: var(--lime); }
.side-cta__btn:hover { color: #fff; transform: translateY(-1px); }
.art-more { padding-top: 0; }

.prose { font-size: 18px; line-height: 1.75; min-width: 0; color: #e4ddf1; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 30px; margin-top: 2em; scroll-margin-top: 100px; color: var(--text); }
.prose h3 { font-size: 22px; margin-top: 1.6em; color: var(--text); }
.prose a { color: var(--lime); }
.prose strong { color: #fff; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--lime); }
.prose img { border-radius: var(--radius-sm); border: 1px solid var(--line); }
.prose blockquote { margin-left: 0; padding: 18px 24px; border-left: 3px solid var(--lime); background: var(--surface); border-radius: 0 14px 14px 0; color: #ddd6ec; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02); scrollbar-width: thin; }
.prose .table-wrap table { min-width: 520px; }
.prose .table-wrap tr:last-child td { border-bottom: 0; }
.prose .table-wrap th { background: rgba(255,255,255,.04); }
.prose td:first-child { color: #fff; font-weight: 500; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--muted); font-size: 14px; font-weight: 500; }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; overflow-wrap: anywhere; }

/* плашка-призыв внутри статьи */
.article-cta { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 26px; margin: 2.4em 0 !important; padding: 28px 30px;
  border-radius: 24px; color: var(--lime-ink);
  background: radial-gradient(70% 120% at 100% 120%, rgba(255, 120, 20, .45), transparent 70%), linear-gradient(135deg, #ffe45c 0%, #ffd60a 45%, #ffb703 100%);
  box-shadow: 0 30px 70px -36px rgba(255, 183, 3, .6), inset 0 1px 0 rgba(255,255,255,.6); }
.article-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
  background-image: radial-gradient(rgba(27, 18, 41, .55) 1px, transparent 1.4px); background-size: 16px 16px; }
.article-cta__stickers { display: flex; flex-shrink: 0; }
.article-cta__stickers img { width: 84px; height: 84px; object-fit: contain; margin-left: -22px; border: 0 !important; border-radius: 0 !important;
  filter: var(--stroke) drop-shadow(0 10px 12px rgba(90, 40, 0, .35)); animation: finFloat 5s ease-in-out infinite; }
.article-cta__stickers img:first-child { margin-left: 0; --r: -10deg; }
.article-cta__stickers img:nth-child(2) { position: relative; z-index: 2; width: 96px; height: 96px; animation-delay: -1.5s; }
.article-cta__stickers img:last-child { --r: 8deg; animation-delay: -3s; }
.article-cta__body { flex: 1; min-width: 0; display: grid; justify-items: start; gap: 6px; }
.article-cta__title { font: 600 22px/1.2 var(--font-display); letter-spacing: -.02em; margin: 0 !important; color: var(--lime-ink); }
.article-cta__text { font-size: 15.5px; line-height: 1.5; color: rgba(27, 18, 41, .75); margin: 0 0 8px !important; }
.prose .article-cta a.article-cta__btn, .article-cta__btn { background: var(--lime-ink); color: #fff; text-decoration: none; padding: 13px 22px; border-radius: 14px; font-size: 15px;
  box-shadow: 0 14px 30px -12px rgba(27, 18, 41, .7); transition: transform .25s ease; }
.article-cta__btn .btn__icon { color: var(--lime); }
.article-cta__btn:hover { transform: translateY(-2px); color: #fff; }

/* ---------- footer ---------- */
.ft { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 0; border-top: 1px solid var(--line);
  background: radial-gradient(50% 60% at 15% 0%, rgba(255, 183, 3, .09), transparent 70%),
              radial-gradient(45% 60% at 90% 10%, rgba(109, 74, 255, .14), transparent 70%); }
.ft__top { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ft__brand { display: flex; align-items: center; gap: 22px; max-width: 620px; }
.ft__logo img { display: block; width: 80px; height: auto; filter: drop-shadow(0 8px 24px rgba(255, 183, 3, .35)); }
.ft__name { font: 600 20px/1.25 var(--font-display); letter-spacing: -.02em; margin: 0 0 6px; }
.ft__text { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0; }
.ft__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.ft__stats { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ft__stats li { padding: 20px 22px; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); display: grid; gap: 4px; }
.ft__stats b { font: 600 24px/1.1 var(--font-display); letter-spacing: -.02em;
  background: linear-gradient(180deg, #ffe45c, #ffb703); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ft__stats span { color: var(--muted); font-size: 14px; }

.ft__cols { display: grid; grid-template-columns: 1fr 1fr 1.5fr 1fr; gap: 32px; margin-top: 52px; padding-top: 44px; border-top: 1px solid var(--line); }
.ft__col { display: grid; align-content: start; gap: 12px; min-width: 0; }
.ft__h { font: 600 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin: 0 0 6px; }
.ft__col a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 15px; line-height: 1.4; transition: color .2s, translate .2s; }
.ft__col a:hover { color: var(--text); translate: 3px 0; }
.ft__arr { width: 14px; height: 14px; flex: none; opacity: .7; }

.ft__bottom { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; margin-top: 52px; padding: 22px 0 30px; border-top: 1px solid var(--line); color: #7a7092; font-size: 13px; }
.ft__note { margin-right: auto; }
/* документы — еле заметные ссылки */
.ft__legal { display: flex; gap: 6px 16px; flex-wrap: wrap; }
.ft__legal a { color: #5d546f; font-size: 12px; text-decoration: none; transition: color .2s; }
.ft__legal a:hover { color: var(--muted); }
.ft__up { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.ft__up svg { width: 14px; height: 14px; }
.ft__up:hover { color: var(--lime); border-color: var(--lime); }


@media (max-width: 1000px) {
  .ft__cols { grid-template-columns: 1fr 1fr; }
  .ft__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ft { padding-top: 48px; }
  .ft__brand { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ft__actions, .ft__actions .btn { width: 100%; justify-content: center; }
  .ft__stats li { padding: 16px; }
  .ft__stats b { font-size: 19px; }
  .ft__stats span { font-size: 13px; }
  .ft__cols { gap: 32px 20px; }
  .ft__col--wide, .ft__col--tg { grid-column: 1 / -1; }
  .ft__bottom { flex-direction: column; align-items: flex-start; }
  .ft__note { margin-right: 0; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .facts { gap: 10px 16px; font-size: 14px; }
  .stage { height: 720px; }
  .orbit--3, .orbit--4 { display: none; }
}
@media (max-width: 1024px) {
  .pack-grid { grid-template-columns: repeat(3, 1fr); }
  .article__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .article__aside { display: none; }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-wrap__head { position: static; text-align: center; }
  .faq-wrap { display: flex; flex-direction: column; }
  .faq-wrap__head { display: contents; }
  .faq-wrap__head .section__title, .faq-wrap__head .section__sub { text-align: center; }
  .faq-wrap__head .section__sub { margin-top: -18px; }
  .help { order: 3; margin-top: 0; text-align: left; }
  .faq { order: 2; }
}
@media (max-width: 900px) {
  .hero { padding: 120px 0 calc(var(--sec) + 11px); }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .stage { height: 720px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery__item--lead { grid-column: span 3; grid-row: auto; }
  .gallery__item--lead .gallery__pics { aspect-ratio: 16 / 10; }
  .gallery__item--lead .gallery__img { width: auto; height: 100%; }
  .pack-grid, .pack-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .article-grid { grid-template-columns: 1fr; }
  :root { --sec: 40px; }
  .article-cta { flex-direction: column; align-items: center; text-align: center; padding: 26px 20px; }
  .article-cta__body { justify-items: center; }
  .article-cta__btn { width: 100%; justify-content: center; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .fs { width: 96px !important; }
  .fs--l3, .fs--r3, .fs--t1, .fs--t2 { display: none; }
}
@media (max-width: 520px) {
  .proof { font-size: 13px; gap: 10px; }
  body { font-size: 16px; }
  .hero__title { font-size: 40px; }
  .stage { height: 600px; }
  .bot { --s: .67; }
  .orbit { width: 104px !important; }
  .orbit--1 { left: -5%; } .orbit--2 { right: -5%; } .orbit--5 { left: -5%; } .orbit--6 { right: -5%; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery__item--lead { grid-column: span 2; }
  .pack-card__grid { padding: 12px 12px 4px; gap: 4px; }
  .pack-card__body { padding: 6px 14px 16px; }
  .pack-card__title { font-size: 15px; }
  .hero__actions .btn { width: 100%; }
  .search { flex-direction: column; }
  .prose { font-size: 17px; }
  .finale__panel { padding: 120px 18px 120px; border-radius: 24px; gap: 18px; }
  .finale__text { font-size: 17px; }
  .fs { width: 86px !important; }
  .fs--l1 { top: 18px; left: 4%; } .fs--r1 { top: 14px; right: 4%; }
  .fs--l2 { bottom: 14px; left: 6%; } .fs--r2 { bottom: 16px; right: 6%; }
  .finale__btn { width: 100%; justify-content: center; padding: 18px 20px; font-size: 17px; white-space: normal; }
  .finale__facts { gap: 16px; font-size: 13px; }
  .btn--xl { width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  [data-s].is-in, .b-sticker.is-in { animation: none; }
  .b-card .b-progress i { width: 100%; }
  html { scroll-behavior: auto; }
}

@media (max-width: 560px) {
  .faq__item summary { padding: 16px 14px 16px 16px; gap: 12px; font-size: 16px; }
  .faq__num { min-width: 20px; }
  .faq__icon { width: 32px; height: 32px; }
  .faq__a p { padding: 0 16px 18px 48px; font-size: 15px; }
  .help { padding: 22px 20px; }
  .help__sticker { width: 84px; }
  .help__title, .help__text { margin-right: 86px; }
}

/* ---------- каталог: боковая панель + сетка паков ---------- */
.page-hero--catalog { padding-bottom: 0; }
.cat { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.cat__side { position: sticky; top: 100px; display: grid; gap: 16px; }
.cat-search { position: relative; }
.cat-search input { width: 100%; height: 52px; padding: 0 16px 0 46px; border-radius: 16px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.04); color: var(--text); font: inherit; font-size: 15px; transition: border-color .2s, background .2s; }
.cat-search input:focus { outline: none; border-color: var(--lime); background: rgba(255,255,255,.06); }
.cat-search__icon { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.cat-sort { padding: 18px 12px 12px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.cat-sort__title { margin: 0 10px 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cat-sort__list { display: grid; gap: 4px; }
.cat-sort__item { display: flex; align-items: center; gap: 12px; padding: 12px 12px; border-radius: 12px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px;
  transition: background .2s, color .2s; }
.cat-sort__item svg { width: 20px; height: 20px; flex: none; }
.cat-sort__dir { margin-left: auto; padding: 2px 8px; border-radius: 8px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.06); }
.cat-sort__item.is-active .cat-sort__dir { background: rgba(27, 18, 41, .14); }
.cat-sort__item:hover { color: var(--text); background: rgba(255,255,255,.04); }
.cat-sort__item.is-active { color: var(--lime-ink); background: var(--lime); box-shadow: 0 10px 26px -12px rgba(255, 196, 0, .7); }
.cat-promo { position: relative; padding: 20px 18px 18px; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; display: grid; gap: 14px;
  background: radial-gradient(90% 80% at 100% 0%, rgba(109, 74, 255, .25), transparent 60%), rgba(255,255,255,.03); }
.cat-promo__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cat-promo__head img { flex: none; width: 76px; height: auto; rotate: 8deg; filter: var(--stroke); }
.cat-promo__title { margin: 0; font: 600 16px/1.3 var(--font-display); letter-spacing: -.015em; }

.cat__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; min-height: 52px; }
.cat__count { margin: 0; color: var(--muted); font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cat__count b { color: var(--text); }
.cat__reset { color: var(--lime); font-weight: 600; text-decoration: none; margin-left: 6px; }
.cat__page { margin: 0; color: var(--muted); font-size: 14px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

@media (max-width: 1100px) {
  .cat { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .cat { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cat__side { position: static; gap: 12px; }
  .cat-sort { padding: 0; border: 0; background: none; }
  .cat-sort__title, .cat-promo { display: none; }
  .cat-sort__list { grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
  .cat-sort__item { justify-content: center; padding: 10px 6px; font-size: 13px; gap: 6px; }
  .cat-sort__item svg { width: 16px; height: 16px; }
  .cat-sort__label--alpha { display: none; }
  .cat-sort__dir { margin-left: 0; padding: 0; font-size: 13px; background: none !important; }
  .cat__bar { min-height: 0; margin-bottom: 14px; }
  .cat-grid { gap: 12px; }
}
@media (max-width: 400px) { .cat-sort__item svg { display: none; } }

/* ---------- полезные статьи ---------- */
.blog-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.blog-search { width: 340px; flex: none; margin-bottom: 6px; }
.blog-sec { padding-top: 28px; }
.blog-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.blog-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-cat { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; transition: border-color .2s, background .2s, color .2s; }
.blog-cat small { font-size: 12px; color: var(--muted); font-weight: 600; }
.blog-cat:hover { border-color: var(--lime); }
.blog-cat.is-active { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); box-shadow: 0 10px 26px -12px rgba(255, 196, 0, .7); }
.blog-cat.is-active small { color: rgba(27, 18, 41, .6); }
.blog-sort { display: flex; padding: 4px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.blog-sort__item { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; transition: color .2s, background .2s; }
.blog-sort__item:hover { color: var(--text); }
.blog-sort__item.is-active { background: rgba(255,255,255,.1); color: var(--text); }
.blog-tags { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; margin: 18px 0 8px; }
.blog-tags__label { color: var(--muted); font-size: 14px; }
.blog-tag { color: var(--muted); font-size: 14px; text-decoration: none; transition: color .2s; }
.blog-tag:hover, .blog-tag.is-active { color: var(--lime); }

.blog-pop { margin: 28px 0 8px; padding: 22px; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(60% 120% at 0% 0%, rgba(255, 138, 30, .1), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(109, 74, 255, .14), transparent 60%), rgba(255,255,255,.02); }
.blog-pop__title { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font: 600 18px/1.2 var(--font-display); letter-spacing: -.015em; }
.blog-pop__title svg { width: 22px; height: 22px; color: var(--amber); }
.blog-pop__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.blog-pop__item { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 16px;
  text-decoration: none; color: var(--text); transition: background .2s; }
.blog-pop__item:hover { background: rgba(255,255,255,.05); }
.blog-pop__item:hover .blog-pop__name { color: var(--lime); }
.blog-pop__num { position: absolute; left: 2px; top: 2px; z-index: 2; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: var(--lime); color: var(--lime-ink); font: 700 13px/1 var(--font-display); box-shadow: 0 6px 14px -4px rgba(0,0,0,.6); }
.blog-pop__img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--surface); }
.blog-pop__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-pop__body { display: grid; gap: 4px; min-width: 0; }
.blog-pop__name { font-weight: 600; font-size: 14px; line-height: 1.35; transition: color .2s; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-pop__meta { color: var(--muted); font-size: 12px; }
.blog-sec .cat__bar { margin-top: 24px; }

/* карточка статьи */
.acard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.acard { display: flex; flex-direction: column; text-decoration: none; color: var(--text); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)); transition: transform .3s ease, border-color .25s, box-shadow .3s; }
.acard:hover { transform: translateY(-4px); border-color: rgba(255, 214, 10, .35); box-shadow: 0 26px 50px -30px rgba(0,0,0,.9); }
.acard__cover { position: relative; display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--surface); }
.acard__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.acard:hover .acard__cover img { transform: scale(1.05); }
.acard__cat { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(12, 8, 23, .72); color: var(--lime); border: 1px solid rgba(255, 214, 10, .3); backdrop-filter: blur(8px); }
.acard__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.acard__meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.acard__meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .7; }
.acard__read { display: inline-flex; align-items: center; gap: 5px; }
.acard__read svg { width: 14px; height: 14px; }
.acard__title { font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; transition: color .2s;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acard:hover .acard__title { color: var(--lime); }
.acard__excerpt { color: var(--muted); font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* статья: метаданные и теги */
.art-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.art-meta__cat { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--lime-ink); background: var(--lime); }
.art-meta__item { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: 14px; color: var(--muted);
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); }
.art-meta__item svg { width: 16px; height: 16px; }
.art-lead { color: #cbc3dd; font-size: 19px; line-height: 1.55; max-width: 760px; margin: 0 0 30px; }
.art-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.art-tags span { color: var(--muted); font-size: 14px; margin-right: 4px; }
.prose .art-tags a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); font-size: 14px; text-decoration: none; }
.prose .art-tags a:hover { border-color: var(--lime); color: var(--lime); }

@media (max-width: 1100px) {
  .blog-pop__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .blog-hero__row { flex-direction: column; align-items: stretch; gap: 20px; }
  .blog-search { width: 100%; }
  .blog-bar { flex-direction: column; align-items: stretch; gap: 14px; }
  .blog-bar > * { min-width: 0; }
  .blog-cats { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; max-width: calc(100% + 32px); }
  .blog-cats::-webkit-scrollbar { display: none; }
  .blog-cat { flex: none; padding: 9px 14px; font-size: 14px; }
  .blog-sort { align-self: flex-start; }
  .blog-tags { flex-wrap: nowrap; overflow-x: auto; margin: 14px -16px 4px; padding: 0 16px 4px; scrollbar-width: none; white-space: nowrap; }
  .blog-tags::-webkit-scrollbar { display: none; }
  .blog-pop { padding: 16px; }
  .blog-pop__list { grid-template-columns: 1fr; gap: 4px; }
  .acard-grid { grid-template-columns: 1fr; gap: 14px; }
  .art-lead { font-size: 17px; }
}

/* ---------- страницы документов ---------- */
.doc-title { font-size: clamp(22px, 4vw, 44px); overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) { .doc-title { font-size: 22px; } }
.doc { font-size: 16.5px; line-height: 1.7; }
.doc h2 { font-size: 22px; margin: 1.8em 0 .6em; }
.doc ul { padding-left: 1.2em; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1em 0 1.5em; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid var(--line-strong); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: rgba(255,255,255,.04); }

/* ---------- плашка о cookie ---------- */
.cookie-note { position: fixed; left: 16px; bottom: 16px; z-index: 80; display: flex; align-items: center; gap: 14px; max-width: min(460px, calc(100% - 32px));
  padding: 10px 10px 10px 16px; border-radius: 14px; background: rgba(27, 20, 44, .94); border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); color: var(--muted); font-size: 13px; line-height: 1.4; box-shadow: 0 16px 40px -16px rgba(0,0,0,.8); animation: cookieIn .4s ease; }
.cookie-note a { color: var(--text); }
.cookie-note button { flex: none; padding: 8px 14px; border-radius: 10px; border: 0; background: rgba(255,255,255,.1); color: var(--text); font: 600 13px var(--font-body); cursor: pointer; }
.cookie-note button:hover { background: var(--lime); color: var(--lime-ink); }
@keyframes cookieIn { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 560px) { .cookie-note { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* ---------- оформление статей: код, символы, вопросы, итог ---------- */
.prose .code { position: relative; }
.prose .code { background: #120c20; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.prose .code::before { content: attr(data-label); display: block; padding: 12px 18px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03); }
.prose .code pre { margin: 0; padding: 16px 18px 18px; overflow-x: auto; scrollbar-width: thin; }
.prose .code pre code { background: none; padding: 0; font-size: 14px; line-height: 1.65; color: #f3eefc; white-space: pre; }
.prose .code__btn, .prose .sym__btn { font: 600 13px/1 var(--font-body); color: var(--lime-ink); background: var(--lime); border: 0; border-radius: 10px; padding: 9px 14px; cursor: pointer; transition: transform .15s, background .2s; }
.prose .code__btn { position: absolute; top: 6px; right: 8px; padding: 7px 12px; }
.prose .code__btn:hover, .prose .sym__btn:hover { transform: translateY(-1px); }
.prose .code__btn.is-done, .prose .sym__btn.is-done { background: #3ddc97; }
.prose .sym { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 18px; border: 1px dashed rgba(255,214,10,.45); border-radius: 16px; background: rgba(255,214,10,.05); max-width: 420px; }
.prose .sym__box { font-size: 22px; background: none; padding: 0; color: var(--muted); letter-spacing: .1em; flex: 1; }
.prose .sym__box span { background: rgba(255,214,10,.18); border-radius: 4px; }
.prose .sym__btn { margin-left: auto; }
.prose .qa-list { display: grid; gap: 12px; }
.prose .qa { padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.03); }
.prose .qa__q { margin: 0; font-size: 18px; line-height: 1.4; display: flex; gap: 12px; }
.prose .qa__q::before { content: "?"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font: 700 14px/26px var(--font-display); text-align: center; margin-top: 1px; }
.prose .qa__a { margin: 10px 0 0 38px; color: #d8d0e8; font-size: 16.5px; line-height: 1.65; }
.prose .sum { margin-top: 2.4em; padding: 4px 28px 26px; border-radius: 22px; background: linear-gradient(135deg, rgba(109,74,255,.2), rgba(255,214,10,.07)); border: 1px solid rgba(255,214,10,.28); }
.prose .sum h2 { margin-top: 22px; font-size: 26px; }
.prose .sum > * + * { margin-top: .8em; }
.prose .sum h2::before { content: "★ "; color: var(--lime); }
@media (max-width: 640px) {
  .prose .qa { padding: 16px; }
  .prose .qa__q { font-size: 16.5px; }
  .prose .qa__a { margin-left: 0; }
  .prose .sum { padding: 2px 18px 20px; }
}
/* длинные слова в заголовках статей не выходят за экран телефона */
.prose h2, .prose h3, .article__title { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }

/* ---------- мало паков: без повторов, ряды по центру + плитка «Твой стикерпак» ---------- */
.packs--few { display: flex; flex-wrap: wrap; justify-content: center; }
.packs--few > .pk { flex: 0 0 calc((100% - 60px) / 4); }
.packs__more { display: flex; justify-content: center; margin-top: 34px; }
.pk--own { border-color: rgba(255, 214, 10, .45); background: linear-gradient(180deg, rgba(255, 214, 10, .14), rgba(255, 183, 3, .04)); }
.pk--own .pk__glow { opacity: .85; }
.pk--own .pk__title { color: var(--lime); }
.pk-own__btn { justify-self: start; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 16px; border-radius: 12px;
  font-size: 14px; font-weight: 600; color: var(--lime-ink); background: linear-gradient(180deg, #ffe14a 0%, var(--lime) 45%, var(--lime-2) 100%); }
.pk-own__btn .btn__icon { width: 16px; height: 16px; }
@media (max-width: 1100px) { .packs--few > .pk { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 860px) {
  .packs--few > .pk { flex-basis: calc((100% - 12px) / 2); }
  .pk--own .pk__desc { display: none; }
  .pk-own__btn { padding: 8px 12px; font-size: 13px; }
}

/* ---------- переключатель языка: выпадающий список с флагами ---------- */
.lang { position: relative; flex-shrink: 0; }
.lang + .site-header__cta { margin-inline-start: -26px; }
.lang__btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 11px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); color: var(--text); font: 600 13.5px/1 var(--font-body); letter-spacing: .03em;
  transition: border-color .2s, background .2s; }
.lang__btn:hover, .lang.is-open .lang__btn { border-color: rgba(255, 214, 10, .5); background: rgba(255, 214, 10, .07); }
.lang__flag { display: block; flex-shrink: 0; width: 22px; height: 16px; border-radius: 4px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 2px 6px rgba(0,0,0,.35); }
.lang__chev { width: 14px; height: 14px; color: var(--muted); transition: transform .25s ease; }
.lang.is-open .lang__chev { transform: rotate(180deg); color: var(--lime); }
.lang__menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 60; width: 236px; max-height: min(70vh, 560px); overflow-y: auto;
  padding: 8px; border-radius: 18px; border: 1px solid var(--line-strong); background: rgba(23, 16, 40, .97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 70px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.02) inset;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transform-origin: top right; transition: opacity .18s ease, transform .22s cubic-bezier(.2,.8,.2,1), visibility .18s;
  scrollbar-width: thin; }
[dir="rtl"] .lang__menu { transform-origin: top left; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__title { margin: 6px 10px 6px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lang__item { display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 11px;
  color: #d9d1ea; text-decoration: none; font-size: 14.5px; font-weight: 500; transition: background .15s, color .15s; }
.lang__item .lang__flag { width: 24px; height: 18px; }
.lang__item:hover, .lang__item:focus-visible { background: rgba(255,255,255,.06); color: var(--text); outline: none; }
.lang__item.is-active { background: rgba(255, 214, 10, .1); color: var(--lime); }
.lang__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* название языка прижато к флагу, даже если сам язык пишется справа налево */
.lang__name { text-align: left; }
[dir="rtl"] .lang__name { text-align: right; }
.lang__check { width: 16px; height: 16px; flex-shrink: 0; color: var(--lime); }
/* пункты появляются по очереди */
.lang.is-open .lang__item { animation: langIn .26s cubic-bezier(.2,.8,.2,1) both; }
.lang.is-open .lang__item:nth-of-type(2) { animation-delay: .03s; } .lang.is-open .lang__item:nth-of-type(3) { animation-delay: .06s; }
.lang.is-open .lang__item:nth-of-type(4) { animation-delay: .09s; } .lang.is-open .lang__item:nth-of-type(n+5) { animation-delay: .12s; }
@keyframes langIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lang.is-open .lang__item { animation: none; } .lang__menu { transition: none; } }
@media (max-width: 900px) {
  .lang { margin-inline-start: auto; }
  .lang + .site-header__cta { margin-inline-start: 0; }
  .site-header__inner { gap: 10px; }
  .brand { margin-inline-end: auto; }
  .lang__btn { height: 44px; padding: 0 10px; gap: 7px; }
  .lang__chev { display: none; }
  .lang__item { padding: 12px 10px; }
}

/* ---------- длинные подписи на других языках: шапка и шаги не выходят за экран телефона ---------- */
@media (max-width: 560px) {
  .brand { flex-shrink: 1; min-width: 0; }
  .brand__desc { min-width: 0; }
  .brand__line1, .brand__line2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
