/* ===== Токены ===== */
:root {
  color-scheme: light;
  --bg: #F6F8FC;
  --surface: #FFFFFF;
  --glass: #FFFFFF;
  --glass-strong: #FFFFFF;
  --glass-line: #E3E8F3;
  --tint: #EDF1FA;
  --ink: #111A33;
  --ink-2: #3F4A63;
  --ink-3: #5F6A82;
  --line: #DFE5F1;
  --accent: #2F55D4;
  --accent-hover: #2343B3;
  --accent-soft: #E6ECFD;
  --dark: #13203F;
  --dark-2: #1D2C52;
  --on-dark: #F3F6FD;
  --on-dark-2: #C3CCE2;
  --ok: #1E7A57;
  --ok-soft: #DDF4EA;
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(17, 26, 51, .05), 0 4px 14px rgba(17, 26, 51, .05);
  --shadow: 0 14px 40px -16px rgba(17, 26, 51, .16);
  --shadow-lg: 0 30px 70px -24px rgba(17, 26, 51, .22);
  --container: 1180px;
  --gutter: 20px;
  --section-y: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ===== База ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth; scroll-padding-top: 84px; scroll-padding-bottom: 96px;
  -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(47, 85, 212, .12);
}
@media (min-width: 768px) { html { scroll-padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* Акцентные слова в заголовках */
.section-head h2 em, .hero-title em, .final h2 em, .offer-title em { color: var(--accent); }

/* ===== Индикатор прокрутки ===== */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }

/* ===== Кнопки ===== */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 700 16px/1.2 var(--font-body); text-decoration: none; text-align: center;
  cursor: pointer; touch-action: manipulation;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .25s var(--ease-spring), box-shadow .25s var(--ease);
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 24px -12px rgba(47, 85, 212, .7);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 16px 32px -14px rgba(47, 85, 212, .75); }
@media (prefers-reduced-motion: no-preference) {
  .btn-pulse { animation: pulse 2.4s var(--ease) 1.6s 3; }
}
@keyframes pulse {
  0% { box-shadow: 0 10px 24px -12px rgba(47, 85, 212, .7), 0 0 0 0 rgba(47, 85, 212, .4); }
  70% { box-shadow: 0 10px 24px -12px rgba(47, 85, 212, .7), 0 0 0 14px rgba(47, 85, 212, 0); }
  100% { box-shadow: 0 10px 24px -12px rgba(47, 85, 212, .7), 0 0 0 0 rgba(47, 85, 212, 0); }
}
.btn-ghost { background: var(--glass); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: var(--accent-soft); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 16px 30px; font-size: 17px; }
.btn-block { width: 100%; }

/* ===== Шапка ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 248, 252, .85);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .78); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 800; font-size: 15px; }
.brand-role { font-size: 13px; color: var(--ink-3); }
.nav { display: none; gap: 6px; padding: 5px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); }
.nav a {
  position: relative; text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--ink-2);
  padding: 8px 16px; border-radius: 999px; transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a:hover { color: var(--accent); background: var(--accent-soft); }
@media (min-width: 960px) { .nav { display: flex; } }
@media (max-width: 420px) { .brand-role { display: none; } .header-cta { padding: 10px 16px; } }

/* ===== Общие секции ===== */
.section { position: relative; padding: var(--section-y) 0; scroll-margin-top: 72px; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: var(--on-dark); overflow: hidden; }
.section-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-head--left { margin: 0 0 24px; text-align: left; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(26px, 3.8vw, 44px); letter-spacing: -.02em; line-height: 1.18;
}
.section--dark .section-head h2 em { color: #8FA8FF; }
.section-sub { margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.section-head--light .section-sub { color: var(--on-dark-2); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 6px 14px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.section--dark .kicker, .kicker--light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #AFC0FF; }

/* ===== Hero ===== */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--line);
  font-size: 14px; font-weight: 700; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .dot::after { animation: ping 1.8s var(--ease) infinite; } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

.hero-title {
  margin-top: 24px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(32px, 5.4vw, 62px); letter-spacing: -.03em; line-height: 1.08;
}
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; }
.hero-lead { margin-top: 24px; max-width: 560px; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-facts li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line);
  font-weight: 700; font-size: 14.5px; color: var(--ink-2);
}
.hero-facts .icon { color: var(--accent); }

.hero-visual { position: relative; isolation: isolate; max-width: 450px; width: 100%; margin: 0 auto; padding: 0 12px; }
.hero-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: var(--accent-soft); box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-ring {
  position: absolute; z-index: -1; left: 50%; top: 46%; width: 112%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; border: 2px dashed rgba(47, 85, 212, .35);
}
.hero-sparkle { position: absolute; z-index: 2; display: grid; place-items: center; color: var(--accent); }
.hero-sparkle svg { width: 100%; height: 100%; }
.hero-sparkle--1 { width: 34px; height: 34px; top: 4%; left: 6%; }
.hero-sparkle--2 { width: 22px; height: 22px; bottom: 8%; right: 10%; color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .hero-ring { animation: spin 24s linear infinite; }
  .hero-sparkle--1 { animation: twinkle 3.2s ease-in-out infinite; }
  .hero-sparkle--2 { animation: twinkle 3.2s ease-in-out 1.4s infinite; }
}
@keyframes spin { to { rotate: 360deg; } }
@keyframes twinkle { 0%, 100% { transform: scale(.8) rotate(0deg); opacity: .5; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }

.float-card {
  position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 2px;
  padding: 14px 18px; border-radius: var(--radius);
  background: var(--glass-strong); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.float-num { font: 600 19px/1.15 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.float-text { font-size: 13px; line-height: 1.35; color: var(--ink-3); }
.float-card--income { left: -4px; bottom: 26%; }
.float-card--exp { right: -4px; bottom: -20px; }
@media (min-width: 600px) {
  .float-card--income { left: -44px; bottom: 18%; }
  .float-card--exp { right: -40px; top: 12%; bottom: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .float-card--income { animation: card-in .8s var(--ease-spring) .9s both, floaty 5s ease-in-out 1.7s infinite; }
  .float-card--exp { animation: card-in .8s var(--ease-spring) 1.1s both, floaty 5s ease-in-out 2.6s infinite; }
}
@keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* Анимация появления первого экрана (работает и без JS) */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .w > span { animation: word-up .9s var(--ease) both; animation-delay: calc(.15s + var(--i) * .08s); }
  .hero .eyebrow { animation: fade-up .7s var(--ease) both; }
  .hero-lead { animation: fade-up .8s var(--ease) .65s both; }
  .hero-actions { animation: fade-up .8s var(--ease) .78s both; }
  .hero-facts { animation: fade-up .8s var(--ease) .9s both; }
  .hero-photo { animation: photo-in 1.1s var(--ease) .25s both; }
}
@keyframes word-up { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes photo-in { from { opacity: 0; transform: translateY(30px) scale(.96); clip-path: inset(30% 0 0 0 round 999px 999px 32px 32px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 999px 999px 32px 32px); } }

/* ===== Бегущая строка ===== */
.marquee-wrap { position: relative; overflow: hidden; padding: 14px 0; }
.motion-toggle {
  position: absolute; z-index: 2; right: 12px; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: #fff; color: var(--accent); cursor: pointer; box-shadow: var(--shadow);
  transition: transform .25s var(--ease-spring), background-color .2s var(--ease);
}
.motion-toggle:hover { transform: scale(1.08); background: var(--accent-soft); }
.motion-toggle .icon { width: 18px; height: 18px; }
.motion-toggle .icon-play, .motion-toggle[aria-pressed="true"] .icon-pause { display: none; }
.motion-toggle[aria-pressed="true"] .icon-play { display: block; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }
/* Пауза всех зацикленных анимаций по кнопке */
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.marquee {
  position: relative; overflow: hidden; padding: 18px 0;
  background: var(--accent); color: #fff; transform: rotate(-1.2deg); margin: 0 -20px;
}
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; white-space: nowrap; }
.marquee-track span { font: 600 clamp(16px, 2vw, 22px)/1 var(--font-display); letter-spacing: -.01em; }
.marquee-track i {
  width: 14px; height: 14px; flex: none; background: currentColor; opacity: .85;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 32s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Карточки «Для кого» ===== */
.cards-4 { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1080px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 24px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-spring), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.card p { color: var(--ink-2); font-size: 16px; }
.card-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 4px;
  transition: transform .4s var(--ease-spring), background-color .3s var(--ease);
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); }
.card .card-win {
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line);
  font-weight: 800; font-size: 15px; color: var(--accent);
}

/* ===== Почему ассистент ===== */
.why-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .why-grid { grid-template-columns: 1.15fr .85fr; gap: 40px; } }
.why-list { display: grid; gap: 14px; }
@media (min-width: 640px) { .why-list { grid-template-columns: repeat(2, 1fr); } }
.why-item {
  display: flex; gap: 16px; padding: 24px; border-radius: var(--radius);
  background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-spring), box-shadow .3s var(--ease);
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--accent); color: #fff; }
.why-icon svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.why-item p { font-size: 15.5px; color: var(--ink-2); }

.stats {
  position: relative; overflow: hidden;
  padding: 32px; border-radius: var(--radius-lg);
  background: var(--accent); color: #fff;
  box-shadow: var(--shadow-lg);
}
.stats-title { position: relative; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #DCE4FF; margin-bottom: 8px; }
.stat { position: relative; display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.stat:last-child { border-bottom: 0; padding-bottom: 0; }
.stat-num { font: 600 clamp(32px, 3.6vw, 44px)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 15px; color: #E3E9FF; }

/* ===== Сравнение (по другую сторону стола) ===== */
.compare { display: grid; gap: 20px; }
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; gap: 24px; } }
.compare-col { padding: 32px 28px; border-radius: var(--radius-lg); }
.compare-col h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 20px; }
.compare-col ul { display: grid; gap: 14px; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.compare-col li .icon { margin-top: 3px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; }
.compare-col--no {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: var(--on-dark-2);
}
.compare-col--no h3 { color: var(--on-dark); }
.compare-col--no .icon { background: rgba(255, 120, 100, .16); color: #FF9A8A; }
.compare-col--yes { background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.compare-col--yes .icon { background: var(--ok-soft); color: var(--ok); }
.compare-col li { transition: transform .3s var(--ease); }
.compare-col li:hover { transform: translateX(4px); }

/* ===== Программа ===== */
.lessons { display: grid; gap: 20px; }
@media (min-width: 1000px) { .lessons { grid-template-columns: repeat(3, 1fr); } }
.lesson {
  display: flex; flex-direction: column; gap: 20px;
  padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-spring), box-shadow .3s var(--ease);
}
.lesson:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lesson--bonus { background: var(--accent-soft); border-color: #CDD8FA; }
.lesson-top { display: grid; gap: 14px; }
.lesson-num {
  justify-self: start; padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.lesson-num--bonus { background: var(--accent); color: #fff; }
.lesson h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -.015em; }
.checklist { display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; font-size: 16px; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%232F55D4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.lesson-result { margin-top: auto; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--ok-soft); font-size: 15.5px; color: #175E43; }

.roadmap {
  margin-top: 48px; padding: 36px 32px; border-radius: var(--radius-lg);
  background: var(--glass); border: 1px solid var(--glass-line);
}
.roadmap-title { text-align: center; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; }
.roadmap-steps { display: grid; gap: 14px; }
@media (min-width: 860px) {
  .roadmap-steps { grid-template-columns: repeat(5, 1fr); gap: 0; }
  .roadmap-steps li { position: relative; }
  .roadmap-steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 24px; left: calc(50% + 32px); right: calc(-50% + 32px);
    height: 2px; border-radius: 2px; background: var(--accent); opacity: .4;
    transform-origin: 0 50%;
  }
}
.roadmap-steps li { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 16px; }
@media (min-width: 860px) { .roadmap-steps li { flex-direction: column; text-align: center; gap: 12px; padding: 0 8px; } }
.roadmap-steps span {
  flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px;
  background: #fff; border: 2px solid var(--accent-soft); color: var(--accent);
  font: 600 15px/1 var(--font-display); box-shadow: var(--shadow-sm);
}
.roadmap-steps li:last-child span { background: var(--accent); border-color: transparent; color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .js .roadmap .roadmap-steps li { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease-spring); transition-delay: calc(var(--i, 0) * .15s); }
  .js .roadmap.is-in .roadmap-steps li { opacity: 1; transform: none; }
  .js .roadmap .roadmap-steps li::after { transform: scaleX(0); transition: transform .5s var(--ease); transition-delay: calc(var(--i, 0) * .15s + .25s); }
  .js .roadmap.is-in .roadmap-steps li::after { transform: scaleX(1); }
}

/* ===== Тест ===== */
.quiz-wrap { max-width: 860px; }
.quiz {
  padding: clamp(20px, 4vw, 40px); border-radius: var(--radius-lg);
  background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--shadow);
}
.quiz-bar { height: 8px; border-radius: 8px; background: var(--accent-soft); overflow: hidden; margin-bottom: 8px; }
.quiz-bar span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.quiz-list { display: grid; gap: 4px; counter-reset: q; }
.quiz-q {
  counter-increment: q; display: grid; gap: 12px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) { .quiz-q { grid-template-columns: 1fr auto; gap: 24px; } }
.quiz-text { position: relative; padding-left: 42px; font-size: 16.5px; color: var(--ink-2); }
.quiz-text strong { color: var(--ink); }
.quiz-text::before {
  content: counter(q); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px;
  background: var(--accent-soft); font: 600 13px/1 var(--font-display); color: var(--accent);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.quiz-q.is-answered .quiz-text::before { background: var(--accent); color: #fff; }
.quiz-opts { display: flex; gap: 8px; padding-left: 42px; }
@media (min-width: 640px) { .quiz-opts { padding-left: 0; } }
.quiz-opts label { position: relative; cursor: pointer; }
.quiz-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.quiz-opts span {
  display: grid; place-items: center; min-width: 76px; min-height: 44px; padding: 8px 18px;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 15px; color: var(--ink-2);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .3s var(--ease-spring);
}
.quiz-opts label:hover span { border-color: var(--accent); color: var(--accent); }
.quiz-opts input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.quiz-opts input:checked + span { transform: scale(1.06); }
.quiz-opts input[value="1"]:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.quiz-opts input[value="0"]:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.quiz-footer { margin-top: 24px; display: grid; gap: 16px; }
.quiz-progress { font-size: 15px; font-weight: 700; color: var(--ink-3); }
.quiz-result {
  display: grid; gap: 14px; padding: 24px; border-radius: var(--radius);
  background: var(--accent-soft); color: var(--ink-2);
}
.quiz-result.is-mid { background: #FFF4E5; }
.quiz-result h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--ink); }
.quiz-result .btn { justify-self: start; }
@media (max-width: 479px) { .quiz-result .btn { justify-self: stretch; } }
@media (prefers-reduced-motion: no-preference) {
  .quiz-result:not([hidden]) { animation: pop-in .6s var(--ease-spring) both; }
}
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }

/* ===== Обо мне ===== */
.about-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.about-media { position: relative; max-width: 480px; width: 100%; margin: 0 auto; padding-bottom: 72px; }
.about-media::before {
  content: ""; position: absolute; inset: -18px 30px 90px -18px; z-index: -1;
  border-radius: 46% 54% 40% 60% / 52% 44% 56% 48%; background: var(--accent-soft);
}
@media (prefers-reduced-motion: no-preference) { .about-media::before { animation: spin 40s linear infinite; } }
.about-photo {
  overflow: hidden; aspect-ratio: 11 / 12; box-shadow: var(--shadow-lg); background: var(--accent-soft);
  border-radius: 42% 58% 32px 32px / 34% 40% 32px 32px; border: 6px solid #fff;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .8s var(--ease); }
.about-media:hover .about-photo img { transform: scale(1.04); }
.about-stage {
  position: absolute; right: -8px; bottom: 0; width: 44%; margin: 0;
  padding: 8px 8px 10px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  transform: rotate(4deg); transition: transform .5s var(--ease-spring);
}
.about-stage:hover { transform: rotate(0deg) scale(1.04); }
.about-stage img { border-radius: 14px; aspect-ratio: 3 / 4; object-fit: cover; object-position: 30% 50%; }
.about-stage figcaption { padding: 8px 4px 0; font-size: 12.5px; line-height: 1.35; color: var(--ink-3); text-align: center; }
@media (min-width: 600px) { .about-stage { right: -40px; } }
.about-text { display: grid; gap: 16px; font-size: 18px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
.facts li {
  display: grid; gap: 6px; padding: 20px; border-radius: var(--radius);
  background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-spring), box-shadow .3s var(--ease);
}
.facts li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fact-num {
  font: 600 26px/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  color: var(--accent); justify-self: start;
}
.fact-label { font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.review {
  position: relative; margin: 24px 0 0; padding: 30px 28px 24px;
  border-radius: var(--radius); background: var(--accent-soft);
}
.review-quote { position: absolute; top: -16px; left: 24px; width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: var(--accent); color: #fff; }
.review p { font-size: 17px; font-style: italic; color: var(--ink); }
.review footer { margin-top: 12px; font-size: 14.5px; color: var(--ink-3); }
.review footer strong { color: var(--ink); }

/* ===== Оффер ===== */
.offer {
  position: relative; display: grid; border-radius: var(--radius-lg);
  background: #fff; border: 2px solid var(--accent); box-shadow: var(--shadow-lg);
}
@media (min-width: 960px) { .offer { grid-template-columns: 1.25fr .75fr; } }
.offer-main { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: rgba(255, 255, 255, .92); }
@media (min-width: 960px) { .offer-main { border-radius: var(--radius-lg) 0 0 var(--radius-lg); } }
.offer-label { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.offer-title { margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.02em; }
.offer-sub { margin-top: 12px; font-size: 17px; color: var(--ink-2); max-width: 560px; }
.offer-stack { display: grid; gap: 14px; margin-top: 28px; }
.offer-stack li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--ink-2); }
.offer-stack strong { color: var(--ink); }
.offer-stack .icon { margin-top: 2px; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--accent); color: #fff; }
.offer-side {
  display: flex; flex-direction: column; gap: 16px; justify-content: center;
  padding: clamp(28px, 4vw, 48px); background: var(--tint);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
@media (min-width: 960px) { .offer-side { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; } }
.price-box { padding: 20px; border-radius: var(--radius); background: #fff; border: 1.5px dashed #B9C6EC; text-align: center; }
.price-label { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.price-value { min-height: 56px; margin-top: 4px; font: 600 38px/56px var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.price-value .price-old { margin-right: 10px; font-size: 22px; color: var(--ink-3); text-decoration: line-through; }
.price-note { min-height: 20px; font-size: 14px; color: var(--ink-3); }
.offer-access { text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.guarantee { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: #fff; }
.guarantee-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ok-soft); color: var(--ok); }
.guarantee-icon svg { width: 24px; height: 24px; }
.guarantee-title { font-weight: 800; margin-bottom: 4px; }
.guarantee p:not(.guarantee-title) { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

.mentor {
  position: relative; overflow: hidden;
  display: grid; gap: 24px; align-items: center; margin-top: 32px;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  background: var(--dark); color: var(--on-dark);
}
@media (min-width: 860px) { .mentor { grid-template-columns: 1fr auto; gap: 48px; } }
.mentor h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(21px, 2.4vw, 28px); letter-spacing: -.02em; margin-bottom: 12px; }
.mentor p { color: var(--on-dark-2); max-width: 680px; }
.mentor p strong { color: #fff; }
.mentor .kicker { margin-bottom: 12px; }
@media (max-width: 479px) { .mentor .btn { width: 100%; } }

/* ===== FAQ ===== */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius); background: var(--glass-strong); border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow); background: #fff; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 18px 24px; cursor: pointer; list-style: none;
  font-weight: 800; font-size: 17px; transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .icon {
  width: 32px; height: 32px; padding: 6px; border-radius: 50%; flex: none;
  background: var(--accent-soft); color: var(--accent);
  transition: transform .35s var(--ease-spring), background-color .25s var(--ease), color .25s var(--ease);
}
.faq details[open] summary .icon { transform: rotate(135deg); background: var(--accent); color: #fff; }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { .faq details[open] p { animation: fade-up .4s var(--ease) both; } }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--radius); }

/* ===== Финальный CTA ===== */
.final { padding: 0 0 var(--section-y); }
.final-inner {
  position: relative; overflow: hidden;
  display: grid; gap: 32px; justify-items: center; text-align: center;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 64px);
  border-radius: var(--radius-lg); background: var(--accent-soft);
}
.final h2 { max-width: 880px; font-family: var(--font-display); font-weight: 600; font-size: clamp(21px, 2.8vw, 32px); letter-spacing: -.02em; line-height: 1.3; }
@media (max-width: 479px) { .final .btn { width: 100%; } }

/* ===== Подвал ===== */
.site-footer { padding: 48px 0 calc(32px + env(safe-area-inset-bottom)); background: var(--dark); color: var(--on-dark-2); }
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 860px) { .footer-inner { grid-template-columns: 1fr auto; align-items: center; } }
.footer-name { font: 600 19px/1.2 var(--font-display); color: var(--on-dark); }
.footer-role { margin-top: 6px; font-size: 15px; }
.contacts { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.contacts a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  text-decoration: none; font-weight: 700; color: var(--on-dark); transition: color .2s var(--ease);
}
.contacts a:hover { color: #8FA8FF; }
.footer-bottom { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }

/* ===== Мобильная плавающая кнопка ===== */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .82); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* ===== Появление при скролле ===== */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0; transform: translateY(28px) scale(.98);
    transition: opacity .7s var(--ease), transform .8s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
  /* после появления возвращаем быстрые hover-переходы */
  .js .reveal.is-done { transition: transform .4s var(--ease-spring), box-shadow .3s var(--ease), opacity .3s var(--ease); }
  .js .reveal-left { transform: translateX(-36px); }
  .js .reveal-right { transform: translateX(36px); }
}
