/* ============================================================
   AviParser · «Ночная витрина»
   Единица измерения: 1rem = 1px референса при ширине 724 px.
   До 1440 px композиция масштабируется пропорционально,
   шире — контент 1440 px по центру, цветные полосы до краёв.
   ============================================================ */

:root {
  --category-mint: #96facd;
  --export-lilac: #cfa9fc;
  --filters-dark: #0d0f13;
  --alerts-dark: #13151a;
  --benefits-dark: #0c0f12;
  --mint-accent: #70f5c4;
  --page-ink: #0b0c10;
  --page-white: #f8f9f9;
  --pink-accent: #f06cb4;
  --grey-text: #c3c7ce;
  --font-ui: "Inter Tight", Arial, Helvetica, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

html {
  font-size: min(100vw / 724, 1.989px);
  -webkit-text-size-adjust: 100%;
}
html:not(.js) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 15rem;
  line-height: 1.35;
  color: var(--page-white);
  background: var(--page-ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px;
  padding: 8px 14px; background: var(--mint-accent); color: var(--page-ink);
  font-weight: 700; border-radius: 8px; z-index: 100; font-size: 14px;
}
.skip-link:focus { top: 8px; }

:focus-visible {
  outline: 3rem solid var(--mint-accent);
  outline-offset: 3rem;
  border-radius: 6rem;
}

.container {
  width: 100%;
  max-width: 724rem;
  margin: 0 auto;
  padding: 0 39rem;
}

.mint { color: var(--mint-accent); }

/* ─── Кнопки ─── */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 700; white-space: nowrap;
  border-radius: 999rem; border: 1.5rem solid transparent;
  transition: transform .2s var(--ease-out), filter .2s, background-color .2s, color .2s, border-color .2s, box-shadow .3s;
}
.btn:hover { transform: translateY(-1.5rem); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--mint { background: var(--mint-accent); color: var(--page-ink); border-color: var(--mint-accent); }
.btn--mint:hover { filter: brightness(1.05); }
/* блик, пробегающий по кнопке (shimmer) */
.btn--mint::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -70%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.65) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-22deg); opacity: 0; transition: left .65s var(--ease-out), opacity .2s;
}
.btn--mint:hover::after, .btn--mint:focus-visible::after { left: 125%; opacity: 1; }
/* мягкое пульсирующее свечение для главных CTA */
.btn--glow { animation: btnGlow 2.8s ease-in-out infinite; }
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(112,245,196,0), 0 8rem 24rem rgba(0,0,0,.25); }
  50%      { box-shadow: 0 0 26rem 3rem rgba(112,245,196,.32), 0 8rem 24rem rgba(0,0,0,.25); }
}
.btn--ghost {
  background: rgba(11,12,16,.42); color: #fff; border-color: rgba(255,255,255,.42);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: var(--mint-accent); color: var(--mint-accent); background: rgba(11,12,16,.6); }
.btn--outline { background: transparent; color: var(--mint-accent); border-color: var(--mint-accent); }
.btn--outline:hover { background: var(--mint-accent); color: var(--page-ink); }
.btn--sm  { height: 26rem; padding: 0 17rem; font-size: 11.5rem; }
.btn--sm2 { height: 30rem; padding: 0 18rem; font-size: 12rem; justify-self: start; }
.btn--md  { height: 30rem; padding: 0 20rem; font-size: 12rem; }
.btn--lg  { height: 44rem; padding: 0 34rem; font-size: 15rem; }
.footer .btn { height: 38rem; padding: 0 50rem; font-size: 14rem; }
.btn__play {
  width: 0; height: 0; margin-right: 8rem; flex: none;
  border-left: 8rem solid currentColor; border-top: 5rem solid transparent; border-bottom: 5rem solid transparent;
}

.text-cta {
  display: inline-flex; align-items: center; gap: 6rem; justify-self: start;
  font-weight: 700; font-size: 13.5rem; color: var(--mint-accent); text-decoration: none;
}
.text-cta span { transition: transform .25s var(--ease-out); }
.text-cta:hover { text-decoration: underline; text-underline-offset: 3rem; }
.text-cta:hover span { transform: translateX(4rem); }
.text-cta--ink { color: #2a1250; }

/* ─── Заголовки секций и абзацы с полоской ─── */
.section-title {
  font-size: 32rem; line-height: 36rem; font-weight: 800;
  letter-spacing: -0.03em; color: #fff;
}
.section-title--ink { color: var(--page-ink); }

.lead-bar {
  position: relative; padding-left: 13rem;
  font-size: 14.5rem; line-height: 17.5rem; color: #e9ebee;
}
.lead-bar::before {
  content: ""; position: absolute; left: 0; top: 2rem; bottom: 2rem;
  width: 3rem; border-radius: 2rem; background: var(--mint-accent);
}
.lead-bar--pink::before { background: var(--pink-accent); }
.lead-bar--ink { color: #1c1a24; }
.lead-bar--ink::before { background: var(--mint-accent); }

.split {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  column-gap: 24rem;
}
.split__text { display: grid; gap: 17rem; align-content: center; justify-items: start; }
.split__text > .text-cta, .split__text > .btn--sm2 { margin-top: -2rem; }

/* ─── Полосы ─── */
.band { position: relative; }
.band--mint    { background: #96facd url("../assets/backgrounds/categories.svg") center / 100% 100% no-repeat; color: var(--page-ink); }
.band--filters { background: var(--filters-dark) url("../assets/backgrounds/filters.svg") center / 100% 100% no-repeat; }
.band--alerts  { background: var(--alerts-dark) url("../assets/backgrounds/telegram.svg") center / 100% 100% no-repeat; }
.band--lilac   { background: #cfa9fc url("../assets/backgrounds/excel.svg") center / 100% 100% no-repeat; color: var(--page-ink); }
.band--benefits{ background: var(--benefits-dark) url("../assets/backgrounds/benefits.svg") center / 100% 100% no-repeat; }
.band--footer  { background: #0b0d11 url("../assets/backgrounds/footer.svg") center / 100% 100% no-repeat; }

/* ============================================================
   ПОЯВЛЕНИЕ БЛОКОВ (reveal) и 3D-НАКЛОН (tilt)
   ============================================================ */
.js [data-reveal] {
  opacity: 0; translate: 0 22rem; filter: blur(6px);
  transition: opacity .75s ease, translate .9s var(--ease-out), filter .75s ease;
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; translate: 0 0; filter: blur(0); }
.js.no-motion [data-reveal] { opacity: 1; translate: none; filter: none; transition: none; }

[data-tilt] {
  position: relative;
  transform: perspective(900rem) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .45s var(--ease-out);
}
[data-tilt].is-tilting { transition: transform .08s linear; }
[data-tilt]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(220rem circle at var(--px, 50%) var(--py, 50%), rgba(255,255,255,.16), rgba(255,255,255,0) 62%);
  opacity: 0; transition: opacity .35s;
}
[data-tilt].is-tilting::after { opacity: 1; }

/* ============================================================
   HEADER — фиксированная, прозрачная поверх hero
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background-color .35s, box-shadow .35s;
}
.header.is-scrolled {
  background: rgba(11,12,16,.74);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 55rem; padding: 0 39rem 0 45rem;
}
.header__logo img { width: 156rem; height: auto; }
.header__burger { display: none; }

.nav { display: flex; align-items: center; gap: 26rem; margin-left: 24rem; }
.nav__list { display: flex; gap: 22rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; font-size: 12rem; font-weight: 600; text-decoration: none; color: #fff;
  white-space: nowrap; letter-spacing: -0.005em; padding: 4rem 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5rem;
  background: var(--mint-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav__link:hover { color: var(--mint-accent); }
.nav__link:hover::after { transform: scaleX(1); }

/* ============================================================
   HERO  (0 – 535): слои параллакса
   ============================================================ */
.hero {
  position: relative; height: 535rem; overflow: hidden; background: #0b0c10; z-index: 1;
}
.hero__layer { position: absolute; inset: 0; will-change: transform; }
.hero__layer-inner { position: absolute; inset: 0; will-change: transform; }

/* слой 1 — фасад: единая картинка 724×535 из макета, без швов; лёгкое движение от курсора
   через scale(1.02), чтобы края не показывались */
.hero__layer--facade .hero__layer-inner {
  background: url("../assets/backgrounds/hero.webp") center top / 100% auto no-repeat;
  transform: translate(calc(var(--mx, 0) * -4rem), calc(var(--my, 0) * -3rem)) scale(1.02);
  transform-origin: center;
}
/* размытая подложка на сверхшироких экранах (за пределами 1440px) */
.hero__fill { display: none; }
/* слой 2 — текст */
.hero__inner { position: relative; z-index: 3; padding-top: 80rem; padding-left: 45rem; will-change: transform, opacity; }
.hero__inner .hero__layer-inner {
  position: static;
  transform: translate(calc(var(--mx, 0) * 3rem), calc(var(--my, 0) * 2rem));
}
.hero__title {
  font-size: 64rem; line-height: 0.95; font-weight: 800; letter-spacing: -0.03em;
  display: grid;
}
.hero__title-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title-line > span { display: block; }
.hero__title-line--white { color: #fff; }
.hero__title-line--mint { color: var(--mint-accent); }
.hero__lead { margin-top: 16rem; max-width: 420rem; font-size: 16.5rem; line-height: 21rem; }
.hero__lead::before { top: 1rem; bottom: 1rem; }

/* слой 4 — CTA над мокрой мостовой (витрины не перекрываются) */
.hero__cta {
  position: absolute; left: 0; right: 0; bottom: 16rem; z-index: 4;
  display: flex; gap: 10rem; align-items: center; padding-left: 45rem;
  will-change: transform, opacity;
}

/* анимация появления заголовка при загрузке */
.js .hero__title-line > span { transform: translateY(110%); animation: rise 1s var(--ease-out) forwards; }
.js .hero__title-line--mint > span { animation-delay: .14s; }
.js .hero__lead, .js .hero__cta { opacity: 0; animation: fadeUp .9s var(--ease-out) .42s forwards; }
.js .hero__cta { animation-delay: .6s; }
.js.no-motion .hero__title-line > span, .js.no-motion .hero__lead, .js.no-motion .hero__cta { animation: none; transform: none; opacity: 1; }
@keyframes rise   { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; translate: 0 14rem; } to { opacity: 1; translate: 0 0; } }

.hero__storefront { display: none; }

/* сверхширокие экраны: композиция 1440px по центру, по бокам — размытое продолжение картинки */
@media (min-width: 1441px) {
  .hero__layer--facade .hero__layer-inner { background-size: 724rem auto; }
  .hero__fill, .video__fill {
    display: block; position: absolute; inset: -40px; z-index: 0; pointer-events: none;
    background: url("../assets/backgrounds/hero.webp") center / cover no-repeat;
    filter: blur(26px) brightness(.55);
  }
  .video__fill { background-image: url("../assets/backgrounds/video.webp"); }
}

/* ============================================================
   CATEGORIES  (533 – 850)
   ============================================================ */
.categories {
  z-index: 2;
  margin-top: -2rem; margin-bottom: -1rem;
  height: 317rem; padding-top: 15rem;
  clip-path: polygon(0 0, 100% 12rem, 100% calc(100% - 25rem), 0 100%);
}
.categories__head { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.categories__title {
  font-size: 44rem; line-height: 46rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--page-ink);
}
.slash-note {
  position: relative; justify-self: end; width: 300rem; margin-top: 14rem;
  padding-left: 36rem; font-size: 14.5rem; line-height: 18rem; color: #10211c;
}
.slash-note::before {
  content: ""; position: absolute; left: 0; top: -4rem;
  width: 1.5rem; height: 50rem; background: #0b0c10; transform: rotate(22deg);
  transform-origin: top; opacity: .9;
}

.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6rem;
  margin: 22rem -20rem 0;
}
.card {
  display: flex; flex-direction: column; height: 145rem; padding: 4rem 3rem 7rem;
  border-radius: 13rem; background: #16181d;
  box-shadow: 0 6rem 16rem rgba(0, 0, 0, .25);
  transition: box-shadow .35s;
}
.card.is-tilting { box-shadow: 0 18rem 34rem rgba(0,0,0,.35); }
.card__photo { width: 100%; height: 103rem; object-fit: cover; border-radius: 10rem 10rem 8rem 8rem; }
.card__label {
  margin: 7rem 6rem 0; height: 23rem; padding: 0 10rem;
  display: inline-flex; align-items: center; gap: 6rem;
  background: #f0f2f1; color: #121418; border-radius: 999rem;
  font-size: 11rem; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap;
}
.card__icon {
  width: 11rem; height: 11rem; flex: none;
  background: url("../assets/icons/search.svg") center / contain no-repeat;
  filter: brightness(0);
}

/* ============================================================
   FILTERS  (849 – 1144): окно AviParser в HTML
   ============================================================ */
.filters { padding: 26rem 0 24rem; min-height: 295rem; }
.filters .split { grid-template-columns: 300rem 1fr; column-gap: 0; align-items: start; }
.filters .lead-bar { max-width: 252rem; }
.filters__visual { justify-self: end; margin: -18rem -12rem 0 0; }

.win {
  width: 348rem; padding: 13rem 16rem 15rem; border-radius: 14rem; color: #fff;
  background: linear-gradient(135deg, #22262b 0%, #0a0c10 100%);
  box-shadow: 0 0 0 1.5rem #68f5bc, 0 0 26rem rgba(104,245,188,.42), 0 26rem 50rem rgba(0,0,0,.55);
  transform: rotate(-2.5deg) perspective(900rem) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  font-size: 10.5rem;
}
.win__bar { display: flex; align-items: center; justify-content: space-between; height: 16rem; }
.win__bar img { width: 74rem; height: auto; }
.win__controls { display: flex; gap: 11rem; align-items: center; margin-right: 2rem; }
.win__controls i { display: block; }
.win__controls i:nth-child(1) { width: 8rem; height: 1.5rem; background: #fff; }
.win__controls i:nth-child(2) { width: 7rem; height: 7rem; border: 1.5rem solid #fff; }
.win__controls i:nth-child(3) {
  width: 8rem; height: 8rem;
  background: linear-gradient(45deg, transparent 44%, #fff 44%, #fff 56%, transparent 56%),
              linear-gradient(-45deg, transparent 44%, #fff 44%, #fff 56%, transparent 56%);
}
.win__label { margin: 13rem 0 5rem; font-size: 9.5rem; font-weight: 600; color: #e2e5e9; }
.win__field {
  display: flex; align-items: center; gap: 8rem; height: 25rem; padding: 0 9rem;
  border-radius: 7rem; background: #2a2f36; white-space: nowrap; overflow: hidden;
}
.win__link {
  width: 10rem; height: 10rem; flex: none; opacity: .8;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1'/%3E%3Cpath d='M14 11a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1'/%3E%3C/svg%3E") center / contain no-repeat;
}
.win__chips { display: flex; flex-wrap: wrap; gap: 7rem; }
.win__chip {
  flex: 0 0 calc(50% - 4rem); height: 24rem; padding: 0 9rem;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 7rem; background: #262b31; white-space: nowrap;
}
.win__chip::after {
  content: ""; width: 6rem; height: 6rem; margin-left: 8rem; flex: none;
  border-right: 1.5rem solid #fff; border-bottom: 1.5rem solid #fff; transform: translateY(-2rem) rotate(45deg);
}
.win__run {
  margin-top: 14rem; height: 30rem; border-radius: 8rem; background: var(--mint-accent);
  color: #07140f; font-weight: 700; font-size: 11.5rem;
  display: flex; align-items: center; justify-content: center;
}
.win__run .btn__play { border-left-width: 7rem; border-top-width: 4.5rem; border-bottom-width: 4.5rem; }

/* ============================================================
   TELEGRAM  (1140 – 1390)
   ============================================================ */
.alerts {
  z-index: 2; margin-top: -4rem; margin-bottom: -4rem;
  padding: 27rem 0 26rem; min-height: 250rem;
  clip-path: polygon(0 0, 100% 10rem, 100% 100%, 0 100%);
}
.alerts .split { grid-template-columns: 1fr 322rem; column-gap: 6rem; align-items: start; }
.alerts .split__text { margin-right: -14rem; }
.alerts .lead-bar { max-width: 246rem; }
.alerts__list { display: grid; gap: 7rem; margin-top: -2rem; }
.alert {
  height: 98rem; padding: 10rem 12rem; border-radius: 14rem;
  background: linear-gradient(135deg, #272b31, #191c22); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 8rem 24rem rgba(0,0,0,.35);
}
.alert__top { display: flex; justify-content: space-between; align-items: center; }
.alert__app { display: inline-flex; align-items: center; gap: 8rem; font-size: 12rem; font-weight: 600; }
.alert__tg {
  width: 18rem; height: 18rem; border-radius: 5rem; display: inline-grid; place-items: center;
  background: #27a9ed;
}
.alert__tg::before {
  content: ""; width: 10rem; height: 10rem; margin-left: -1rem;
  background: url("../assets/icons/telegram.svg") center / contain no-repeat;
}
.alert__time { font-size: 11rem; color: #9aa0a8; }
.alert__body { display: grid; grid-template-columns: 73rem 1fr; gap: 12rem; align-items: center; margin-top: 8rem; }
.alert__photo { width: 73rem; height: 50rem; object-fit: cover; border-radius: 7rem; }
.alert__title { font-size: 12rem; font-weight: 700; line-height: 15rem; }
.alert__desc { font-size: 11rem; color: #b8bdc5; line-height: 14rem; margin-top: 1rem; }
.alert__price { font-size: 13rem; font-weight: 700; line-height: 16rem; margin-top: 3rem; }

/* ============================================================
   EXPORT  (1386 – 1623)
   ============================================================ */
.export {
  z-index: 3; margin-top: -4rem; margin-bottom: -4rem;
  padding: 26rem 0 22rem; min-height: 237rem;
  clip-path: polygon(0 0, 100% 14rem, 100% calc(100% - 14rem), 0 100%);
}
.export .split { grid-template-columns: 1fr 412rem; column-gap: 20rem; align-items: start; }
.export .lead-bar { max-width: 200rem; }
.export__visual { margin-top: 10rem; }

.table {
  width: 412rem; border-collapse: separate; border-spacing: 0;
  background: #f4f1fa; color: #15131c; border-radius: 10rem; overflow: hidden;
  box-shadow: 0 10rem 28rem rgba(45, 20, 80, .28);
  font-size: 11rem; line-height: 1.2; table-layout: fixed;
}
.table th, .table td { text-align: left; padding: 0 10rem; height: 30.5rem; white-space: nowrap; }
.table th { font-weight: 600; background: #ebe6f3; color: #1f1b28; }
.table th:first-child, .table td:first-child { padding-left: 13rem; width: 86rem; }
.table th:nth-child(2), .table td:nth-child(2) { width: 140rem; }
.table th:nth-child(3), .table td:nth-child(3) { width: 92rem; }
.table td { font-weight: 500; border-top: 1px solid rgba(80, 60, 110, .08); }
.table tbody tr { transition: background-color .2s; }
.table tbody tr:hover { background: #ece7f7; }

/* ============================================================
   VIDEO  (1619 – 1853)
   ============================================================ */
.video { height: 234rem; overflow: hidden; background: #0b0c10; }
.video__fill { display: none; }
/* сцена = сама картинка 2170×725 по центру секции; ссылка play привязана к ней в процентах */
.video__stage {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 0;
  width: min(100%, 724rem); aspect-ratio: 2170 / 725;
}
.video__stage-img { width: 100%; height: 100%; display: block; }
.video__inner { position: relative; z-index: 1; height: 100%; align-items: start; padding-top: 29rem; grid-template-columns: 300rem 1fr; pointer-events: none; }
.video__inner a, .video__inner h2, .video__inner p { pointer-events: auto; }
.video .lead-bar { max-width: 250rem; }
.video__visual { display: none; }
.video__play-link {
  position: absolute; left: 70%; top: 49.8%; width: 9.7%; aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%;
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.video__play-link:hover { transform: scale(1.06); box-shadow: 0 0 0 .18em rgba(112,245,196,.45), 0 0 1.2em rgba(112,245,196,.4); }
.video__play-link:focus-visible { outline-offset: 4rem; }

/* ============================================================
   BENEFITS  (1853 – 2049)
   ============================================================ */
.benefits { padding: 17rem 0 16rem; min-height: 196rem; }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 14rem -8rem 0; }
.benefit { padding: 0 8rem; position: relative; }
.benefit + .benefit { border-left: 1px solid rgba(255,255,255,.18); padding-left: 16rem; }
.benefit__icon { width: 22rem; height: 22rem; transition: transform .35s var(--ease-out); }
.benefit:hover .benefit__icon { transform: translateY(-3rem) scale(1.08); }
.benefit__title { margin-top: 12rem; font-size: 14rem; line-height: 16rem; font-weight: 700; letter-spacing: -0.01em; }
.benefit__text { margin-top: 9rem; font-size: 11rem; line-height: 14rem; color: var(--grey-text); }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: 36rem 0 40rem; text-align: center; overflow: hidden;
  background:
    radial-gradient(55% 140% at 0% 110%, rgba(4,231,167,.26), rgba(4,231,167,0) 60%),
    radial-gradient(50% 140% at 100% -10%, rgba(151,59,240,.34), rgba(151,59,240,0) 60%),
    #0b0d11;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.cta__inner { display: grid; justify-items: center; }
.cta__title { font-size: 36rem; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.cta__text { max-width: 430rem; margin-top: 12rem; font-size: 14.5rem; line-height: 19rem; color: var(--grey-text); }
.cta__actions { display: flex; gap: 12rem; margin-top: 22rem; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { height: 123rem; }
.footer__inner {
  display: grid; grid-template-columns: 330rem 40rem 1fr; align-items: start;
  height: 100%; padding: 23rem 36rem 0 67rem; column-gap: 0;
}
.footer__logo { width: 205rem; height: auto; }
.footer__tagline { margin-top: 10rem; font-size: 15rem; line-height: 19rem; max-width: 290rem; color: #e9ebee; }
.footer__slash { width: 1.5rem; height: 84rem; background: rgba(255,255,255,.85); transform: rotate(20deg); justify-self: center; margin-top: -2rem; }
.footer__actions { display: grid; justify-items: start; gap: 14rem; padding-left: 20rem; padding-top: 6rem; }
.footer__tg {
  display: inline-flex; align-items: center; gap: 9rem; text-decoration: none; padding-left: 18rem;
  font-size: 15rem; font-weight: 700; color: #fff;
}
.footer__tg img { width: 22rem; height: 22rem; }
.footer__tg:hover span { text-decoration: underline; }


/* ============================================================
   MATERIALS — инструкции и статьи на главной
   ============================================================ */
.materials { padding: 34rem 0 36rem; background: #0f1116; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.materials__head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 20rem; }
.materials__note { font-size: 14.5rem; line-height: 18rem; color: var(--grey-text); justify-self: end; max-width: 300rem; }
.materials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10rem; margin-top: 20rem; }
.mcard {
  display: grid; gap: 7rem; align-content: start; padding: 16rem 16rem 18rem; border-radius: 14rem; text-decoration: none; color: inherit;
  background: #171a20; border: 1px solid rgba(255,255,255,.07);
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.mcard:hover { transform: translateY(-3rem); border-color: rgba(112,245,196,.45); box-shadow: 0 14rem 30rem rgba(0,0,0,.4); }
.mcard__label { font-size: 10.5rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mint-accent); }
.mcard--blog .mcard__label { color: #d7b8ff; }
.mcard__title { font-size: 14.5rem; line-height: 17.5rem; font-weight: 700; color: #fff; }
.mcard__text { font-size: 12rem; line-height: 15.5rem; color: #aeb3bb; }
.materials__links { display: flex; gap: 26rem; margin-top: 18rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6rem 18rem; padding-top: 0; margin-top: -2rem; font-size: 11.5rem; color: #8f949c; position: relative; z-index: 2; }
.footer__nav a { color: #c3c7ce; text-decoration: none; }
.footer__nav a:hover { color: var(--mint-accent); }
.footer__nav span { margin-left: auto; }
.footer { height: auto; min-height: 123rem; padding-bottom: 14rem; }


/* ============================================================
   PRICING — тарифы и окно оплаты
   ============================================================ */
.pricing {
  padding: 38rem 0 40rem; overflow: hidden;
  background:
    radial-gradient(55% 120% at 0% 110%, rgba(4,231,167,.22), rgba(4,231,167,0) 60%),
    radial-gradient(50% 120% at 100% -10%, rgba(151,59,240,.30), rgba(151,59,240,0) 60%),
    #0b0d11;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.pricing__head { display: grid; justify-items: center; text-align: center; }
.pricing__head .cta__text { max-width: 460rem; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12rem; margin-top: 24rem; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 20rem 18rem 18rem; border-radius: 16rem;
  background: #15181d; border: 1px solid rgba(255,255,255,.08);
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.plan:hover { transform: translateY(-3rem); border-color: rgba(112,245,196,.35); box-shadow: 0 16rem 34rem rgba(0,0,0,.4); }
.plan--hit { border-color: rgba(112,245,196,.55); background: linear-gradient(180deg, rgba(112,245,196,.10), #15181d 55%); }
.plan__badge {
  position: absolute; top: -10rem; left: 50%; translate: -50% 0; padding: 3rem 12rem; border-radius: 999rem;
  background: var(--mint-accent); color: var(--page-ink); font-size: 10.5rem; font-weight: 800; letter-spacing: .03em; white-space: nowrap;
}
.plan__title { font-size: 16rem; font-weight: 700; color: #fff; }
.plan__price { margin-top: 8rem; font-size: 15rem; color: #c3c7ce; }
.plan__price b { font-size: 38rem; line-height: 1; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.plan__per { margin-top: 4rem; font-size: 12rem; color: var(--mint-accent); min-height: 15rem; }
.plan__list { list-style: none; padding: 0; margin: 14rem 0 16rem; display: grid; gap: 7rem; font-size: 12.5rem; color: #d5d8dd; }
.plan__list li { position: relative; padding-left: 18rem; }
.plan__list li::before { content: "\2713"; position: absolute; left: 0; color: var(--mint-accent); font-weight: 800; }
.plan__btn { margin-top: auto; height: 36rem; font-size: 13rem; font-family: inherit; cursor: pointer; width: 100%; }
.howbuy { counter-reset: hb; list-style: none; padding: 0; margin: 22rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12rem; }
.howbuy li { counter-increment: hb; position: relative; padding-left: 34rem; font-size: 12.5rem; line-height: 16rem; color: #c3c7ce; }
.howbuy li::before {
  content: counter(hb); position: absolute; left: 0; top: -2rem; width: 24rem; height: 24rem; border-radius: 50%;
  display: grid; place-items: center; background: rgba(112,245,196,.14); color: var(--mint-accent); font-weight: 800; font-size: 12rem;
}
.howbuy li b { color: #fff; }
.pricing__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14rem 24rem; margin-top: 22rem; }

.checkout { padding: 0; border: 0; background: transparent; color: inherit; max-width: 94vw; }
.checkout::backdrop { background: rgba(5,6,8,.72); backdrop-filter: blur(4px); }
.checkout__box {
  position: relative; width: min(440px, 94vw); padding: 26px 24px 22px; border-radius: 18px; display: grid; gap: 14px;
  background: #15181d; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 80px rgba(0,0,0,.6); font-size: 15px;
}
.checkout__close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.06); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.checkout__title { font-size: 22px; font-weight: 800; color: #fff; }
.checkout__plan { color: var(--mint-accent); font-weight: 700; margin-top: -8px; }
.checkout__methods { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.checkout__methods legend { font-size: 13px; color: #8f949c; margin-bottom: 6px; }
.method { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.02); }
.method:has(input:checked) { border-color: rgba(112,245,196,.6); background: rgba(112,245,196,.07); }
.method input { margin-top: 3px; accent-color: var(--mint-accent); }
.method span { display: grid; gap: 2px; }
.method b { color: #fff; }
.method small { color: #9aa0a8; font-size: 12.5px; }
.checkout__contact { display: grid; gap: 6px; font-size: 13px; color: #8f949c; }
.checkout__contact input { height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14);
  background: #0f1115; color: #fff; font: inherit; font-size: 15px; }
.checkout__contact input:focus { outline: 2px solid var(--mint-accent); outline-offset: 1px; }
.checkout__contact small { font-size: 12px; color: #6f7580; }
.checkout__error { color: #ff8a8a; font-size: 14px; }
.checkout__error:empty { display: none; }
.checkout__pay { width: 100%; height: 48px; font-size: 16px; font-family: inherit; cursor: pointer; }
.checkout__pay:disabled { opacity: .7; cursor: wait; }
.checkout__note { font-size: 12px; line-height: 1.45; color: #6f7580; }

/* Липкая CTA (только мобильный) */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(11,12,16,.96), rgba(11,12,16,.75));
  transform: translateY(110%); transition: transform .4s var(--ease-out);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { width: 100%; height: 48px; font-size: 16px; }

/* ============================================================
   МОБИЛЬНАЯ ВЕРСИЯ  (< 700 px): 1rem = 1px
   ============================================================ */
@media (max-width: 699px) {
  html { font-size: 1px; }
  body { font-size: 15px; }
  .container { max-width: none; padding: 0 20px; }
  .sticky-cta { display: block; }

  /* Header + burger */
  .header__inner { height: 60px; padding: 0 20px; }
  .header__logo img { width: 140px; }
  .header__burger {
    display: grid; gap: 5px; width: 44px; height: 44px; padding: 10px;
    background: rgba(11,12,16,.55); border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px; cursor: pointer; place-content: center;
  }
  .header__burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    margin-left: 0;
    position: absolute; left: 12px; right: 12px; top: 66px;
    display: none; flex-direction: column; align-items: stretch; gap: 6px;
    padding: 12px; background: rgba(13,15,19,.96); border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.5);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 12px 10px; font-size: 16px; border-radius: 8px; }
  .nav__link::after { display: none; }
  .nav__link:hover { background: rgba(255,255,255,.06); }
  .header__cta { margin-top: 6px; height: 44px; font-size: 15px; }

  /* Hero: компактный заголовок + CTA + панорама витрин в потоке */
  .hero { height: auto; }
  .hero__layer--facade .hero__layer-inner {
    inset: 0;
    background:
      linear-gradient(to bottom, rgba(11,12,16,0) 0, rgba(11,12,16,0) 150px, rgba(11,12,16,.85) 100%),
      url("../assets/backgrounds/hero.webp") center top / auto 190% no-repeat;
    transform: none;
  }
  .hero__inner { padding: 92px 20px 18px; }
  .hero__inner .hero__layer-inner { transform: none; }
  .hero__title { font-size: 46px; }
  .hero__lead { font-size: 16px; line-height: 22px; max-width: none; }
  .hero__cta { position: relative; bottom: auto; padding: 0 20px 24px; flex-wrap: wrap; gap: 10px; }
  .hero__cta .btn { height: 44px; font-size: 15px; padding: 0 22px; }
  .hero__storefront { display: block; position: relative; z-index: 2; width: 100%; }

  /* Categories */
  .categories {
    height: auto; margin: -2px 0 -1px; padding: 28px 0 40px;
    clip-path: polygon(0 0, 100% 8px, 100% calc(100% - 16px), 0 100%);
  }
  .categories__head { grid-template-columns: 1fr; gap: 14px; }
  .categories__title { font-size: 38px; line-height: 40px; }
  .slash-note { justify-self: start; width: auto; margin-top: 4px; font-size: 15px; line-height: 20px; padding-left: 24px; }
  .slash-note::before { height: 44px; top: -2px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 0; }
  .card { height: auto; padding: 5px 5px 9px; }
  .card__photo { height: 110px; }
  .card__label { height: 26px; font-size: 12px; margin-top: 8px; }
  .card__icon { width: 12px; height: 12px; }

  /* Двухколоночные блоки → в столбик */
  .split, .filters .split, .alerts .split, .export .split, .video__inner { grid-template-columns: 1fr; row-gap: 26px; }
  .split__text { gap: 18px; }
  .section-title { font-size: 30px; line-height: 34px; }
  .lead-bar { font-size: 15px; line-height: 21px; padding-left: 14px; }
  .filters .lead-bar, .alerts .lead-bar, .export .lead-bar, .video .lead-bar { max-width: none; }
  .alerts .split__text { margin-right: 0; }
  .btn--sm2 { height: 40px; font-size: 14px; padding: 0 20px; }
  .text-cta { font-size: 15px; }

  .filters { padding: 36px 0 40px; min-height: 0; }
  .filters__visual { justify-self: center; margin: 6px 0 0; width: 100%; }
  .win { width: min(100%, 360px); margin: 0 auto; font-size: 12px; padding: 14px 16px 16px; }
  .win__label { font-size: 11px; margin: 14px 0 6px; }
  .win__field { height: 32px; font-size: 12px; }
  .win__chip { height: 30px; flex-basis: 100%; }
  .win__run { height: 40px; font-size: 14px; }

  .alerts { padding: 36px 0 36px; min-height: 0; clip-path: polygon(0 0, 100% 8px, 100% 100%, 0 100%); }
  .alerts__list { margin: 0; gap: 10px; }
  .alert { height: auto; padding: 12px 14px; }
  .alert__app { font-size: 13px; }
  .alert__time { font-size: 12px; }
  .alert__title { font-size: 14px; line-height: 18px; }
  .alert__desc { font-size: 13px; line-height: 17px; }
  .alert__price { font-size: 15px; line-height: 18px; }
  .alert__photo { width: 73px; height: 50px; }

  .export { padding: 36px 0 40px; min-height: 0; clip-path: polygon(0 0, 100% 10px, 100% calc(100% - 10px), 0 100%); }
  .export__visual { margin: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 10px; }
  .table { width: 100%; min-width: 340px; font-size: 11.5px; }
  .table th, .table td { height: 38px; padding: 0 6px; }
  .table th:first-child, .table td:first-child { width: auto; padding-left: 12px; }
  .table th:nth-child(2), .table td:nth-child(2), .table th:nth-child(3), .table td:nth-child(3) { width: auto; }
  .table td:nth-child(2) { white-space: normal; line-height: 1.15; }

  /* Видео: текст + кликабельный постер */
  .video { height: auto; padding: 36px 0 36px; }
  .video__stage { display: none; }
  .video__inner { height: auto; padding-top: 0; }
  .video__visual { display: block; }
  .video__poster { position: relative; display: block; border-radius: 14px; overflow: hidden; }
  .video__poster img { width: 100%; }
  .video__play {
    position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%);
    border-radius: 50%; background: rgba(11,12,16,.72) url("../assets/icons/play.svg") 55% 50% / 28px no-repeat;
    border: 2px solid rgba(255,255,255,.7); box-shadow: 0 0 0 10px rgba(112,245,196,.18);
  }
  .video__play-link { display: none; }

  .benefits { padding: 36px 0 32px; min-height: 0; }
  .benefits__grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; margin: 22px 0 0; }
  .benefit { padding: 0; }
  .benefit + .benefit { border-left: 0; padding-left: 0; }
  .benefit__icon { width: 26px; height: 26px; }
  .benefit__title { font-size: 16px; line-height: 19px; }
  .benefit__text { font-size: 13px; line-height: 17px; }

  .cta { padding: 40px 0 44px; }
  .cta__title { font-size: 32px; }
  .cta__text { font-size: 15px; line-height: 21px; }
  .cta__actions { margin-top: 22px; }
  .cta__actions .btn { height: 48px; font-size: 16px; padding: 0 26px; }


  .pricing { padding: 40px 0 44px; }
  .plans { grid-template-columns: 1fr; gap: 18px; margin-top: 26px; }
  .plan { padding: 22px 20px 20px; border-radius: 16px; }
  .plan__badge { top: -11px; font-size: 12px; padding: 4px 12px; }
  .plan__title { font-size: 18px; }
  .plan__price { font-size: 16px; margin-top: 8px; }
  .plan__price b { font-size: 42px; }
  .plan__per { font-size: 14px; margin-top: 4px; }
  .plan__list { font-size: 15px; gap: 8px; margin: 14px 0 18px; }
  .plan__list li { padding-left: 20px; }
  .plan__btn { height: 48px; font-size: 16px; }
  .howbuy { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
  .howbuy li { font-size: 15px; line-height: 21px; padding-left: 38px; }
  .howbuy li::before { width: 28px; height: 28px; font-size: 14px; top: -3px; }
  .pricing__links { gap: 16px; margin-top: 24px; }
  .pricing__links .btn { height: 48px; font-size: 15px; padding: 0 22px; }
  .footer { height: auto; padding: 36px 0 96px; }
  .materials { padding: 36px 0 36px; }
  .materials__head { grid-template-columns: 1fr; gap: 10px; }
  .materials__note { justify-self: start; max-width: none; font-size: 15px; line-height: 21px; }
  .materials__grid { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .mcard { padding: 16px; }
  .mcard__title { font-size: 16px; line-height: 20px; }
  .mcard__text { font-size: 13.5px; line-height: 18px; }
  .materials__links { gap: 20px; margin-top: 16px; }
  .footer__nav { font-size: 13px; gap: 8px 16px; padding: 18px 20px 0; }
  .footer__nav span { margin-left: 0; width: 100%; }

  .footer__inner { grid-template-columns: 1fr; height: auto; padding: 0 20px; row-gap: 22px; }
  .footer__logo { width: 190px; }
  .footer__tagline { font-size: 16px; line-height: 22px; max-width: none; }
  .footer__slash { display: none; }
  .footer__actions { padding: 0; gap: 16px; }
  .footer__tg { padding-left: 0; font-size: 16px; }
  .footer .btn { height: 48px; font-size: 16px; padding: 0 36px; }
}

@media (max-width: 380px) {
  .card__label { font-size: 11px; padding: 0 7px; }
  .hero__title { font-size: 40px; }
}

/* Пользователь просил меньше движения — всё статично */
@media (prefers-reduced-motion: reduce) {
  .btn--glow { animation: none; }
  .btn, .text-cta span, .benefit__icon, [data-tilt] { transition: none; }
  .hero__layer-inner, .hero__inner .hero__layer-inner { transform: none !important; }
}
