@font-face {
  font-family: "Man";
  src: url("./assets/fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Man";
  src: url("./assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Rus";
  src: url("./assets/fonts/ruslan-display-cyrillic-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Rus";
  src: url("./assets/fonts/ruslan-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f3f5fb;
  --bg-soft: #e9eef9;
  --surface: #ffffff;
  --surface-tint: #f8faff;
  --ink: #111528;
  --ink-soft: #4e5874;
  --ink-muted: #687391;
  --line: #dce3f2;
  --line-strong: #c6d0e7;

  --brand: #4338ca;
  --brand-bright: #5b50f0;
  --brand-hover: #3730a3;
  --brand-soft: #eef0ff;
  --cyan: #0891b2;
  --cyan-soft: #e6f8fc;

  --magic-bg:
    radial-gradient(circle at 86% 18%, rgba(56, 189, 248, 0.44), transparent 44%),
    radial-gradient(circle at 14% 92%, rgba(244, 63, 94, 0.32), transparent 46%),
    radial-gradient(circle at 52% 106%, rgba(250, 204, 21, 0.28), transparent 48%),
    linear-gradient(128deg, #1b1363 0%, #4338ca 38%, #7e22ce 74%, #2563eb 100%);

  --ok: #15803d;
  --ok-soft: #eaf9ef;
  --warn: #a16207;
  --warn-soft: #fef6df;
  --crit: #be123c;
  --crit-soft: #ffeef2;

  --font-display: "Rus", "Man", system-ui, sans-serif;
  --font-body: "Man", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-card: 0 18px 42px -28px rgba(24, 34, 72, 0.22);
  --shadow-float: 0 24px 56px -22px rgba(45, 42, 140, 0.34);

  --container: min(1200px, calc(100% - 2.4rem));
  --hero-p: 0;
  --p1: 1;
  --p2: 0;
  --mx: 0;
  --my: 0;
}

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

[hidden]:not([hidden="until-found"]) {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.2rem;
  color-scheme: light;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.56;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
}

.num {
  font-variant-numeric: tabular-nums;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  block-size: 3px;
  z-index: 90;
  pointer-events: none;
  background: linear-gradient(90deg, #4338ca, #7c3aed, #06b6d4);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @media (prefers-reduced-motion: no-preference) {
    .scroll-progress {
      animation: progress-grow linear both;
      animation-timeline: scroll(root block);
      animation-range: 0% 100%;
    }
  }
}

@keyframes progress-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 120;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.85rem;
}

/* ---------- Header & Responsive Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(243, 245, 251, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(198, 208, 231, 0.65);
}

.header-inner {
  width: var(--container);
  margin-inline: auto;
  min-height: 4.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark-img {
  width: 2.05rem;
  height: auto;
  aspect-ratio: 128 / 97;
  object-fit: contain;
}

.site-logo span {
  font-family: var(--font-display);
  font-size: 1.48rem;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.site-header.is-wide .site-nav {
  flex: 1 1 auto;
  justify-content: space-between;
}

.site-header.is-wide .menu-button,
.site-header.is-wide .mobile-quick-cta {
  display: none;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.site-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header.is-measuring .site-menu {
  visibility: hidden !important;
}

.site-header.is-wide .site-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.2rem, 0.9vw, 0.65rem);
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  position: static;
}

.site-header.is-wide .site-menu > li:first-child {
  margin-inline-start: auto;
}

.site-header.is-wide .site-menu > li.nav-actions-sep {
  margin-inline-start: auto;
}

.site-menu a:not(.btn) {
  display: inline-flex;
  align-items: center;
  padding: 0.46rem 0.72rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.site-menu a:not(.btn):hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-cta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.site-header:not(.is-wide) .site-menu {
  position: fixed;
  inset: 4.55rem 1rem auto 1rem;
  margin: 0;
  width: auto;
  max-width: 24rem;
  margin-inline-start: auto;
  padding: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow-float);
  flex-direction: column;
  gap: 0.25rem;
}

.site-header:not(.is-wide) .site-menu:popover-open,
.site-header:not(.is-wide) .site-menu.\:popover-open {
  display: flex;
}

.site-header:not(.is-wide) .site-menu:not(:popover-open):not(.\:popover-open) {
  display: none;
}

.site-header:not(.is-wide) .site-menu a:not(.btn) {
  width: 100%;
  padding: 0.65rem 0.85rem;
}

.site-header:not(.is-wide) .nav-actions-sep {
  margin-top: 0.5rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.site-header:not(.is-wide) .nav-cta-row {
  flex-direction: column;
  align-items: stretch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.38rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-compact {
  padding: 0.56rem 1.05rem;
  font-size: 0.88rem;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #4338ca, #5b50f0);
  box-shadow: 0 12px 28px -14px rgba(67, 56, 202, 0.72);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3730a3, #4f46e5);
  box-shadow: 0 16px 32px -12px rgba(67, 56, 202, 0.85);
}

.btn-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--surface-tint);
}

.btn-magic-hero {
  color: #17124a;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 100%);
  box-shadow: 0 14px 30px -10px rgba(253, 224, 71, 0.65);
}

.btn-magic-hero:hover {
  background: linear-gradient(135deg, #ffffff 0%, #fde047 100%);
  box-shadow: 0 18px 36px -10px rgba(253, 224, 71, 0.82);
}

.btn-glass-light {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
}

.btn-glass-light:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-glass-vip {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
}

.btn-glass-vip:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(254, 240, 138, 0.72);
}

.btn-magic-soft {
  color: #ffffff;
  background: linear-gradient(135deg, #4338ca 0%, #7c3aed 65%, #2563eb 100%);
  box-shadow: 0 14px 28px -14px rgba(109, 40, 217, 0.72);
}

.btn-magic-soft:hover {
  background: linear-gradient(135deg, #3730a3 0%, #6d28d9 65%, #1d4ed8 100%);
  box-shadow: 0 18px 34px -12px rgba(109, 40, 217, 0.86);
}

.btn-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

/* ---------- STICKY 3D WEBGL HERO RUNWAY ---------- */
.hero-runway {
  position: relative;
  background:
    radial-gradient(ellipse 68% 48% at 50% 62%, rgba(99, 102, 241, 0.17), transparent 68%),
    radial-gradient(ellipse 46% 36% at 80% 34%, rgba(6, 182, 212, 0.13), transparent 66%),
    radial-gradient(ellipse 44% 34% at 18% 36%, rgba(124, 58, 237, 0.11), transparent 66%),
    linear-gradient(180deg, #eef2fc 0%, var(--bg) 100%);
}

.hero-sticky {
  position: relative;
  padding-block: 1.3rem 2.2rem;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(67, 56, 202, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 72% 64% at 50% 56%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 72% 64% at 50% 56%, #000 35%, transparent 78%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.75rem;
}

.hero-header-block {
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}

.hero-kicker {
  margin: 0 0 0.38rem;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: 0.005em;
  color: var(--ink);
  text-wrap: balance;
}

.hero-title .accent-word {
  color: var(--brand);
}

.hero-lead {
  margin: 0.6rem auto 0;
  max-width: 44rem;
  font-size: clamp(0.94rem, 1.15vw, 1.04rem);
  color: var(--ink-soft);
  text-wrap: balance;
}

/* Magical Hero CTA Dock (echoing the bottom magical banner) */
.hero-actions-shell {
  display: inline-block;
  margin-top: 0.92rem;
  padding: 2px;
  border-radius: 999px;
  background: linear-gradient(120deg, #38bdf8, #818cf8, #e879f9, #facc15, #38bdf8);
  box-shadow: 0 18px 40px -16px rgba(79, 46, 229, 0.58);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem;
  border-radius: 999px;
  background: var(--magic-bg);
}

.hero-actions .btn {
  padding: 0.68rem 1.2rem;
  font-size: 0.92rem;
}

/* Center 3D Wizard + Flanking Orbital Nodes & Scroll Story Cards */
.hero-stage-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(215px, 275px) minmax(320px, 460px) minmax(215px, 275px);
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  min-height: 0;
}

.wizard-3d-stage {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}

.wizard-3d-stage::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 46% 36%, rgba(255, 255, 255, 0.95), rgba(224, 231, 255, 0.74) 56%, rgba(199, 210, 254, 0.08) 78%, transparent 100%);
  box-shadow: 0 28px 65px -24px rgba(67, 56, 202, 0.34);
  z-index: 0;
}

.wizard-3d-stage::after {
  content: "";
  position: absolute;
  bottom: 3%;
  width: 58%;
  height: 11%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(24, 30, 74, 0.24), transparent 72%);
  filter: blur(8px);
  z-index: 1;
}

.stage-orbit-svg {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  color: rgba(67, 56, 202, 0.28);
  pointer-events: none;
  z-index: 1;
  transform: scale(calc(1 + var(--hero-p) * 0.09));
}

@media (prefers-reduced-motion: no-preference) {
  .orbit-ring-outer {
    transform-origin: 280px 280px;
    animation: orbit-spin 42s linear infinite;
  }

  .orbit-ring-inner {
    transform-origin: 280px 280px;
    animation: orbit-spin-rev 30s linear infinite;
  }
}

body.motion-paused .orbit-ring-outer,
body.motion-paused .orbit-ring-inner,
body.motion-paused .vip-showcase::before,
body.motion-paused .closing-magic-shell::before,
body.motion-paused .vip-crown-img,
body.motion-paused .closing-parcel-mini,
body.motion-paused .closing-star-mini,
body.motion-paused .floating-trial-cta::after,
body.motion-paused .rune-glyph {
  animation-play-state: paused !important;
}

/* ---------- Tasteful Slavic-Arcane Geometric Motifs & Soft Atmosphere across page ---------- */
.ambient-runes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-image: radial-gradient(rgba(67, 56, 202, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
}

.ambient-wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.ambient-wash-1 {
  top: 12%;
  left: -8%;
  width: 34vw;
  height: 34vw;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.11), transparent 70%);
}

.ambient-wash-2 {
  top: 46%;
  right: -10%;
  width: 38vw;
  height: 38vw;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1), transparent 70%);
}

.ambient-wash-3 {
  bottom: -6%;
  left: 22%;
  width: 36vw;
  height: 36vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.095), transparent 70%);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.rune-glyph {
  position: absolute;
  width: clamp(54px, 5.8vw, 86px);
  height: auto;
  color: rgba(79, 70, 229, 0.2);
  will-change: transform;
}

.rune-1  { top: 10%; left: 2.8%;  color: rgba(79, 70, 229, 0.22);  width: clamp(58px, 5.8vw, 84px); }
.rune-2  { top: 16%; right: 2.6%; color: rgba(8, 145, 178, 0.22);  width: clamp(72px, 7.2vw, 104px); }
.rune-3  { top: 43%; left: 2.2%;  color: rgba(124, 58, 237, 0.2);  width: clamp(64px, 6.4vw, 92px); }
.rune-4  { top: 58%; right: 2.4%; color: rgba(217, 119, 6, 0.2);   width: clamp(60px, 6vw, 88px); }
.rune-5  { top: 76%; left: 3%;    color: rgba(79, 70, 229, 0.21);  width: clamp(78px, 7.8vw, 112px); }
.rune-6  { top: 31%; right: 5.5%; color: rgba(147, 51, 234, 0.18); width: clamp(50px, 4.8vw, 72px); }
.rune-7  { top: 27%; left: 6.2%;  color: rgba(217, 119, 6, 0.21);  width: clamp(46px, 4.6vw, 68px); }
.rune-8  { top: 73%; right: 5.2%; color: rgba(67, 56, 202, 0.2);   width: clamp(56px, 5.6vw, 80px); }
.rune-9  { top: 89%; left: 10%;   color: rgba(8, 145, 178, 0.19);  width: clamp(54px, 5.4vw, 78px); }
.rune-10 { top: 56%; left: 1.4%;  color: rgba(99, 102, 241, 0.18); width: clamp(32px, 3.2vw, 44px); }
.rune-11 { top: 44%; right: 1.6%; color: rgba(14, 165, 233, 0.2);  width: clamp(68px, 6.8vw, 98px); }
.rune-12 { top: 7%;  left: 16%;   color: rgba(124, 58, 237, 0.17); width: clamp(64px, 6.4vw, 92px); }
.rune-13 { top: 64%; right: 8%;   color: rgba(217, 119, 6, 0.2);   width: clamp(48px, 4.8vw, 70px); }
.rune-14 { top: 88%; right: 3.2%; color: rgba(79, 70, 229, 0.19);  width: clamp(58px, 5.8vw, 84px); }

@media (prefers-reduced-motion: no-preference) {
  .rune-1  { animation: rune-drift 15s ease-in-out infinite; }
  .rune-2  { animation: rune-spin-slow 46s linear infinite; }
  .rune-3  { animation: rune-drift 17s ease-in-out -5s infinite; }
  .rune-4  { animation: rune-drift 14s ease-in-out -2s infinite; }
  .rune-5  { animation: rune-drift 19s ease-in-out -7s infinite; }
  .rune-6  { animation: rune-drift 13s ease-in-out -9s infinite; }
  .rune-7  { animation: rune-drift 12s ease-in-out -3s infinite; }
  .rune-8  { animation: rune-spin-slow 54s linear reverse infinite; }
  .rune-9  { animation: rune-drift 16s ease-in-out -6s infinite; }
  .rune-10 { animation: rune-drift 18s ease-in-out -11s infinite; }
  .rune-11 { animation: rune-drift 15s ease-in-out -4s infinite; }
  .rune-12 { animation: rune-drift 20s ease-in-out -8s infinite; }
  .rune-13 { animation: rune-drift 14s ease-in-out -1s infinite; }
  .rune-14 { animation: rune-spin-slow 48s linear infinite; }
}

@keyframes rune-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.78; }
  50% { transform: translate3d(0, -16px, 0) rotate(10deg); opacity: 1; }
}

@keyframes rune-spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes orbit-spin-rev {
  to { transform: rotate(-360deg); }
}

/* Revolving 3D Marketplace Emblems (pure GPU translate3d orbit driven by scroll!) */
.stage-mp-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.orbit-mp {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(68px, 6.6vw, 88px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

/* Sculptural 3D Slavic Elder Container (stronger scroll zoom 1.0 -> 1.24 + GPU 60fps toss!) */
.wizard-canvas-wrap {
  position: relative;
  z-index: 2;
  width: min(74%, 332px);
  aspect-ratio: 896 / 1200;
  display: grid;
  place-items: center;
  transform-origin: 50% 35%;
  transform:
    perspective(900px)
    scale(calc(1 + var(--hero-p) * 0.24))
    translate3d(0, calc(var(--hero-p) * 10px), 0);
  will-change: transform;
}

.wizard-fallback-img,
.wizard-webgl-canvas {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wizard-fallback-img {
  transition: opacity 0.28s ease;
}

.wizard-webgl-canvas {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.wizard-canvas-wrap.webgl-ready .wizard-webgl-canvas {
  opacity: 1;
}

.wizard-canvas-wrap.webgl-ready .wizard-fallback-img {
  opacity: 0;
}

/* Independent 3D Parcel Box & Golden Star Tossed Hand-to-Hand via pure GPU transform (60/120fps) */
.toss-arc-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
}

.wizard-prop {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.wizard-parcel {
  width: 26%;
  z-index: 6;
}

.wizard-star {
  width: 15%;
  z-index: 5;
}

/* Phase 1: Orbital Module Nodes (kept cleanly above orbiting MP emblems) */
.orbit-col,
.story-col {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  will-change: transform, opacity;
}

.orbit-col-left,
.story-col-left {
  grid-column: 1;
  grid-row: 1;
  align-items: flex-end;
  text-align: right;
}

.orbit-col-right,
.story-col-right {
  grid-column: 3;
  grid-row: 1;
  align-items: flex-start;
  text-align: left;
}

.orbit-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  width: 100%;
  max-width: 274px;
  padding: 0.74rem 1.02rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px -20px rgba(24, 34, 72, 0.3);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.orbit-node:hover {
  border-color: var(--brand);
  box-shadow: 0 16px 32px -18px rgba(67, 56, 202, 0.38);
  transform: translateY(-2px);
}

.orbit-node-magic {
  background: var(--magic-bg);
  border: 1.5px solid rgba(254, 240, 138, 0.55);
  box-shadow: 0 18px 36px -14px rgba(79, 46, 229, 0.62);
  color: #ffffff;
}

.orbit-node-magic:hover {
  border-color: #fde047;
  box-shadow: 0 22px 42px -12px rgba(79, 46, 229, 0.78);
}

.orbit-node-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.orbit-title-rus {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.12rem;
  letter-spacing: 0.015em;
  color: #fef08a;
  text-shadow: 0 4px 12px rgba(15, 10, 52, 0.45);
}

.orbit-node-sub {
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--ink-muted);
  line-height: 1.28;
}

.orbit-node-magic .orbit-node-sub {
  color: rgba(241, 245, 255, 0.92);
}

.orbit-col-left .orbit-node::after,
.orbit-col-right .orbit-node::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
  transform: translateY(-50%);
}

.orbit-node-magic::after {
  background: #fde047 !important;
  box-shadow: 0 0 0 4px rgba(253, 224, 71, 0.34) !important;
}

.orbit-col-left .orbit-node::after { right: -4px; }
.orbit-col-right .orbit-node::after { left: -4px; }

/* Phase 2: Visual Proof Cards Revealed on Scroll */
.story-card {
  width: 100%;
  max-width: 274px;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.story-num {
  display: inline-block;
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand);
}

.story-card strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.25;
  color: var(--ink);
}

.story-card p {
  margin: 0.32rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.hero-scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-muted);
  opacity: calc(1 - var(--hero-p) * 3.2);
}

/* Desktop Sticky Runway Choreography (>= 980px & motion enabled) */
@media (min-width: 980px) and (prefers-reduced-motion: no-preference) {
  .hero-runway {
    min-height: 215svh;
  }

  .hero-sticky {
    position: sticky;
    top: 4.2rem;
    height: calc(100svh - 4.2rem);
    min-height: 640px;
    max-height: 920px;
    padding-block: 1rem 1rem;
    display: flex;
    align-items: stretch;
    overflow: hidden;
  }

  .hero-layout {
    height: 100%;
    grid-template-rows: auto 1fr;
  }

  .hero-scroll-cue {
    position: absolute;
    left: 0;
    bottom: 0.35rem;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    backdrop-filter: blur(8px);
    z-index: 4;
  }

  .wizard-3d-stage {
    max-height: clamp(290px, 46svh, 435px);
    width: auto;
    height: clamp(290px, 46svh, 435px);
  }

  .wizard-canvas-wrap {
    width: auto;
    height: 94%;
  }

  .orbit-col-left {
    opacity: var(--p1);
    transform: translate3d(calc((1 - var(--p1)) * -36px), 0, 0);
  }

  .orbit-col-right {
    opacity: var(--p1);
    transform: translate3d(calc((1 - var(--p1)) * 36px), 0, 0);
  }

  .story-col-left {
    opacity: var(--p2);
    transform: translate3d(calc((1 - var(--p2)) * -42px), 0, 0);
  }

  .story-col-right {
    opacity: var(--p2);
    transform: translate3d(calc((1 - var(--p2)) * 42px), 0, 0);
  }

  .hero-runway[data-phase-active="1"] .story-col {
    pointer-events: none;
  }

  .hero-runway[data-phase-active="2"] .orbit-col {
    pointer-events: none;
  }
}

@media (min-width: 980px) and (prefers-reduced-motion: reduce) {
  .story-col,
  .hero-scroll-cue {
    display: none;
  }
}

/* ---------- Shared Section Styling ---------- */
.section-band {
  padding-block: clamp(3rem, 5.5vw, 4.75rem);
}

.deferred-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 560px;
}

.section-head {
  margin-bottom: clamp(1.6rem, 3vw, 2.35rem);
  max-width: 44rem;
}

.section-head-with-elder {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(245px, 370px);
  align-items: center;
  gap: 1rem 1.85rem;
}

.section-head-with-elder > div:first-child {
  min-width: 0;
  max-width: 42rem;
}

.elder-reaction-badge,
.elder-mini-callout {
  justify-self: end;
  width: 100%;
  max-width: 370px;
  display: flex;
  align-items: center;
  gap: 0.78rem;
  padding: 0.5rem 0.95rem 0.5rem 0.55rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}

.elder-face-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.elder-reaction-badge.is-pop .elder-face-img {
  transform: scale(1.1) rotate(-4deg);
}

.elder-speech {
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
}

.elder-speech strong {
  font-size: 0.92rem;
  line-height: 1.2;
  color: var(--brand);
}

.elder-speech span {
  font-size: 0.82rem;
  line-height: 1.32;
  color: var(--ink-soft);
}

.section-label {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  line-height: 1.07;
  color: var(--ink);
  text-wrap: balance;
}

.section-lead {
  margin: 0.65rem 0 0;
  font-size: 1rem;
  color: var(--ink-soft);
}

/* ---------- Workbench Tabs + Magical Callout ---------- */
.workbench-tablist-wrap {
  margin-bottom: 1.2rem;
}

.workbench-tablist {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.35rem;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  scrollbar-width: none;
}

.workbench-tablist::-webkit-scrollbar {
  display: none;
}

.workbench-tab {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.1rem;
  border-radius: 13px;
  border: 0;
  background: transparent;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.workbench-tab:hover {
  color: var(--ink);
}

.workbench-tab[aria-selected="true"] {
  background: var(--surface);
  color: var(--brand);
  box-shadow: 0 8px 20px -12px rgba(24, 34, 72, 0.28);
}

.tab-flag {
  padding: 0.12rem 0.46rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.workbench-panels {
  display: grid;
}

.workbench-panel {
  grid-area: 1 / 1;
}

.workbench-panel[hidden="until-found"] {
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.workbench-panel:not([hidden]) {
  position: relative;
  z-index: 1;
  opacity: 1;
}

.workbench-panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.3rem, 2.8vw, 2.4rem);
  align-items: center;
  padding: clamp(1.35rem, 2.8vw, 2.2rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.wb-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.magic-inline-callout {
  display: inline-flex;
  align-items: center;
  margin: 0.55rem 0 0;
  padding: 0.42rem 0.95rem;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.06rem, 1.45vw, 1.26rem);
  line-height: 1.15;
  letter-spacing: 0.015em;
  color: #fef08a;
  background: var(--magic-bg);
  border: 1px solid rgba(254, 240, 138, 0.48);
  box-shadow: 0 14px 30px -12px rgba(79, 46, 229, 0.65);
  text-shadow: 0 3px 10px rgba(15, 10, 56, 0.45);
}

.wb-shield-mini {
  width: 68px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 16px rgba(24, 34, 72, 0.16));
}

.wb-copy h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.58rem);
  line-height: 1.22;
  color: var(--ink);
}

.wb-copy > p {
  margin: 0.72rem 0 0;
  color: var(--ink-soft);
}

.check-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

.check-list li {
  position: relative;
  padding-inline-start: 1.35rem;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 3px;
  background: var(--brand);
  transform: rotate(45deg);
}

.check-list strong {
  color: var(--ink);
}

.wb-demo {
  display: grid;
  gap: 0.8rem;
}

.demo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.demo-btn {
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-tint);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.demo-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.demo-btn[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.demo-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background: var(--surface-tint);
  border: 1px solid var(--line);
}

.demo-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.state-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.state-pill-ok { background: var(--ok-soft); color: var(--ok); }
.state-pill-warn { background: var(--warn-soft); color: var(--warn); }
.state-pill-crit { background: var(--crit-soft); color: var(--crit); }
.state-pill-neutral { background: var(--brand-soft); color: var(--brand); }

.msg-bubble {
  padding: 0.82rem 0.95rem;
  border-radius: 14px;
  font-size: 0.91rem;
  line-height: 1.48;
}

.msg-buyer {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.msg-kudesnik {
  background: #eef1ff;
  border: 1px solid #d5dcff;
  color: var(--ink);
}

.msg-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.msg-head strong {
  color: var(--ink);
}

.msg-rec-block {
  margin-top: 0.6rem;
  padding: 0.58rem 0.72rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px dashed rgba(67, 56, 202, 0.35);
  font-size: 0.86rem;
}

.console-guard-row {
  padding: 0.72rem 0.9rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.console-guard-row strong {
  color: var(--ink);
}

/* Glue Rating Simulator */
.sim-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.sim-stat {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.sim-stat span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.sim-stat strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.sim-score-bar {
  display: grid;
  gap: 0.35rem;
}

.sim-track {
  height: 10px;
  border-radius: 999px;
  background: #e0e7f6;
  overflow: hidden;
}

.sim-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #4338ca, #06b6d4);
  transition: inline-size 0.25s ease, background-color 0.2s ease;
}

.sim-fill.is-warn { background: linear-gradient(90deg, #d97706, #f59e0b); }
.sim-fill.is-crit { background: linear-gradient(90deg, #be123c, #f43f5e); }

/* ---------- Marketplaces + Bigger 3D Icons + Magical Highlight Chips ---------- */
.mp-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.mp-card {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mp-card:hover {
  border-color: var(--brand-bright);
}

.mp-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.mp-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brand);
}

.mp-card h3 {
  margin: 0.2rem 0 0;
  font-size: 1.38rem;
  line-height: 1.15;
}

.mp-3d-icon {
  width: 92px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 14px 20px rgba(24, 34, 72, 0.2));
}

.mp-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mp-chip-list span {
  padding: 0.36rem 0.7rem;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.mp-chip-list span.mp-chip-magic {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.96rem;
  letter-spacing: 0.015em;
  padding: 0.38rem 0.82rem;
  color: #fef08a;
  background: var(--magic-bg);
  border: 1px solid rgba(254, 240, 138, 0.5);
  box-shadow: 0 10px 22px -10px rgba(79, 46, 229, 0.65);
  text-shadow: 0 2px 8px rgba(15, 10, 56, 0.42);
}

.cabinet-strip {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.cabinet-pill {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
  border: 1px solid var(--line);
}

.cabinet-pill strong {
  display: block;
  font-size: 0.97rem;
  color: var(--ink);
}

.cabinet-pill span {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* ---------- Pricing: Promo Ribbon + 3x2 Symmetric Grid + Magic Max/Ultra + Curved Arrow ---------- */
.promo-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.promo-tile {
  padding: 1.05rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.promo-tile-trial {
  background: linear-gradient(135deg, #eef0ff, #ffffff);
  border-color: #cfd5ff;
}

.promo-tile-sale {
  background: linear-gradient(135deg, #e8f8fd, #ffffff);
  border-color: #bfe7f5;
}

.promo-tile-ref {
  background: linear-gradient(135deg, #f3e8ff, #ffffff);
  border-color: #dec8fb;
}

.promo-badge {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand);
}

.promo-tile strong {
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--ink);
}

.promo-tile > span:last-child {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.plans-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.plan-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

/* Highlighted Magical Max & Ultra Cards */
.plan-card-magic {
  position: relative;
  background:
    radial-gradient(circle at 92% 10%, rgba(56, 189, 248, 0.16), transparent 45%),
    radial-gradient(circle at 8% 92%, rgba(168, 85, 247, 0.14), transparent 46%),
    linear-gradient(180deg, #f5f3ff 0%, #ffffff 74%);
  border: 1.5px solid #8b7cf6;
  box-shadow: 0 22px 44px -22px rgba(91, 61, 224, 0.45);
}

.plan-card-ultra {
  background:
    radial-gradient(circle at 90% 12%, rgba(56, 189, 248, 0.22), transparent 45%),
    radial-gradient(circle at 12% 88%, rgba(244, 63, 94, 0.12), transparent 46%),
    linear-gradient(160deg, #eef0ff 0%, #f5f0ff 50%, #ffffff 100%);
  border: 1.5px solid #6366f1;
  box-shadow: 0 24px 48px -22px rgba(79, 46, 229, 0.56);
}

.plan-card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--ink);
}

.plan-name-rus {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.52rem !important;
  line-height: 1.05;
  color: var(--brand) !important;
}

.plan-price {
  margin: 0.35rem 0 0;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
}

.plan-period {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.46rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  flex: 1 1 auto;
}

.plan-list li {
  position: relative;
  padding-inline-start: 0.95rem;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46rem;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: var(--brand);
}

.plan-card .btn {
  width: 100%;
}

/* Slot 6: Bigger Typography, NO Dot, Bold Highlighted Arrow Crossing Straight ONTO «Больше чем всё» */
.plan-vip-pointer {
  position: relative;
  z-index: 8;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.45rem 1.35rem 0.4rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  background:
    radial-gradient(circle at 82% 18%, rgba(250, 204, 21, 0.14), transparent 56%),
    radial-gradient(circle at 20% 85%, rgba(124, 58, 237, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.72);
  border: 1.5px dashed rgba(99, 102, 241, 0.44);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.plan-vip-pointer:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.pointer-copy {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.pointer-kicker {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}

.pointer-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.3vw, 2.25rem);
  line-height: 1.03;
  color: var(--ink);
}

.pointer-arrow-svg {
  position: relative;
  z-index: 10;
  width: 112%;
  max-width: none;
  height: auto;
  margin-left: -12%;
  margin-top: 0.1rem;
  margin-bottom: -4.4rem;
  overflow: visible;
  filter: drop-shadow(0 12px 18px rgba(79, 46, 229, 0.34));
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .plan-vip-pointer:hover .pointer-arrow-svg {
    transform: translate(-3px, 4px);
    transition: transform 0.22s ease;
  }
}

/* ---------- VIVID COLORFUL FLAGSHIP TARIFF: «БОЛЬШЕ ЧЕМ ВСЁ» ---------- */
.vip-showcase,
.closing-magic-shell {
  position: relative;
  z-index: 2;
  padding: 3px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 72px -24px rgba(79, 46, 229, 0.58);
}

.vip-showcase {
  margin-top: 1.4rem;
}

.vip-showcase::before,
.closing-magic-shell::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: conic-gradient(
    from 0deg,
    #38bdf8,
    #818cf8,
    #e879f9,
    #fb7185,
    #facc15,
    #34d399,
    #38bdf8
  );
  z-index: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .vip-showcase::before,
  .closing-magic-shell::before {
    animation: vip-border-spin 10s linear infinite;
  }
}

@keyframes vip-border-spin {
  to { transform: rotate(360deg); }
}

.vip-showcase-inner {
  position: relative;
  z-index: 1;
  border-radius: 27px;
  padding: clamp(1.6rem, 3.6vw, 2.7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.65fr);
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  color: #ffffff;
  background: var(--magic-bg);
}

.vip-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.vip-new-tag,
.closing-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.78rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fde047, #f59e0b);
  color: #1a1236;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px -6px rgba(250, 204, 21, 0.65);
}

.vip-audience {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.vip-title {
  margin: 0.65rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.15rem, 4.1vw, 3.45rem);
  line-height: 1.02;
  color: #ffffff;
  text-shadow: 0 8px 26px rgba(15, 10, 56, 0.38);
}

.vip-lead {
  margin: 0.7rem 0 0;
  max-width: 40rem;
  font-size: 1.04rem;
  color: rgba(240, 245, 255, 0.92);
}

.vip-perks {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.vip-perk {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
}

.vip-perk strong {
  display: block;
  font-size: 0.98rem;
  color: #fef08a;
  line-height: 1.25;
}

.vip-perk span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.vip-actions {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.vip-btn-cta {
  padding: 0.9rem 1.55rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: #17124a;
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 100%);
  box-shadow: 0 18px 34px -12px rgba(250, 204, 21, 0.58);
}

.vip-btn-cta:hover {
  background: linear-gradient(135deg, #ffffff 0%, #fde047 100%);
  box-shadow: 0 22px 42px -12px rgba(250, 204, 21, 0.76);
}

.vip-visual {
  position: relative;
  display: grid;
  place-items: center;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.2s ease;
}

.vip-glow {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 240, 138, 0.44), rgba(56, 189, 248, 0.3) 50%, transparent 74%);
  filter: blur(18px);
}

.vip-crown-img {
  position: relative;
  z-index: 2;
  width: min(100%, 275px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgba(13, 10, 48, 0.45));
}

@media (prefers-reduced-motion: no-preference) {
  .vip-crown-img {
    animation: gentle-float 5.2s ease-in-out infinite;
  }
}

@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Ultra Add-ons + Standalone AI Chats ---------- */
.addons-row {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 1.15rem;
}

.builder-card,
.standalone-card {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.builder-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.builder-head h3,
.standalone-card h3 {
  margin: 0;
  font-size: 1.24rem;
}

.builder-total {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--brand);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.78rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-tint);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.option-item:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.option-item input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--brand);
  flex-shrink: 0;
  cursor: pointer;
}

.option-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.option-text strong {
  font-size: 0.89rem;
  line-height: 1.2;
  color: var(--ink);
}

.option-text span {
  font-size: 0.77rem;
  color: var(--ink-muted);
}

.option-price {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
}

.builder-summary {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.standalone-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: linear-gradient(160deg, #f3f5ff 0%, #ffffff 70%);
}

.standalone-kicker {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brand);
}

.standalone-price {
  margin: 0.15rem 0 0;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--ink);
}

.standalone-price span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.standalone-card .check-list {
  margin-top: 0.4rem;
  margin-bottom: 0.6rem;
  flex: 1 1 auto;
}

.standalone-card .btn {
  width: 100%;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  display: grid;
  gap: 0.72rem;
  max-width: 54rem;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 1.05rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--brand);
  color: #ffffff;
}

.faq-body {
  padding: 0 1.25rem 1.1rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.faq-body p {
  margin: 0;
}

/* ---------- MAGICAL 3D CLOSING CTA BANNER ---------- */
.closing-section {
  padding-block: 1rem 3.8rem;
}

.closing-panel {
  position: relative;
  z-index: 1;
  border-radius: 27px;
  padding: clamp(1.7rem, 3.6vw, 2.75rem) clamp(1.7rem, 3.6vw, 2.75rem) 0;
  background: var(--magic-bg);
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  align-items: end;
  gap: clamp(1.3rem, 3vw, 2.2rem);
  overflow: hidden;
}

.closing-copy {
  min-width: 0;
  padding-bottom: clamp(1.7rem, 3.6vw, 2.75rem);
}

.closing-copy h2 {
  margin: 0.65rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.3vw, 2.8rem);
  line-height: 1.08;
  overflow-wrap: break-word;
  color: #ffffff;
  text-shadow: 0 8px 24px rgba(15, 10, 56, 0.36);
}

.closing-copy p {
  margin: 0.7rem 0 0;
  max-width: 41rem;
  font-size: 1rem;
  color: rgba(240, 245, 255, 0.92);
}

.closing-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.68rem;
}

.closing-elder-stage {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: end center;
  min-height: 290px;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.2s ease;
}

.closing-orb-glow {
  position: absolute;
  bottom: 10%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 240, 138, 0.44), rgba(56, 189, 248, 0.34) 52%, transparent 74%);
  filter: blur(20px);
}

.closing-elder-img {
  position: relative;
  z-index: 2;
  width: min(100%, 268px);
  height: auto;
  aspect-ratio: 896 / 1200;
  object-fit: contain;
  margin-bottom: -18px;
}

.closing-parcel-mini {
  position: absolute;
  z-index: 4;
  right: 11%;
  bottom: 30%;
  width: 72px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.closing-star-mini {
  position: absolute;
  z-index: 4;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 0 11px rgba(254, 240, 138, 0.86));
}

.closing-star-1 { left: 15%;  bottom: 51%; width: 44px; }
.closing-star-2 { left: 6%;   bottom: 68%; width: 34px; }
.closing-star-3 { left: 21%;  bottom: 83%; width: 38px; }
.closing-star-4 { right: 17%; bottom: 81%; width: 34px; }
.closing-star-5 { right: 8%;  bottom: 60%; width: 39px; }

@media (prefers-reduced-motion: no-preference) {
  .closing-parcel-mini {
    animation: gentle-float 4.8s ease-in-out infinite;
  }
  .closing-star-1 { animation: gentle-float 3.8s ease-in-out -0.4s infinite; }
  .closing-star-2 { animation: gentle-float 4.3s ease-in-out -1.5s infinite; }
  .closing-star-3 { animation: gentle-float 3.6s ease-in-out -2.6s infinite; }
  .closing-star-4 { animation: gentle-float 4.1s ease-in-out -0.9s infinite; }
  .closing-star-5 { animation: gentle-float 3.9s ease-in-out -2.0s infinite; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-block: 1.5rem 5.4rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.footer-brand > span:nth-child(2) {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 400;
}

.footer-note {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-motion-btn {
  padding: 0.36rem 0.78rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
}

.footer-motion-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.footer-legal-row {
  margin-top: 1.05rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.15rem;
}

.footer-legal-links a,
.footer-legal-btn {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.footer-legal-links a:hover,
.footer-legal-btn:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* ---------- 152-FZ COOKIE CONSENT BANNER (compact bottom-left, visible immediately on load) ---------- */
.cookie-banner {
  position: fixed;
  left: max(1.1rem, env(safe-area-inset-left));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 55;
  width: min(465px, calc(100vw - 2.2rem));
  padding: 0.72rem 0.95rem;
  border-radius: 18px;
  background: rgba(17, 21, 40, 0.95);
  border: 1px solid rgba(165, 180, 252, 0.38);
  color: rgba(241, 245, 255, 0.95);
  box-shadow: 0 20px 44px -16px rgba(10, 14, 38, 0.65);
  backdrop-filter: blur(12px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 0.85rem;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 220px;
  font-size: 0.81rem;
  line-height: 1.4;
}

.cookie-banner a {
  color: #fde047;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-btn {
  padding: 0.48rem 1rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.14s ease, background-color 0.14s ease;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 100%);
  color: #17124a;
}

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

.cookie-btn-decline {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ---------- ALWAYS-VISIBLE FLOATING TRIAL CTA BUTTON ---------- */
.floating-trial-cta {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 1.2rem 0.72rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 58%, #4f46e5 100%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 20px 44px -12px rgba(67, 56, 202, 0.78), 0 0 0 4px rgba(99, 102, 241, 0.16);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.floating-trial-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 24px 48px -12px rgba(67, 56, 202, 0.9), 0 0 0 5px rgba(99, 102, 241, 0.24);
}

.floating-trial-cta::after {
  content: "";
  position: absolute;
  inset-block: -20%;
  width: 42%;
  left: -60%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .floating-trial-cta::after {
    animation: cta-sheen 5.6s ease-in-out infinite;
  }
}

@keyframes cta-sheen {
  0%, 72% { transform: translateX(0); }
  100% { transform: translateX(520%); }
}

.floating-cta-star {
  width: 1.35rem;
  height: 1.35rem;
  color: #fde047;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(253, 224, 71, 0.6));
}

.floating-cta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.floating-cta-text strong {
  font-size: 0.9rem;
  font-weight: 800;
}

.floating-cta-text span {
  font-size: 0.74rem;
  font-weight: 700;
  color: #fde68a;
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 979px) {
  .hero-actions-shell {
    border-radius: 22px;
    width: 100%;
    max-width: 26rem;
  }

  .hero-actions {
    border-radius: 20px;
    padding: 0.55rem;
  }

  .hero-stage-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 0.6rem;
  }

  .wizard-3d-stage {
    grid-column: 1;
    grid-row: 1;
    max-width: 340px;
  }

  .orbit-col,
  .hero-scroll-cue {
    display: none;
  }

  .story-col {
    grid-column: 1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
  }

  .story-col-left { grid-row: 2; }
  .story-col-right { grid-row: 3; }

  .story-card {
    flex: 1 1 240px;
    max-width: none;
  }

  .workbench-panel-inner,
  .mp-showcase,
  .cabinet-strip,
  .promo-ribbon,
  .vip-showcase-inner,
  .closing-panel,
  .addons-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .vip-visual,
  .closing-elder-stage {
    order: -1;
  }

  .closing-panel {
    padding: clamp(1.5rem, 3.6vw, 2.2rem);
  }

  .closing-copy {
    padding-bottom: 0;
  }

  .closing-elder-stage {
    min-height: 230px;
  }

  .closing-elder-img {
    width: min(65vw, 215px);
    margin-bottom: -10px;
  }

  .vip-crown-img {
    width: min(62vw, 220px);
  }
}

@media (max-width: 860px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(1200px, calc(100% - 1.5rem));
  }

  .header-inner {
    gap: 0.5rem;
  }

  .brand-mark-img {
    width: 1.75rem;
  }

  .site-logo {
    gap: 0.45rem;
  }

  .site-logo span {
    font-size: 1.24rem;
  }

  .site-nav {
    gap: 0.42rem;
    flex-shrink: 0;
  }

  .mobile-quick-cta {
    padding: 0.44rem 0.78rem;
    font-size: 0.82rem;
  }

  .menu-button {
    padding: 0.44rem 0.74rem;
    font-size: 0.82rem;
    gap: 0.35rem;
  }

  .plans-grid,
  .option-grid,
  .vip-perks,
  .section-head-with-elder {
    grid-template-columns: minmax(0, 1fr);
  }

  .elder-reaction-badge,
  .elder-mini-callout {
    justify-self: stretch;
    max-width: none;
  }

  .closing-panel {
    padding: 1.35rem 1.2rem;
  }

  .closing-copy h2 {
    font-size: clamp(1.38rem, 6.2vw, 1.85rem);
  }

  .closing-star-1 { left: 10%;  bottom: 52%; width: 36px; }
  .closing-star-2 { left: 4%;   bottom: 69%; width: 28px; }
  .closing-star-3 { left: 19%;  bottom: 84%; width: 32px; }
  .closing-star-4 { right: 17%; bottom: 82%; width: 29px; }
  .closing-star-5 { right: 6%;  bottom: 61%; width: 33px; }

  .plan-vip-pointer {
    display: none;
  }

  .wizard-3d-stage {
    max-width: 300px;
  }

  .orbit-mp {
    width: 58px;
  }

  .ambient-runes {
    opacity: 0.55;
  }

  .floating-trial-cta {
    left: 0.85rem;
    right: 0.85rem;
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    justify-content: center;
    padding: 0.68rem 1rem;
  }

  .cookie-banner {
    left: 0.85rem;
    right: 0.85rem;
    width: auto;
    bottom: calc(4.85rem + env(safe-area-inset-bottom));
  }

  .floating-cta-text {
    flex-direction: row;
    align-items: baseline;
    gap: 0.45rem;
  }

  .site-footer {
    padding-bottom: 5.8rem;
  }
}
