/*
 * Лендинг, вариант 4 (/v2). Свои стили, без Tailwind: классы телефонов
 * в сборку eventbot-ui.css не попали бы, и страница молча потеряла бы вид.
 *
 * Префиксы: lp-* — страница; sb, tg-*, mx-*, wa-*, m, bub, ikb — экраны в телефоне.
 * Цвета — переменные ниже; тёмной темы у лендинга нет, как и у основного.
 */

:root {
  color-scheme: light;
  --ink: #1d1a3a;
  --ink-2: #3a3760;
  --muted: #625f80;
  --line: #e6e4f3;
  --bg: #fbfaff;
  --tint: #f4f2ff;
  --card: #ffffff;
  --primary: #4a40e0;
  --primary-2: #8f8bff;
  --primary-ink: #3a31c4;
  --ok: #0f9f6e;
  --grad: linear-gradient(135deg, #4a40e0 0%, #8f8bff 100%);
  --shadow: 0 1px 2px rgb(29 26 58 / 0.04), 0 8px 28px rgb(74 64 224 / 0.08);
  --radius: 20px;
  --head: "Manrope", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

.lp-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Шапка ---------- */

.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(251 250 255 / 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.lp-header__row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.lp-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.lp-logo__mark {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad);
  display: grid;
  grid-template-columns: repeat(3, 4px);
  gap: 3px;
  place-content: center;
  box-shadow: 0 4px 12px rgb(74 64 224 / 0.3);
}

.lp-logo__mark i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.lp-logo__mark i:nth-child(2) {
  opacity: 0.7;
}

.lp-logo__mark i:nth-child(3) {
  opacity: 0.45;
}

.lp-nav {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}

.lp-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}

.lp-nav a:hover {
  background: var(--tint);
  color: var(--primary-ink);
}

.lp-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.lp-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
}

.lp-link:hover {
  color: var(--primary);
}

.lp-burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.lp-burger span {
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.lp-mobile-nav {
  display: none;
}

/* ---------- Кнопки ---------- */

.lp-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.lp-btn:hover {
  transform: translateY(-1px);
}

.lp-btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 22px rgb(74 64 224 / 0.3);
}

.lp-btn--primary:hover {
  box-shadow: 0 10px 28px rgb(74 64 224 / 0.38);
}

.lp-btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: #d9d6f2;
}

.lp-btn--ghost:hover {
  border-color: var(--primary-2);
  color: var(--primary-ink);
}

.lp-btn--light {
  background: #fff;
  color: var(--primary-ink);
  box-shadow: 0 8px 22px rgb(20 12 90 / 0.18);
}

.lp-btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 0.5);
}

.lp-btn--outline-light:hover {
  background: rgb(255 255 255 / 0.1);
}

.lp-btn--sm {
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 12px;
}

.lp-btn--lg {
  padding: 15px 28px;
  font-size: 16px;
  min-height: 60px;
}

.lp-btn--lg small {
  font-family: var(--body);
  font-weight: 500;
  font-size: 12.5px;
  opacity: 0.85;
}

.lp-btn--block {
  display: flex;
  width: 100%;
}

/* ---------- Типографика секций ---------- */

.lp-h1 {
  margin: 0;
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(30px, 3.1vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.lp-h1__line {
  display: block;
}

.lp-h1__line::first-letter {
  color: var(--primary);
}

.lp-h1__line--accent {
  background: linear-gradient(90deg, #4a40e0, #3d8bd9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-h2 {
  margin: 0;
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.lp-h3 {
  margin: 0;
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.lp-lead {
  margin: 22px 0 0;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 34em;
}

.lp-sub {
  margin: 14px auto 0;
  max-width: 44em;
  color: var(--muted);
  font-size: 17px;
}

.lp-kicker {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: #e9e6ff;
  color: var(--primary-ink);
  font-family: var(--head);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.lp-kicker--plain {
  padding: 0;
  background: none;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.lp-section {
  padding: 96px 0;
}

.lp-section--tint {
  background: var(--tint);
}

.lp-section__head {
  text-align: center;
  margin-bottom: 48px;
}

.lp-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Первый экран ---------- */

.lp-hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
}

.lp-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 380px at 85% 10%, rgb(143 139 255 / 0.22), transparent 70%),
    radial-gradient(520px 320px at 5% 90%, rgb(42 171 238 / 0.1), transparent 70%);
}

.lp-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
  gap: 44px;
  align-items: start;
}

.lp-hero__text {
  padding-top: 18px;
}

.lp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.lp-hero__note {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.lp-chipset {
  margin-top: 24px;
}

.lp-chipset + .lp-chipset {
  margin-top: 16px;
}

.lp-chipset__label {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.lp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 500;
}

.lp-chip i,
.lp-demo__tab i,
.lp-flow__list i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
  flex: none;
}

/* ---------- Первый экран: заголовок и таблица возможностей ---------- */

.lp-h1--caps {
  font-size: clamp(32px, 3.6vw, 48px);
  text-wrap: balance;
}

.lp-h1__grad {
  background: linear-gradient(90deg, #4a40e0, #3d8bd9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Подпись слева, текст справа, строки разделены линией. */
.lp-spec {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.lp-spec__row {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.lp-spec__term {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--head);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}

.lp-spec__ico {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #f1f0fb;
  background: color-mix(in srgb, var(--c) 14%, #fff);
  color: var(--c);
}

.lp-spec__ico svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-spec__desc {
  margin: 0;
  padding-top: 3px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
}

@media (max-width: 680px) {
  .lp-spec__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .lp-spec__desc {
    padding-left: 38px;
  }
}

/* ---------- Блок демонстрации (телефон + шаги) ---------- */

.lp-demo {
  --phone-w: 300px;
  --phone-h: 620px;
  position: relative;
}

.lp-demo__tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.lp-demo__tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
}

.lp-demo__tab:hover {
  background: var(--tint);
}

.lp-demo__tab[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}

.lp-demo__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--phone-w);
  gap: 22px;
  align-items: start;
}

.lp-demo--after .lp-demo__body {
  grid-template-columns: minmax(0, 1fr) var(--phone-w);
}

.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lp-step {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.lp-step:hover {
  background: rgb(255 255 255 / 0.7);
}

.lp-step__num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
}

.lp-step.is-done .lp-step__num {
  background: #e9e6ff;
  border-color: #e9e6ff;
  color: var(--primary-ink);
}

.lp-step__title {
  display: block;
  font-family: var(--head);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 26px;
  color: var(--ink-2);
}

.lp-step__more {
  display: none;
}

.lp-step.is-active {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.lp-step.is-active .lp-step__num {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

.lp-step.is-active .lp-step__title {
  color: var(--ink);
}

.lp-step.is-active .lp-step__more {
  display: block;
}

.lp-step__desc {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.lp-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.lp-step__tags span {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--primary-ink);
  font-size: 11.5px;
  font-weight: 600;
}

.lp-step__tags span em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}

.lp-step__bar {
  display: block;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}

.lp-step__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
}

.lp-step.is-active .lp-step__bar i {
  animation: lp-progress var(--dur, 6s) linear forwards;
}

.lp-demo.is-paused .lp-step.is-active .lp-step__bar i,
.lp-demo.is-manual .lp-step.is-active .lp-step__bar i {
  animation-play-state: paused;
}

.lp-demo.is-manual .lp-step__bar {
  display: none;
}

@keyframes lp-progress {
  to {
    width: 100%;
  }
}

.lp-demo__caption {
  display: none;
}

.lp-demo__ctrl {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.lp-demo__play {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.lp-demo__play-ico {
  width: 10px;
  height: 10px;
  border-left: 3px solid var(--ink);
  border-right: 3px solid var(--ink);
}

.lp-demo__play[aria-pressed="false"] .lp-demo__play-ico {
  border-right: 0;
  border-left: 0;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 9px solid var(--ink);
}

/* ---------- Телефон ---------- */

.lp-phone-fit {
  --fit: 1;
  width: calc(var(--phone-w) * var(--fit));
  height: calc(var(--phone-h) * var(--fit));
  justify-self: center;
}

.lp-phone {
  position: relative;
  width: var(--phone-w);
  height: var(--phone-h);
  transform: scale(var(--fit));
  transform-origin: 0 0;
  border-radius: 46px;
  padding: 10px;
  background: #16142a;
  box-shadow:
    0 0 0 1.5px #2c2950,
    0 30px 60px -20px rgb(29 26 58 / 0.45),
    0 12px 30px rgb(74 64 224 / 0.16);
}

.lp-phone__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 5;
  width: 96px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 0 0 16px 16px;
  background: #16142a;
}

.lp-phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, "SF Pro Text", "Segoe UI", Roboto, var(--body);
  font-size: 13px;
  line-height: 1.38;
  color: #111;
  isolation: isolate;
}

.sb {
  flex: none;
  height: 34px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
}

.sb__icons {
  font-size: 9px;
  letter-spacing: 1px;
}

.ava {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* --- Telegram --- */

.tg-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 50px;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid #ececf0;
  position: relative;
  z-index: 2;
}

.tg-head__back {
  font-size: 26px;
  line-height: 1;
  color: #2a8ee8;
  margin-top: -3px;
}

.tg-head__title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.tg-head__title b {
  font-size: 14px;
}

.tg-head__title small {
  font-size: 11.5px;
  color: #8a8a93;
}

.chat {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}

.chat--tg {
  background:
    radial-gradient(circle at 20% 20%, rgb(255 255 255 / 0.25) 0 2px, transparent 3px) 0 0 / 34px 34px,
    linear-gradient(160deg, #cfe4b8 0%, #b7d5a0 45%, #9fc6a3 100%);
}

.thread {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 9px 8px;
}

.m {
  display: grid;
  grid-template-rows: 1fr;
}

.m > * {
  min-height: 0;
}

.m.is-new {
  animation: m-grow 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.m.is-new > * {
  overflow: hidden;
  animation: m-fade 0.42s ease-out both;
}

@keyframes m-grow {
  from {
    grid-template-rows: 0fr;
  }
  to {
    grid-template-rows: 1fr;
  }
}

@keyframes m-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.m__in {
  display: flex;
  flex-direction: column;
  max-width: 86%;
}

.m--out .m__in {
  margin-left: auto;
  align-items: flex-end;
}

.bub {
  position: relative;
  padding: 6px 9px 7px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.1);
  white-space: pre-line;
  word-wrap: break-word;
}

.m--in .bub {
  border-bottom-left-radius: 5px;
}

.m--out .bub {
  background: #e3fcc9;
  border-bottom-right-radius: 5px;
}

.bub .t {
  float: right;
  margin: 6px 0 -4px 8px;
  font-size: 10px;
  color: #8fa48a;
}

.m--in .bub .t {
  color: #a0a0aa;
}

.bub b {
  font-weight: 650;
}

.bub--media {
  padding: 3px;
}

.bub--media .cap {
  padding: 5px 7px 4px;
}

.art {
  position: relative;
  height: 118px;
  border-radius: 11px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 9px 10px;
  color: #fff;
  font-family: var(--head);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px rgb(0 0 0 / 0.3);
}

.art::before {
  content: attr(data-emoji);
  position: absolute;
  right: 10px;
  top: 6px;
  font-size: 46px;
  text-shadow: none;
  transform: rotate(-8deg);
}

.art--jazz {
  background:
    radial-gradient(120px 90px at 80% 20%, rgb(255 190 92 / 0.85), transparent 70%),
    linear-gradient(150deg, #1b2a6b 0%, #2457d6 55%, #f0a23b 130%);
}

.art--standup {
  background:
    radial-gradient(110px 90px at 80% 25%, rgb(255 120 180 / 0.8), transparent 70%),
    linear-gradient(150deg, #3b1f6e 0%, #8a3fd1 70%);
}

.art--lecture {
  background:
    radial-gradient(110px 90px at 80% 25%, rgb(255 230 140 / 0.7), transparent 70%),
    linear-gradient(150deg, #0e5a4f 0%, #19a385 80%);
}

.art--tee {
  background:
    radial-gradient(110px 90px at 75% 30%, rgb(255 255 255 / 0.5), transparent 70%),
    linear-gradient(150deg, #1f3c9e 0%, #4f86ff 80%);
}

.art--sm {
  height: 76px;
  font-size: 13px;
}

.art--sm::before {
  font-size: 34px;
}

.ikb {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 3px;
  width: 100%;
}

.ikb .row {
  display: flex;
  gap: 3px;
}

/* Сообщение с кнопками шире обычного — как в Telegram, где клавиатура тянет пузырь. */
.m--kb .m__in {
  width: 92%;
  max-width: 92%;
}

.btn {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  padding: 7px 6px;
  border-radius: 9px;
  background: rgb(45 72 50 / 0.34);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.btn--link::after {
  content: "↗";
  position: absolute;
  top: 2px;
  right: 5px;
  font-size: 9px;
  opacity: 0.8;
}

/* Касание: кнопка «нажимается», по ней расходится круг. */
.is-tap {
  animation: tap 0.7s ease both;
}

.is-tap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.85);
  box-shadow: 0 0 0 2px rgb(74 64 224 / 0.35);
  animation: tap-ring 0.7s ease-out both;
  pointer-events: none;
  z-index: 3;
}

@keyframes tap {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(0.94);
    filter: brightness(1.15);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes tap-ring {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.typing {
  display: inline-flex;
  gap: 3px;
  padding: 9px 11px;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9a9aa6;
  animation: typing 1s infinite ease-in-out;
}

.typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.tg-bottom {
  flex: none;
  background: #fff;
  border-top: 1px solid #ececf0;
  position: relative;
  z-index: 2;
}

.tg-start {
  position: relative;
  height: 44px;
  display: grid;
  place-items: center;
  color: #2a8ee8;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 13.5px;
}

.tg-kb.is-new-kb {
  animation: sheet-up 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tg-intro {
  margin: 16px auto 10px;
  max-width: 230px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.92);
  text-align: center;
  font-size: 12px;
  color: #444;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.08);
}

.tg-intro b {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: #111;
}

.m--center .m__in {
  max-width: 100%;
  margin: 0 auto;
  align-items: center;
}

.sep {
  display: inline-block;
  margin: 4px 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.chat--max .sep {
  background: #e4e3f0;
  color: #66657a;
}

.m--typing .bub {
  padding: 0;
}

.no-anim,
.no-anim * {
  animation: none !important;
}

.tg-input {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 10px 0 8px;
  color: #a0a0aa;
}

.tg-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #2a8ee8;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}

.tg-input__ph {
  flex: 1;
}

.tg-kb {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 6px 8px;
  background: #e8e9ee;
}

.tg-kb .row {
  display: flex;
  gap: 5px;
}

.tg-kb .key {
  position: relative;
  flex: 1;
  padding: 9px 4px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.12);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.home-bar {
  height: 18px;
  display: grid;
  place-items: center;
  background: inherit;
}

.home-bar::after {
  content: "";
  width: 110px;
  height: 4px;
  border-radius: 4px;
  background: #1d1a3a;
  opacity: 0.85;
}

/* Счёт Telegram */
.bub--invoice {
  padding: 3px;
  width: 210px;
}

.bub--invoice .inv {
  padding: 6px 8px 4px;
}

.inv__title {
  font-weight: 700;
}

.inv__desc {
  color: #555;
  font-size: 12px;
}

.inv__sum {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
}

/* Нижняя панель поверх экрана: оплата, мини-приложение */
.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -10px 30px rgb(0 0 0 / 0.18);
  animation: sheet-up 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sheet.is-closing {
  animation: sheet-down 0.3s ease-in both;
}

.sheet--full {
  top: 34px;
  border-radius: 14px 14px 0 0;
}

.scrim {
  position: absolute;
  inset: 0;
  z-index: 7;
  background: rgb(0 0 0 / 0.28);
  animation: m-fade 0.3s ease both;
}

@keyframes sheet-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}

@keyframes sheet-down {
  to {
    transform: translateY(100%);
  }
}

.pay {
  padding: 8px 16px 14px;
}

.pay__grip {
  width: 36px;
  height: 4px;
  margin: 0 auto 10px;
  border-radius: 4px;
  background: #d5d5dc;
}

.pay__title {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.pay__item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.pay__item .art {
  width: 52px;
  height: 52px;
  padding: 0;
}

.pay__item .art::before {
  font-size: 26px;
  right: 10px;
  top: 8px;
}

.pay__row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #f0f0f3;
  font-size: 12.5px;
}

.pay__row span:first-child {
  color: #777;
}

.pay__row--total {
  font-weight: 700;
  font-size: 14px;
  border-bottom: 0;
}

.pay__btn {
  position: relative;
  margin-top: 10px;
  padding: 11px;
  border-radius: 11px;
  background: #2a8ee8;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.pay__note {
  margin-top: 6px;
  font-size: 10.5px;
  color: #999;
  text-align: center;
}

/* Страница оплаты по ссылке (MAX, витрина) */
.payweb {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f5f6f8;
}

.payweb__url {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid #eee;
  font-size: 11.5px;
  color: #666;
}

.payweb__url b {
  font-weight: 600;
  color: #222;
}

.payweb__body {
  padding: 16px 14px;
}

.payweb__card {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
}

.payweb__shop {
  font-size: 12px;
  color: #777;
}

.payweb__desc {
  margin-top: 2px;
  font-size: 12px;
  color: #444;
}

.payweb__sum {
  font-size: 26px;
  font-weight: 800;
  margin: 2px 0 10px;
  font-family: var(--head);
}

.payweb__method {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1.5px solid #2a2a2a;
  border-radius: 10px;
  font-size: 12.5px;
  margin-top: 6px;
}

.payweb__method i {
  width: 28px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, #3d4bd9, #7a5cff);
}

.payweb__method--off {
  border-color: #e3e3e8;
  color: #777;
}

.payweb__method--off i {
  background: #d9d9e0;
}

.payweb__btn {
  position: relative;
  margin-top: 14px;
  padding: 12px;
  border-radius: 11px;
  background: #1d1a3a;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.payweb__done {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 11px;
  background: #e6f7ef;
  color: #0b7a53;
  font-weight: 700;
  font-size: 13px;
}

.payweb__foot {
  margin-top: 10px;
  text-align: center;
  font-size: 10.5px;
  color: #999;
}

/* --- MAX --- */

.mx-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 50px;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid #efeff4;
  position: relative;
  z-index: 2;
}

.mx-head__back {
  font-size: 22px;
  color: #7a5cff;
}

.mx-head__title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mx-head__title b {
  font-size: 14px;
}

.mx-head__title small {
  font-size: 11px;
  color: #7a5cff;
  font-weight: 600;
}

.chat--max {
  background: #f6f6fb;
}

.chat--max .m--in .bub {
  background: #fff;
  box-shadow: 0 1px 2px rgb(30 20 80 / 0.08);
}

.chat--max .m--out .bub {
  background: linear-gradient(135deg, #5b6cff, #8a5cff);
  color: #fff;
}

.chat--max .m--out .bub .t {
  color: rgb(255 255 255 / 0.7);
}

.chat--max .btn {
  background: #ecebff;
  color: #4b34e0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-radius: 10px;
  padding: 8px 6px;
}

.chat--max .btn--nav {
  background: #fff;
  color: #6b6b80;
  border: 1px solid #e4e4ee;
  font-weight: 500;
}

.mx-profile {
  margin: 18px 22px 8px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 1px 3px rgb(30 20 80 / 0.08);
}

.mx-profile .ava {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  font-size: 18px;
}

.mx-profile b {
  display: block;
  font-size: 15px;
}

.mx-profile small {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 12px;
}

.mx-bottom {
  flex: none;
  background: #fff;
  border-top: 1px solid #efeff4;
  padding: 7px 10px;
  position: relative;
  z-index: 2;
}

.mx-input {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border-radius: 18px;
  background: #f1f1f6;
  color: #9a9aaa;
  font-size: 12.5px;
}

.mx-input span:nth-child(2) {
  flex: 1;
}

.mx-start {
  position: relative;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #5b6cff, #8a5cff);
  color: #fff;
  font-weight: 700;
}

/* --- Веб-витрина (мини-приложение) --- */

.wa {
  --b: #2457d6;
  --b-soft: #e8efff;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f6f7fb;
}

.wa-top {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid #eceef3;
  font-size: 13px;
}

.wa-top__close {
  color: #2a8ee8;
  font-weight: 500;
}

.wa-top__title {
  font-weight: 700;
}

.wa-top__more {
  color: #2a8ee8;
  font-weight: 700;
  letter-spacing: 1px;
}

.wa-page {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.wa-page__in {
  animation: m-fade 0.35s ease both;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.wa-main {
  flex: none;
  position: relative;
  margin: 8px 10px 4px;
  padding: 12px;
  border-radius: 12px;
  background: var(--b);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 13.5px;
  animation: m-fade 0.3s ease both;
}

.wa-cover {
  position: relative;
  height: 92px;
  background:
    radial-gradient(140px 80px at 85% 20%, rgb(245 179 1 / 0.75), transparent 70%),
    linear-gradient(135deg, #142d7a, var(--b));
}

.wa-cover__logo {
  position: absolute;
  left: 14px;
  bottom: -20px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgb(20 40 120 / 0.25);
}

.wa-brand {
  padding: 26px 14px 0;
}

.wa-brand b {
  display: block;
  font-size: 15px;
  font-family: var(--head);
}

.wa-brand small {
  color: #777;
  font-size: 11.5px;
}

.wa-tabs {
  display: flex;
  gap: 5px;
  padding: 10px 14px 0;
  overflow: hidden;
}

.wa-tabs span {
  flex: none;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e3e6ef;
  font-size: 12px;
  font-weight: 600;
  color: #555;
}

.wa-tabs span.on {
  background: var(--b);
  border-color: var(--b);
  color: #fff;
}

.wa-search {
  margin: 10px 14px 0;
  padding: 8px 11px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e3e6ef;
  color: #9a9aaa;
  font-size: 12px;
}

.wa-filters {
  display: flex;
  gap: 5px;
  padding: 8px 14px 0;
  overflow: hidden;
}

.wa-filters span {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--b-soft);
  color: var(--b);
  font-size: 11px;
  font-weight: 600;
}

.wa-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 14px;
}

.wa-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(20 30 80 / 0.06);
}

.wa-card .art {
  height: 64px;
  border-radius: 10px;
  padding: 0;
}

.wa-card .art::before {
  font-size: 30px;
  right: 14px;
  top: 12px;
}

.wa-card__date {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--b);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.wa-card__title {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
}

.wa-card__price {
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: #333;
}

.wa-card__price--free {
  color: #0b7a53;
}

.wa-contacts {
  margin: 2px 14px 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  font-size: 11.5px;
}

.wa-contacts b {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
}

.wa-contacts div {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.wa-contacts span {
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--b-soft);
  color: var(--b);
  font-weight: 600;
}

.wa-back {
  padding: 10px 14px 6px;
  color: var(--b);
  font-size: 12px;
  font-weight: 600;
}

.wa-event .art {
  height: 130px;
  margin: 0 14px;
  border-radius: 14px;
  font-size: 18px;
}

.wa-event__body {
  padding: 10px 14px;
}

.wa-h {
  font-family: var(--head);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
}

.wa-venue {
  margin-top: 6px;
  font-size: 12px;
  color: #555;
}

.wa-label {
  margin: 12px 0 6px;
  font-size: 12px;
  font-weight: 700;
}

.wa-sess {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wa-opt {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 11px;
  border-radius: 11px;
  background: #fff;
  border: 1.5px solid #e3e6ef;
  font-size: 12.5px;
}

.wa-opt small {
  color: #777;
  font-size: 11px;
}

.wa-opt.on {
  border-color: var(--b);
  background: var(--b-soft);
}

.wa-opt b {
  font-weight: 700;
}

.wa-desc {
  margin-top: 10px;
  font-size: 12px;
  color: #555;
}

.wa-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 11px;
  border-radius: 11px;
  background: #fff;
  border: 1.5px solid #e3e6ef;
  font-size: 12.5px;
}

.wa-qty__ctl {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-qty__ctl i {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 700;
  background: var(--b-soft);
  color: var(--b);
}

.wa-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 11px;
  background: #fff;
  border: 1.5px solid #e3e6ef;
  font-size: 12px;
}

.wa-check i {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #c5c9d6;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
  color: #fff;
  flex: none;
}

.wa-check.on i {
  background: var(--b);
  border-color: var(--b);
}

.wa-check em {
  white-space: nowrap;
  margin-left: auto;
  font-style: normal;
  font-weight: 700;
  color: #0b7a53;
}

.wa-promo {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.wa-promo span:first-child {
  flex: 1;
  padding: 9px 11px;
  border-radius: 11px;
  background: #fff;
  border: 1.5px solid #e3e6ef;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.wa-promo .wa-promo__btn {
  position: relative;
  padding: 9px 12px;
  border-radius: 11px;
  background: var(--b);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.wa-ok {
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #0b7a53;
  animation: m-fade 0.35s ease both;
}

.wa-total {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #d6d9e4;
  font-size: 14px;
  font-weight: 800;
}

.wa-total s {
  margin-right: 6px;
  color: #999;
  font-weight: 500;
}

.wa-toast {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  z-index: 4;
  padding: 10px 12px;
  border-radius: 12px;
  background: #1d1a3a;
  color: #fff;
  font-size: 12px;
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.25);
  animation: m-fade 0.3s ease both;
}

.wa-acc-head {
  padding: 12px 14px 4px;
}

.wa-ticket {
  margin: 8px 14px;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgb(20 30 80 / 0.08);
}

.wa-ticket__top {
  padding: 11px 12px 9px;
  border-bottom: 1.5px dashed #dfe2ec;
}

.wa-ticket__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.wa-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: #e6f7ef;
  color: #0b7a53;
  font-size: 10.5px;
  font-weight: 700;
}

.wa-ticket__meta {
  margin-top: 4px;
  font-size: 11.5px;
  color: #555;
}

.wa-ticket__cal {
  display: inline-block;
  margin-top: 7px;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--b-soft);
  color: var(--b);
  font-size: 11px;
  font-weight: 600;
}

.wa-ticket__qr {
  padding: 10px 12px 12px;
  text-align: center;
  font-size: 11px;
  color: #666;
}

.wa-ticket__qr .qr {
  width: 128px;
  margin: 0 auto 6px;
}

.qr {
  background: #fff;
  padding: 6px;
  border-radius: 8px;
}

.qr svg {
  width: 100%;
  height: auto;
}

.bub--qr .qr {
  width: 150px;
  margin: 2px;
}

/* ---------- Ценность: четыре карточки ---------- */

.lp-values {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.lp-value {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 36px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.lp-value:nth-child(even) .lp-value__text {
  order: 2;
}

.lp-value__num {
  display: block;
  margin-bottom: 10px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lp-value__text p {
  margin: 12px 0 0;
  color: var(--muted);
}

.lp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.lp-tags span {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--tint);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.lp-example {
  padding: 18px;
  background: #fcfcff;
}

.lp-example__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}

.lp-example__kind {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.lp-example__tag {
  margin-left: auto;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.lp-example__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.lp-example__foot b {
  color: var(--ink);
}

.lp-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-feed li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.lp-feed__src {
  display: grid;
  place-items: center;
  height: 26px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--c) 14%, white);
  color: var(--c);
  font-size: 10.5px;
  font-weight: 800;
}

.lp-feed b {
  display: block;
  font-size: 13.5px;
}

.lp-feed small {
  color: var(--muted);
  font-size: 12px;
}

.lp-feed em {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
}

.lp-meter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.lp-meter__bar {
  height: 8px;
  border-radius: 8px;
  background: var(--tint);
  overflow: hidden;
}

.lp-meter__bar i {
  display: block;
  height: 100%;
  background: var(--grad);
  border-radius: 8px;
}

.lp-guests {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-guests li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.lp-guests small {
  margin-left: auto;
  font-weight: 500;
  color: var(--muted);
  font-size: 12.5px;
}

.lp-guests__ok,
.lp-guests__wait {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.lp-guests__ok {
  background: #e3f6ee;
  color: var(--ok);
}

.lp-guests__wait {
  background: var(--tint);
  color: var(--muted);
}

.lp-example--chat {
  background:
    radial-gradient(circle at 20% 20%, rgb(255 255 255 / 0.3) 0 2px, transparent 3px) 0 0 / 34px 34px,
    linear-gradient(160deg, #d8eac4 0%, #b9d6a3 100%);
  border-color: #cfe2bd;
}

.lp-example--chat .lp-example__head b,
.lp-example--chat .lp-example__tag,
.lp-example--chat .lp-example__kind {
  color: #24402a;
  border-color: rgb(36 64 42 / 0.2);
}

.lp-order {
  padding: 12px 14px;
  border-radius: 14px 14px 14px 5px;
  background: #fff;
  font-size: 14px;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.1);
}

.lp-order__title {
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.lp-order__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}

.lp-order__row i {
  font-style: normal;
  font-size: 12px;
  color: var(--ok);
  font-weight: 600;
}

.lp-order__row--add {
  animation: lp-glow 2.4s ease-in-out infinite;
  border-radius: 8px;
  margin: 0 -6px;
  padding: 4px 6px;
}

@keyframes lp-glow {
  0%,
  100% {
    background: transparent;
  }
  50% {
    background: #eefbe5;
  }
}

.lp-order__row--total {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid #eee;
  font-weight: 800;
}

.lp-ikb {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.lp-ikb span {
  flex: 1;
  padding: 9px 6px;
  border-radius: 10px;
  background: rgb(45 72 50 / 0.34);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.lp-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--tint);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.lp-timeline li::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary-2);
}

.lp-timeline b {
  font-size: 11.5px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

/* ---------- Полоса-призыв ---------- */

.lp-band {
  padding: 0 0 8px;
}

.lp-band__row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
  border-radius: 28px;
  background: var(--grad);
  color: #fff;
  max-width: 1160px;
  padding-left: 44px;
  padding-right: 44px;
}

.lp-band__title {
  margin: 0;
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.2;
}

.lp-band__text {
  margin: 10px 0 0;
  opacity: 0.92;
}

.lp-band .lp-btn {
  flex: none;
}

/* ---------- Как устроено ---------- */

.lp-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1.25fr) 28px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.lp-flow__col {
  padding: 22px;
}

.lp-flow__col--core {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #f6f4ff 100%);
  border-color: #d8d4ff;
  text-align: center;
}

.lp-flow__core-ico {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: var(--grad);
  box-shadow: 0 8px 20px rgb(74 64 224 / 0.3);
}

.lp-flow__head b {
  display: block;
  font-family: var(--head);
  font-size: 18px;
}

.lp-flow__head span {
  font-size: 13.5px;
  color: var(--muted);
}

.lp-flow__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-flow__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 14px;
}

.lp-flow__feats {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.lp-flow__feats li {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.lp-flow__feats b {
  display: block;
  font-size: 14px;
}

.lp-flow__feats span {
  font-size: 12.5px;
  color: var(--muted);
}

.lp-flow__arrow {
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--primary-2);
}

.lp-result {
  margin-top: 26px;
  padding: 22px 26px;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 24px;
}

.lp-result__label {
  flex: none;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  max-width: 90px;
}

.lp-result__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  flex: 1;
}

.lp-result__steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.lp-result__steps b {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  font-size: 14px;
  color: #fff;
}

.lp-result__steps strong {
  display: block;
  font-family: var(--head);
}

.lp-result__steps span {
  font-size: 13.5px;
  opacity: 0.75;
}

/* ---------- После покупки ---------- */

.lp-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
  gap: 56px;
  align-items: center;
}

.lp-after .lp-kicker {
  background: #fff;
}

.lp-after__text .lp-sub {
  margin-left: 0;
}

.lp-checks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-checks li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-2);
}

.lp-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  border: 1px solid var(--line);
}

.lp-checks b {
  color: var(--ink);
}

/* ---------- Организатору ---------- */

.lp-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lp-feat {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.lp-feat__ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 21px;
  background: var(--tint);
  margin-bottom: 14px;
}

.lp-feat h3 {
  margin: 0;
  font-family: var(--head);
  font-size: 17px;
}

.lp-feat p {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 14.5px;
}

.lp-feat small {
  margin-top: auto;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

/* ---------- Тарифы ---------- */

.lp-free {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 24px 28px;
}

/* «Витрина» — под платными тарифами: запасной бесплатный вход. */
.lp-free {
  margin-top: 30px;
}

/* Бесплатный период — одной фразой над переключателем; условия — сноской «**» под тарифами. */
.lp-trial-line {
  margin: 0 auto 14px;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

.lp-trial-line b {
  color: var(--primary-ink);
}

.lp-trial-line span {
  margin-right: 4px;
  font-weight: 800;
  color: var(--primary);
}

.lp-free__head b {
  font-family: var(--head);
  font-size: 19px;
}

.lp-free__price {
  font-family: var(--head);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
}

.lp-free__price small {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.lp-free__head p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.lp-free__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  font-size: 14px;
}

.lp-free__list li::before,
.lp-plan__list li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--primary);
  font-weight: 800;
}

.lp-period {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 24px;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}

.lp-period button {
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
}

.lp-period button em {
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 6px;
  background: #e9e6ff;
  color: var(--primary-ink);
  font-style: normal;
  font-size: 12px;
}

.lp-period button[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
}

.lp-period button[aria-pressed="true"] em {
  background: rgb(255 255 255 / 0.2);
  color: #fff;
}

.lp-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.lp-plan {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
}

.lp-plan h3 {
  margin: 0;
  font-family: var(--head);
  font-size: 19px;
}

.lp-plan--accent {
  border: 1.5px solid #a9a4ff;
  box-shadow: 0 0 0 4px rgb(143 139 255 / 0.14), var(--shadow);
}

.lp-plan__price {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.lp-plan__price b {
  font-family: var(--head);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
}

.lp-plan__price span {
  color: var(--muted);
  font-weight: 600;
}

.lp-plan__note {
  min-height: 34px;
  margin: 2px 0 0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11.5px;
  color: var(--muted);
}

.lp-plan__note s {
  opacity: 0.75;
}

.lp-plan__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
}

.lp-plan__list li {
  display: flex;
}

.lp-plan__for {
  margin: 14px 0 8px;
  font-size: 13px;
  color: var(--muted);
}

/*
 * Лимит продаж — сноской, а не плашкой под ценой: продаём возможности, а
 * лимит касается только тех, кто продаёт много (решение владельца 20.10.2026).
 */
.lp-plan__cap {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--muted);
}

.lp-plan__cap sup {
  margin-left: 1px;
}

.lp-price-footnote + .lp-price-footnote {
  margin-top: 6px;
}

.lp-price-footnote {
  max-width: 760px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.lp-plan .lp-btn {
  margin-top: auto;
}


/* ---------- Вопросы ---------- */

.lp-faq {
  max-width: 860px;
}

.lp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-qa {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 0 22px;
}

.lp-qa summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--head);
  font-weight: 700;
  font-size: 16.5px;
  cursor: pointer;
}

.lp-qa summary::-webkit-details-marker {
  display: none;
}

.lp-qa summary::after {
  content: "+";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--primary);
  font-size: 18px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.lp-qa[open] summary::after {
  transform: rotate(45deg);
}

.lp-qa p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* ---------- Регистрация ---------- */

.lp-signup-wrap {
  padding-top: 24px;
}

.lp-signup {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: 36px;
  background: var(--grad);
  color: #fff;
  overflow: hidden;
}

.lp-signup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 240px at 90% 0%, rgb(255 255 255 / 0.18), transparent 70%);
  pointer-events: none;
}

.lp-signup__title {
  margin: 0;
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.lp-signup__text p {
  margin: 14px 0 0;
  opacity: 0.93;
  font-size: 17px;
}

.lp-signup__box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 22px;
  background: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lp-signup__note {
  margin: 4px 0 0;
  font-size: 12.5px;
  opacity: 0.85;
}

.lp-alert {
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.lp-alert--ok {
  background: rgb(16 185 129 / 0.2);
  border: 1px solid rgb(110 231 183 / 0.5);
}

.lp-alert--err {
  background: rgb(239 68 68 / 0.2);
  border: 1px solid rgb(252 165 165 / 0.5);
}

/* ---------- Подвал ---------- */

.lp-footer {
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
}

.lp-footer__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.lp-footer__tag {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.lp-footer__legal {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.lp-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
}

.lp-footer__nav a {
  color: var(--ink-2);
  text-decoration: none;
}

.lp-footer__nav a:hover {
  color: var(--primary);
}

/* ---------- Ширина: средняя ---------- */

@media (max-width: 1120px) {
  .lp-nav {
    display: none;
  }

  .lp-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .lp-hero .lp-demo {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }

  .lp-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-after {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .lp-after .lp-demo {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }

  .lp-burger {
    display: inline-flex;
  }

  .lp-mobile-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    flex-direction: column;
    padding: 10px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgb(29 26 58 / 0.08);
  }

  .lp-mobile-nav[data-open="true"] {
    display: flex;
  }

  .lp-mobile-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
    text-decoration: none;
  }

  .lp-mobile-nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 900px) {
  .lp-section {
    padding: 72px 0;
  }

  .lp-value {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 26px 22px;
  }

  .lp-value:nth-child(even) .lp-value__text {
    order: 0;
  }

  .lp-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-flow__arrow {
    transform: rotate(90deg);
    height: 24px;
  }

  .lp-result {
    flex-direction: column;
    align-items: flex-start;
  }

  .lp-result__label {
    max-width: none;
  }

  .lp-result__steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-grid3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-free {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .lp-band__row {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
  }

  .lp-signup {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 24px;
    gap: 26px;
  }
}

/* ---------- Ширина: телефон. Шаги уходят под телефон лентой. ---------- */

@media (max-width: 680px) {
  .lp-header__actions .lp-link,
  .lp-header__actions .lp-btn {
    display: none;
  }

  .lp-wrap {
    padding: 0 16px;
  }

  .lp-hero {
    padding: 32px 0 48px;
  }

  .lp-lead {
    font-size: 16.5px;
  }

  .lp-hero__cta .lp-btn {
    width: 100%;
  }

  .lp-demo__tab {
    font-size: 12.5px;
    gap: 6px;
    padding: 9px 4px;
  }

  .lp-demo__tab i {
    display: none;
  }

  .lp-demo__body,
  .lp-demo--after .lp-demo__body {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 14px;
  }

  .lp-phone-fit {
    align-self: center;
  }

  .lp-steps {
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .lp-steps::-webkit-scrollbar {
    display: none;
  }

  .lp-steps li {
    flex: none;
  }

  .lp-step {
    grid-template-columns: auto;
    padding: 7px 12px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
  }

  .lp-step__num {
    display: none;
  }

  .lp-step__title {
    font-size: 13px;
    line-height: 18px;
    white-space: nowrap;
  }

  .lp-step.is-active {
    background: var(--ink);
    border-color: var(--ink);
  }

  .lp-step.is-active .lp-step__title {
    color: #fff;
  }

  .lp-step.is-active .lp-step__more {
    display: none;
  }

  .lp-demo__caption {
    display: block;
    margin: 12px 0 0;
    min-height: 3.2em;
    font-size: 14px;
    color: var(--muted);
    text-align: center;
  }

  .lp-demo__caption b {
    color: var(--ink);
  }

  .lp-demo__ctrl {
    justify-content: center;
  }

  .lp-demo__hint {
    display: none;
  }

  .lp-grid3,
  .lp-plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-free__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-period button {
    padding: 8px 11px;
    font-size: 13px;
  }

  .lp-feed li {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .lp-qa {
    padding: 0 16px;
  }

  .lp-signup {
    border-radius: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
