/* ═══ 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%; }

body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--txt);
  font: 400 16px/1.6 Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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;
  left: -9999px;
  top: 0;
  padding: 12px 18px;
  background: var(--violet);
  z-index: 99;
}
.skip:focus { left: 12px; top: 12px; }

.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; }
.aurora span {
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .34;
  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) scale(1); }
  50%      { transform: translate3d(4vw, 5vw, 0) scale(1.14); }
}

/* ═══ 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;
  transition: padding .25s, background .25s, box-shadow .25s;
}
.topbar.is-stuck {
  padding: 8px 0;
  background: rgba(7, 6, 26, .72);
  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; 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); }

.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; }

.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; }

.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;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__row {
  display: flex;
  gap: 52px;
  width: max-content;
  animation: slide 34s linear infinite;
}
.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(-50%); } }

/* ═══ 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: space-between; gap: 10px; }
.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);
}

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

/* ── 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-y: auto;
  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;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: var(--muted);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.modal__x:hover { background: rgba(255, 255, 255, .14); color: var(--txt); }

.pane { display: grid; gap: 16px; }
.pane[hidden] { display: none; }
.pane .kicker { margin: 0; }
.pane h3 { font-size: 25px; }

.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 > span { font-size: 14px; font-weight: 800; }
.field input {
  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 input::placeholder { color: rgba(238, 240, 255, .3); }
.field input: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 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 input { margin: 2px 0 0; width: 17px; height: 17px; accent-color: var(--violet); flex: none; }

.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; }

/* ═══ toast ════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  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; }

/* ═══ 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.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; }
}

@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, .ticks { 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 .btn--ghost { display: none; }
  .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__row { gap: 32px; }

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

@media (max-width: 430px) {
  .topbar__actions .btn--primary { display: none; }
  .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; }
}
