@import url("../fonts/fonts.css");

/* ============ tokens ============ */
:root {
  --bg: #f6f3fd;
  --bg-soft: #fbfafe;
  --ink: #0c0928;
  --body: #514b70;
  --muted: #7c7697;
  --brand: #6a4be1;
  --brand-2: #8b6bf0;
  --brand-deep: #4c33c4;
  --lav-50: #f5f2fe;
  --lav-100: #ede7fd;
  --lav-200: #e2d9fb;
  --blue-100: #e4eefd;
  --stroke: #e7e1f8;
  --white: #fff;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(28, 16, 74, .05);
  --shadow: 0 18px 40px -24px rgba(40, 22, 100, .28);
  --shadow-lg: 0 40px 80px -40px rgba(40, 22, 100, .35);
  --container: 1520px;
  --container-pad: 40px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ============ reset ============ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #f6f3fd; }

/* место под полосу прокрутки резервируем только там, где она есть */
@media (hover: hover) and (pointer: fine) {
  html { scrollbar-gutter: stable; }
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}

p { margin: 0; }

::selection { background: #d9cdfb; color: var(--ink); }

/* ============ layout ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }

.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.grad-text {
  background: linear-gradient(100deg, #8b6bf0 0%, #5b3bd8 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}

.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #7c5cf6 0%, #5b3bd8 100%);
  box-shadow: 0 16px 30px -16px rgba(91, 59, 216, .85);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px -18px rgba(91, 59, 216, .9);
}

.btn--ghost {
  color: var(--brand-deep);
  background: rgba(255, 255, 255, .6);
  box-shadow: inset 0 0 0 1.5px #d3c9f7;
}

.btn--ghost:hover { background: #fff; transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--brand-deep); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--sm { padding: 12px 22px; font-size: 15px; border-radius: 12px; }
.btn--block { width: 100%; }

/* ============ header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 11px 0;
}

/* подложка шапки: сплошной фон, линия снизу и лёгкая тень от неё */
.header::before {
  content: "";
  position: absolute;
  inset: -2px 0 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s var(--ease);
  background: #f6f3fd;
  border-bottom: 1px solid #ddd4f3;
  box-shadow: 0 2px 4px rgba(28, 16, 74, .08);
}

.header.is-stuck::before { opacity: 1; }

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.logo img {
  display: block;
  height: 54px;
  width: auto;
}

.footer .logo img { height: 44px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  justify-self: center;
}

.nav a {
  font-size: 15.5px;
  font-weight: 600;
  color: #3b3558;
  transition: color .2s var(--ease);
}

.nav a:hover { color: var(--brand); }

.header__cta { justify-self: end; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.burger span { top: 50%; margin-top: -1px; }
.burger span::before { content: ""; top: -6px; }
.burger span::after { content: ""; top: 6px; }

.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.burger.is-open span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ============ hero ============ */
.hero {
  position: relative;
  padding: 32px 0 24px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -220px -160px auto auto;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(147, 118, 245, .22), rgba(147, 118, 245, 0) 68%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.hero__copy { position: relative; z-index: 2; }

.hero h1 {
  margin: 20px 0 0;
  max-width: 640px;
  font-size: clamp(30px, 3.55vw, 56px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.hero h1 .grad-text { white-space: nowrap; }

.hero__lead {
  margin-top: 22px;
  max-width: 520px;
  font-size: 18px;
  color: #4a4470;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  /* шаг между фактами сжимается вместе с экраном, чтобы три колонки держались дольше */
  gap: 18px clamp(16px, 5vw, 64px);
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(106, 75, 225, .13);
}

.trust-item { display: flex; align-items: flex-start; gap: 10px; min-width: 0; flex: 1 1 190px; max-width: 260px; }

.trust-item__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, .85);
  color: var(--brand);
  box-shadow: 0 2px 6px rgba(28, 16, 74, .04);
  line-height: 0;
}

.trust-item__icon svg { display: block; }

.trust-item__text { min-width: 0; }

.trust-item__text b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  /* без переноса на узких экранах заголовок вылезал в соседнюю колонку и накрывал иконку */
  white-space: normal;
}

.trust-item__text span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}

.hero__visual {
  position: relative;
}

/* органические «тучки» за роботом и чатом */
.hero__clouds {
  position: absolute;
  inset: -7% -9% -9% -4%;
  z-index: 0;
  pointer-events: none;
}

.cloud {
  position: absolute;
  display: block;
  border-radius: 46% 54% 58% 42% / 54% 44% 56% 46%;
}

.cloud--1 {
  inset: 6% 3% 8% 9%;
  background: radial-gradient(120% 115% at 22% 12%, #f8f5ff 0%, #e3d7fd 36%, #c9b2f5 72%, #b498ef 100%);
  transform: rotate(-3deg);
}

.cloud--2 {
  width: 62%;
  height: 58%;
  right: 3%;
  top: 13%;
  border-radius: 58% 42% 50% 50% / 60% 46% 54% 40%;
  background: radial-gradient(115% 120% at 78% 18%, #ebdffe 0%, #d0bcf9 40%, #a98aee 100%);
  opacity: .92;
  transform: rotate(-11deg);
}

.cloud--3 {
  width: 42%;
  height: 36%;
  left: -2%;
  bottom: 1%;
  border-radius: 50% 50% 58% 42% / 46% 56% 44% 54%;
  background: radial-gradient(120% 120% at 18% 82%, #f8f4ff 0%, #e3d5fd 44%, #cbb4f6 100%);
  opacity: .85;
  transform: rotate(9deg);
}

.hero__visual img {
  position: relative;
  z-index: 1;
}

/* ---- сцена героя: робот + чат, собранный кодом ---- */
.hero__scene {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.scene__robot {
  width: 100%;
  max-width: 320px;
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 26px 34px rgba(58, 30, 130, .16));
}

.scene__chat { position: relative; display: grid; gap: 12px; }

.bubble {
  padding: 12px 15px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: #2f2a4d;
  box-shadow: 0 16px 30px -24px rgba(40, 22, 100, .6);
}

.bubble--client {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  background: #fff;
}

.bubble__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #f3eefe;
  color: var(--brand);
}

.bubble__text { margin: 0; }

.bubble__meta {
  grid-column: 2;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #a49cbb;
}

.bubble__tick { color: #4a9ef0; }

.bubble--bot { background: #e9e1fd; }

.bubble-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: end;
}

.bubble__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 8px 16px -10px rgba(40, 22, 100, .55);
}

.product-card {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 250px;
  justify-self: end;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 34px -26px rgba(40, 22, 100, .6);
}

.product-card img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: #f6f5fa;
}

.product-card__info { min-width: 0; }

.product-card b { display: block; font-size: 16px; color: var(--ink); letter-spacing: -.02em; }

.product-card__btn {
  display: inline-block;
  margin-top: 6px;
  padding: 7px 14px;
  border-radius: 9px;
  background: linear-gradient(135deg, #7c5cf6, #5b3bd8);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* ---- анимация чата в герое ---- */
.anim .hero__scene .bubble__meta,
.anim .hero__scene .bubble-row,
.anim .hero__scene .product-card {
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}

.anim .hero__scene .bubble__meta.is-in,
.anim .hero__scene .bubble-row.is-in,
.anim .hero__scene .product-card.is-in {
  opacity: 1;
  transform: none;
}

.anim .hero__scene .product-card__btn {
  opacity: 0;
  transform: scale(.12);
  transform-origin: 18% 50%;
}

.anim .hero__scene .product-card__btn.is-pop {
  animation: btn-pop .5s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

@keyframes btn-pop {
  0% { opacity: 0; transform: scale(.12); }
  55% { opacity: 1; transform: scale(1.07); }
  100% { opacity: 1; transform: scale(1); }
}

.bubble__text.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 1px;
  vertical-align: -2px;
  background: currentColor;
  animation: caret .9s steps(1) infinite;
}

@keyframes caret {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* ============ channels ============ */
.channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.channel {
  position: relative;
  padding: 36px 32px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.channel--shop { background: linear-gradient(165deg, #f0eafe 0%, #e8dffc 100%); }
.channel--tg { background: linear-gradient(165deg, #e9f1fe 0%, #dfeafd 100%); }

.channel__head { display: flex; align-items: center; gap: 14px; }

.channel__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--brand);
}

.channel--tg .channel__icon { color: #2f8fdb; }

.channel h3 { font-size: 23px; line-height: 1.2; }
.channel h3 small { display: block; font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 3px; }

.channel__list { margin: 22px 0 24px; display: grid; gap: 11px; }

.channel__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  color: #3f3a5e;
}

.channel__list svg { flex: none; margin-top: 3px; color: var(--brand); }
.channel--tg .channel__list svg { color: #2f8fdb; }

.channel .btn { align-self: flex-start; margin-bottom: 26px; }

.channel__mock {
  margin-top: auto;
  padding-top: 6px;
  transform: translateY(14px);
}

/* mock browser window */
.mock {
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -2px 0 rgba(255, 255, 255, .6), 0 24px 50px -30px rgba(45, 25, 110, .5);
  overflow: hidden;
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: #f5f3fb;
  border-bottom: 1px solid #eee9f8;
}

.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: #d8d2ea; }
.mock__dot:nth-child(1) { background: #f3b3b3; }
.mock__dot:nth-child(2) { background: #f6d79a; }
.mock__dot:nth-child(3) { background: #b3e2bd; }

.mock__body { padding: 16px 16px 20px; display: grid; gap: 10px; background: #fdfcff; }

.msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
}

.msg--in { justify-self: end; background: #f1ecfd; color: #2f2a4d; border-bottom-right-radius: 5px; }
.msg--out { justify-self: start; background: #fff; color: #2f2a4d; border: 1px solid #efeaf9; border-bottom-left-radius: 5px; }

.msg__time { display: block; margin-top: 4px; font-size: 11px; color: #a49cbb; text-align: right; }

.product {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #efeaf9;
}

.product img {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  object-fit: cover;
  background: #f6f5fa;
}

.product b { display: block; font-size: 13px; color: var(--ink); }
.product span { font-size: 12.5px; color: var(--brand); font-weight: 700; }

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 9px;
  background: linear-gradient(135deg, #7c5cf6, #5b3bd8);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

/* phone mock */
.phone {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 9px;
  border-radius: 26px 26px 0 0;
  background: #1b1a26;
  box-shadow: 0 24px 50px -30px rgba(25, 15, 70, .55);
}

.phone__screen { border-radius: 18px 18px 0 0; background: #f5f7fb; overflow: hidden; }

.phone__top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 12px 10px;
  background: #fff;
  border-bottom: 1px solid #edf0f6;
}

.phone__avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c5cf6, #5b3bd8);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.phone__name { font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.phone__status { font-size: 10.5px; color: #2f8fdb; font-weight: 600; }

.phone__body {
  padding: 12px;
  display: grid;
  gap: 8px;
  background-color: #eaf1fa;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .26)),
    url("../img/tg-chat-bg.webp");
  background-size: cover;
  background-position: center 34%;
}

.bubble {
  max-width: 88%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.4;
}

.bubble--me { justify-self: end; background: #dcecff; color: #1e3554; border-bottom-right-radius: 4px; }
.bubble--bot { justify-self: start; background: #fff; color: #24304a; border-bottom-left-radius: 4px; }

/* ============ features ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.feature {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--lav-50);
  color: var(--brand);
}

.feature h3 { font-size: 18.5px; margin-bottom: 8px; letter-spacing: -.02em; }
.feature p { font-size: 15px; color: var(--muted); }

/* ============ steps ============ */
.steps-wrap .section-head { margin-bottom: 30px; }

.steps-cta { margin-top: 30px; display: flex; justify-content: center; }

.section-head--dark h2 { color: #fff; }
.section-head--dark p { color: #c3bbdf; }
.section-head--dark .eyebrow { background: rgba(255, 255, 255, .12); color: #e9e3ff; box-shadow: none; }
.section-head--dark .eyebrow::before { background: #b8a4f7; }

.steps-wrap {
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(135deg, #241a52 0%, #3a2278 55%, #573399 100%);
  box-shadow: var(--shadow-lg);
}

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }

.step {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 30px -26px rgba(12, 6, 40, .9);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: linear-gradient(135deg, #7c5cf6, #5b3bd8);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.step h3 { font-size: 17.5px; margin-bottom: 7px; letter-spacing: -.02em; }
.step p { font-size: 14.5px; color: var(--muted); }

.step::after {
  content: "";
  position: absolute;
  top: 45px;
  right: -12px;
  width: 12px;
  height: 2px;
  background: rgba(255, 255, 255, .35);
  pointer-events: none;
}

.step:last-child::after { display: none; }

/* ============ shop / split ============ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.split h2 { font-size: clamp(27px, 3.2vw, 40px); }
.split p.lead { margin-top: 18px; font-size: 17px; color: var(--muted); }

.ticks { margin-top: 26px; display: grid; gap: 13px; }

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15.5px;
  color: #3f3a5e;
}

.ticks svg { flex: none; margin-top: 4px; color: var(--brand); }

.code-card {
  border-radius: var(--radius-lg);
  background: #17142a;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.code-card__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #1f1b36;
}

.code-card__bar span { width: 9px; height: 9px; border-radius: 50%; background: #3b3558; }
.code-card__bar span:nth-child(1) { background: #ff5f57; }
.code-card__bar span:nth-child(2) { background: #febc2e; }
.code-card__bar span:nth-child(3) { background: #28c840; }
.code-card__bar b { margin-left: 8px; font-size: 12px; font-weight: 600; color: #8f88ad; }

.code-card pre {
  margin: 0;
  padding: 20px 22px 24px;
  overflow-x: auto;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.75;
  color: #d8d3ee;
}

.code-card .k { color: #b493ff; }
.code-card .s { color: #8ee6b0; }
.code-card .a { color: #ffd580; }
.code-card .c { color: #6f6892; }

/* ============ telegram section ============ */
.tg-section {
  position: relative;
  border-radius: 34px;
  padding: 56px;
  background: linear-gradient(120deg, #f3eeff 0%, #eaf1ff 100%);
  overflow: hidden;
}

.tg-section .split { gap: 40px; }

.tg-visual { position: relative; display: grid; place-items: center; }

.tg-visual img {
  width: min(100%, 420px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  align-self: center;
  justify-self: center;
  border-radius: 28px;
  filter: drop-shadow(0 30px 50px rgba(58, 30, 130, .18));
}

.tg-badge {
  position: absolute;
  right: 6%;
  bottom: 10%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.tg-badge i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #e7f7ee;
  color: #1faa5c;
}

/* ============ audience ============ */
.audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.aud {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.aud:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.aud__icon { color: var(--brand); margin-bottom: 14px; }
.aud h3 { font-size: 16.5px; margin-bottom: 6px; letter-spacing: -.02em; }
.aud p { font-size: 14px; color: var(--muted); }

/* ============ demo ============ */
.demo-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: 34px;
  background: linear-gradient(135deg, #241a52 0%, #3a2278 55%, #573399 100%);
  color: #ded8f6;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.demo-card::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 107, 240, .5), transparent 70%);
  /* декоративное пятно: иначе на узком экране оно перекрывает кнопку «Открыть демо» */
  pointer-events: none;
}

.demo-card h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); }
.demo-card p { margin-top: 16px; font-size: 16.5px; color: #c3bbdf; }
.demo-card .btn { margin-top: 28px; }

.demo-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13.5px;
  color: #a79dc9;
}

/* ============ pricing ============ */
.pricing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }

.pricing__track { display: contents; }

.pricing__hint { display: none; margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

.pricing__note {
  max-width: 700px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.plan__monthly {
  margin: -12px 0 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-deep);
}

/* Пилотный запуск — широкая карточка сверху */
.pricing .plan--pilot {
  grid-column: 1 / -1;
  padding: 30px 32px;
  background: linear-gradient(115deg, #f4ecff 0%, #e6d8fc 58%, #dccbfa 100%);
  border-color: #c9b7f8;
  box-shadow: var(--shadow);
}

.pricing .plan--pilot .plan__tag {
  position: static;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 16px;
}

.pilot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 230px);
  gap: 36px;
  align-items: start;
}

.pilot__main .plan__desc { min-height: 0; }
.pilot__main .plan__price { margin: 16px 0 0; }
.pilot__main .plan__monthly { margin: 6px 0 0; }

.pilot__cta { display: grid; gap: 10px; align-content: center; }

.plan__note { font-size: 12.5px; color: var(--muted); text-align: center; }

/* цена со скидкой (пилотный запуск) */
.plan__deal {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
}

.plan__old {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.plan__badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: #d8f36a;
  color: #2b3a00;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.plan__deal + .plan__price { margin-top: 2px; }

/* в широкой карточке «Пилот» поджимаем список, чтобы «i» стояли ближе к тексту */
@media (min-width: 1121px) {
  .pricing .plan--pilot ul {
    width: max-content;
    max-width: 100%;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 56px 28px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.plan--hot {
  background: linear-gradient(170deg, #f3edff 0%, #eae1fd 100%);
  border-color: #cdbdfa;
  box-shadow: var(--shadow);
}

.plan__tag {
  position: absolute;
  white-space: nowrap;
  top: 22px;
  left: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.plan h3 { font-size: 21px; }
.plan__desc { margin-top: 6px; font-size: 14px; color: var(--muted); min-height: 42px; }

.plan__price {
  margin: 18px 0 20px;
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-deep);
  letter-spacing: -.03em;
}

.plan__price small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 4px; }

.plan ul { display: grid; gap: 11px; margin-bottom: 26px; }

.plan li { display: flex; gap: 10px; font-size: 14.5px; color: #3f3a5e; }
.plan li svg { flex: none; margin-top: 3px; color: var(--brand); }

.plan__trial { color: var(--brand-deep); font-weight: 700; }

/* строка тарифа: иконка + текст + «?» */
.plan li.plan__row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  width: 100%;
}

.plan__ico {
  margin-top: 3px;
  color: var(--brand);
  flex: none;
}

.plan__label { min-width: 0; }

.plan__q {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  padding-right: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}

.plan__q:hover,
.plan__q:focus-visible {
  background: var(--brand-deep);
}

/* всплывающая подсказка */
.tip-pop {
  position: fixed;
  z-index: 90;
  max-width: 240px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #241a52;
  color: #f4f1ff;
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 500;
  box-shadow: 0 18px 34px -18px rgba(20, 10, 60, .7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  pointer-events: none;
}

.tip-pop.is-on {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.plan__trial svg { color: var(--brand-deep); }
.plan .btn { margin-top: auto; }

/* ============ faq ============ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }

.acc {
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.acc__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.015em;
}

.acc__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--lav-50);
  color: var(--brand);
  transition: transform .3s var(--ease), background .3s var(--ease);
}

.acc[open] .acc__icon { transform: rotate(45deg); background: var(--brand); color: #fff; }

.acc__a { padding: 0 24px 22px; font-size: 15.5px; color: var(--muted); }

/* ============ form ============ */
.contact {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 48px;
  padding: 52px;
  border-radius: 34px;
  background: linear-gradient(150deg, #f1ebfe 0%, #e7f0fe 100%);
}

.contact h2 { font-size: clamp(26px, 3vw, 38px); }
.contact p.lead { margin-top: 16px; font-size: 16.5px; color: #4a4470; }

.contact__points { margin-top: 28px; display: grid; gap: 14px; }
.contact__points li { display: flex; gap: 10px; font-size: 15px; color: #3f3a5e; }
.contact__points svg { flex: none; margin-top: 3px; color: var(--brand); }

.form { display: grid; gap: 14px; padding: 28px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }

.field { display: grid; gap: 7px; }

.field label { font-size: 13.5px; font-weight: 700; color: #3b3558; }
.field label span { font-weight: 500; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid #e6e0f6;
  border-radius: 12px;
  background: #fbfaff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.field textarea { resize: vertical; min-height: 84px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--brand-2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(139, 107, 240, .14);
}

.field input::placeholder, .field textarea::placeholder { color: #a9a2c0; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.check input { width: 17px; height: 17px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }
.check a { color: var(--brand-deep); text-decoration: underline; }

.form__note { font-size: 12px; color: #9a93b3; text-align: center; }

.form__status { display: none; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.form__status.is-ok { display: block; background: #e8f8ee; color: #16794a; }
.form__status.is-err { display: block; background: #fdeaea; color: #b42318; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ============ footer ============ */
.footer { padding: 56px 0 34px; border-top: 1px solid rgba(106, 75, 225, .12); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: 36px;
}

.footer p.desc { margin-top: 14px; max-width: 280px; font-size: 14.5px; color: var(--muted); }

.footer h4 { font-size: 14px; letter-spacing: 0; margin-bottom: 14px; }
.footer li { margin-bottom: 9px; }
.footer li a { font-size: 14.5px; color: #4a4470; transition: color .2s var(--ease); }
.footer li a:hover { color: var(--brand); }

.footer__contacts li { font-size: 14.5px; color: #4a4470; }
.footer__contacts a { font-weight: 600; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(106, 75, 225, .1);
  font-size: 13px;
  color: #8b84a6;
}

/* ============ strip ============ */
.strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 16px 16px 16px 28px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.strip__items { display: flex; flex-wrap: nowrap; min-width: 0; }

.strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 16px;
  border-left: 1px solid #eee9f8;
}

.strip__item:first-child { border-left: 0; padding-left: 0; }

.strip__item i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: var(--lav-50);
  color: var(--brand);
}

.strip__item b { display: block; font-size: 13.5px; color: var(--ink); line-height: 1.25; }
.strip__item span { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }

.strip__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7c5cf6, #4c33c4);
  color: #fff;
  box-shadow: 0 16px 30px -18px rgba(76, 51, 196, .9);
}

.strip__card b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.strip__card span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .8); }

/* ============ doc pages ============ */
.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 0 96px;
}

.doc__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-deep);
}

.doc h1 {
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -.03em;
}

.doc__meta {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--muted);
}

.doc h2 {
  margin: 38px 0 12px;
  font-size: 21px;
  letter-spacing: -.02em;
}

.doc h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  letter-spacing: -.01em;
}

.doc p,
.doc li {
  font-size: 16px;
  line-height: 1.68;
  color: #4a4470;
}

.doc p + p { margin-top: 10px; }

.doc ul,
.doc ol {
  margin: 10px 0 0;
  padding-left: 22px;
  list-style: disc;
}

.doc ol { list-style: decimal; }
.doc li { margin-bottom: 7px; }
.doc li::marker { color: var(--brand); }

.doc a:not(.btn) { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 2px; }

.doc__note {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--lav-50);
  font-size: 15px;
  color: #4a4470;
}

/* незаполненные места в документах — подсвечены, чтобы не забыть */
.ph {
  background: #fdf3d4;
  border-bottom: 1px dashed #d9bb73;
  border-radius: 3px;
  padding: 0 4px;
  color: #6b5300;
  white-space: nowrap;
}

/* блок реквизитов */
.doc__req {
  margin-top: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 15.5px;
  line-height: 1.75;
  color: #3f3a5e;
}

.doc__req b { color: var(--ink); }

/* карточки документов */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.doc-card {
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.doc-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 11px;
  background: var(--lav-50);
  color: var(--brand);
}

.doc-card h3 { margin: 0 0 6px; font-size: 16.5px; }
.doc-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 0; }

.doc-steps {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  counter-reset: dstep;
}

.doc-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.doc-step__num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #7c5cf6, #5b3bd8);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.doc-step b { display: block; font-size: 15.5px; color: var(--ink); }
.doc-step > div > span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--muted); }

@media (max-width: 720px) {
  .docs-grid { grid-template-columns: 1fr; }
  .doc { padding: 32px 0 64px; }
  .doc h2 { margin-top: 30px; }
}

/* ============ reveal ============ */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js .reveal.is-in { opacity: 1; transform: none; }

.noanim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ large screens ============ */
@media (min-width: 1280px) {
  body { font-size: 18px; }

  .hero__lead { font-size: 19px; }
  .hero__trust { gap: 18px 72px; }

  .section-head h2 { font-size: clamp(32px, 3.1vw, 50px); }
  .section-head p { font-size: 19px; }

  .feature { padding: 30px; }
  .feature h3 { font-size: 20px; }
  .feature p { font-size: 15.5px; }

  .step h3 { font-size: 19px; }
  .step p { font-size: 15.5px; }

  .channel h3 { font-size: 25px; }
  .channel__list li { font-size: 16.5px; }

  .split h2 { font-size: clamp(30px, 2.9vw, 46px); }
  .split p.lead { font-size: 18px; }
  .ticks li { font-size: 16.5px; }

  .plan { padding: 62px 32px 36px; }
  .plan h3 { font-size: 23px; }
  .plan__desc { font-size: 14.5px; }
  .plan__price { font-size: 29px; }
  .plan li { font-size: 15.5px; }

  .acc__q { font-size: 17.5px; padding: 24px 26px; }
  .acc__a { font-size: 16px; }

  .aud { padding: 28px 24px; }
  .aud h3 { font-size: 18px; }
  .aud p { font-size: 14.5px; }

  .strip__item b { font-size: 14.5px; }
  .strip__item span { font-size: 13px; }

  .footer p.desc { font-size: 15px; }
  .footer li a, .footer__contacts li { font-size: 15px; }

  .btn { font-size: 17px; padding: 18px 30px; }
  .btn--sm { font-size: 15.5px; padding: 13px 24px; }
}

/* ============ responsive ============ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__visual { order: -1; max-width: 560px; margin: 0 auto; width: 100%; }
  .strip { grid-template-columns: 1fr; }
  .strip__card { justify-content: center; }
  .hero__lead { max-width: none; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
  .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .tg-section, .contact, .demo-card { padding: 36px; }
  .split, .demo-card, .contact { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 1120px) {
  .pricing {
    display: block;
    margin-inline: calc(-1 * var(--container-pad));
    padding: 2px 0 6px;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    cursor: grab;
  }
  .pricing.is-drag { cursor: grabbing; }
  .pricing__track {
    display: flex;
    position: relative;
    align-items: stretch;
    gap: var(--container-pad);
    padding-inline: var(--container-pad);
    width: max-content;
    will-change: transform;
  }
  .pricing__track > .plan {
    flex: 0 0 auto;
    width: 78vw;
    padding: 16px 14px;
  }
  .plan__tag {
    position: static;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 10px;
  }
  .pricing__hint { display: block; }
  .plan h3 { font-size: 17px; }
  .plan__desc { font-size: 12.5px; min-height: 0; margin-top: 4px; }
  .plan__price { font-size: 22px; margin: 12px 0 0; }
  .plan__price small { font-size: 11.5px; margin-top: 2px; }
  .plan__monthly { font-size: 12.5px; margin: 2px 0 12px; }
  .plan ul { gap: 6px; margin-bottom: 14px; }
  .plan li { font-size: 12.5px; gap: 8px; }
  .plan__trial { font-size: 12px; }
  .plan__row { gap: 8px; }
  .plan__label { font-size: 12.5px; }
  .plan li svg { width: 15px; height: 15px; margin-top: 2px; }
  .plan .btn { padding: 12px 16px; font-size: 14px; }
  .plan__note { font-size: 11.5px; }
  .plan:hover { transform: none; }
  .plan--pilot .plan__desc { display: none; }
  .pricing__note { margin-top: 18px; }
}

@media (min-width: 721px) and (max-width: 1120px) {
  .pricing .plan ul { width: max-content; max-width: 100%; }
}

@media (max-width: 900px) {
  .pilot__grid { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 1024px) and (min-width: 721px) {
  /* в этом диапазоне пункт шириной 190 px — заголовок крупнее 14 px переносится */
  .trust-item__text b { font-size: 14px; }
  .trust-item__text span { font-size: 13px; }
}
@media (max-width: 1300px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14.5px; }
  .logo img { height: 44px; }
  .header .btn--sm { padding: 11px 18px; font-size: 14.5px; }
}

@media (max-width: 1120px) {
  .nav {
    /* меню — широкий лист под шапкой: те же поля по бокам, что у кнопки-бургера,
       плюс небольшой зазор от шапки. width задаём явно: с одними left/right: 0
       браузер считает ширину по содержимому и лист выходит узким. */
    position: fixed;
    top: calc(var(--header-h, 66px) + 8px);
    left: var(--container-pad);
    width: calc(var(--nav-w, 100vw) - var(--container-pad) * 2);
    max-width: none;
    bottom: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 10px 16px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 44px -26px rgba(28, 18, 66, .38);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }

  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 15px 4px; border-radius: 10px; font-size: 17px; }
  .nav a:hover { background: var(--lav-50); }
  .burger {
    display: block;
    /* ставим крестик ровно по правому краю меню: тот же отступ, что и у листа меню */
    position: absolute;
    right: var(--container-pad);
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }
  .header__cta { display: none; }
  .header__inner { gap: 12px; grid-template-columns: auto 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .channels { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .feature { padding: 16px 14px; border-radius: 15px; }
  .feature__icon { width: 36px; height: 36px; margin-bottom: 12px; border-radius: 10px; }
  .feature__icon svg { width: 19px; height: 19px; }
  .feature h3 { font-size: 15px; margin-bottom: 6px; line-height: 1.25; }
  .feature p { font-size: 13px; line-height: 1.45; }
  .steps { grid-template-columns: 1fr; }
  .steps-wrap { padding: 16px; border-radius: 26px; }
  .steps-cta { margin-top: 20px; }
  .steps-cta .btn { width: 100%; }
  .step { padding: 20px 18px 22px; }
  /* на телефоне не заставляем столбик: пункты переносятся сами — где влезают три,
     где две, а на совсем узком экране остаётся по одному в строке */
  .hero__trust { gap: 16px 20px; }
  .trust-item { min-width: 0; flex: 0 0 auto; width: 200px; max-width: none; }
  .tg-section, .contact, .demo-card { padding: 26px; border-radius: 24px; }
  .form { padding: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .channel { padding: 26px 22px 0; }
  .audience { grid-template-columns: 1fr; }
  .hero { padding-top: 20px; }
  .faq { gap: 10px; }
  .acc__q { padding: 18px; font-size: 15.5px; }
  .demo-card .btn, .contact .btn { width: 100%; }
}

/* совсем узкие экраны: каждый факт в своей строке во всю ширину */
@media (max-width: 480px) {
  .hero__trust { flex-direction: column; gap: 14px; }
  .trust-item { width: auto; flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .grid-3 { gap: 10px; }
  .feature { padding: 14px 12px; border-radius: 14px; }
  .feature h3 { font-size: 14px; }
  .feature p { font-size: 12.5px; line-height: 1.42; }
}

@media (max-width: 420px) {
  :root { --container-pad: 18px; }
  .hero h1 { font-size: 27px; }
  .btn { padding: 14px 22px; font-size: 15px; }
}


@media (max-width: 480px) {
  .hero__visual { width: auto; max-width: none; margin-inline: calc(-1 * var(--container-pad)); }
  .hero__clouds { inset: -6% -6% -8% -10%; }
  .cloud--1 { background: radial-gradient(120% 115% at 22% 12%, #f8f5ff 0%, #e3d7fd 36%, #c9b2f5 72%, #b498ef 100%); }
  .cloud--2 { opacity: 1; background: radial-gradient(115% 120% at 78% 18%, #ebdffe 0%, #d0bcf9 40%, #a98aee 100%); }
  .cloud--3 { opacity: 1; background: radial-gradient(120% 120% at 18% 82%, #f8f4ff 0%, #e3d5fd 44%, #cbb4f6 100%); }
  .hero__scene {
    grid-template-columns: minmax(0, 1fr) minmax(0, 200px);
    gap: 6px;
    align-items: end;
    justify-items: stretch;
  }
  .hero__visual .scene__robot {
    max-width: none;
    width: 100%;
    margin-left: 6px;
    margin-bottom: 6px;
    justify-self: start;
  }
  .scene__chat { width: 100%; gap: 8px; }
  .bubble { font-size: 12.5px; line-height: 1.4; padding: 9px 11px; border-radius: 13px; }
  .bubble--client { grid-template-columns: auto 1fr; gap: 2px 8px; }
  .bubble__icon { width: 24px; height: 24px; border-radius: 7px; }
  .bubble__icon svg { width: 13px; height: 13px; }
  .bubble__avatar { width: 26px; height: 26px; }
  .bubble__avatar svg { width: 13px; height: 13px; }
  .bubble__meta { font-size: 10px; }
  .bubble__tick { width: 12px; height: 12px; }
  .bubble-row { gap: 6px; }
  .product-card { max-width: 100%; padding: 8px; gap: 9px; border-radius: 13px; }
  .strip { padding: 18px; }
  .strip__items { display: grid; gap: 2px; }
  .strip__item { border-left: 0; padding: 6px 0; }
  .product-card img { width: 42px; height: 42px; border-radius: 8px; }
  .product-card b { font-size: 14px; }
  .product-card__btn { font-size: 11px; padding: 6px 10px; margin-top: 4px; }
}

/* 481-720: раскладка как на планшете (эталон — 721 px) */
@media (min-width: 481px) and (max-width: 720px) {
  .hero__visual {
    width: auto;
    max-width: 560px;
    margin-inline: calc(-1 * var(--container-pad));
    justify-self: center;
  }
}
