/* ═══ tokens ═══════════════════════════════════════════════════════ */
:root {
  --ink: #05041a;
  --ink-2: #0a0824;
  --violet: #8b5cff;
  --magenta: #d86bff;
  --cyan: #4adcff;
  --mint: #6ff0c8;

  --txt: #eef0ff;
  --muted: rgba(238, 240, 255, .62);
  --faint: rgba(238, 240, 255, .42);
  --line: rgba(255, 255, 255, .10);
  --line-soft: rgba(255, 255, 255, .06);

  --glass: rgba(22, 20, 56, .52);
  --glass-2: rgba(28, 25, 68, .68);

  --grad: linear-gradient(102deg, var(--magenta), var(--violet) 44%, var(--cyan));
  --grad-soft: linear-gradient(140deg, rgba(216, 107, 255, .16), rgba(74, 220, 255, .12));

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  --pad: clamp(18px, 4vw, 40px);
  --shadow: 0 30px 80px -30px rgba(5, 3, 25, .9);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}
html.is-locked,
html.is-locked body {
  overflow: hidden;
  overscroll-behavior: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.modal,
.modal__backdrop {
  overflow: hidden;
  scrollbar-width: none;
}
.modal::-webkit-scrollbar,
.modal__backdrop::-webkit-scrollbar { display: none; }

body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  background: transparent;
  color: var(--txt);
  font: 400 16px/1.6 Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  overflow-x: clip;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(120% 70% at 50% -10%, #2a2062 0%, #150f3c 42%, #07061c 78%, #05041a 100%);
}

img, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { margin: 0; font-weight: 900; letter-spacing: -.02em; line-height: 1.08; }
h1 { font-size: clamp(38px, 5.6vw, 66px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(19px, 1.5vw, 22px); }
p { margin: 0; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

::selection { background: rgba(139, 92, 255, .45); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  background: var(--violet);
  z-index: 99;
}
.skip:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 18px;
  clip: auto;
  overflow: visible;
}

.wrap {
  width: min(1200px, 100% - clamp(28px, 6vw, 96px));
  margin-inline: auto;
}
.wrap--narrow { width: min(820px, 100% - clamp(28px, 6vw, 96px)); }

/* ═══ background fx ════════════════════════════════════════════════ */
#stars {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
}
.aurora span {
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .34;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: drift 26s ease-in-out infinite;
}
.aurora span:nth-child(1) { top: -12vw; left: -8vw;  background: #7a3cff; }
.aurora span:nth-child(2) { top: 32vw; right: -14vw; background: #1f7fd6; animation-delay: -9s; }
.aurora span:nth-child(3) { top: 96vw; left: 22vw;   background: #c14bff; animation-delay: -17s; opacity: .22; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(3vw, 4vw, 0); }
}

/* ═══ buttons ══════════════════════════════════════════════════════ */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.2, .8, .3, 1), box-shadow .25s, background .25s, opacity .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--lg { padding: 16px 30px; font-size: 17px; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--grad);
  color: #0a0524;
  box-shadow: 0 14px 34px -12px rgba(139, 92, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--primary:hover { box-shadow: 0 20px 44px -12px rgba(139, 92, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .6); }

.btn--glass {
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .12); }

.btn--ghost { padding: 10px 16px; color: var(--muted); }
.btn--ghost:hover { color: var(--txt); }

.link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--cyan);
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(74, 220, 255, .4);
  text-underline-offset: 3px;
}

/* ═══ topbar ═══════════════════════════════════════════════════════ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0;
  background: transparent;
}
.topbar.is-stuck {
  background: rgba(7, 6, 26, .72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-soft), 0 18px 40px -30px #000;
}

.topbar__inner { display: flex; align-items: center; gap: 20px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -.03em;
}
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 4px 14px rgba(139, 92, 255, .6)); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--txt); background: rgba(255, 255, 255, .06); }
.nav__login { display: none; }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 2px;
}
.lang button {
  padding: 7px 8px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
  cursor: pointer;
}
.lang button:hover { color: var(--txt); }
.lang button.is-on {
  color: var(--txt);
  background: rgba(255, 255, 255, .08);
}

.lang--menu {
  position: relative;
  z-index: 8;
  display: block;
}
.lang--menu .lang__now {
  min-width: 42px;
  padding: 7px 12px;
  color: var(--txt);
  background: rgba(255, 255, 255, .08);
}
.lang--menu .lang__list {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 2px;
  min-width: 100%;
  padding: 10px 6px 6px;
  margin: 0;
  border-radius: 14px;
  background: rgba(12, 10, 36, .98);
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -18px #000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, visibility .16s ease;
}
.lang--menu .lang__list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 8px;
}
.lang--menu:hover .lang__list,
.lang--menu:focus-within .lang__list,
.lang--menu.is-open .lang__list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.footer__bottom { align-items: center; }
.footer__bottom .lang { margin-left: auto; }
.topbar__actions .lang { margin-left: 0; }
.nav > .lang { display: none; }

.topbar__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--txt);
  transition: transform .25s, opacity .2s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ═══ hero ═════════════════════════════════════════════════════════ */
.hero { padding: clamp(28px, 6vw, 72px) 0 0; overflow-x: clip; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(111, 240, 200, .18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 8px rgba(111, 240, 200, 0); }
}

.hero h1 { margin: 20px 0 0; }
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 18px;
  max-width: 30em;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 18.5px);
}

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

.perks {
  padding: clamp(28px, 4.4vw, 48px) 0 4px;
  text-align: center;
}
.perks .kicker { margin-bottom: 18px; }
.perks .ticks { justify-content: center; margin-top: 0; }

.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; }
.ticks li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-size: 14.5px;
  font-weight: 700;
}
.ticks li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: none;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(111, 240, 200, .14);
  box-shadow: inset 0 0 0 1px rgba(111, 240, 200, .42);
  color: var(--mint);
  font-size: 11px;
  font-weight: 900;
}

/* ── live app scene ── */
.hero__stage { position: relative; display: grid; justify-items: center; }

.stage-glow {
  position: absolute;
  inset: -8% -6% 6%;
  border-radius: 50%;
  background: radial-gradient(50% 45% at 50% 52%, rgba(139, 92, 255, .55), rgba(74, 220, 255, .16) 55%, transparent 72%);
  filter: blur(28px);
  z-index: 0;
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.06); opacity: .82; } }

.scene {
  position: relative;
  z-index: 1;
  container-type: inline-size;   /* подписи внутри макета живут в cqw, чтобы ужиматься вместе с ним */
  width: min(392px, 100%);
  aspect-ratio: 780 / 1220;
  border-radius: 38px;
  overflow: hidden;
  background: #0a0722 url("../media/img/card-bg.webp") center/cover;
  box-shadow:
    0 50px 110px -40px rgba(0, 0, 0, .95),
    0 0 0 1px rgba(255, 255, 255, .1),
    inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(190deg, rgba(255, 255, 255, .1), transparent 26%);
}

.scene__clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .16s linear;
}
.scene__clip.is-on { opacity: 1; }

.scene__chrome {
  position: absolute;
  top: 3.4%;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
}
.scene__title { font-weight: 900; font-size: 3.85cqw; letter-spacing: -.02em; }
.scene__sub {
  margin-top: 2px;
  color: rgba(255, 255, 255, .52);
  font-size: 2.7cqw;
  font-weight: 700;
  line-height: 1.35;
}

/* круг ровно по кнопке в клипе: центр 49.95% / 56.97%, радиус 26.15% ширины */
.scene__tap {
  position: absolute;
  left: 23.8%;
  top: calc(56.97% - 26.15% * 780 / 1220);
  width: 52.3%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.scene__ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .5);
  opacity: 0;
}
.scene__tap:active .scene__ripple { animation: ripple .5s ease-out; }
@keyframes ripple {
  from { opacity: .7; box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); }
  to   { opacity: 0;  box-shadow: 0 0 0 26px rgba(255, 255, 255, 0); }
}

.scene__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3.4%;
  padding: 0 4cqw;
  text-align: center;
  pointer-events: none;
}
.scene__status {
  font-weight: 900;
  font-size: 4.4cqw;
  letter-spacing: -.02em;
  transition: color .3s;
}
.scene.is-on .scene__status { color: #b9f2ff; }
.scene__hint {
  margin-top: 2px;
  min-height: 4.4cqw;
  color: rgba(255, 255, 255, .5);
  font-size: 2.95cqw;
  font-weight: 700;
}

.meter { margin-top: 1cqw; display: grid; gap: 1cqw; justify-items: center; }
.meter[hidden] { display: none; }
.meter__track {
  width: 62%;
  height: 1.6cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}
.meter__fill {
  height: 100%;
  width: 4%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  box-shadow: 0 0 12px rgba(74, 220, 255, .7);
  transition: width .1s linear;
}
.meter__value {
  font-size: 2.7cqw;
  font-weight: 800;
  color: rgba(255, 255, 255, .7);
  font-variant-numeric: tabular-nums;
}

.chip {
  display: flex;
  align-items: center;
  gap: 2.6cqw;
  margin-top: 2.6cqw;
  padding: 2cqw 3cqw;
  border-radius: 4cqw;
  background: rgba(14, 12, 40, .62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  text-align: left;
}
.chip__flag { font-size: 4.4cqw; line-height: 1; }
.chip__text { display: grid; line-height: 1.2; }
.chip__text b { font-size: 3.2cqw; font-weight: 800; }
.chip__text i { font-style: normal; font-size: 2.7cqw; color: rgba(255, 255, 255, .5); }
.chip__ping {
  margin-left: auto;
  font-size: 2.85cqw;
  font-weight: 800;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}

.stage-note {
  margin-top: 16px;
  color: var(--faint);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

/* ── marquee ── */
.marquee {
  margin-top: clamp(40px, 6vw, 76px);
  padding: 14px 0;
  border-block: 1px solid var(--line-soft);
  overflow: hidden;
  max-width: 100%;
  contain: paint;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__row {
  display: flex;
  width: max-content;
  animation: slide 34s linear infinite;
}
.marquee__group {
  display: flex;
  gap: 52px;
  padding-right: 52px;
  flex: none;
}
.marquee span {
  color: var(--faint);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes slide { to { transform: translateX(-25%); } }

/* ═══ buy page ═════════════════════════════════════════════════════ */
.buy { padding: clamp(28px, 6vw, 72px) 0 clamp(48px, 8vw, 96px); }
.buy .head { max-width: 620px; }
.buy h1 { font-size: clamp(28px, 3.6vw, 44px); }

/* ═══ sections ═════════════════════════════════════════════════════ */
section[id] { scroll-margin-top: 88px; }

.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tight { padding: clamp(36px, 4.4vw, 68px) 0; }

.head { max-width: 620px; margin-bottom: clamp(30px, 4vw, 54px); }
.kicker {
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.sub { margin-top: 16px; color: var(--muted); font-size: clamp(15.5px, 1.2vw, 17.5px); }

/* ── feature cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}
.card {
  position: relative;
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: var(--r-lg);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), var(--shadow); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 23px;
}
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ── steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--grad);
  color: #0a0524;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 12px 30px -12px rgba(139, 92, 255, .9);
}
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ── plans ── */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: var(--r-lg);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s;
}
.plan:hover { transform: translateY(-5px); }

.plan--hot {
  background: var(--glass-2);
  box-shadow: inset 0 0 0 1.5px rgba(139, 92, 255, .55), 0 40px 90px -34px rgba(139, 92, 255, .7);
}
.plan__top { display: flex; align-items: center; justify-content: flex-start; gap: 8px; }
.plan__tag {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--faint);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.plan__tag--hot {
  background: var(--grad);
  color: #0a0524;
  box-shadow: none;
}

.plan__price { display: flex; align-items: baseline; gap: 6px; font-weight: 800; }
.plan__price b { font-size: clamp(38px, 3.4vw, 46px); font-weight: 900; letter-spacing: -.04em; }
.plan__price span { color: var(--faint); font-size: 14px; font-weight: 700; }

.plan__list { margin: 0 0 auto; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan__list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}
.plan__list li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--grad);
}

.plan__specs {
  display: grid;
  gap: 12px;
  margin: 0 0 auto;
}
.plan__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 10px;
  align-items: start;
}
.plan__row + .plan__row {
  grid-template-columns: 1fr;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.plan__row + .plan__row .plan__spec {
  justify-items: center;
  text-align: center;
}
.plan__spec {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.plan__spec-k {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.plan__spec-v {
  color: var(--txt);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.25;
}
.plan__spec-v--no { color: var(--faint); }
.plan__spec-v--yes { color: var(--mint); }
.os-slash { color: var(--faint); font-style: normal; font-weight: 700; }

.plans__note {
  margin-top: 22px;
  margin-inline: auto;
  max-width: 58em;
  color: var(--faint);
  font-size: 14px;
  text-align: center;
}

/* ── split (apps) ── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.split__art img {
  max-width: 480px;
  margin-inline: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 50px 110px -44px rgba(0, 0, 0, .96), 0 0 0 1px var(--line);
}
.split__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.dl { display: grid; justify-items: start; gap: 8px; margin-top: 28px; }
.dl__note { color: var(--muted); font-size: 13.5px; font-weight: 700; }
.dl__hint { max-width: 34em; color: var(--faint); font-size: 12.5px; line-height: 1.5; }

.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.platform {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14.5px;
  font-weight: 800;
}
.platform span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
}
.platform i { font-style: normal; color: var(--faint); font-size: 12px; font-weight: 700; }
.platform--live { box-shadow: inset 0 0 0 1px rgba(111, 240, 200, .45); }
.platform--live span { background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.platform--live i { color: var(--mint); }

/* ── lk block ── */
.lk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(26px, 4vw, 56px);
  padding: clamp(26px, 3.4vw, 52px);
  border-radius: 34px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(139, 92, 255, .22), transparent 58%),
    var(--glass);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  backdrop-filter: blur(14px);
  align-items: center;
}
.lk__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.lk__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.lk__list li {
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.lk__list b { font-size: 15px; }
.lk__list span { color: var(--muted); font-size: 13.5px; }

/* ── faq ── */
.faq { display: grid; gap: 10px; }
.faq details {
  padding: 4px 22px;
  border-radius: var(--r-md);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(10px);
  transition: background .25s;
}
.faq details[open] { background: var(--glass-2); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  font-weight: 800;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  margin-left: auto;
  border-right: 2.5px solid var(--muted);
  border-bottom: 2.5px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq p { padding: 0 0 20px; max-width: 62em; color: var(--muted); font-size: 15px; }

/* ── final cta ── */
.final { padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 9vw, 120px); text-align: center; }
.final__inner { display: grid; justify-items: center; gap: 18px; }
.final img { filter: drop-shadow(0 16px 40px rgba(139, 92, 255, .7)); }
.final p { color: var(--muted); max-width: 34em; }
.final .btn { margin-top: 8px; }

/* ═══ footer ════════════════════════════════════════════════════════ */
.footer { padding: clamp(40px, 5vw, 64px) 0 28px; border-top: 1px solid var(--line-soft); }
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: clamp(28px, 4vw, 60px);
}
.footer__brand p { margin-top: 12px; color: var(--faint); font-size: 14px; max-width: 22em; }
.footer__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.footer__nav h4 { margin-bottom: 12px; font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.footer__nav a, .footer__nav [data-open] {
  display: block;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14.5px;
  text-align: left;
  cursor: pointer;
  transition: color .2s;
}
.footer__nav a:hover { color: var(--txt); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  margin-top: clamp(30px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 13px;
}

/* ═══ modal ════════════════════════════════════════════════════════ */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 18, .72);
  backdrop-filter: blur(10px);
  animation: fade .25s ease;
}
@keyframes fade { from { opacity: 0; } }

.modal__card {
  position: relative;
  width: min(452px, 100%);
  max-height: calc(100vh - 40px);
  overflow: hidden;
  padding: clamp(26px, 3vw, 34px);
  border-radius: 30px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(139, 92, 255, .28), transparent 60%),
    rgba(17, 15, 46, .96);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px -30px #000;
  animation: pop .3s cubic-bezier(.2, .9, .3, 1);
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }

.modal__x {
  position: absolute;
  top: 14px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: var(--muted);
  font-size: 21px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  z-index: 5;
  transition: background .2s, color .2s;
}
.modal__x:hover { background: rgba(255, 255, 255, .14); color: var(--txt); }

.pane {
  display: grid;
  gap: 16px;
  min-height: 0;
  max-height: calc(100vh - 40px - 2 * clamp(26px, 3vw, 34px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.pane::-webkit-scrollbar { display: none; width: 0; }
.pane[hidden] { display: none; }
.pane .kicker { margin: 0; }
.pane h3 { font-size: 25px; }
.pane .sub { margin-top: 0; }

#loginEmailStep,
#loginCodeStep,
#loginQrStep,
#bountyIntro,
#bountyForm {
  display: grid;
  gap: 16px;
}
#loginEmailStep[hidden],
#loginCodeStep[hidden],
#loginQrStep[hidden],
#bountyIntro[hidden],
#bountyForm[hidden] {
  display: none;
}
.login-ok {
  margin: 0;
  color: var(--mint);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.login-ok[hidden] { display: none; }

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px var(--line);
}
.login-tabs__btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.login-tabs__btn.is-on {
  background: rgba(255, 255, 255, .1);
  color: var(--txt);
}
.login-qr {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 18px;
  align-items: center;
}
.login-qr__code {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 168px;
  height: 168px;
  border-radius: 24px;
  background: #16142c;
  box-shadow: 0 18px 40px -22px #000;
}
.login-qr #loginQrGet {
  position: relative;
  z-index: 2;
  padding: 8px 14px;
  font-size: 13.5px;
}
.login-qr__code.is-ready { background: #fff; }
.login-qr__code.is-ready #loginQrGet { display: none; }
.login-qr__code img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
}
.login-qr__code img[hidden] { display: none; }
.login-qr__side {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 12px;
}
.login-qr__scan {
  width: 28px;
  height: 28px;
  color: var(--txt);
}
.login-qr__scan svg { width: 100%; height: 100%; }
.login-qr__hint {
  margin: 0;
  color: var(--txt);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}
.login-qr__tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: #4d8dff;
  color: #fff;
  font-weight: 800;
  font-size: 14.5px;
}
.login-qr__tg-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}
.login-qr__tg-icon svg { width: 18px; height: 18px; }
.login-qr__wait {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.login-qr__wait[hidden] { display: none; }

@media (max-width: 520px) {
  .login-qr {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .login-qr__side { justify-items: center; }
}

.summary {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px var(--line);
}
.summary div { display: flex; align-items: baseline; gap: 8px; }
.summary b { font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.summary span { color: var(--faint); font-size: 14px; font-weight: 700; }
.summary p { color: var(--muted); font-size: 13.5px; }

.field { display: grid; gap: 7px; }
.field[hidden] { display: none; }
.field > span { font-size: 14px; font-weight: 800; }
.field input,
.field textarea {
  padding: 14px 16px;
  border: 0;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--txt);
  font: 600 15.5px/1.4 inherit;
  transition: box-shadow .2s, background .2s;
}
.field textarea {
  min-height: 120px;
  max-height: 240px;
  resize: vertical;
}
.field__count {
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 700;
  text-align: right;
}
.field__count[hidden] { display: none; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(238, 240, 255, .3); }
.field input:focus,
.field textarea:focus {
  outline: 0;
  background: rgba(255, 255, 255, .09);
  box-shadow: inset 0 0 0 1.5px var(--violet), 0 0 0 4px rgba(139, 92, 255, .18);
}
.field.is-bad input,
.field.is-bad input:focus,
.field.is-bad textarea,
.field.is-bad textarea:focus {
  outline: 2px solid #ff5c7a;
  outline-offset: -2px;
}
.field em { font-style: normal; color: var(--faint); font-size: 12.5px; line-height: 1.45; }

.check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 13px; cursor: pointer; }
.check[hidden] { display: none; }
.check__box {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-top: 1px;
  border-radius: 6px;
  flex: none;
}
.check input { margin: 0; width: 17px; height: 17px; accent-color: var(--violet); }
.check.is-bad .check__box { box-shadow: 0 0 0 2px #ff5c7a; }
.check.is-bad input { accent-color: #ff5c7a; }

.error {
  padding: 11px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 92, 122, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 92, 122, .4);
  color: #ffb3c2;
  font-size: 13.5px;
  font-weight: 700;
}
.error[hidden] { display: none; }

.modal__alt { color: var(--muted); font-size: 13.5px; text-align: center; }

.pane--done { justify-items: center; text-align: center; gap: 14px; padding: 8px 0; }
.done__mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--grad);
  color: #07061c;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 18px 44px -14px rgba(139, 92, 255, .9);
}
.pane--done p { color: var(--muted); font-size: 15px; max-width: 30em; }

.btn.is-busy { pointer-events: none; opacity: .7; }

/* ═══ cart drawer ═══════════════════════════════════════════════════ */
.cart { position: fixed; inset: 0; z-index: 70; }
.cart[hidden] { display: none; }
.cart__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 18, .72);
  backdrop-filter: blur(10px);
  animation: fade .25s ease;
}
.cart__sheet {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100%;
  padding: 28px 24px 0;
  overscroll-behavior: contain;
  border-radius: 28px 0 0 28px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(139, 92, 255, .28), transparent 58%),
    rgba(17, 15, 46, .98);
  box-shadow: -28px 0 80px -36px #000;
  animation: cart-in .32s cubic-bezier(.2, .9, .3, 1);
}
@keyframes cart-in { from { transform: translateX(28px); opacity: .4; } }
.cart__handle {
  display: none;
  flex: none;
  width: 42px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
}
.cart__sheet .modal__x { top: 14px; right: 14px; }
.cart__form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}
.cart__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  min-height: 0;
  flex: 1;
  padding: 0 3px 12px;
  scrollbar-width: none;
}
.cart__body::-webkit-scrollbar { display: none; }
.cart__form .kicker { margin: 0; }
.cart__form[hidden] { display: none; }
.cart__pick {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 0;
}
.cart__plan {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(139, 92, 255, .16);
  box-shadow: inset 0 0 0 1.5px rgba(139, 92, 255, .7);
  color: inherit;
  font: 800 15px/1 inherit;
  box-sizing: border-box;
}
.cart__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--txt);
  cursor: pointer;
  box-sizing: border-box;
  flex: none;
  transition: background .2s, box-shadow .2s;
}
.cart__icon svg { width: 18px; height: 18px; }
.cart__icon:hover { background: rgba(255, 255, 255, .12); }
.cart__icon.is-on {
  background: rgba(139, 92, 255, .16);
  box-shadow: inset 0 0 0 1.5px rgba(139, 92, 255, .7);
}
.cart__plans {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 6;
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(20, 17, 50, .98);
  box-shadow: 0 18px 40px -18px #000, inset 0 0 0 1px var(--line);
}
.cart__plans[hidden] { display: none; }
.cart__plans button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.cart__plans button:hover { background: rgba(255, 255, 255, .08); }
.cart__plans button.is-on {
  background: rgba(139, 92, 255, .16);
  box-shadow: inset 0 0 0 1.5px rgba(139, 92, 255, .7);
}
.cart__plans b { font-size: 15px; font-weight: 800; }
.cart__plans span { color: var(--muted); font-size: 13px; font-weight: 700; }
.cart__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 2px 18px;
  scrollbar-width: none;
}
.cart__info[hidden] { display: none; }
.cart__info::-webkit-scrollbar { display: none; }
.cart__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: start;
  margin: 6px 0 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: 800 14px/1 inherit;
  cursor: pointer;
}
.cart__back svg { width: 18px; height: 18px; }
.cart__back:hover { color: var(--txt); }
.cart__info .kicker { margin: 0; }
.cart__info h3 { font-size: 28px; }
.cart__info-specs {
  display: grid;
  gap: 12px;
}
.cart__info-specs div { display: grid; gap: 4px; }
.cart__info-specs span { color: var(--faint); font-size: 12px; font-weight: 700; }
.cart__info-specs b { font-size: 15.5px; font-weight: 800; }
.cart__info-specs b.is-no { color: var(--faint); }
.cart__info-specs b.is-yes { color: var(--mint); }
.cart__info-price { margin: 4px 0 0; font-size: 22px; font-weight: 900; }
.cart__info-note { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.cart__promo-box { position: relative; display: block; width: 100%; }
#cartPromoInput { width: 100%; box-sizing: border-box; text-transform: uppercase; letter-spacing: .04em; }
.cart__promo-box:has(.cart__promo-go:not([hidden])) #cartPromoInput { padding-right: 48px; }
.cart__promo-go {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--txt);
  transform: translateY(-50%);
  cursor: pointer;
}
.cart__promo-go[hidden] { display: none; }
.cart__promo-go svg { width: 16px; height: 16px; }
.cart__promo-go-no { display: none; }
.cart__promo-go.is-miss .cart__promo-go-ok { display: none; }
.cart__promo-go.is-miss .cart__promo-go-no { display: block; }
.cart__promo-go:hover { background: rgba(255, 255, 255, .12); }
.cart__promo-lock {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}
.cart__promo-lock[hidden] { display: none; }
.cart__promo-status { margin: 0; color: var(--muted); font-size: 13.5px; }
.cart__promo-spin {
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .12);
  border-top-color: var(--muted);
  border-radius: 50%;
  animation: cart-spin .65s linear infinite;
}
.cart__promo-spin[hidden] { display: none; }
@keyframes cart-spin { to { transform: rotate(1turn); } }
.cart__promo-deal {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(111, 240, 200, .08);
  box-shadow: inset 0 0 0 1px rgba(111, 240, 200, .28);
}
.cart__promo-deal[hidden] { display: none; }
.cart__promo-deal b { font-size: 28px; font-weight: 900; letter-spacing: -.03em; }
.cart__promo-deal p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 700; }
.cart__promo-tg {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}
.cart__promo-tg p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}
.cart__form .field { margin-top: 14px; }
@media (min-width: 721px) {
  .cart__form .field { margin-top: 32px; }
}
.cart__form .field em {
  max-width: 22em;
  margin-inline: auto;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}
.cart__limits { margin: 0; color: var(--muted); font-size: 14px; }
.cart__terms {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 4px;
}
.cart__terms:has(.cart__term:nth-child(5):last-child) .cart__term:nth-child(n+4) {
  grid-column: span 3;
}
.cart__term {
  grid-column: span 2;
  padding: 8px 6px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px var(--line);
  color: inherit;
  font-size: 12.5px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
.cart__term:hover { background: rgba(255, 255, 255, .08); }
.cart__term.is-on {
  background: rgba(139, 92, 255, .16);
  box-shadow: inset 0 0 0 1.5px rgba(139, 92, 255, .7);
}
.cart__sum {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  min-height: 88px;
}
.cart__promo-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: 700 13.5px/1.4 inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cart__promo-link:hover { color: var(--txt); }
.cart__promo-link.is-on { color: var(--mint); text-decoration: none; }
.cart__total {
  margin: 0;
  color: var(--txt);
  font-size: clamp(40px, 6vw, 52px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  text-align: center;
}
.cart__pay {
  display: grid;
  gap: 10px;
  flex: none;
  padding: 14px 3px calc(18px + env(safe-area-inset-bottom, 0px));
}
.cart__more {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cart__more .btn { padding: 12px 10px; font-size: 13.5px; }
.cart__note {
  margin: 0;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

/* Только Android: iOS понимает -webkit-touch-callout, его не трогаем. */
@supports not (-webkit-touch-callout: none) {
  @media (max-width: 430px) {
    .cart__pay {
      justify-items: center;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      gap: 8px;
      padding: 12px 0 calc(16px + env(safe-area-inset-bottom, 0px));
    }
    .cart__pay > * {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      box-sizing: border-box;
    }
    .cart__pay .check {
      justify-content: center;
      text-align: center;
      font-size: 12px;
      gap: 8px;
    }
    .cart__more {
      width: 100%;
      gap: 6px;
    }
    .cart__more .btn {
      min-width: 0;
      padding: 10px 6px;
      font-size: 12.5px;
    }
    .cart__pay .btn--lg {
      padding: 13px 16px;
      font-size: 15.5px;
    }
    .cart__note {
      white-space: normal;
      font-size: 10.5px;
      padding-inline: 2px;
    }
  }
}

@media (max-width: 720px) {
  .cart__sheet {
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: calc(100dvh - 10px);
    max-height: calc(100dvh - 10px);
    padding-top: 10px;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -30px 80px -36px #000;
    animation: cart-up .32s cubic-bezier(.2, .9, .3, 1);
  }
  @keyframes cart-up { from { transform: translateY(40px); opacity: .4; } }
  .cart__handle { display: block; }
  body.is-cart .tg-bar { display: none; }
}

/* ═══ toast ════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  transform: translateX(-50%);
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(17, 15, 46, .96);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -20px #000;
  font-size: 14px;
  font-weight: 700;
  animation: pop .25s ease;
}
.toast[hidden] { display: none; }

/* ═══ telegram dock ════════════════════════════════════════════════ */
.tg-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px 11px 14px;
  border-radius: 20px;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  background:
    linear-gradient(105deg, rgba(37, 150, 230, .28), rgba(139, 92, 255, .22) 55%, rgba(74, 220, 255, .16)),
    rgba(10, 12, 36, .86);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .14),
    0 18px 40px -18px rgba(0, 0, 0, .85);
  color: var(--txt);
  text-decoration: none;
}
.tg-bar > * { pointer-events: auto; }
.tg-bar.is-frozen,
.tg-bar.is-frozen > * { pointer-events: none; }
.tg-bar__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #2aa4e0;
  box-shadow: 0 8px 18px -8px #2aa4e0;
}
.tg-bar__icon svg { width: 22px; height: 22px; display: block; }
.tg-bar__copy { display: grid; gap: 1px; min-width: 0; }
.tg-bar__copy b { font-size: 14.5px; font-weight: 800; letter-spacing: -.02em; }
.tg-bar__copy i { font-style: normal; color: var(--faint); font-size: 12.5px; font-weight: 700; }
.tg-bar__go {
  margin-left: auto;
  flex: none;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--grad);
  color: #0a0524;
  font-size: 13px;
  font-weight: 800;
}

@media (min-width: 720px) {
  .tg-bar {
    left: 50%;
    right: auto;
    width: min(520px, calc(100% - 32px));
    transform: translate3d(-50%, 0, 0);
  }
}

/* ═══ reveal ═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .8, .3, 1), transform .7s cubic-bezier(.2, .8, .3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ═══ responsive ═══════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .nav [data-open="download"] { display: none; }

  .nav.is-open {
    position: absolute;
    top: calc(100% + 8px);
    left: clamp(14px, 3vw, 48px);
    right: clamp(14px, 3vw, 48px);
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 14px;
    border-radius: var(--r-md);
    background: rgba(12, 10, 36, .98);
    box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -20px #000;
    backdrop-filter: blur(20px);
  }
  .nav.is-open a { padding: 12px 14px; font-size: 16px; }
  .topbar__actions .lang--menu { display: none; }
  .nav.is-open .lang {
    display: inline-flex;
    width: auto;
    justify-content: center;
    margin: 6px auto 0;
  }
  .nav.is-open .nav__login {
    display: inline-flex;
    width: 100%;
    margin-top: 8px;
    justify-content: center;
  }
}

@media (hover: none) and (pointer: coarse) {
  .nav [data-open="download"] { display: none; }
}

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { text-align: center; justify-items: center; }
  .hero .lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__stage { margin-top: 12px; }

  .split { grid-template-columns: minmax(0, 1fr); }
  .split__art { order: -1; max-width: 520px; margin-inline: auto; }
  .lk { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .topbar__actions [data-open="login"].btn--ghost {
    padding: 9px 12px;
    font-size: 13px;
    white-space: nowrap;
  }
  .topbar__actions .btn--primary { padding: 11px 15px; font-size: 13.5px; }
  .brand span { font-size: 19px; }
  .brand img { width: 30px; height: 30px; }
  .hero__cta .btn { width: 100%; }
  .marquee__group { gap: 32px; padding-right: 32px; }

  /* галочки читаются столбиком, а не рваной центрованной строкой */
  .ticks {
    display: inline-grid;
    justify-items: start;
    gap: 10px;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .plan__spec {
    justify-items: center;
    text-align: center;
  }
  .plan__row + .plan__row { grid-template-columns: 1fr; }

  .hero__stage { display: none; }
  html, body { overscroll-behavior-y: none; }
  .toast {
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    transform: none;
    text-align: center;
  }
  body:has(.tg-bar) .toast {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
  .modal__card {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .modal__card::-webkit-scrollbar { display: none; width: 0; }
  .modal__x { top: 12px; right: 12px; }
  .field input,
  input[type="email"],
  input[type="text"],
  input[type="tel"],
  input[type="search"],
  input[type="number"],
  textarea {
    font-size: 16px;
  }
}

@media (max-width: 430px) {
  .topbar__actions .btn--primary { display: none; }
  .topbar__actions [data-open="login"].btn--ghost {
    padding: 8px 10px;
    font-size: 12.5px;
  }
  .wrap { width: calc(100% - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}
