:root {
  --bg: #eef4ff;
  --bg-soft: rgba(255, 255, 255, 0.8);
  --bg-panel: rgba(255, 255, 255, 0.62);
  --bg-panel-strong: rgba(12, 20, 42, 0.84);
  --text: #0b1220;
  --text-soft: rgba(11, 18, 32, 0.7);
  --text-inverse: #f5f8ff;
  --line: rgba(11, 18, 32, 0.09);
  --line-strong: rgba(110, 150, 255, 0.22);
  --accent: #789eff;
  --accent-strong: #3158ff;
  --accent-soft: rgba(107, 140, 255, 0.16);
  --danger-soft: rgba(140, 46, 74, 0.1);
  --shadow: 0 28px 100px rgba(37, 58, 110, 0.14);
  --shadow-deep: 0 38px 110px rgba(18, 32, 67, 0.2);
  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --radius-xs: 14px;
}

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

html {
  scroll-behavior: smooth;
  /* Базовый масштаб текста от ширины окна (без смены смысла контента) */
  font-size: clamp(15px, 0.55vw + 12.5px, 19px);
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background:
    radial-gradient(circle at 8% 12%, rgba(146, 178, 255, 0.32), transparent 24%),
    radial-gradient(circle at 100% 4%, rgba(255, 255, 255, 0.96), transparent 16%),
    radial-gradient(circle at 84% 44%, rgba(164, 190, 255, 0.22), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(14, 29, 64, 0.08), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #eff5ff 30%, #e8f0ff 68%, #edf2fb 100%);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.55s ease, color 0.38s ease;
}

body[data-theme="dark"] {
  --bg: #07101f;
  --bg-soft: rgba(11, 18, 32, 0.74);
  --bg-panel: rgba(12, 22, 43, 0.74);
  --bg-panel-strong: rgba(7, 13, 26, 0.92);
  --text: #edf3ff;
  --text-soft: rgba(232, 239, 255, 0.7);
  --text-inverse: #f5f8ff;
  --line: rgba(173, 195, 255, 0.14);
  --line-strong: rgba(125, 160, 255, 0.32);
  --accent: #8aacff;
  --accent-strong: #6f96ff;
  --accent-soft: rgba(111, 150, 255, 0.18);
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.36);
  --shadow-deep: 0 40px 120px rgba(0, 0, 0, 0.48);
  background:
    radial-gradient(circle at 12% 8%, rgba(76, 116, 210, 0.28), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(52, 80, 146, 0.18), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(110, 148, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #0a1426 0%, #091120 30%, #07101d 65%, #060c17 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(8px);
  z-index: 0;
  transition: background 0.55s ease, opacity 0.55s ease, transform 0.55s ease;
}

body::before {
  top: 92px;
  right: -70px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(112, 170, 255, 0.22), rgba(110, 170, 255, 0));
}

body[data-theme="dark"]::before {
  background: radial-gradient(circle, rgba(92, 134, 255, 0.18), rgba(92, 134, 255, 0));
}

body::after {
  left: -60px;
  bottom: 180px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
}

body[data-theme="dark"]::after {
  background: radial-gradient(circle, rgba(27, 43, 78, 0.9), rgba(27, 43, 78, 0));
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 98, 160, 0.06) 1px, transparent 1px);
  background-size: 6px 6px, 6px 6px;
  mix-blend-mode: soft-light;
  z-index: 0;
  transition: opacity 0.45s ease, background-image 0.45s ease;
}

.theme-transition-layer {
  position: fixed;
  inset: -12vmax;
  pointer-events: none;
  z-index: 30;
  opacity: 0;
  transform: scale(0.82);
  background:
    radial-gradient(circle at calc(100% - 118px) 72px, rgba(255, 255, 255, 0.62) 0%, rgba(180, 205, 255, 0.34) 10%, rgba(124, 156, 238, 0.16) 18%, rgba(124, 156, 238, 0.06) 26%, rgba(124, 156, 238, 0) 40%);
}

body[data-theme="dark"] .theme-transition-layer {
  background:
    radial-gradient(circle at calc(100% - 118px) 72px, rgba(214, 229, 255, 0.28) 0%, rgba(121, 154, 236, 0.22) 12%, rgba(78, 111, 193, 0.14) 22%, rgba(78, 111, 193, 0.05) 30%, rgba(78, 111, 193, 0) 42%);
}

body.is-theme-switching .theme-transition-layer {
  animation: themeSwitchFlash 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-theme="dark"] .noise {
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 157, 227, 0.08) 1px, transparent 1px);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(14px, 4.2vw, 48px) clamp(32px, 5vw, 48px);
  box-sizing: border-box;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(10px, 2vw, 20px);
  margin-top: 18px;
  margin-inline: clamp(0px, 2.5vw, 72px);
  max-width: 100%;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.76), rgba(236, 244, 255, 0.58)),
    linear-gradient(90deg, rgba(212, 225, 255, 0.16), rgba(255, 255, 255, 0));
  backdrop-filter: blur(20px);
  box-shadow:
    0 12px 34px rgba(64, 89, 156, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.76) inset;
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease, backdrop-filter 0.45s ease;
}

@media (min-width: 921px) {
  .topbar {
    padding-top: 0;
    padding-bottom: 0;
  }

  .brandmark {
    align-self: center;
    justify-self: start;
    transform: translateX(0.25cm);
  }

  .brandmark__logo {
    transform: translateY(0.05cm);
  }
}

.topbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 84px;
  min-height: 46px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(108, 137, 212, 0.2);
  background: linear-gradient(180deg, rgba(239, 245, 255, 0.92), rgba(224, 235, 255, 0.82));
  color: var(--text);
  box-shadow:
    0 10px 24px rgba(76, 104, 181, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition: transform 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.96), rgba(228, 237, 255, 0.86));
  border-color: rgba(90, 125, 215, 0.26);
}

.theme-toggle::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 36px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(229, 237, 255, 0.92));
  box-shadow:
    0 8px 18px rgba(59, 86, 155, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.theme-toggle__icon {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.72;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.theme-toggle__icon--sun {
  margin-left: 3px;
}

.theme-toggle__icon--moon {
  margin-right: 3px;
}

.theme-toggle[aria-pressed="false"] .theme-toggle__icon--sun,
.theme-toggle[aria-pressed="true"] .theme-toggle__icon--moon {
  opacity: 1;
  transform: scale(1.02);
}

body[data-theme="dark"] .topbar {
  border-color: rgba(148, 175, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(12, 21, 39, 0.76), rgba(8, 15, 28, 0.66)),
    linear-gradient(90deg, rgba(86, 122, 214, 0.14), rgba(255, 255, 255, 0));
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body[data-theme="dark"] .topnav a {
  color: rgba(237, 243, 255, 0.74);
}

body[data-theme="dark"] .topnav a:hover,
body[data-theme="dark"] .theme-toggle:hover,
body[data-theme="dark"] .button--ghost:hover {
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 175, 255, 0.16);
}

body[data-theme="dark"] .button--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(148, 175, 255, 0.12);
  color: var(--text-inverse);
}

body[data-theme="dark"] .theme-toggle {
  border-color: rgba(148, 175, 255, 0.14);
  background: linear-gradient(180deg, rgba(19, 32, 59, 0.88), rgba(14, 24, 45, 0.74));
  color: var(--text-inverse);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-theme="dark"] .theme-toggle[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(24, 43, 86, 0.92), rgba(92, 128, 223, 0.72));
  border-color: rgba(148, 175, 255, 0.26);
}

body[data-theme="dark"] .theme-toggle::before {
  transform: translateX(38px);
  background: linear-gradient(180deg, rgba(214, 225, 255, 0.94), rgba(145, 171, 240, 0.86));
  box-shadow:
    0 8px 18px rgba(5, 10, 22, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

body[data-theme="dark"] .theme-toggle__icon {
  filter: brightness(0) invert(1);
  opacity: 0.55;
}

body[data-theme="dark"] .theme-toggle[aria-pressed="true"] .theme-toggle__icon--moon,
body[data-theme="dark"] .theme-toggle[aria-pressed="false"] .theme-toggle__icon--sun {
  opacity: 1;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brandmark__logo {
  display: block;
  width: 164px;
  height: auto;
  object-fit: contain;
  flex: none;
  transition: filter 0.38s ease, opacity 0.38s ease;
}

.topnav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topnav a {
  font-size: 1.16rem;
  font-weight: 700;
}

.topnav a,
.topbar__cta,
.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
}

.hero__copy,
.hero__centerpiece,
.hero__product-card,
.comparison-board,
.comparison-column,
.wizard-card,
.summary-card,
.hero__metrics li,
.comparison-hook,
.comparison-premise,
.comparison-proof__main,
.comparison-proof__grid article,
.comparison-cta,
.library-card,
.mood-pill,
.messenger-card,
.customizer,
.contact-capture,
.summary-stack article,
.calculator-panel,
.calculator-result,
.customizer select,
.customizer textarea,
.contact-capture textarea,
.contact-capture input,
.calculator-field input,
.custom-select__trigger,
.custom-select__menu,
.calculator-breakdown div {
  transition:
    background 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    color 0.35s ease,
    opacity 0.35s ease;
}

.topnav a {
  color: var(--text-soft);
}

.topnav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(20, 35, 68, 0.08);
}

.topnav a:hover,
.button:hover,
.topbar__cta:hover {
  transform: translateY(-1px);
}

.topbar__cta,
.button--primary {
  color: var(--text-inverse);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 36%),
    linear-gradient(135deg, #102449, #3557b8 56%, #7ea7ff);
  box-shadow:
    0 12px 30px rgba(58, 90, 190, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(12, 22, 42, 0.1);
  color: var(--text);
}

.topbar__cta::after,
.button--primary::after,
.comparison-cta a::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -18%;
  width: 42%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  transform: translateX(-240%) skewX(-20deg);
  transition: transform 0.8s ease, opacity 0.22s ease;
}

.topbar__cta:hover::after,
.button--primary:hover::after,
.comparison-cta a:hover::after {
  opacity: 1;
  transform: translateX(420%) skewX(-20deg);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
  transform: none;
}

main {
  display: grid;
  gap: 38px;
  padding-top: 24px;
}

section {
  position: relative;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(240px, 0.9fr) minmax(0, 0.82fr);
  gap: clamp(12px, 1.65vw, 20px);
  align-items: stretch;
  padding: 26px 0 clamp(20px, 3.5vw, 40px);
  min-width: 0;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  pointer-events: none;
}

.hero__halo {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.hero__halo--one {
  width: 360px;
  height: 360px;
  left: -60px;
  top: 44px;
  background: radial-gradient(circle, rgba(161, 190, 255, 0.45), rgba(161, 190, 255, 0));
  animation: haloFloatOne 14s ease-in-out infinite;
}

.hero__halo--two {
  width: 420px;
  height: 420px;
  right: 16%;
  top: -90px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
  animation: haloFloatTwo 18s ease-in-out infinite;
}

.hero__grid {
  position: absolute;
  inset: 5% 11%;
  border-radius: var(--radius-lg);
  background-image:
    linear-gradient(rgba(17, 34, 70, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 34, 70, 0.08) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.16));
  animation: gridDrift 24s linear infinite;
}

.hero__copy,
.hero__centerpiece,
.hero__product-card,
.comparison-board,
.wizard-card,
.summary-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.4));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  isolation: isolate;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s ease, border-color 0.32s ease;
}

.hero__copy,
.hero__product-card,
.wizard-card,
.summary-card {
  border-radius: var(--radius-xl);
}

/* overflow:hidden нужен, чтобы фон и ::before совпадали с border-radius (иначе «рвутся» углы при backdrop-filter) */
.hero__copy {
  overflow: hidden;
  container-type: inline-size;
}

.hero__copy::before,
.hero__centerpiece::before,
.hero__product-card::before,
.wizard-card::before,
.summary-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 22%),
    radial-gradient(circle at 110% 0%, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 34%);
  z-index: -1;
}

body[data-theme="dark"] .hero__copy,
body[data-theme="dark"] .hero__centerpiece,
body[data-theme="dark"] .wizard-card,
body[data-theme="dark"] .summary-card {
  border-color: rgba(148, 175, 255, 0.16);
  background: linear-gradient(180deg, rgba(10, 18, 33, 0.84), rgba(7, 13, 25, 0.7));
  box-shadow: var(--shadow);
}

body[data-theme="dark"] .hero__copy {
  background:
    radial-gradient(circle at 18% 12%, rgba(120, 152, 234, 0.22), rgba(255, 255, 255, 0) 22%),
    linear-gradient(180deg, rgba(11, 19, 36, 0.88), rgba(7, 13, 25, 0.78));
}

body[data-theme="dark"] .hero__centerpiece {
  background:
    radial-gradient(circle at 50% 16%, rgba(103, 133, 214, 0.26), rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 50% 58%, rgba(129, 161, 246, 0.12), rgba(129, 161, 246, 0) 34%),
    linear-gradient(180deg, rgba(11, 18, 33, 0.86), rgba(7, 13, 25, 0.9));
}

body[data-theme="dark"] .hero__metrics li,
body[data-theme="dark"] .comparison-hook,
body[data-theme="dark"] .library-card,
body[data-theme="dark"] .mood-pill,
body[data-theme="dark"] .messenger-card,
body[data-theme="dark"] .customizer,
body[data-theme="dark"] .contact-capture,
body[data-theme="dark"] .summary-stack article,
body[data-theme="dark"] .calculator-panel,
body[data-theme="dark"] .calculator-result {
  border-color: rgba(148, 175, 255, 0.12);
  background: linear-gradient(180deg, rgba(14, 24, 44, 0.9), rgba(9, 16, 30, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 38px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .library-card.is-selected,
body[data-theme="dark"] .mood-pill.is-selected,
body[data-theme="dark"] .messenger-card.is-selected,
body[data-theme="dark"] .calculator-chip.is-selected {
  background: linear-gradient(180deg, rgba(34, 58, 112, 0.9), rgba(20, 38, 78, 0.76));
  border-color: rgba(129, 161, 246, 0.32);
}

body[data-theme="dark"] .customizer select,
body[data-theme="dark"] .customizer textarea,
body[data-theme="dark"] .contact-capture textarea,
body[data-theme="dark"] .contact-capture input,
body[data-theme="dark"] .calculator-field input,
body[data-theme="dark"] .custom-select__trigger,
body[data-theme="dark"] .custom-select__menu,
body[data-theme="dark"] .calculator-breakdown div {
  color: var(--text-inverse);
  border-color: rgba(148, 175, 255, 0.14);
  background: linear-gradient(180deg, rgba(16, 26, 48, 0.94), rgba(10, 18, 33, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-theme="dark"] .custom-select__value.is-placeholder,
body[data-theme="dark"] .calculator-result .eyebrow,
body[data-theme="dark"] .calculator-hint,
body[data-theme="dark"] .calculator-breakdown span {
  color: rgba(232, 239, 255, 0.62);
}

body[data-theme="dark"] .custom-select__option {
  color: var(--text-inverse);
}

body[data-theme="dark"] .custom-select__trigger::after {
  border-right-color: rgba(232, 239, 255, 0.72);
  border-bottom-color: rgba(232, 239, 255, 0.72);
}

body[data-theme="dark"] .custom-select__option:hover {
  background: rgba(111, 150, 255, 0.16);
}

body[data-theme="dark"] .comparison-board {
  border-color: rgba(148, 175, 255, 0.16);
  background:
    radial-gradient(circle at 46% 40%, rgba(104, 132, 205, 0.18), rgba(104, 132, 205, 0) 24%),
    linear-gradient(90deg, rgba(13, 22, 41, 0.98) 0%, rgba(13, 22, 41, 0.96) 42%, rgba(22, 39, 75, 0.9) 58%, rgba(9, 16, 29, 0.99) 100%);
}

body[data-theme="dark"] .comparison-column--legacy {
  background: linear-gradient(180deg, rgba(15, 24, 42, 0.88), rgba(10, 17, 30, 0.84));
  color: var(--text-inverse);
}

body[data-theme="dark"] .comparison-column--legacy .eyebrow,
body[data-theme="dark"] .comparison-column--legacy .cost-stack__item span,
body[data-theme="dark"] .comparison-column--legacy .comparison-points,
body[data-theme="dark"] .comparison-warning p,
body[data-theme="dark"] .time-strip span {
  color: rgba(232, 239, 255, 0.72);
}

body[data-theme="dark"] .comparison-column--legacy h3,
body[data-theme="dark"] .comparison-column--legacy .cost-stack__item strong {
  color: var(--text-inverse);
  text-shadow: none;
}

body[data-theme="dark"] .comparison-column--legacy .cost-stack__item,
body[data-theme="dark"] .comparison-warning,
body[data-theme="dark"] .comparison-column--legacy .time-strip span {
  border-color: rgba(148, 175, 255, 0.12);
  background: linear-gradient(180deg, rgba(18, 29, 52, 0.92), rgba(11, 19, 35, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-theme="dark"] .comparison-warning::before {
  background: linear-gradient(180deg, rgba(140, 96, 110, 0.08), rgba(165, 118, 133, 0.36), rgba(140, 96, 110, 0.08));
}

body[data-theme="dark"] .comparison-warning strong {
  color: #f2d7df;
}

body[data-theme="dark"] .comparison-note {
  color: rgba(232, 239, 255, 0.58);
}

body[data-theme="dark"] .section-heading__text,
body[data-theme="dark"] .hero__lede,
body[data-theme="dark"] .comparison-hook span,
body[data-theme="dark"] .wizard-step__header p,
body[data-theme="dark"] .summary-card__footer p,
body[data-theme="dark"] .messenger-card span,
body[data-theme="dark"] .library-card__meta span {
  color: var(--text-soft);
}

body[data-theme="dark"] .comparison-hook strong,
body[data-theme="dark"] .library-card__meta strong,
body[data-theme="dark"] .messenger-card strong,
body[data-theme="dark"] .summary-stack strong,
body[data-theme="dark"] .customizer label span,
body[data-theme="dark"] .contact-capture label span,
body[data-theme="dark"] .calculator-field span,
body[data-theme="dark"] .calculator-breakdown strong,
body[data-theme="dark"] .calculator-chip,
body[data-theme="dark"] .payload-hint {
  color: var(--text-inverse);
}

body[data-theme="dark"] .library-card__media--custom {
  color: #000;
}

body[data-theme="dark"] .comparison-hook strong {
  border-color: rgba(148, 175, 255, 0.18);
  background: linear-gradient(180deg, rgba(24, 41, 79, 0.94), rgba(15, 28, 54, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(0, 0, 0, 0.16);
}

body[data-theme="dark"] .comparison-hook span,
body[data-theme="dark"] .calculator-why p:last-child,
body[data-theme="dark"] .calculator-breakdown span {
  color: rgba(232, 239, 255, 0.78);
}

body[data-theme="dark"] .calculator-why {
  border-color: rgba(148, 175, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(18, 29, 52, 0.96), rgba(11, 19, 35, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-theme="dark"] .calculator-why .eyebrow {
  color: rgba(232, 239, 255, 0.68);
}

body[data-theme="dark"] .calculator-why p:last-child {
  color: rgba(244, 248, 255, 0.84);
}

body[data-theme="dark"] .calculator-chip {
  border-color: rgba(148, 175, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

body[data-theme="dark"] .hero__wordmark {
  color: rgba(227, 236, 255, 0.08);
}

.hero__copy {
  padding: clamp(22px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(247, 250, 255, 0.46));
}

.eyebrow {
  margin: 0 0 16px;
  color: rgba(22, 37, 74, 0.6);
  font-size: clamp(0.78rem, 0.12vw + 0.72rem, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__copy h1,
.section-heading h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

/* Три строки: две — цвет основного текста, средняя — акцент; размер — от ширины колонки (cqi) + запас по окну */
.hero__copy h1.hero__title {
  font-size: clamp(1.45rem, min(5.8vw + 0.6rem, 10vh), 5.85rem);
  max-width: 100%;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

@supports (font-size: 1cqi) {
  .hero__copy h1.hero__title {
    font-size: clamp(1.2rem, min(9.5cqi + 0.45rem, 10vh), 5.85rem);
  }
}

.hero__title-line {
  display: block;
  color: var(--text);
  overflow-wrap: normal;
  word-break: normal;
}

.hero__title-line--accent {
  color: var(--accent-strong);
  text-shadow: 0 10px 34px rgba(67, 102, 204, 0.22);
}

body[data-theme="dark"] .hero__title-line--accent {
  text-shadow: 0 12px 40px rgba(80, 120, 230, 0.35);
}

.hero__lede,
.hero__product-card p,
.section-heading__text,
.wizard-step__header p,
.summary-card__footer p,
.comparison-note,
.comparison-points,
.cost-stack__item span,
.messenger-card span,
.library-card__meta span {
  color: var(--text-soft);
  font-weight: 550;
  line-height: 1.72;
}

.hero__lede {
  box-sizing: border-box;
  width: 100%;
  max-width: min(560px, 100%);
  min-width: 0;
  margin: 22px 0 0;
  font-size: clamp(1.02rem, 0.42vw + 0.92rem, 1.18rem);
  line-height: 1.68;
}

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

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero__metrics li {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(240, 246, 255, 0.38));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 18px 32px rgba(86, 112, 182, 0.08);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.hero__copy:hover,
.hero__centerpiece:hover,
.hero__product-card:hover,
.wizard-card:hover,
.summary-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-deep);
}

.hero__metrics li:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 22px 36px rgba(86, 112, 182, 0.12);
}

.hero__metrics strong,
.comparison-proof__main strong,
.comparison-proof__grid strong,
.cost-stack__item strong {
  display: block;
  font-family: "Syne", sans-serif;
  letter-spacing: -0.05em;
}

.hero__metrics strong {
  font-size: clamp(1.85rem, 2.1vw, 2.35rem);
  margin-bottom: 8px;
}

.hero__metrics li span {
  display: block;
  font-size: clamp(0.9rem, 0.35vw + 0.84rem, 1.05rem);
  line-height: 1.55;
}

.hero__centerpiece {
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  place-items: center;
  align-content: center;
  min-height: min(560px, 68vh);
  min-width: 0;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 30%),
    radial-gradient(circle at 50% 58%, rgba(129, 161, 246, 0.12), rgba(129, 161, 246, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(229, 238, 255, 0.78));
}

.model-orbit {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 0.82;
}

.model-orbit::before,
.model-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(226, 236, 255, 0.14));
  backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 28px 56px rgba(63, 90, 160, 0.08);
}

.model-orbit::before {
  left: 2%;
  top: 4%;
  width: 64%;
  height: 48%;
  border-radius: 36px 110px 36px 110px;
  transform: rotate(-7deg);
}

.model-orbit::after {
  right: 0;
  bottom: 10%;
  width: 48%;
  height: 38%;
  border-radius: 110px 30px 110px 30px;
  transform: rotate(6deg);
}

.model-orbit__glow {
  position: absolute;
  inset: 2% -4% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(137, 168, 244, 0.24), rgba(137, 168, 244, 0) 70%);
  filter: blur(14px);
  animation: glowPulse 6.8s ease-in-out infinite;
}

.model-orbit__portrait {
  position: absolute;
  object-fit: cover;
  box-shadow:
    0 40px 80px rgba(40, 57, 106, 0.22),
    0 10px 26px rgba(255, 255, 255, 0.26);
  transform-origin: center center;
  border: 1px solid rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.28);
}

.model-orbit__portrait--woman {
  left: 1%;
  top: 0;
  width: min(100%, 382px);
  z-index: 3;
  border-radius: 34px 118px 34px 118px;
  clip-path: polygon(12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 12%);
  animation: portraitFloatWoman 7.8s ease-in-out infinite;
}

.model-orbit__portrait--woman-secondary {
  left: 9%;
  top: 50%;
  width: min(100%, 318px);
  z-index: 2;
  opacity: 0.94;
  border-radius: 30px 84px 30px 84px;
  clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
  box-shadow:
    0 22px 50px rgba(44, 64, 116, 0.14),
    0 8px 18px rgba(255, 255, 255, 0.18);
  animation: portraitFloatAccent 8.6s ease-in-out infinite;
}

.model-orbit__portrait--man {
  right: 4%;
  top: 30%;
  width: min(100%, 286px);
  z-index: 2;
  opacity: 0.98;
  border-radius: 110px 28px 110px 28px;
  clip-path: polygon(0 0, 86% 0, 100% 14%, 100% 100%, 14% 100%, 0 86%);
  box-shadow:
    0 30px 68px rgba(36, 52, 96, 0.18),
    0 8px 22px rgba(255, 255, 255, 0.22);
  animation: portraitFloatMan 8s ease-in-out infinite;
}

.model-orbit__signal {
  position: absolute;
  left: 46%;
  bottom: 7%;
  z-index: 4;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(15, 29, 60, 0.1);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 16px 30px rgba(81, 106, 182, 0.12);
  animation: signalPulse 4.4s ease-in-out infinite;
}

.hero__wordmark {
  position: absolute;
  bottom: 42px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "Syne", sans-serif;
  font-size: clamp(4rem, 11vw, 8rem);
  color: rgba(13, 20, 36, 0.08);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  animation: wordmarkBreathe 10s ease-in-out infinite;
}

.hero__product-card {
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(16px, 2vw, 22px);
  min-width: 0;
  background: linear-gradient(180deg, rgba(14, 23, 48, 0.9), rgba(11, 18, 32, 0.86));
  color: var(--text-inverse);
  box-shadow: var(--shadow-deep);
}

.hero__product-card .eyebrow,
.hero__product-card p,
.hero__product-card .product-specs article p {
  color: rgba(245, 248, 255, 0.72);
}

.hero__product-card h2 {
  margin: 0 0 16px;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.15rem, 3.2vw, 2.85rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.hero__product-card > p {
  font-size: clamp(1.02rem, 0.4vw + 0.95rem, 1.14rem);
  line-height: 1.65;
}

.product-specs {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.product-specs article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-specs article span,
.summary-stack article span,
.cost-stack__item span,
.wizard-progress__label,
.summary-card__footer code {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-specs article h3,
.comparison-column h3,
.wizard-card h3,
.summary-card h3,
.wizard-step h4 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.hero__product-card .product-specs article h3 {
  font-size: clamp(1.12rem, 1.2vw, 1.32rem);
}

.hero__product-card .product-specs article p {
  font-size: clamp(0.96rem, 0.28vw + 0.9rem, 1.08rem);
  line-height: 1.58;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading h2 {
  max-width: 720px;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
}

.section-heading__text {
  max-width: 420px;
  margin: 0;
}

.advantage .section-heading {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.advantage .section-heading h2 {
  max-width: 1100px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: none;
}

.advantage .section-heading__text {
  max-width: 860px;
}

.comparison-hook {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(239, 245, 255, 0.62));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 16px 30px rgba(67, 92, 160, 0.08);
}

.comparison-hook strong {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(79, 114, 204, 0.14);
  background:
    linear-gradient(180deg, rgba(234, 241, 255, 0.96), rgba(220, 231, 255, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 24px rgba(72, 101, 175, 0.1);
  color: #163067;
  white-space: normal;
  text-align: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (min-width: 901px) {
  .comparison-hook strong {
    white-space: nowrap;
    text-align: left;
    justify-content: flex-start;
  }
}

.comparison-hook span {
  color: rgba(11, 18, 32, 0.9);
  font-weight: 600;
  line-height: 1.65;
}

.comparison-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    radial-gradient(circle at 46% 40%, rgba(167, 192, 255, 0.2), rgba(167, 192, 255, 0) 24%),
    linear-gradient(90deg, rgba(253, 254, 255, 0.98) 0%, rgba(246, 249, 255, 0.96) 32%, rgba(226, 234, 249, 0.84) 46%, rgba(128, 154, 222, 0.28) 58%, rgba(28, 43, 84, 0.84) 74%, rgba(9, 16, 29, 0.99) 100%);
  box-shadow: var(--shadow-deep);
}

.comparison-board::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 30%;
  width: 38%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(192, 210, 255, 0.3) 0%, rgba(132, 160, 232, 0.12) 30%, rgba(57, 86, 153, 0.05) 48%, rgba(14, 25, 48, 0) 74%);
}

.comparison-column {
  padding: 34px;
}

.comparison-column--legacy {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 248, 255, 0.82));
  color: #09111f;
}

.comparison-column--legacy .eyebrow {
  color: rgba(9, 17, 31, 0.58);
}

.comparison-column--legacy h3,
.comparison-column--legacy .cost-stack__item strong {
  color: #020817;
}

.comparison-column--legacy h3 {
  font-size: 1.22rem;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.comparison-column--legacy .cost-stack__item span,
.comparison-column--legacy .comparison-points {
  color: rgba(7, 16, 29, 0.82);
}

.comparison-column--voit {
  background:
    radial-gradient(circle at 12% 22%, rgba(149, 181, 255, 0.24), rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(17, 29, 62, 0.92), rgba(9, 16, 29, 0.98));
  color: var(--text-inverse);
}

.comparison-column--voit .eyebrow,
.comparison-column--voit .comparison-points,
.comparison-column--voit .comparison-proof__main span,
.comparison-column--voit .comparison-proof__grid span {
  color: rgba(245, 248, 255, 0.72);
}

.comparison-column__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
}

.comparison-premise {
  margin-bottom: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.comparison-premise strong {
  display: block;
  color: var(--text-inverse);
  font-size: 1.1rem;
  line-height: 1.45;
}

.comparison-premise p {
  margin: 10px 0 0;
  color: rgba(245, 248, 255, 0.72);
  line-height: 1.7;
}

.cost-stack {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.cost-stack__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(12, 24, 49, 0.08);
  background: rgba(255, 255, 255, 0.42);
}

.comparison-column--legacy .cost-stack__item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 249, 255, 0.72));
  border-color: rgba(7, 16, 29, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 14px 30px rgba(52, 78, 148, 0.06);
}

.cost-stack__item strong {
  font-size: 1.5rem;
}

.comparison-points {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.comparison-points--bright {
  margin-top: 22px;
}

.comparison-warning {
  position: relative;
  margin-top: 20px;
  padding: 22px 22px 22px 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(143, 63, 86, 0.12);
  background:
    radial-gradient(circle at 0% 50%, rgba(194, 96, 126, 0.08), rgba(194, 96, 126, 0) 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 247, 249, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 36px rgba(101, 51, 69, 0.06);
}

.comparison-warning::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(122, 36, 60, 0.08), rgba(140, 54, 82, 0.42), rgba(122, 36, 60, 0.08));
}

.comparison-warning strong {
  display: block;
  color: #7a2440;
  margin-bottom: 10px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.comparison-warning p {
  margin: 0;
  color: rgba(82, 21, 39, 0.86);
  line-height: 1.7;
}

.time-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.time-strip span,
.comparison-visual__badge,
.payload-hint {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(11, 18, 32, 0.08);
  font-size: 0.82rem;
}

.comparison-column--legacy .time-strip span {
  color: #1c2940;
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(7, 16, 29, 0.08);
}

.comparison-proof {
  display: grid;
  gap: 18px;
}

.comparison-proof__main {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.comparison-proof__main strong {
  font-size: clamp(3rem, 6vw, 5rem);
}

.comparison-proof__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.comparison-proof__grid article {
  padding: 18px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.comparison-proof__grid strong {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.comparison-visual {
  position: relative;
  min-height: 360px;
  margin-top: 22px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, #0a1325, #18284b 48%, #080d1a);
}

.comparison-visual__model {
  position: absolute;
  left: 50%;
  top: 17%;
  width: 200px;
  height: 250px;
  transform: translateX(-50%);
  border-radius: 100px 100px 28px 28px;
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 226, 214, 0.94) 0 14%, transparent 15%),
    linear-gradient(180deg, rgba(34, 34, 38, 0.96) 0 17%, transparent 17%),
    linear-gradient(180deg, rgba(226, 231, 248, 0.95), rgba(153, 170, 215, 0.72));
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.36);
}

.comparison-visual__model::before,
.comparison-visual__model::after {
  content: "";
  position: absolute;
  top: 84px;
  width: 54px;
  height: 134px;
  border-radius: 40px;
  background: rgba(230, 235, 247, 0.94);
}

.comparison-visual__model::before {
  left: -20px;
  transform: rotate(10deg);
}

.comparison-visual__model::after {
  right: -20px;
  transform: rotate(-10deg);
}

.comparison-visual__pulse {
  position: absolute;
  left: 50%;
  border: 1px solid rgba(116, 157, 255, 0.28);
  border-radius: 50%;
  transform: translateX(-50%);
}

.comparison-visual__pulse--one {
  bottom: 56px;
  width: 380px;
  height: 90px;
}

.comparison-visual__pulse--two {
  bottom: 36px;
  width: 460px;
  height: 120px;
}

.comparison-visual__badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-inverse);
}

.comparison-visual__badge--top {
  top: 18px;
  left: 24px;
}

.comparison-visual__badge--left {
  left: 26px;
  bottom: 30px;
}

.comparison-visual__badge--right {
  right: 24px;
  top: 92px;
}

.comparison-note {
  max-width: 980px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 0.92rem;
}

.comparison-cta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(127, 166, 255, 0.18);
  background:
    radial-gradient(circle at 110% 0%, rgba(157, 187, 255, 0.24), rgba(157, 187, 255, 0) 34%),
    linear-gradient(180deg, rgba(103, 137, 255, 0.14), rgba(255, 255, 255, 0.05));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 36px rgba(18, 32, 67, 0.18);
}

.comparison-cta span {
  display: block;
  margin-bottom: 6px;
  color: rgba(245, 248, 255, 0.62);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.comparison-cta strong {
  display: block;
  color: var(--text-inverse);
  font-size: 1.16rem;
  line-height: 1.45;
}

.comparison-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-inverse);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(111, 150, 255, 0.34));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 30px rgba(26, 47, 98, 0.24);
  white-space: nowrap;
}

.lead-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(min(280px, 100%), 0.64fr);
  gap: 20px;
  min-width: 0;
}

.wizard-card {
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(179, 201, 255, 0.24), rgba(179, 201, 255, 0) 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 249, 255, 0.5));
  overflow: hidden;
}

.wizard-card__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin-bottom: 22px;
}

.wizard-card__top h3,
.summary-card h3 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  text-transform: uppercase;
  line-height: 0.96;
}

.wizard-progress {
  min-width: 220px;
}

.wizard-progress__bar {
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(9, 17, 33, 0.08);
  overflow: hidden;
}

.wizard-progress__bar span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0c2149, #6f96ff);
  transition: width 0.24s ease;
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: block;
  overflow: hidden;
}

.wizard-step__header {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
  margin-bottom: 22px;
}

.wizard-step__header h4 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.wizard-step__header p {
  max-width: 380px;
  margin: 0;
}

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

.library-grid--models {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  justify-content: stretch;
}

.library-grid--locations .library-card {
  text-align: center;
}

.library-grid--locations .library-card__meta {
  justify-items: center;
  text-align: center;
}

.library-card,
.mood-pill,
.messenger-card {
  border: 1px solid rgba(12, 22, 43, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(243, 247, 255, 0.42));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.library-card:hover,
.mood-pill:hover,
.messenger-card:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 88, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 18px 40px rgba(58, 90, 190, 0.12);
}

.library-card.is-selected,
.mood-pill.is-selected,
.messenger-card.is-selected {
  border-color: rgba(49, 88, 255, 0.42);
  background: linear-gradient(180deg, rgba(227, 236, 255, 0.84), rgba(208, 224, 255, 0.48));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 20px 44px rgba(58, 90, 190, 0.16);
}

.library-card {
  padding: 12px;
  border-radius: var(--radius-lg);
  text-align: left;
}

.library-card__media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 0.82;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(13, 21, 38, 0.06)),
    linear-gradient(135deg, #f7fbff, #dfe9ff 52%, #cdd9f8);
  position: relative;
}

.library-card__media::before,
.library-card__media::after {
  content: "";
  position: absolute;
}

.library-card__media--portrait-a::before,
.library-card__media--portrait-b::before,
.library-card__media--portrait-c::before {
  left: 50%;
  top: 18%;
  width: 46%;
  height: 56%;
  transform: translateX(-50%);
  border-radius: 100px 100px 30px 30px;
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 226, 214, 0.95) 0 14%, transparent 15%),
    linear-gradient(180deg, rgba(25, 25, 31, 0.96) 0 16%, transparent 16%),
    linear-gradient(180deg, rgba(227, 232, 247, 0.95), rgba(176, 189, 223, 0.76));
  box-shadow: 0 18px 30px rgba(61, 82, 140, 0.16);
}

.library-card__media--portrait-a::after,
.library-card__media--portrait-b::after,
.library-card__media--portrait-c::after {
  left: 14%;
  right: 14%;
  bottom: 14%;
  height: 12%;
  border-radius: 50%;
  border: 1px solid rgba(77, 108, 195, 0.2);
}

.library-card__media--portrait-b {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(13, 21, 38, 0.06)),
    linear-gradient(135deg, #fafaff, #ebe5ff 48%, #d4d7ff);
}

.library-card__media--portrait-a,
.library-card__media--portrait-b {
  background-position: center 12%;
  background-repeat: no-repeat;
  background-size: 112%;
}

.library-card__media--portrait-a {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(13, 21, 38, 0.12)),
    url("./voit-female-model.png");
  background-position: center 10%;
  background-size: 162%;
}

.library-card__media--portrait-b {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(13, 21, 38, 0.12)),
    url("./voit-male-model.png");
  background-position: center 13%;
  background-size: 112%;
}

.library-card__media--portrait-a::before,
.library-card__media--portrait-a::after,
.library-card__media--portrait-b::before,
.library-card__media--portrait-b::after {
  display: none;
}

.library-card__media--portrait-c {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(13, 21, 38, 0.1)),
    linear-gradient(135deg, #111827, #24304c 48%, #0e1524);
}

.library-card__media--space-a,
.library-card__media--space-b,
.library-card__media--space-c {
  aspect-ratio: 1.2;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.library-card__media--space-a {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(13, 21, 38, 0.22)),
    url("./voit-location-gallery.png?v=1");
  background-position: center 45%;
}

.library-card__media--space-b {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(13, 21, 38, 0.2)),
    url("./voit-location-podium.png?v=1");
  background-position: center 40%;
}

.library-card__media--space-c {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.42)),
    url("./voit-location-night.png?v=1");
  background-position: center 42%;
}

.library-card__media--space-a::before,
.library-card__media--space-a::after,
.library-card__media--space-b::before,
.library-card__media--space-b::after,
.library-card__media--space-c::before,
.library-card__media--space-c::after {
  display: none;
}

.library-card__media--custom {
  font-family: "Syne", sans-serif;
  font-size: 3.6rem;
  color: rgba(12, 22, 43, 0.5);
  border: 1px dashed rgba(49, 88, 255, 0.24);
}

.library-card__meta {
  display: grid;
  gap: 4px;
}

.library-card__meta strong,
.messenger-card strong,
.summary-stack strong {
  font-size: 1rem;
}

.customizer {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(12, 22, 43, 0.08);
  border-radius: var(--radius-lg);
  isolation: isolate;
  background: rgba(255, 255, 255, 0.42);
}

.customizer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
}

.customizer__grid--location {
  grid-template-columns: 1fr 1.4fr;
}

.customizer__full {
  grid-column: 1 / -1;
}

.customizer label,
.contact-capture label {
  display: grid;
  gap: 8px;
  overflow: visible;
}

.customizer label span,
.contact-capture label span {
  font-size: 0.88rem;
  font-weight: 700;
}

.native-select-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.customizer select,
.customizer textarea,
.contact-capture textarea,
.contact-capture input,
.file-upload input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(12, 22, 43, 0.1);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  outline: none;
}

.customizer select:focus,
.customizer textarea:focus,
.contact-capture textarea:focus,
.contact-capture input:focus {
  border-color: rgba(49, 88, 255, 0.38);
  box-shadow: 0 0 0 4px rgba(111, 150, 255, 0.12);
}

.custom-select {
  position: relative;
}

.custom-select.is-open {
  z-index: 20;
}

.custom-select__trigger {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 1px solid rgba(12, 22, 43, 0.1);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(240, 245, 255, 0.76));
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(67, 92, 160, 0.08);
}

.custom-select__trigger::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(12, 22, 43, 0.56);
  border-bottom: 2px solid rgba(12, 22, 43, 0.56);
  transform: rotate(45deg);
  flex: 0 0 auto;
  margin-top: -4px;
  transition: transform 0.22s ease;
}

.custom-select.is-open .custom-select__trigger {
  border-color: rgba(49, 88, 255, 0.32);
  box-shadow:
    0 0 0 4px rgba(111, 150, 255, 0.12),
    0 16px 32px rgba(67, 92, 160, 0.12);
}

.custom-select.is-open .custom-select__trigger::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.custom-select__value {
  color: var(--text);
  font-weight: 600;
}

.custom-select__value.is-placeholder {
  color: rgba(11, 18, 32, 0.52);
  font-weight: 500;
}

.custom-select__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 3;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(49, 88, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(250, 252, 255, 0.97), rgba(236, 242, 255, 0.95));
  box-shadow: 0 24px 46px rgba(46, 70, 136, 0.16);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 6px;
}

.custom-select__option {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--text);
  text-align: left;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.custom-select__option:hover {
  background: rgba(111, 150, 255, 0.12);
  transform: translateX(2px);
}

.custom-select__option.is-selected {
  background: linear-gradient(135deg, rgba(19, 41, 87, 0.96), rgba(69, 104, 209, 0.94));
  color: var(--text-inverse);
}

.file-upload {
  align-content: start;
}

.file-upload input {
  padding: 12px;
}

.mood-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mood-pill {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  color: rgba(9, 17, 33, 0.9);
  font-weight: 700;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(234, 242, 255, 0.56));
  border-color: rgba(34, 56, 108, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 10px 22px rgba(52, 78, 148, 0.08);
}

.mood-pill:hover {
  color: rgba(7, 14, 28, 0.98);
}

.mood-pill.is-selected {
  color: #102449;
}

body[data-theme="dark"] .mood-pill {
  color: rgba(244, 247, 255, 0.94);
  background: linear-gradient(180deg, rgba(20, 34, 62, 0.92), rgba(12, 22, 42, 0.82));
  border-color: rgba(148, 175, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .mood-pill:hover {
  color: rgba(255, 255, 255, 0.98);
}

body[data-theme="dark"] .mood-pill.is-selected {
  color: rgba(248, 251, 255, 0.98);
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 18px;
  align-items: stretch;
}

.calculator-panel,
.calculator-result {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(12, 22, 43, 0.08);
  background: rgba(255, 255, 255, 0.52);
}

.calculator-field {
  display: grid;
  gap: 8px;
}

.calculator-field span,
.calculator-breakdown span {
  font-size: 0.88rem;
  font-weight: 700;
}

.calculator-field input {
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(12, 22, 43, 0.1);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  outline: none;
  font-size: 1.4rem;
  font-weight: 700;
}

.calculator-field input:focus {
  border-color: rgba(49, 88, 255, 0.38);
  box-shadow: 0 0 0 4px rgba(111, 150, 255, 0.12);
}

.calculator-field input.is-invalid {
  border-color: rgba(214, 69, 92, 0.78);
  box-shadow: 0 0 0 4px rgba(214, 69, 92, 0.12);
  background: rgba(255, 246, 247, 0.96);
}

.calculator-error {
  color: #c53b52;
  font-size: 0.9rem;
  font-weight: 600;
}

.calculator-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.calculator-why {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(12, 22, 43, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 247, 255, 0.82));
}

.calculator-why p:last-child {
  margin: 0;
  color: rgba(11, 18, 32, 0.72);
  line-height: 1.72;
}

.calculator-chip {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(12, 22, 43, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.calculator-chip.is-selected {
  background: linear-gradient(135deg, #102449, #4868d8);
  color: var(--text-inverse);
  border-color: transparent;
}

.calculator-result {
  background: linear-gradient(180deg, rgba(14, 23, 48, 0.96), rgba(10, 16, 30, 0.98));
}

.calculator-result .eyebrow,
.calculator-hint,
.calculator-breakdown span {
  color: rgba(245, 248, 255, 0.7);
}

.calculator-result > strong {
  display: block;
  margin-top: 4px;
  color: var(--text-inverse);
  font-family: "Syne", sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 0.95;
}

.calculator-breakdown {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.calculator-breakdown div {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.calculator-breakdown strong {
  display: block;
  margin-top: 6px;
  color: var(--text-inverse);
  font-size: 1.08rem;
}

.calculator-hint {
  margin: 18px 0 0;
  line-height: 1.65;
}

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

.messenger-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  text-align: left;
}

.messenger-card strong {
  display: block;
  margin-bottom: 6px;
}

.contact-capture {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(12, 22, 43, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(243, 247, 255, 0.42));
  display: grid;
  gap: 14px;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.wizard-actions .button {
  min-width: 140px;
}

/* Телефон: панель «Назад / Дальше» закрепляется у нижнего края экрана, пока видна карточка опроса (классы выставляет voit-landing.js) */
@media (max-width: 768px) {
  #leadWizard.leadWizard--dock-active {
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  }

  .wizard-actions.wizard-actions--docked {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 0;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    gap: 10px;
    flex-direction: column;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.97), rgba(235, 243, 255, 0.92));
    box-shadow: 0 -10px 36px rgba(46, 69, 132, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  body[data-theme="dark"] .wizard-actions.wizard-actions--docked {
    background: linear-gradient(180deg, rgba(11, 19, 35, 0.96), rgba(8, 14, 26, 0.92));
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.38);
  }

  .wizard-actions.wizard-actions--docked .button {
    width: 100%;
    min-width: 0;
  }
}

.wizard-step--models.is-active ~ .wizard-actions {
  justify-content: center;
}

.wizard-step--models.is-active ~ .wizard-actions #wizardBack,
.wizard-step--models.is-active ~ .wizard-actions #wizardSubmit {
  display: none !important;
}

.wizard-feedback {
  min-height: 24px;
  margin: 14px 0 0;
  color: #d13d55;
  font-size: 0.94rem;
}

.summary-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 100% 0%, rgba(179, 201, 255, 0.22), rgba(179, 201, 255, 0) 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(244, 248, 255, 0.52));
}

.summary-stack {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.summary-stack article {
  padding: 18px;
  border: 1px solid rgba(12, 22, 43, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(243, 247, 255, 0.42));
}

.summary-stack strong {
  display: block;
  margin-top: 6px;
  font-size: 1.06rem;
}

.summary-card__footer {
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14, 23, 48, 0.96), rgba(10, 16, 30, 0.98));
}

.summary-card__footer p {
  margin: 0 0 14px;
  color: rgba(245, 248, 255, 0.72);
}

.payload-hint {
  display: inline-flex;
  align-items: center;
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.result-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(9, 16, 29, 0.52);
  backdrop-filter: blur(10px);
}

.result-modal[hidden] {
  display: none !important;
}

.result-modal__box {
  position: relative;
  width: min(780px, 100%);
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background:
    radial-gradient(circle at 100% 0%, rgba(179, 201, 255, 0.24), rgba(179, 201, 255, 0) 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(239, 245, 255, 0.8));
  box-shadow: 0 40px 100px rgba(24, 36, 74, 0.22);
}

.result-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 18, 32, 0.06);
  color: var(--text);
  font-size: 1.4rem;
}

.result-modal__box h3 {
  margin: 0 0 10px;
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
}

.result-modal__box p {
  margin: 0 0 16px;
  color: var(--text-soft);
  line-height: 1.72;
}

.result-modal__payload {
  max-height: 320px;
  overflow: auto;
  margin: 0;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(10, 18, 31, 0.92);
  color: #d5e1ff;
  white-space: pre-wrap;
  word-break: break-word;
}

body[data-theme="dark"] .result-modal__box {
  border-color: rgba(148, 175, 255, 0.16);
  background:
    radial-gradient(circle at 50% 0%, rgba(100, 130, 205, 0.18), rgba(100, 130, 205, 0) 28%),
    linear-gradient(180deg, rgba(11, 18, 33, 0.96), rgba(7, 13, 25, 0.94));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.34);
}

body[data-theme="dark"] .result-modal__close {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-inverse);
}

body[data-theme="dark"] .result-modal__box h3 {
  color: var(--text-inverse);
}

body[data-theme="dark"] .result-modal__box p {
  color: rgba(232, 239, 255, 0.8);
}

body[data-theme="dark"] .result-modal__payload {
  border: 1px solid rgba(148, 175, 255, 0.14);
  background: rgba(10, 17, 31, 0.98);
  color: rgba(245, 248, 255, 0.92);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px) scale(0.992);
  transition:
    opacity 0.42s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes haloFloatOne {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(24px, -14px, 0) scale(1.04);
  }
}

@keyframes haloFloatTwo {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-20px, 18px, 0) scale(1.06);
  }
}

@keyframes gridDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 12px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes modelFloat {
  0%,
  100% {
    transform: rotate(-10deg) translateY(0);
  }

  50% {
    transform: rotate(-8deg) translateY(-10px);
  }
}

@keyframes portraitFloatWoman {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-4deg) scale(1);
  }

  25% {
    transform: translate3d(-4px, -8px, 0) rotate(-3.2deg) scale(1.01);
  }

  50% {
    transform: translate3d(5px, -14px, 0) rotate(-2.4deg) scale(1.015);
  }

  75% {
    transform: translate3d(-2px, -6px, 0) rotate(-3.5deg) scale(1.008);
  }
}

@keyframes portraitFloatMan {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(4deg) scale(1);
  }

  25% {
    transform: translate3d(4px, -6px, 0) rotate(3.4deg) scale(1.01);
  }

  50% {
    transform: translate3d(8px, -12px, 0) rotate(2.6deg) scale(1.018);
  }

  75% {
    transform: translate3d(3px, -5px, 0) rotate(3.2deg) scale(1.01);
  }
}

@keyframes portraitFloatAccent {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(5deg) scale(1);
  }

  25% {
    transform: translate3d(-5px, -6px, 0) rotate(4.4deg) scale(1.01);
  }

  50% {
    transform: translate3d(-8px, -12px, 0) rotate(3.8deg) scale(1.018);
  }

  75% {
    transform: translate3d(-3px, -5px, 0) rotate(4.6deg) scale(1.008);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes ringPulseOne {
  0%,
  100% {
    opacity: 0.72;
    transform: rotate(7deg) scale(1);
  }

  50% {
    opacity: 1;
    transform: rotate(9deg) scale(1.03);
  }
}

@keyframes ringPulseTwo {
  0%,
  100% {
    opacity: 0.56;
    transform: rotate(-10deg) scale(1);
  }

  50% {
    opacity: 0.9;
    transform: rotate(-7deg) scale(1.04);
  }
}

@keyframes signalPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 16px 30px rgba(81, 106, 182, 0.12);
  }

  50% {
    transform: translateY(-4px);
    box-shadow: 0 20px 38px rgba(81, 106, 182, 0.18);
  }
}

@keyframes wordmarkBreathe {
  0%,
  100% {
    opacity: 0.75;
    letter-spacing: 0.35em;
  }

  50% {
    opacity: 1;
    letter-spacing: 0.39em;
  }
}

@keyframes themeSwitchFlash {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }

  18% {
    opacity: 0.72;
  }

  55% {
    opacity: 0.26;
    transform: scale(1.06);
  }

  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
  }

  body.is-theme-switching .theme-transition-layer {
    animation: none;
    opacity: 0;
  }
}

@media (max-width: 1280px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__centerpiece {
    min-height: min(480px, 58vh);
    order: 3;
  }

  .model-orbit {
    width: min(100%, 540px);
  }

  .model-orbit__portrait--woman {
    left: 2%;
    top: 2%;
    width: min(100%, 352px);
  }

  .model-orbit__portrait--woman-secondary {
    left: 8%;
    top: 50%;
    width: min(100%, 274px);
  }

  .model-orbit__portrait--man {
    right: 4%;
    top: 30%;
    width: min(100%, 246px);
  }

  .model-orbit__signal {
    left: 44%;
  }

  .lead-shell,
  .comparison-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .page-shell {
    padding: 0 14px 28px;
  }

  main {
    gap: 24px;
    padding-top: 18px;
  }

  .topbar {
    top: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    align-items: center;
    gap: 12px;
    margin-inline: 0;
    padding: 12px;
    border-radius: 28px;
    overflow: hidden;
  }

  .brandmark {
    grid-area: brand;
  }

  .brandmark__logo {
    width: 142px;
  }

  .topnav {
    grid-area: nav;
    width: 100%;
    justify-content: space-between;
    gap: 6px;
    padding: 6px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(234, 241, 255, 0.42));
    overflow: hidden;
  }

  body[data-theme="dark"] .topnav {
    background: linear-gradient(180deg, rgba(15, 26, 48, 0.86), rgba(9, 17, 31, 0.72));
  }

  .topnav a {
    flex: 1 1 0;
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.92rem;
  }

  .topbar__actions {
    grid-area: actions;
    width: auto;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .topbar__cta {
    padding: 0 16px;
  }

  .hero {
    min-height: auto;
    gap: 16px;
    padding: 8px 0 0;
  }

  .hero__centerpiece {
    order: 1;
    min-height: min(500px, 62vh);
    padding: 22px 12px 72px;
  }

  .hero__copy {
    order: 2;
    padding: 26px;
  }

  .hero__product-card {
    order: 3;
    padding: 26px;
  }

  .hero__copy h1.hero__title {
    max-width: none;
  }

  .hero__lede,
  .wizard-step__header p {
    max-width: none;
  }

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

  .hero__actions .button,
  .comparison-cta a {
    width: 100%;
  }

  .hero__metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero__metrics li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
  }

  .hero__metrics strong {
    margin: 0;
    font-size: 1.72rem;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }

  .model-orbit {
    width: min(100%, 480px);
  }

  .model-orbit__portrait--woman {
    left: 1%;
    top: 1%;
    width: min(100%, 334px);
  }

  .model-orbit__portrait--woman-secondary {
    left: 9%;
    top: 50%;
    width: min(100%, 252px);
  }

  .model-orbit__portrait--man {
    right: 4%;
    top: 30%;
    width: min(100%, 230px);
  }

  .hero__wordmark {
    bottom: 34px;
    font-size: clamp(3.8rem, 14vw, 6.4rem);
    letter-spacing: 0.28em;
  }

  .comparison-board {
    border-radius: 32px;
    background:
      linear-gradient(180deg, rgba(253, 254, 255, 0.98) 0%, rgba(244, 248, 255, 0.96) 46%, rgba(31, 47, 92, 0.94) 46.1%, rgba(9, 16, 29, 0.99) 100%);
  }

  body[data-theme="dark"] .comparison-board {
    background:
      linear-gradient(180deg, rgba(14, 23, 42, 0.98) 0%, rgba(11, 20, 36, 0.96) 46%, rgba(22, 39, 75, 0.92) 46.1%, rgba(9, 16, 29, 0.99) 100%);
  }

  .comparison-board::after {
    display: none;
  }

  .comparison-column--legacy {
    border-bottom: 1px solid rgba(11, 18, 32, 0.08);
  }

  body[data-theme="dark"] .comparison-column--legacy {
    border-bottom-color: rgba(148, 175, 255, 0.1);
  }

  .time-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lead-shell {
    gap: 16px;
  }

  .wizard-progress {
    width: 100%;
    min-width: 0;
  }

  .library-grid--models,
  .messenger-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .wizard-card__top,
  .wizard-step__header,
  .comparison-hook,
  .comparison-cta {
    flex-direction: column;
    align-items: start;
  }

  .hero__copy,
  .hero__product-card,
  .wizard-card,
  .summary-card,
  .comparison-column {
    padding: 22px;
  }

  .hero__metrics,
  .library-grid,
  .messenger-grid,
  .customizer__grid,
  .comparison-proof__grid,
  .calculator-shell {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  a,
  button,
  [role="button"],
  summary,
  input[type="button"],
  input[type="submit"] {
    -webkit-tap-highlight-color: transparent;
  }

  a:focus,
  a:focus-visible,
  button:focus,
  button:focus-visible,
  [role="button"]:focus,
  [role="button"]:focus-visible,
  summary:focus,
  summary:focus-visible,
  input[type="button"]:focus,
  input[type="button"]:focus-visible,
  input[type="submit"]:focus,
  input[type="submit"]:focus-visible {
    outline: none;
  }

  .time-strip {
    display: none;
  }

  .page-shell {
    padding: 0 10px 24px;
  }

  .hero__lede,
  .hero__product-card > p,
  .product-specs article p,
  .section-heading__text,
  .comparison-hook span,
  .comparison-premise p,
  .comparison-proof__main span,
  .comparison-proof__grid span,
  .wizard-step__header p,
  .library-card__meta span,
  .messenger-card span,
  .calculator-why p:last-child,
  .calculator-hint,
  .summary-card__footer p,
  #resultDescription {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero__lede,
  .hero__product-card > p,
  .section-heading__text,
  .comparison-premise p,
  .calculator-why p:last-child,
  .calculator-hint,
  #resultDescription {
    -webkit-line-clamp: 3;
  }

  .product-specs article p,
  .comparison-hook span,
  .comparison-proof__main span,
  .comparison-proof__grid span,
  .wizard-step__header p,
  .summary-card__footer p {
    -webkit-line-clamp: 2;
  }

  .library-card__meta span,
  .messenger-card span {
    -webkit-line-clamp: 2;
  }

  .comparison-note {
    display: none;
  }

  .comparison-column--legacy .comparison-points li:last-child,
  .comparison-column--voit .comparison-points li:last-child {
    display: none;
  }

  .topbar {
    top: 8px;
    gap: 2px;
    padding: 10px;
    border-radius: 24px;
  }

  .brandmark__logo {
    width: 126px;
  }

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

  .topnav a {
    min-height: 40px;
    padding: 0 8px;
    font-size: 0.8rem;
    text-align: center;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transition:
      color 0.22s ease,
      background-color 0.22s ease,
      box-shadow 0.22s ease,
      transform 0.18s ease;
  }

  .topnav a:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: transparent;
  }

  body[data-theme="dark"] .topnav a:hover {
    background: rgba(138, 170, 255, 0.12);
  }

  .topnav a:active {
    transform: scale(0.97);
    color: var(--text);
    background: linear-gradient(180deg, rgba(120, 180, 255, 0.22), rgba(76, 141, 227, 0.16));
    box-shadow: inset 0 0 0 1px rgba(120, 180, 255, 0.18);
  }

  body[data-theme="dark"] .topnav a:active {
    color: var(--text-inverse);
    background: linear-gradient(180deg, rgba(95, 138, 255, 0.28), rgba(53, 94, 196, 0.22));
    box-shadow: inset 0 0 0 1px rgba(142, 174, 255, 0.2);
  }

  .topbar__cta {
    display: none;
  }

  .hero__metrics,
  .library-grid,
  .messenger-grid,
  .customizer__grid,
  .customizer__grid--location,
  .comparison-proof__grid,
  .calculator-shell {
    grid-template-columns: 1fr;
  }

  .hero__centerpiece {
    min-height: min(460px, 52vh);
    padding: 28px 6px 76px;
    border-radius: var(--radius-xl);
    place-items: end center;
  }

  .hero__halo,
  .hero__grid {
    display: none;
  }

  .model-orbit {
    width: min(100%, 334px);
    aspect-ratio: 0.94;
    margin-top: 18px;
  }

  .model-orbit::before {
    display: none;
  }

  .model-orbit::after {
    display: none;
  }

  .model-orbit__portrait {
    box-shadow:
      0 24px 52px rgba(40, 57, 106, 0.18),
      0 8px 20px rgba(255, 255, 255, 0.22);
  }

  .model-orbit__portrait--woman {
    left: 1%;
    top: 1%;
    width: min(100%, 226px);
  }

  .model-orbit__portrait--woman-secondary {
    left: 2%;
    top: 60%;
    width: min(100%, 188px);
  }

  .model-orbit__portrait--man {
    right: 0;
    top: 38%;
    width: min(100%, 172px);
    z-index: 4;
  }

  .hero__wordmark {
    bottom: 30px;
    font-size: clamp(3rem, 18vw, 5.2rem);
    letter-spacing: 0.24em;
  }

  .hero__copy,
  .hero__product-card,
  .wizard-card,
  .summary-card,
  .comparison-column {
    padding: 20px;
  }

  .hero__actions {
    grid-template-columns: 1fr;
  }

  .hero__metrics li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero__metrics strong {
    font-size: 1.5rem;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .section-heading h2 {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
    line-height: 0.94;
  }

  .section-heading__text {
    font-size: 0.96rem;
  }

  .comparison-hook {
    padding: 14px;
    gap: 8px;
  }

  .comparison-hook strong {
    width: 100%;
    min-height: auto;
    justify-content: center;
    text-align: center;
    padding: 8px 12px;
  }

  .comparison-board {
    border-radius: 24px;
  }

  .comparison-column {
    padding: 18px 16px;
  }

  .comparison-column__header {
    margin-bottom: 14px;
    gap: 10px;
  }

  .comparison-premise {
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
  }

  .cost-stack {
    gap: 10px;
    margin-bottom: 16px;
  }

  .cost-stack__item {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .cost-stack__item strong {
    font-size: 1.18rem;
  }

  .comparison-points {
    gap: 8px;
    padding-left: 16px;
  }

  .comparison-warning {
    margin-top: 14px;
    padding: 16px 16px 16px 22px;
    border-radius: var(--radius-md);
  }

  .comparison-proof__main {
    padding: 16px;
    border-radius: var(--radius-md);
  }

  .comparison-proof__main strong {
    font-size: clamp(2.2rem, 16vw, 3.4rem);
    line-height: 0.92;
  }

  .comparison-proof__grid article {
    padding: 14px;
    border-radius: var(--radius-md);
  }

  .comparison-proof__grid strong {
    font-size: 1.14rem;
  }

  .time-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .comparison-cta {
    padding: 16px;
  }

  .lead-shell {
    gap: 12px;
  }

  .wizard-card__top h3,
  .summary-card h3 {
    font-size: clamp(1.5rem, 10vw, 2.1rem);
  }

  .summary-card {
    display: none;
  }

  .wizard-step__header h4 {
    font-size: clamp(1.25rem, 8vw, 1.6rem);
  }

  /* Узкий телефон: закрепление кнопок — см. .wizard-actions--docked (max-width: 768px) */

  .wizard-actions .button {
    width: 100%;
  }

  .comparison-column__header {
    flex-direction: column;
    align-items: start;
  }

  .comparison-hook strong,
  .comparison-cta a {
    white-space: normal;
  }
}

/* Производительность: слабые ПК/телефоны (класс `perf-low` выставляет voit-landing.js) */
html.perf-low {
  scroll-behavior: auto;
  --shadow: 0 14px 48px rgba(37, 58, 110, 0.12);
  --shadow-deep: 0 20px 56px rgba(18, 32, 67, 0.16);
}

html.perf-low body::before,
html.perf-low body::after {
  display: none !important;
}

html.perf-low .noise {
  opacity: 0.04;
  mix-blend-mode: normal;
}

html.perf-low .hero__halo,
html.perf-low .hero__grid {
  display: none !important;
}

html.perf-low .model-orbit__glow,
html.perf-low .model-orbit__portrait,
html.perf-low .hero__wordmark {
  animation: none !important;
}

html.perf-low .topbar,
html.perf-low .hero__copy,
html.perf-low .hero__centerpiece,
html.perf-low .hero__product-card,
html.perf-low .wizard-card,
html.perf-low .summary-card,
html.perf-low .custom-select__menu,
html.perf-low .result-modal,
html.perf-low .model-orbit::before,
html.perf-low .model-orbit::after,
html.perf-low .wizard-actions.wizard-actions--docked {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html.perf-low .theme-transition-layer {
  display: none !important;
}

/* Телефоны и узкие окна: меньше слоёв, без размытия «стекла» и фоновых блобов */
@media (max-width: 900px) {
  html {
    scroll-behavior: auto;
  }

  body::before,
  body::after {
    display: none;
  }

  .noise {
    opacity: 0.06;
    mix-blend-mode: normal;
  }

  .hero__halo,
  .hero__grid {
    display: none;
  }

  .model-orbit__glow,
  .model-orbit__portrait,
  .hero__wordmark {
    animation: none !important;
  }

  .topbar,
  .hero__copy,
  .hero__centerpiece,
  .hero__product-card,
  .wizard-card,
  .summary-card,
  .custom-select__menu,
  .result-modal,
  .model-orbit::before,
  .model-orbit::after {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .wizard-actions {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Дальние блоки не рендерятся до прокрутки (десктоп и планшет) */
@media (min-width: 901px) {
  .advantage,
  .lead-flow {
    content-visibility: auto;
    contain-intrinsic-size: 720px;
  }

  html.perf-low .advantage,
  html.perf-low .lead-flow {
    contain-intrinsic-size: 560px;
  }
}
