/* Страница активации подписок.
   Светлая «мистическая» тема: много воздуха, синие акценты, мягкое свечение, лёгкие шрифты.
   Это клиентская страница — НЕ стиль админки (никакого фиолетового/жёлтого и прямых углов). */
:root {
  --bg: #F6F8FE;
  --card: rgba(255, 255, 255, .92);
  --ink: #0E1A3A;
  --ink-2: #4A5878;            /* вторичный текст: ≥6.5:1 на фоне */
  --ink-3: #5E6C8C;            /* мелкий текст: ≥4.5:1 и на белом, и на фоне */
  --ink-light: #3F4D6E;        /* текст в Manrope 300: темнее, чтобы тонкие штрихи держали ≈7.8:1 */
  --line: rgba(14, 26, 58, .08);
  --line-2: rgba(14, 26, 58, .14);
  --accent: #2F6BFF;
  --accent-2: #2557E6;
  --accent-ink: #1F50D8;       /* синий для текста на светлом: ≥4.5:1 */
  --accent-soft: #E8EFFF;
  --accent-mist: #F3F6FF;
  --glow: rgba(47, 107, 255, .28);
  --pos: #149C86;
  --pos-soft: #E8F6F2;
  --pos-ink: #0B6F5F;
  --warn: #C4862A;
  --warn-soft: #FFF7EA;
  --warn-ink: #85560F;
  --neg: #D4566C;
  --neg-soft: #FDF0F2;
  --neg-ink: #AE3A50;
  --serif: "Cormorant Garamond", Cormorant, Georgia, "Times New Roman", serif;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --r: 22px;
  --r-sm: 14px;
  --shadow: 0 1px 2px rgba(14, 26, 58, .04), 0 14px 34px -18px rgba(14, 26, 58, .14), 0 40px 90px -42px rgba(47, 107, 255, .38);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: 22px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--accent-ink); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.lead, .v-head p, .hero .sub { text-wrap: pretty; }
b, strong { font-weight: 600; }
:focus-visible { outline: 2px solid rgba(47, 107, 255, .7); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ───── небо: сияние и звёзды (только CSS, за всем контентом) ───── */
.sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% -12%, #E2EBFF 0%, rgba(226, 235, 255, 0) 62%),
    linear-gradient(180deg, #F8FAFF 0%, #F5F7FE 100%);
}
.aura { position: absolute; display: block; border-radius: 50%; will-change: transform, opacity; }
.a1 {
  width: 900px; height: 900px; left: 50%; top: -560px; margin-left: -450px;
  background: radial-gradient(closest-side, rgba(47, 107, 255, .16), rgba(47, 107, 255, .05) 55%, rgba(47, 107, 255, 0));
  animation: breathe-aura 14s ease-in-out infinite;
}
.a2 {
  width: 620px; height: 620px; left: -320px; top: 34vh;
  background: radial-gradient(closest-side, rgba(110, 150, 255, .14), rgba(110, 150, 255, 0));
  animation: drift 24s ease-in-out infinite alternate;
}
.a3 {
  width: 560px; height: 560px; right: -300px; top: 60vh;
  background: radial-gradient(closest-side, rgba(90, 184, 245, .12), rgba(90, 184, 245, 0));
  animation: drift 28s ease-in-out -9s infinite alternate-reverse;
}
@keyframes breathe-aura { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.07); opacity: 1; } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(60px, -40px, 0) scale(1.08); } }

.stars { position: absolute; inset: 0; display: block; background-repeat: no-repeat; will-change: opacity; }
.s1 {
  background-image:
    radial-gradient(circle at 7% 12%, rgba(47, 107, 255, .55) 0 1px, rgba(47, 107, 255, 0) 1.6px),
    radial-gradient(circle at 22% 31%, rgba(47, 107, 255, .40) 0 .8px, rgba(47, 107, 255, 0) 1.4px),
    radial-gradient(circle at 91% 9%, rgba(47, 107, 255, .50) 0 1px, rgba(47, 107, 255, 0) 1.6px),
    radial-gradient(circle at 83% 27%, rgba(47, 107, 255, .35) 0 .8px, rgba(47, 107, 255, 0) 1.4px),
    radial-gradient(circle at 4% 58%, rgba(47, 107, 255, .45) 0 1px, rgba(47, 107, 255, 0) 1.6px),
    radial-gradient(circle at 96% 52%, rgba(47, 107, 255, .40) 0 1px, rgba(47, 107, 255, 0) 1.6px),
    radial-gradient(circle at 12% 84%, rgba(47, 107, 255, .35) 0 .8px, rgba(47, 107, 255, 0) 1.4px),
    radial-gradient(circle at 88% 78%, rgba(47, 107, 255, .45) 0 1px, rgba(47, 107, 255, 0) 1.6px),
    radial-gradient(circle at 63% 4%, rgba(47, 107, 255, .35) 0 .8px, rgba(47, 107, 255, 0) 1.4px);
  animation: twinkle 6s ease-in-out infinite;
}
.s2 {
  background-image:
    radial-gradient(circle at 15% 6%, rgba(95, 140, 255, .55) 0 1.1px, rgba(95, 140, 255, 0) 1.8px),
    radial-gradient(circle at 34% 15%, rgba(95, 140, 255, .35) 0 .8px, rgba(95, 140, 255, 0) 1.4px),
    radial-gradient(circle at 75% 16%, rgba(95, 140, 255, .50) 0 1px, rgba(95, 140, 255, 0) 1.6px),
    radial-gradient(circle at 97% 33%, rgba(95, 140, 255, .40) 0 .8px, rgba(95, 140, 255, 0) 1.4px),
    radial-gradient(circle at 2% 40%, rgba(95, 140, 255, .40) 0 .8px, rgba(95, 140, 255, 0) 1.4px),
    radial-gradient(circle at 93% 66%, rgba(95, 140, 255, .50) 0 1.1px, rgba(95, 140, 255, 0) 1.8px),
    radial-gradient(circle at 6% 72%, rgba(95, 140, 255, .45) 0 1px, rgba(95, 140, 255, 0) 1.6px),
    radial-gradient(circle at 78% 92%, rgba(95, 140, 255, .35) 0 .8px, rgba(95, 140, 255, 0) 1.4px);
  animation: twinkle 8s ease-in-out -3s infinite;
}
.s3 {
  background-image:
    radial-gradient(circle at 28% 9%, rgba(47, 107, 255, .45) 0 .9px, rgba(47, 107, 255, 0) 1.5px),
    radial-gradient(circle at 86% 44%, rgba(47, 107, 255, .45) 0 .9px, rgba(47, 107, 255, 0) 1.5px),
    radial-gradient(circle at 9% 33%, rgba(47, 107, 255, .40) 0 .9px, rgba(47, 107, 255, 0) 1.5px),
    radial-gradient(circle at 18% 96%, rgba(47, 107, 255, .40) 0 .9px, rgba(47, 107, 255, 0) 1.5px),
    radial-gradient(circle at 69% 11%, rgba(47, 107, 255, .40) 0 .9px, rgba(47, 107, 255, 0) 1.5px);
  animation: twinkle 5s ease-in-out -1.5s infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .9; } 50% { opacity: .25; } }

.top, .wrap, .foot { position: relative; z-index: 1; }

/* ───── шапка ───── */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 248, 254, .72);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid rgba(47, 107, 255, .08);
}
.top-in {
  max-width: 760px; margin: 0 auto; height: 62px;
  padding: 0 16px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { display: block; filter: drop-shadow(0 0 8px rgba(47, 107, 255, .45)); }
.brand-name {
  font: 600 21px/1 var(--serif); letter-spacing: .01em; color: var(--ink);
  padding-top: 1px;
}
.badge-secure {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: .01em;
  color: var(--accent-ink); background: rgba(255, 255, 255, .7);
  box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .16);
}

/* ───── колонка ───── */
.wrap {
  flex: 1; width: 100%; max-width: 520px; margin: 0 auto;
  padding: 30px 16px 36px;
}
.hero { position: relative; text-align: center; margin-bottom: 24px; }
.hero h1 {
  font: 500 38px/1.08 var(--serif); letter-spacing: .005em; color: var(--ink);
}
.ornament { display: block; margin: 12px auto 0; overflow: visible; }
.orn-star { transform-origin: 84px 7px; filter: drop-shadow(0 0 3px rgba(47, 107, 255, .6)); animation: spark 4.5s ease-in-out infinite; }
.spark { position: absolute; fill: var(--accent); opacity: .5; filter: drop-shadow(0 0 4px rgba(47, 107, 255, .5)); animation: spark 5s ease-in-out infinite; }
.sp1 { left: 6%; top: 4px; animation-delay: -1s; }
.sp2 { right: 9%; top: -6px; animation-delay: -2.6s; }
.sp3 { right: 3%; top: 48px; opacity: .35; animation-delay: -4s; }
@keyframes spark { 0%, 100% { transform: scale(1) rotate(0deg); opacity: .55; } 50% { transform: scale(.55) rotate(45deg); opacity: .2; } }
.hero .sub {
  margin: 12px auto 0; max-width: 380px;
  font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--ink-light);
  transition: opacity .25s var(--ease);
}
.hero .sub.fade { opacity: 0; }

/* ───── шаги: созвездие из четырёх звёзд ───── */
.steps {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.step .bar {
  position: absolute; top: 12px; height: 1.5px; margin-top: -.75px;
  left: calc(50% + 17px); right: calc(-50% + 17px);
  border-radius: 2px; background: rgba(47, 107, 255, .15);
}
.step:last-child .bar { display: none; }
.step .bar i {
  position: absolute; inset: 0; border-radius: inherit; transform-origin: 0 50%;
  transform: scaleX(var(--fill, 0));
  background: linear-gradient(90deg, #8FB0FF, var(--accent));
  box-shadow: 0 0 8px rgba(47, 107, 255, .55);
  transition: transform .6s var(--ease), background-color .3s;
}
.step.is-loading .bar { overflow: hidden; }
.step.is-loading .bar i {
  transform: none; box-shadow: none;
  background: linear-gradient(90deg, rgba(47, 107, 255, 0), var(--accent) 50%, rgba(47, 107, 255, 0));
  animation: slide 1.3s ease-in-out infinite;
}
.step.is-error .bar i { transform: scaleX(0); box-shadow: none; } /* ошибка — только на самой звезде, линия дальше не идёт */
.step .node {
  position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(14, 26, 58, .14);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.step .num { font: 500 11px/1 var(--sans); color: var(--ink-3); transition: color .3s; }
.step .lbl {
  margin-top: 9px; max-width: 100%;
  font-size: clamp(10.5px, 3.05vw, 12.5px); font-weight: 500; line-height: 1.3; letter-spacing: .01em;
  color: var(--ink-3); white-space: nowrap; transition: color .3s;
}
.step.is-active .node, .step.is-loading .node {
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(47, 107, 255, .09), 0 0 18px rgba(47, 107, 255, .35);
}
.step.is-active .node::after, .step.is-loading .node::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(47, 107, 255, .5);
  animation: halo 2.8s ease-out infinite;
}
.step.is-active .num, .step.is-loading .num { color: var(--accent-ink); font-weight: 600; }
.step.is-active .lbl, .step.is-loading .lbl { color: var(--ink); }
.step.is-done .node {
  background: linear-gradient(145deg, #6A98FF, var(--accent-2));
  box-shadow: 0 0 0 3px rgba(47, 107, 255, .08), 0 0 14px rgba(47, 107, 255, .4);
}
.step.is-done .num { font-size: 0; }
.step.is-done .num::before {
  content: ""; display: block; width: 8px; height: 4.5px; margin-top: -2px;
  border: solid #fff; border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg);
}
.step.is-done .lbl { color: var(--ink-2); }
.step.is-error .node { background: var(--neg); box-shadow: 0 0 0 3px rgba(212, 86, 108, .1); }
.step.is-error .num { color: #fff; }
.step.is-error .lbl { color: var(--neg-ink); }
@keyframes halo { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

/* ───── карточка ───── */
.card {
  position: relative;
  background: var(--card);
  border-radius: var(--r);
  box-shadow: 0 0 0 1px rgba(30, 60, 150, .07), var(--shadow);
  padding: var(--pad);
}
.card::before {
  /* тонкий световой кант сверху — как отблеск на стекле */
  content: ""; position: absolute; left: 18%; right: 18%; top: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(47, 107, 255, 0), rgba(47, 107, 255, .45), rgba(47, 107, 255, 0));
}
.card.is-sizing { overflow: hidden; transition: height .32s var(--ease); }
.view { display: flex; flex-direction: column; gap: 18px; }
.view.enter { animation: viewIn .38s var(--ease) both; }
.view.leave { animation: viewOut .15s ease-in both; pointer-events: none; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes viewOut { to { opacity: 0; transform: translateY(-4px); } }

.v-head h2 { font: 500 27px/1.15 var(--serif); letter-spacing: .003em; color: var(--ink); }
.v-head p { margin-top: 6px; color: var(--ink-light); font-size: 15px; font-weight: 300; }
.v-head h2:focus { outline: none; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; line-height: 1.55; }
.center { text-align: center; }

/* скелетон */
.skel { gap: 14px; }
.sk {
  display: block; height: 14px; border-radius: 8px;
  background: linear-gradient(90deg, #EEF2FD 0%, #F7F9FF 40%, #EEF2FD 80%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.sk-label { width: 34%; height: 12px; }
.sk-code { height: 64px; border-radius: var(--r-sm); }
.sk-line { width: 88%; }
.sk-line.short { width: 56%; }
.sk-btn { height: 52px; margin-top: 6px; border-radius: 999px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ───── кнопки ───── */
.btn {
  -webkit-appearance: none; appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px;
  font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: .01em;
  text-decoration: none; text-align: center;
  cursor: pointer; user-select: none;
  transition: background-color .2s, color .2s, box-shadow .25s var(--ease), transform .1s, filter .2s;
}
.btn:active:not(:disabled) { transform: translateY(1px) scale(.995); }
.btn-block { width: 100%; }
.btn-cta {
  color: #fff;
  background: linear-gradient(180deg, #3F77FF 0%, #2C66FA 50%, #2459EC 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 0 0 1px rgba(37, 87, 230, .55), 0 10px 24px -12px rgba(47, 107, 255, .85);
}
.btn-cta:hover:not(:disabled) {
  filter: brightness(1.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1px rgba(37, 87, 230, .55), 0 12px 30px -10px rgba(47, 107, 255, .8), 0 0 26px rgba(47, 107, 255, .28);
}
.btn-cta:focus-visible {
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1px rgba(37, 87, 230, .55), 0 0 0 4px rgba(47, 107, 255, .22), 0 0 28px rgba(47, 107, 255, .4);
}
.btn-cta:disabled { background: #ECF0FA; color: #8A97B6; box-shadow: inset 0 0 0 1px rgba(14, 26, 58, .05); cursor: not-allowed; }
.btn-cta.is-busy:disabled {
  background: linear-gradient(180deg, #3F77FF 0%, #2C66FA 50%, #2459EC 100%);
  color: #fff; cursor: progress;
  box-shadow: 0 0 0 1px rgba(37, 87, 230, .55), 0 10px 24px -12px rgba(47, 107, 255, .85);
}
.btn-soft {
  background: var(--accent-mist); color: var(--accent-ink);
  box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .16);
}
.btn-soft:hover { background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .3), 0 0 20px rgba(47, 107, 255, .12); }
.btn-ghost, .btn-line {
  background: rgba(255, 255, 255, .6); color: var(--ink-2); font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost:hover:not(:disabled), .btn-line:hover:not(:disabled) { color: var(--accent-ink); box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .35); }
.btn-ghost:disabled { color: #8A97B6; background: rgba(255, 255, 255, .4); box-shadow: inset 0 0 0 1px rgba(14, 26, 58, .08); cursor: not-allowed; }
.btn-sm { min-height: 48px; padding: 0 18px; font-size: 14px; }
.btn svg { flex: none; }
.btn-link {
  background: none; border: 0; padding: 6px 0; min-height: 44px;
  color: var(--accent-ink); font-weight: 500; font-size: 14px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
}
.btn-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-row { display: flex; flex-direction: column; gap: 10px; }

.spin {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: rot .8s linear infinite;
}
@keyframes rot { to { transform: rotate(360deg); } }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ───── шаг 1: код ───── */
.label { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.code-top { display: flex; align-items: center; justify-content: space-between; margin: -10px 0 -10px; }
.copy {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px;
  border: 0; background: none; color: var(--accent-ink); font-size: 13px; font-weight: 500; cursor: pointer;
}
.copy:hover { text-decoration: underline; text-underline-offset: 3px; }
.codebox {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 76px; padding: 16px; border-radius: var(--r-sm);
  background: radial-gradient(120% 140% at 50% 0%, #FFFFFF 0%, #F1F5FF 100%);
  box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .16), 0 0 30px -6px rgba(47, 107, 255, .2);
  font: 500 clamp(15px, 4.6vw, 20px)/1.3 var(--mono);
  letter-spacing: .06em; color: var(--ink);
  overflow-wrap: anywhere; text-align: center;
}
.code-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ok-line { display: inline-flex; align-items: center; gap: 8px; color: var(--pos-ink); font-weight: 500; font-size: 14px; }
.ok-dot {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pos); color: #fff; flex: none;
  box-shadow: 0 0 0 3px rgba(20, 156, 134, .12);
}
.ok-dot.pop { animation: pop .5s var(--ease) both; }
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
  background: var(--accent-mist); color: var(--accent-ink);
  box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .16);
}
.chip svg { opacity: .8; }

/* сводка кода над шагами 2 и 4 */
.coderow {
  display: flex; align-items: center; gap: 8px;
  padding: 11px var(--pad); margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 0;
  border-radius: var(--r) var(--r) 0 0;
  background: linear-gradient(180deg, rgba(243, 246, 255, .9), rgba(243, 246, 255, .5));
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.coderow .ok-dot { width: 18px; height: 18px; box-shadow: none; }
.coderow .c { font: 500 12.5px/1.2 var(--mono); letter-spacing: .01em; white-space: nowrap; flex: none; color: var(--ink); }
.coderow .p { margin-left: auto; color: var(--ink-3); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* ввод кода */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.input {
  height: 56px; width: 100%; padding: 0 18px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff;
  font: 500 17px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase;
  transition: border-color .2s, box-shadow .25s var(--ease);
}
.input::placeholder { color: #A3AEC7; font-weight: 400; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47, 107, 255, .12), 0 0 24px rgba(47, 107, 255, .14); }
.input.is-bad { border-color: var(--neg); box-shadow: 0 0 0 4px var(--neg-soft); }
.field-err { color: var(--neg-ink); font-weight: 500; }
.field-err:empty { display: none; }

/* ───── плашки ───── */
.note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.55;
  background: var(--accent-mist); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .08);
}
.note .ic { flex: none; margin-top: 1px; color: var(--accent); }
.note b { display: block; font-weight: 600; margin-bottom: 2px; }
.note.warn { background: var(--warn-soft); box-shadow: inset 0 0 0 1px rgba(196, 134, 42, .14); }
.note.warn .ic { color: var(--warn); }
.note.neg { background: var(--neg-soft); box-shadow: inset 0 0 0 1px rgba(212, 86, 108, .14); }
.note.neg .ic { color: var(--neg); }
.note.pos { background: var(--pos-soft); }
.note.pos .ic { color: var(--pos); }
.note-in { min-width: 0; }

/* ───── шаг 2: аккаунт ───── */
.instr { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.instr > li {
  display: grid; grid-template-columns: 28px 1fr; column-gap: 14px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.instr > li:first-child { border-top: 0; padding-top: 2px; }
.instr > li:last-child { padding-bottom: 0; }
.dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12.5px; font-weight: 600;
  background: var(--accent-mist); color: var(--accent-ink);
  box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .2);
  transition: background .3s, color .3s, box-shadow .3s;
}
.instr > li.is-done .dot {
  background: linear-gradient(145deg, #6A98FF, var(--accent-2)); color: #fff;
  box-shadow: 0 0 12px rgba(47, 107, 255, .35);
}
.instr > li.is-done .dot span { display: none; }
.instr > li:not(.is-done) .dot svg { display: none; }
.instr .t { font-weight: 600; font-size: 15px; line-height: 1.4; padding-top: 3px; }
.instr .d { color: var(--ink-2); font-size: 13.5px; line-height: 1.55; margin-top: 4px; }
.instr .b { grid-column: 1 / -1; margin-top: 14px; min-width: 0; }
.instr .b > .btn { width: 100%; justify-content: space-between; white-space: nowrap; }

.paste {
  position: relative; background: #fff; border-radius: var(--r-sm);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .25s var(--ease);
}
.paste:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(47, 107, 255, .1), 0 0 24px rgba(47, 107, 255, .12); }
.paste textarea {
  display: block; width: 100%; height: 112px; min-height: 76px; max-height: 240px; resize: vertical;
  padding: 13px 15px; border: 0; border-radius: var(--r-sm) var(--r-sm) 0 0; background: transparent;
  font: 400 12.5px/1.5 var(--mono); color: var(--ink);
  overflow-wrap: anywhere; transition: height .25s var(--ease);
}
.paste textarea::placeholder { color: #66738F; font-family: var(--sans); font-size: 14px; font-weight: 400; }
.paste textarea:focus { outline: none; }
.paste.is-ok { box-shadow: inset 0 0 0 1.5px rgba(20, 156, 134, .6); }
.paste.is-ok:focus-within { box-shadow: inset 0 0 0 1.5px var(--pos), 0 0 0 4px var(--pos-soft); }
/* данные приняты: сырой текст (там и токен) размыт, пока поле не в фокусе */
.paste.is-ok textarea:not(:focus), .paste.is-warn textarea:not(:focus) {
  height: 52px; min-height: 52px; max-height: 52px; resize: none; overflow: hidden;
  color: transparent; text-shadow: 0 0 7px rgba(14, 26, 58, .35);
}
.paste .pasted {
  position: absolute; left: 0; right: 0; top: 0; height: 52px; z-index: 1;
  display: none; align-items: center; justify-content: center; pointer-events: none;
}
.paste .pasted > span {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px rgba(14, 26, 58, .06), 0 2px 10px -4px rgba(14, 26, 58, .15);
}
.paste .pasted svg { color: var(--pos); }
.paste.is-ok:not(:focus-within) .pasted, .paste.is-warn:not(:focus-within) .pasted { display: flex; }
.paste.is-bad { box-shadow: inset 0 0 0 1.5px var(--neg); }
.paste.is-bad:focus-within { box-shadow: inset 0 0 0 1.5px var(--neg), 0 0 0 4px var(--neg-soft); }
.paste.is-warn { box-shadow: inset 0 0 0 1.5px var(--warn); }
.paste-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: #F7F9FF; border-top: 1px solid var(--line);
}
.paste-bar .paste-btn { min-height: 46px; padding: 0 18px; }
.paste-bar .clear-btn {
  min-height: 46px; padding: 0 14px; border: 0; background: none; border-radius: 999px;
  color: var(--ink-3); font-size: 13px; font-weight: 500; cursor: pointer;
}
.paste-bar .clear-btn:hover { color: var(--ink); }

.check { margin-top: 10px; animation: viewIn .28s var(--ease) both; }
.acc {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: var(--r-sm); background: var(--pos-soft);
}
.acc .ok-dot { width: 26px; height: 26px; }
.acc .who { min-width: 0; flex: 1; }
.acc .who-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.acc .who b { font-size: 13.5px; font-weight: 600; color: var(--pos-ink); }
.acc .who > span { display: block; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.plan {
  flex: none; height: 22px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  background: #fff; color: var(--pos-ink); box-shadow: inset 0 0 0 1px rgba(20, 156, 134, .3);
}
.plan.warn { color: var(--warn-ink); box-shadow: inset 0 0 0 1px rgba(196, 134, 42, .4); }
.check .note { padding: 12px 14px; font-size: 13.5px; }
.check .note + .note { margin-top: 8px; }

details.hint { margin-top: 12px; }
details.hint summary {
  list-style: none; cursor: pointer; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px;
  font-size: 14px; font-weight: 500; color: var(--accent-ink);
}
details.hint summary::-webkit-details-marker { display: none; }
details.hint summary svg { transition: transform .25s var(--ease); }
details.hint[open] summary svg { transform: rotate(180deg); }
.hint-body {
  margin-top: 6px; padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--accent-mist); box-shadow: inset 2px 0 0 rgba(47, 107, 255, .5);
  font-size: 13.5px; color: var(--ink-2); display: flex; flex-direction: column; gap: 10px;
  animation: viewIn .28s var(--ease) both;
}
.hint-body b { color: var(--ink); font-weight: 600; }
.kbd {
  font: 500 12px/1 var(--mono); padding: 3px 6px; border-radius: 6px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink);
}

.privacy {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px; color: var(--ink-3); line-height: 1.55;
}
.privacy svg { flex: none; margin-top: 2px; color: var(--accent); opacity: .8; }

/* кнопка внизу карточки; липкой становится, только когда ею можно пользоваться */
.actions {
  position: static; z-index: 2;
  display: flex; flex-direction: column; gap: 10px;
  margin: 0 calc(var(--pad) * -1) calc(var(--pad) * -1);
  padding: 14px var(--pad) calc(var(--pad) + env(safe-area-inset-bottom, 0px));
  border-radius: 0 0 var(--r) var(--r);
}
.actions.is-ready {
  position: sticky; bottom: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, .98) 80%, rgba(255, 255, 255, 0));
}
.confirm .actions { padding-top: 4px; } /* здесь панель не липкая: не закрывает галочку и сводку */
.actions .hintline { margin-top: 2px; text-align: center; font-size: 12.5px; color: var(--ink-3); min-height: 19px; }

/* ───── шаг 3: подтверждение ───── */
.summary {
  padding: 4px 16px; border-radius: 16px;
  background: #FAFBFF; box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .10);
}
.summary dl { margin: 0; }
.sum-acc { padding: 13px 0 14px; }
.sum-acc dt, .sum-row dt {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; color: var(--ink-3);
}
.sum-acc dt svg, .sum-row dt svg { flex: none; color: var(--accent); opacity: .75; }
.sum-acc dd { margin: 4px 0 0; padding-left: 25px; min-width: 0; }
.sum-acc .email { display: block; font: 600 17px/1.35 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.sum-acc .name { display: block; margin-top: 1px; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.sum-row {
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2px;
  padding: 11px 0; border-top: 1px solid rgba(14, 26, 58, .06);
}
.sum-row dd {
  margin: 0; min-width: 0; padding-left: 25px;
  font-size: 15px; font-weight: 500; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere;
}
.sum-row .mono { font: 400 13px/1.4 var(--mono); letter-spacing: .03em; color: var(--ink-2); }
.sum-row .tariff.warn { color: var(--warn-ink); }
.summary .note.warn { margin: -4px 0 12px; padding: 11px 13px; font-size: 13.5px; line-height: 1.5; }
.summary .note.warn + .sum-list .sum-row:first-child { border-top: 0; padding-top: 4px; }

.agree {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px; margin: -6px 0; border-radius: var(--r-sm); cursor: pointer;
  background: transparent; box-shadow: none;
  font-size: 14.5px; line-height: 1.45; font-weight: 500; color: var(--ink);
  transition: background-color .25s, box-shadow .3s var(--ease);
  -webkit-user-select: none; user-select: none;
}
.agree:hover { background: rgba(243, 246, 255, .7); }
.agree.is-on { background: var(--accent-mist); box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .35); }
.agree-t { min-width: 0; }
.agree-t small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.cb {
  -webkit-appearance: none; appearance: none; flex: none; margin: 0; cursor: pointer;
  width: 22px; height: 22px; border-radius: 7px; background: #fff center / 14px no-repeat;
  border: 1.5px solid rgba(14, 26, 58, .28);
  transition: background-color .2s, border-color .2s;
}
.cb:checked {
  background-color: var(--accent); border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E");
}
.cb:focus-visible { outline: 2px solid rgba(47, 107, 255, .7); outline-offset: 3px; }

/* ───── шаг 4: активация ───── */
.act { align-items: stretch; text-align: center; }
.orb {
  position: relative; width: 112px; height: 112px; margin: 10px auto 0;
  display: grid; place-items: center;
}
.orb .orbit { position: absolute; border-radius: 50%; }
.orb .o1 { inset: 0; border: 1px solid rgba(47, 107, 255, .16); animation: rot 4.5s linear infinite; }
.orb .o2 { inset: 16px; border: 1px solid rgba(47, 107, 255, .1); animation: rot 7s linear infinite reverse; }
.orb .orbit::before {
  content: ""; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px 2px rgba(47, 107, 255, .5);
}
.orb .o2::before { width: 4px; height: 4px; top: -2px; margin-left: -2px; background: #8FB0FF; box-shadow: 0 0 8px 1px rgba(47, 107, 255, .4); }
.orb .core {
  position: relative; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 34% 28%, #A9C3FF 0%, #5A8BFF 40%, #2F6BFF 70%, #2352E0 100%);
  box-shadow: 0 0 0 6px rgba(47, 107, 255, .07), 0 0 36px rgba(47, 107, 255, .45);
  animation: breathe 3.2s ease-in-out infinite;
}
.orb .core svg { fill: rgba(255, 255, 255, .9); }
@keyframes breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(47, 107, 255, .07), 0 0 30px rgba(47, 107, 255, .38); }
  50% { transform: scale(.94); box-shadow: 0 0 0 10px rgba(47, 107, 255, .05), 0 0 44px rgba(47, 107, 255, .5); }
}
.act h2 { font: 500 29px/1.15 var(--serif); color: var(--ink); }
.act h2:focus { outline: none; }
.act .lead { margin-top: 6px; color: var(--ink-light); font-size: 15px; font-weight: 300; }
.act-to {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin-top: 10px;
  font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere;
}
.act-to svg { flex: none; color: var(--accent); }
.act-to b { color: var(--ink); font-weight: 600; min-width: 0; }
.pbar { height: 4px; border-radius: 4px; background: var(--accent-soft); position: relative; overflow: hidden; }
.pbar > i {
  position: absolute; inset: 0; border-radius: inherit; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, #8FB0FF, var(--accent)); transition: transform .9s var(--ease);
}
.pbar > b {
  position: absolute; top: 0; bottom: 0; width: 40%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .75), rgba(255, 255, 255, 0));
  animation: slide 1.6s ease-in-out infinite;
}
.pbar.is-full > i { background: linear-gradient(90deg, #8FB0FF, var(--accent)); }
.pbar.is-full > b { display: none; }
.stages { list-style: none; margin: 0 auto; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 2px; }
.stages li {
  display: flex; align-items: center; gap: 12px; padding: 7px 0;
  font-size: 14.5px; font-weight: 400; color: var(--ink-3);
  transition: color .3s;
}
.stages .sd {
  width: 20px; height: 20px; border-radius: 50%; flex: none; position: relative;
  border: 1.5px solid rgba(14, 26, 58, .16); display: grid; place-items: center;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.stages li.is-active { color: var(--ink); font-weight: 500; }
.stages li.is-active .sd { border-color: var(--accent); border-right-color: transparent; animation: rot .9s linear infinite; }
.stages li.is-done { color: var(--ink-2); }
.stages li.is-done .sd {
  background: linear-gradient(145deg, #6A98FF, var(--accent-2)); border-color: transparent;
  box-shadow: 0 0 10px rgba(47, 107, 255, .35); animation: pop .4s var(--ease) both;
}
.stages li.is-done .sd::before {
  content: ""; width: 7.5px; height: 4px; margin-top: -2px;
  border: solid #fff; border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg);
}
.stages li.is-wait { color: var(--ink); font-weight: 500; }
.stages li.is-wait .sd { border-color: var(--accent); background: var(--accent-mist); box-shadow: 0 0 10px rgba(47, 107, 255, .3); }
.stages li.is-wait .sd::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: twinkle 1.6s ease-in-out infinite; }
.act-note { font-size: 13px; color: var(--ink-2); }
.act-note:empty { display: none; }

.panel {
  text-align: left; padding: 18px; border-radius: 16px;
  background: linear-gradient(180deg, #F6F8FF, #EEF3FF);
  box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .18), 0 0 34px -8px rgba(47, 107, 255, .25);
  display: flex; flex-direction: column; gap: 12px;
  animation: viewIn .32s var(--ease) both;
}
.panel h3 { display: flex; align-items: center; gap: 10px; font: 500 22px/1.2 var(--serif); color: var(--ink); }
.panel h3 svg { color: var(--accent); flex: none; filter: drop-shadow(0 0 6px rgba(47, 107, 255, .4)); }
.panel p { font-size: 14px; color: var(--ink-2); }
.panel .meta { font-size: 12.5px; color: var(--ink-3); text-align: center; }
.panel .err { font-size: 13.5px; color: var(--neg-ink); font-weight: 500; }
.panel .err:empty, .panel .meta:empty { display: none; }
.panel .waiting { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }

/* ───── финал ───── */
.final { align-items: center; text-align: center; padding: 6px 0 2px; }
.final h2 { font: 500 30px/1.15 var(--serif); max-width: 380px; color: var(--ink); }
.final h2:focus { outline: none; }
.final .lead { color: var(--ink-light); font-size: 15px; font-weight: 300; max-width: 370px; margin-top: -4px; overflow-wrap: anywhere; }
.final .lead .who { font-weight: 600; color: var(--ink); }
.final .act-to { margin-top: -8px; }
.final .btn-row { width: 100%; margin-top: 4px; }
.receipt {
  display: flex; flex-direction: column; align-items: center; gap: 2px; max-width: 100%;
  margin-top: -6px; padding: 10px 18px; border-radius: var(--r-sm);
  font-size: 13.5px; line-height: 1.5; color: var(--ink-2); text-align: center;
  background: var(--accent-mist); box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .14);
}
.receipt .r1 { display: block; overflow-wrap: anywhere; }
.receipt .r1 svg { display: inline-block; vertical-align: -1px; margin-right: 6px; color: var(--accent); fill: rgba(47, 107, 255, .25); }
.receipt .r2 { font-size: 12.5px; color: var(--ink-3); }
.receipt b { color: var(--ink); font-weight: 600; }

.medal { position: relative; width: 96px; height: 96px; margin: 10px auto 4px; }
.medal svg { position: relative; z-index: 2; display: block; overflow: visible; }
.medal .halo {
  position: absolute; inset: -18px; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(47, 107, 255, .22), rgba(47, 107, 255, 0));
  animation: glow-in .9s var(--ease) .2s both, breathe-aura 5s ease-in-out 1.1s infinite;
}
.medal:not(.is-solid) .halo { background: radial-gradient(closest-side, rgba(47, 107, 255, .12), rgba(47, 107, 255, 0)); }
.medal .ring { stroke-dasharray: 277; stroke-dashoffset: 277; animation: draw .9s var(--ease) .05s forwards; }
.medal .tick { stroke-dasharray: 46; stroke-dashoffset: 46; animation: draw .45s var(--ease) .55s forwards; }
.medal .fill { transform-origin: 50% 50%; transform: scale(0); animation: pop .55s var(--ease) .3s forwards; }
.medal.is-solid svg { filter: drop-shadow(0 8px 18px rgba(47, 107, 255, .35)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes glow-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.medal .wave {
  position: absolute; inset: 12px; border-radius: 50%; z-index: 1;
  border: 1px solid rgba(47, 107, 255, .45); opacity: 0;
  animation: wave 1.3s cubic-bezier(.2, .6, .3, 1) .6s forwards;
}
@keyframes wave { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.1); } }
.burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 1; }
.burst i {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px;
  background: var(--c, var(--accent)); opacity: 0;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  transform: rotate(var(--a)) translateY(-34px) scale(.2);
  animation: burst 1.1s cubic-bezier(.15, .7, .3, 1) calc(.6s + var(--t, 0ms)) forwards;
}
@keyframes burst {
  0% { opacity: 0; transform: rotate(var(--a)) translateY(-34px) scale(.2); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--d) * -1)) scale(var(--s, 1)); }
}
.icon-round {
  width: 76px; height: 76px; border-radius: 50%; margin: 8px auto 0;
  display: grid; place-items: center; animation: pop .5s var(--ease) both;
}
.icon-round.neg { background: var(--neg-soft); color: var(--neg); box-shadow: 0 0 0 8px rgba(253, 240, 242, .45); }
.icon-round.warn { background: var(--warn-soft); color: var(--warn); box-shadow: 0 0 0 8px rgba(255, 247, 234, .6), 0 0 30px rgba(196, 134, 42, .14); }
.icon-round.accent { background: var(--accent-mist); color: var(--accent); box-shadow: 0 0 0 8px rgba(243, 246, 255, .7), 0 0 30px rgba(47, 107, 255, .2); }
.icon-round svg { stroke-width: 1.8; }
.support { font-size: 13px; color: var(--ink-3); }

.foot {
  padding: 8px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  text-align: center; font-size: 12px; font-weight: 400; color: var(--ink-3); letter-spacing: .04em;
}
.noscript { text-align: center; padding: 20px; border-radius: var(--r-sm); background: var(--warn-soft); margin-top: 12px; }

@media (max-width: 399px) {
  .step .lbl { font-size: 11px; letter-spacing: 0; }
}
@media (max-width: 389px) {
  .coderow .p { display: none; } /* «ChatGPT P…» обрезалось; продукт и так виден на шагах кода и подтверждения */
}
/* телефон: задача — в первом экране. Подзаголовок прячем (шаг и так объявляет #live). */
@media (max-width: 559px) {
  .wrap { padding-top: 18px; }
  .hero { margin-bottom: 14px; }
  .hero h1 { font-size: 31px; }
  .ornament { margin-top: 8px; }
  .hero .sub { display: none; }
  .sp3 { top: 34px; }
  .steps { margin-bottom: 14px; }
  .step .lbl { margin-top: 6px; }
  .receipt b { display: block; }
}

@media (min-width: 560px) {
  :root { --pad: 32px; }
  .wrap { padding-top: 52px; }
  .hero { margin-bottom: 30px; }
  .hero h1 { font-size: 48px; }
  .hero .sub { font-size: 16px; max-width: 400px; }
  .steps { margin-bottom: 26px; }
  .v-head h2 { font-size: 29px; }
  .instr .b { grid-column: 2; }
  .instr .b > .btn { width: auto; justify-content: center; }
  .btn-row { flex-direction: row-reverse; }
  .btn-row .btn { flex: 1; }
  .sum-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 10px 0; }
  .sum-row dt { flex: none; font-size: 13.5px; }
  .sum-row dd { padding-left: 0; text-align: right; }
  .sum-acc dt { font-size: 13.5px; }
  .sum-acc .email { font-size: 18px; }
  /* мягкое синее свечение по бокам колонки и прямо за карточкой */
  .a2 {
    left: calc(50% - 640px); top: 220px; width: 700px; height: 700px;
    background: radial-gradient(closest-side, rgba(47, 107, 255, .16), rgba(47, 107, 255, 0));
  }
  .a3 {
    right: calc(50% - 660px); top: 420px;
    background: radial-gradient(closest-side, rgba(90, 150, 255, .15), rgba(90, 150, 255, 0));
  }
  .wrap::before {
    content: ""; position: absolute; z-index: -1; left: 50%; top: 260px;
    width: 640px; height: 520px; margin-left: -320px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgba(47, 107, 255, .12), rgba(47, 107, 255, 0));
  }
  .card { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); background: rgba(255, 255, 255, .86); }
  .sp1 { left: 2%; }
  .sp2 { right: 6%; }
}

/* iOS увеличивает страницу при фокусе на поле со шрифтом меньше 16px */
@media (hover: none) and (pointer: coarse) {
  .paste textarea { font-size: 16px; line-height: 1.4; }
}

@media (hover: none) {
  .btn-soft:hover { background: var(--accent-mist); box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .16); }
  .btn-cta:hover:not(:disabled) { filter: none; }
  .agree:hover { background: transparent; }
  .agree.is-on:hover { background: var(--accent-mist); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    animation-delay: 0s !important; transition-duration: .01ms !important;
  }
  /* индикаторы ожидания оставляем, но медленными */
  .spin, .orb .orbit, .stages li.is-active .sd, .sk {
    animation-duration: 2.4s !important; animation-iteration-count: infinite !important;
  }
  .burst, .pbar > b, .medal .wave { display: none; }
  .view.enter { filter: none; }
}

/* Cormorant по умолчанию рисует старостильные цифры («1» как «ı») — включаем обычные.
   Стоит в конце: шорткат font выше сбрасывает font-feature-settings. */
.hero h1, .v-head h2, .act h2, .final h2, .panel h3, .brand-name {
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
