/* Курсоло · продакшен-стили (Этап 5)
   Система: эталон skillspace.ru · палитра Blue-Violet · Onest (само-хостинг)
   Собрано из утверждённых макетов 01–15. Движение: fade+8px reveal (IntersectionObserver),
   scroll-driven параллакс фоновых сеток (@supports), prefers-reduced-motion — отключение. */

/* ===== Шрифты: само-хостинг, subset кириллица+латиница ===== */
@font-face{font-family:"Onest";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/onest-400-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/onest-400-latin.woff2") format("woff2");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:"Onest";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/onest-500-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/onest-500-latin.woff2") format("woff2");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:"Onest";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/onest-600-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/onest-600-latin.woff2") format("woff2");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:"Onest";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/onest-700-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/onest-700-latin.woff2") format("woff2");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:"Onest";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/onest-800-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/onest-800-latin.woff2") format("woff2");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 {
  --ease: cubic-bezier(.23, 1, .32, 1); --dur: 300ms;
  --page: #FFFFFF; --dark: #171F2F; --panel: #FFFFFF; --card: #F1F3F8;
  --ink: #1A2233; --muted: #5F6C85; --line: #E5E9F2;
  --accent: #6C4BF4; --blue: #005BFF; --violet: #8B5CF6;
  --btn-bg: linear-gradient(120deg, #005BFF, #8B5CF6);
  --grad-text: linear-gradient(90deg, #7FA3FF, #C09BFF);
  --on-dark: #FFFFFF; --on-dark-muted: rgba(233, 238, 248, .72);
  --on-dark-line: rgba(255, 255, 255, .16);
  --radius-xl: 28px; --radius-card: 20px;
  --tg-header: #4E7CAE; --tg-blue: #1B72C4; --tg-bg: #C9DCEA;
  --tg-bubble: #FFFFFF; --tg-ink: #0F1721; --tg-time: #A1AAB3;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--page); color: var(--ink); font-family: "Onest", sans-serif; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
.shell { max-width: 1360px; margin: 0 auto; padding: 0 16px; }
/* интервал между секциями-контейнерами (включая футер) */
.shell > section, .shell > footer { margin-top: 24px; }
.shell > section:first-child { margin-top: 0; }

/* ===== Тёмная тема (переключатель — по механике веб-приложения:
   data-bs-theme на <html>, выбор light/dark/system в localStorage) ===== */
[data-bs-theme="dark"] {
  color-scheme: dark;
  --page: #0E1118;
  --panel: #151B26;
  --card: #1B2330;
  --ink: #E8ECF1;
  --muted: #9AA6B2;
  --line: #262D3A;
  --dark: #1A2330;
}
/* переход цветов при смене темы подавляется (см. data-theme-switching ниже) */
[data-theme-switching="true"] * { transition: none !important; }

/* видимость иконок переключателя — как в приложении */
.theme-dark-show { display: none !important; }
[data-bs-theme="dark"] .theme-light-show { display: none !important; }
[data-bs-theme="dark"] .theme-dark-show { display: inline-flex !important; }
@media (prefers-reduced-motion: no-preference) {
  .theme-light-show, .theme-dark-show { transition: opacity var(--dur) var(--ease); }
}

/* переключатель в шапке */
.theme-switch { position: relative; }
.theme-switch__btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease); }
.theme-switch__btn:hover { border-color: var(--accent); color: var(--accent); }
.theme-switch__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.theme-switch__btn > span { display: inline-flex; }
.theme-switch__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 150px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 6px;
  box-shadow: 0 20px 40px -18px rgba(9,14,20,.35);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.theme-switch__menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.theme-switch__menu button { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
  font: 500 13.5px/1 "Onest", sans-serif; color: var(--ink); background: transparent; border: 0; cursor: pointer;
  padding: 10px 12px; border-radius: 9px; }
.theme-switch__menu button:hover { background: var(--card); color: var(--accent); }
.theme-switch__menu button::after { content: "✓"; margin-left: auto; font-weight: 700; color: var(--accent);
  opacity: 0; }
[data-theme-pref="light"] .theme-switch__menu [data-theme-value="light"]::after,
[data-theme-pref="dark"] .theme-switch__menu [data-theme-value="dark"]::after,
[data-theme-pref="system"] .theme-switch__menu [data-theme-value="system"]::after { opacity: 1; }

/* точечная адаптация компонентов к тёмной теме */
[data-bs-theme="dark"] .p-icon, [data-bs-theme="dark"] .f-card:not(.f-card--accent) .f-icon,
[data-bs-theme="dark"] .r-icon, [data-bs-theme="dark"] .c-icon, [data-bs-theme="dark"] .qmark,
[data-bs-theme="dark"] .dnote .ic, [data-bs-theme="dark"] .path__note .ic,
[data-bs-theme="dark"] .cookie__ico { background: rgba(108,75,244,.16); }
[data-bs-theme="dark"] .b--grey .b-icon { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
[data-bs-theme="dark"] .shot { border-color: var(--line); }
[data-bs-theme="dark"] .shot .t { background: var(--card); }
[data-bs-theme="dark"] .shot__dot { background: var(--line); }
[data-bs-theme="dark"] .chart i { background: var(--card); }
[data-bs-theme="dark"] .sticky-cta { background: rgba(14,17,24,.92); border-top-color: var(--line); }
[data-bs-theme="dark"] .cookie { box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }

/* белые жёсткие подложки → тёмные варианты */
[data-bs-theme="dark"] .shot__url { background: var(--panel); color: var(--muted); border-color: var(--line); }
[data-bs-theme="dark"] .chat__field { background: #17212B; color: #7C8B9A; }
[data-bs-theme="dark"] .btn--soft { background: var(--card); color: var(--ink); }
[data-bs-theme="dark"] .btn--soft:hover { background: #232C3A; color: #fff; }

/* чат-демо: Telegram в тёмной теме (фирменные цвета TG dark) */
[data-bs-theme="dark"] {
  --tg-header: #17212B;
  --tg-blue: #6AB3F3;
  --tg-bg: #0E1621;
  --tg-bubble: #182533;
  --tg-ink: #EAF1F8;
  --tg-time: #7C8B9A;
}
[data-bs-theme="dark"] .chat { box-shadow: 0 40px 90px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.07); }
[data-bs-theme="dark"] .course__cover { background: linear-gradient(135deg, #1C2A3A, #232040); }
[data-bs-theme="dark"] .course__meta { color: #93A3B4; }
[data-bs-theme="dark"] .chat__day { background: rgba(255,255,255,.08); color: #93A3B4; }
[data-bs-theme="dark"] .ibtn:hover { background: #1F2E40; }
[data-bs-theme="dark"] .ibtn.pressed { background: var(--tg-blue); color: #0E1621; }
[data-bs-theme="dark"] .ibtn.done { color: #67788A; }
[data-bs-theme="dark"] .typing i { background: #5B748C; }

/* ===== Кнопки ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
       font: 600 13.5px/1 "Onest", sans-serif; text-decoration: none; padding: 15px 26px; border-radius: 12px;
       border: 0; cursor: pointer;
       transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
                   background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.btn--primary { background: var(--btn-bg); color: #fff; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(108,75,244,.5); }
.btn--primary:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn--soft { background: var(--card); color: var(--ink); }
.btn--soft:hover { background: #E7EBF3; }
.btn--white { background: #fff; color: #1A2233; } /* текст фиксированно тёмный: фон кнопки всегда белый */
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(0,0,0,.45); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn .arr { font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 14.5px; }

/* ===== Шапка ===== */
.nav-wrap { max-width: 1360px; margin: 0 auto; padding: 0 16px; }
.nav { display: flex; align-items: center; gap: 20px; padding: 14px 8px; }
.logo { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.logo i { font-style: normal; color: var(--accent); }
.nav__tagline { font-size: 14px; color: var(--muted); }
.nav__actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
/* кнопки шапки: высота = высоте тогла темы (40px) */
.nav__actions .btn { padding: 13px 22px; }

/* ===== Заголовки секций ===== */
.eyebrow-c { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h2.sec { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.015em; line-height: 1.15; }
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.sec-head .lead { font-size: 16px; color: var(--muted); margin-top: 14px; line-height: 1.65; }
.sec-head .lead b { color: var(--ink); font-weight: 600; }

/* фоновая сетка + параллакс */
.bg-grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 0%, transparent 30%, #000 100%);
          mask-image: radial-gradient(70% 70% at 50% 0%, transparent 30%, #000 100%); }
.container-dark, .container-grad { position: relative; overflow: hidden; border-radius: var(--radius-xl); }
.container-dark { background: var(--dark); }
.container-grad { background: var(--btn-bg); }
.container-dark > *, .container-grad > * { position: relative; }
@supports (animation-timeline: view()) {
  .bg-grid { animation: grid-parallax linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  @keyframes grid-parallax { from { transform: translateY(-36px); } to { transform: translateY(36px); } }
}

/* ===== Hero ===== */
.hero { padding: 80px 32px 72px; text-align: center; }
.eyebrow-hero { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #A99CFF; margin-bottom: 22px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.12; letter-spacing: -.015em; font-weight: 800;
           color: var(--on-dark); max-width: 880px; margin: 0 auto 26px; text-wrap: balance; }
.hero h1 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; color: var(--on-dark-muted); max-width: 700px; margin: 0 auto 36px; }
.hero .lead b { color: #fff; font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 22px; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fact { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--on-dark-muted);
        background: rgba(255,255,255,.06); border: 1px solid var(--on-dark-line); border-radius: 100px; padding: 8px 16px; }
.fact svg { width: 14px; height: 14px; color: #9D8CFF; flex: none; }

/* ===== Чат-демо (окно Telegram) ===== */
.chat { width: min(100%, 420px); margin: 56px auto 0; text-align: left; border-radius: 20px; overflow: hidden;
        box-shadow: 0 40px 90px -40px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.06); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px;
              background: linear-gradient(180deg, #5B85B4, var(--tg-header)); color: #fff; }
.chat__back { display: grid; place-items: center; width: 22px; height: 22px; flex: none; opacity: .9; }
.chat__back svg { width: 20px; height: 20px; }
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: none;
                display: grid; place-items: center; box-shadow: 0 0 0 1.5px rgba(255,255,255,.55); }
.chat__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ava-init { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }
.chat__who { display: grid; gap: 0; min-width: 0; }
.chat__name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__status { font-size: 12px; color: rgba(255,255,255,.72); }
.chat__icons { margin-left: auto; display: flex; align-items: center; gap: 16px; opacity: .92; }
.chat__icons svg { width: 19px; height: 19px; }
.chat__body { padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 10px; min-height: 486px;
  background-color: var(--tg-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.32' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 24 L38 16 L30 36 L24 28 Z'/%3E%3Ccircle cx='92' cy='20' r='6'/%3E%3Cpath d='M150 22 c-3 -4 -9 -2 -8 3 c1 4 8 6 8 6 c0 0 7 -2 8 -6 c1 -5 -5 -7 -8 -3 Z'/%3E%3Cpath d='M212 30 l2.5 6 6 2.5 -6 2.5 -2.5 6 -2.5 -6 -6 -2.5 6 -2.5 Z'/%3E%3Cpath d='M60 70 q8 -9 16 0'/%3E%3Cpath d='M110 58 l-6 10 h5 l-4 10 9 -12 h-5 l4 -8 Z'/%3E%3Cpath d='M172 64 h18 a5 5 0 0 1 5 5 v7 a5 5 0 0 1 -5 5 h-13 l-5 4 v-16 a5 5 0 0 1 5 -5 Z'/%3E%3Cpath d='M30 128 l16 -7 -7 17 -5 -7 Z'/%3E%3Ccircle cx='56' cy='132' r='6.5'/%3E%3Cpath d='M122 118 c-2.5 -3.5 -7.5 -1.5 -6.5 2.5 c.8 3.5 6.5 5 6.5 5 c0 0 5.7 -1.5 6.5 -5 c1 -4 -4 -6 -6.5 -2.5 Z'/%3E%3Cpath d='M172 150 l2 5 5 2 -5 2 -2 5 -2 -5 -5 -2 5 -2 Z'/%3E%3Cpath d='M26 182 q7 -8 14 0'/%3E%3Cpath d='M92 188 l-5 8 h4 l-3 8 7 -10 h-4 l3 -6 Z'/%3E%3Cpath d='M218 184 a7 7 0 1 1 -6 -10 a5.5 5.5 0 0 0 6 10 Z'/%3E%3Cpath d='M136 202 q6 -6 12 0 q6 6 12 0'/%3E%3C/g%3E%3Cg fill='%23FFFFFF' fill-opacity='.30'%3E%3Ccircle cx='36' cy='58' r='2.2'/%3E%3Ccircle cx='142' cy='88' r='2.2'/%3E%3Ccircle cx='204' cy='96' r='2.2'/%3E%3Ccircle cx='70' cy='160' r='2.2'/%3E%3Ccircle cx='120' cy='226' r='2.2'/%3E%3Ccircle cx='196' cy='214' r='2.2'/%3E%3Ccircle cx='58' cy='214' r='2.2'/%3E%3C/g%3E%3C/svg%3E"); }
.chat__day { align-self: center; background: rgba(255,255,255,.82); color: #5E6873; font-size: 11px; font-weight: 500;
             border-radius: 14px; padding: 4px 12px; }
.msg { position: relative; background: var(--tg-bubble); color: var(--tg-ink); border-radius: 14px;
       border-bottom-left-radius: 4px; padding: 8px 11px 5px; font-size: 13px; line-height: 1.45;
       box-shadow: 0 1px 1.5px rgba(39,60,80,.16); }
.msg::after { content: ""; position: absolute; left: -5px; bottom: 0; width: 9px; height: 11px;
              background: var(--tg-bubble); clip-path: polygon(0 100%, 100% 100%, 100% 0); }
.msg p { margin: 0 0 2px; }
.msg p b { font-weight: 600; }
.msg__time { display: block; text-align: right; font-size: 11px; color: var(--tg-time); }
.msg--media { padding: 0 0 4px; overflow: hidden; }
.msg--media::after { display: none; }
.course__cover { position: relative; height: 96px; background: linear-gradient(135deg, #E9F2FB, #EFEAFD);
                 display: grid; place-items: center; color: var(--tg-blue); }
.course__cover svg { width: 30px; height: 30px; }
.course__time { position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.course__text { padding: 7px 11px 4px; display: grid; gap: 4px; }
.course__title { font-weight: 600; font-size: 13.5px; }
.course__meta { font-size: 12px; color: #5E6873; }
.course__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.course__price { font-size: 15px; font-weight: 700; font-style: normal; }
.course__chip { font-style: normal; font-size: 11px; font-weight: 500; color: var(--tg-blue);
                border: 1px solid var(--tg-blue); border-radius: 20px; padding: 2px 9px; white-space: nowrap; }
.msg-group { max-width: 86%; display: grid; gap: 4px; }
.msg-group .msg { max-width: 100%; }
.msg__btns { display: grid; gap: 4px; }
.ibtn { display: block; text-align: center; font-weight: 500; font-size: 13px; color: var(--tg-blue);
        background: var(--tg-bubble); border-radius: 10px; padding: 9px 10px; cursor: pointer; user-select: none;
        box-shadow: 0 1px 1.5px rgba(39,60,80,.16);
        transition: background .12s var(--ease), color .12s var(--ease), transform .12s var(--ease); }
.ibtn:hover { background: #F2F7FC; }
.ibtn.pressed { background: var(--tg-blue); color: #fff; transform: scale(.97); }
.ibtn.done { color: #8F99A5; }
.typing { display: inline-flex; gap: 4px; align-items: center; padding: 12px 14px 10px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8FA8BC; opacity: .5; animation: tp 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tp { 0%, 100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(-3px); opacity: .85; } }
.js .msg, .js .msg-group { animation: msgIn .3s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.chat__input { display: flex; align-items: center; gap: 10px; padding: 9px 12px 12px; background: var(--tg-header); }
.chat__field { flex: 1; display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 12px;
               padding: 9px 12px; font-size: 13px; color: #8F99A5; }
.chat__field .clip { display: inline-flex; align-items: center; justify-content: center; color: #8F99A5; flex: none; }
.chat__field span:not(.clip) { flex: 1; text-align: left; } /* плейсхолдер — по левому краю, рядом со скрепкой */
.chat__send { width: 38px; height: 38px; border-radius: 50%; background: var(--tg-blue); color: #fff;
              display: grid; place-items: center; flex: none; }
.chat__send svg { width: 17px; height: 17px; }
.chat__note { max-width: 560px; margin: 22px auto 0; font-size: 13px; line-height: 1.55; color: var(--on-dark-muted); }

/* ===== Экран 02: bento ===== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.b-card { border-radius: var(--radius-card); padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 12px;
          min-height: 190px; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.b-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(23,31,47,.22); }
.b-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.b-icon svg { width: 22px; height: 22px; }
.b-title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.b-text { font-size: 13.5px; line-height: 1.55; }
.b--accent { grid-column: span 2; background: var(--btn-bg); color: #fff; }
.b--accent .b-text { color: rgba(255,255,255,.85); }
.b--accent .b-icon { background: rgba(255,255,255,.16); color: #fff; }
.b--dark { grid-column: span 2; background: var(--dark); color: var(--on-dark); }
.b--dark .b-text { color: var(--on-dark-muted); }
.b--dark .b-icon { background: rgba(255,255,255,.08); color: #A99CFF; }
.b--grey { grid-column: span 2; background: var(--card); color: var(--ink); }
.b--grey .b-text { color: var(--muted); }
.b--grey .b-icon { background: #FFFFFF; color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
.b--wide { grid-column: span 3; flex-direction: row; align-items: center; gap: 18px; min-height: 0; }
.b-num { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.b-num small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
               color: rgba(255,255,255,.8); margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { font-size: 12px; font-weight: 600; color: #fff; border: 1px solid var(--on-dark-line);
        background: rgba(255,255,255,.07); border-radius: 100px; padding: 6px 13px; }

/* ===== Экран 03: боли + мостик ===== */
.pains { background: var(--card); border-radius: var(--radius-xl); padding: 72px 40px 64px; }
.pains__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.p-card { background: var(--panel); border-radius: var(--radius-card); padding: 24px; display: flex; flex-direction: column; gap: 14px;
          transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.p-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(23,31,47,.18); }
.p-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--card); display: grid; place-items: center;
          color: var(--muted); flex: none; transition: color var(--dur) var(--ease); }
.p-icon svg { width: 22px; height: 22px; }
.p-card:hover .p-icon { color: var(--accent); }
.p-text { font-size: 14px; line-height: 1.6; color: var(--ink); }
.p-text b { font-weight: 700; }
.bridge { background: var(--dark); border-radius: var(--radius-xl); padding: 56px 48px; text-align: center; }
.bridge p { max-width: 780px; margin: 0 auto; font-size: clamp(17px, 1.9vw, 22px); line-height: 1.55;
            font-weight: 500; color: var(--on-dark); text-wrap: balance; }
.bridge b { font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Экран 04: возможности ===== */
.features { background: var(--card); border-radius: var(--radius-xl); padding: 72px 40px 64px; }
.features__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-card { background: var(--panel); border-radius: var(--radius-card); padding: 26px; display: flex; gap: 20px;
          align-items: flex-start; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.f-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(23,31,47,.18); }
.f-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.f-card p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.f-card p b { color: var(--ink); font-weight: 600; }
.f-card--accent { background: var(--btn-bg); }
.f-card--accent h3 { color: #fff; }
.f-card--accent p { color: rgba(255,255,255,.85); }
.f-card--accent p b { color: #fff; }
.f-icon { width: 64px; height: 64px; flex: none; border-radius: 16px; display: grid; place-items: center; }
.f-card--accent .f-icon { background: rgba(255,255,255,.16); color: #fff; }
.f-card:not(.f-card--accent) .f-icon { background: rgba(108,75,244,.09); color: var(--accent); }
.f-icon svg { width: 30px; height: 30px; }

/* ===== Экран 05: маршрут ===== */
.path { padding: 72px 40px 64px; }
.route { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.station { position: relative; display: grid; gap: 14px; justify-items: start; padding-top: 4px; }
.station:not(:last-child)::before { content: ""; position: absolute; top: 30px; left: 62px; right: -26px; border-top: 2px dashed #C9CFDD; }
.station__num { width: 56px; height: 56px; border-radius: 50%; background: var(--btn-bg); color: #fff; display: grid;
                place-items: center; font-size: 19px; font-weight: 800; position: relative; z-index: 1;
                box-shadow: 0 10px 22px -10px rgba(108,75,244,.55); }
.station h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.station p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.station p b { color: var(--ink); font-weight: 600; }
.path__note { margin-top: 52px; background: var(--card); border-radius: var(--radius-card); padding: 24px 28px;
              display: flex; gap: 16px; align-items: center; }
.path__note .ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--accent);
                  display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.path__note .ic svg { width: 22px; height: 22px; }
.path__note p { font-size: 14px; line-height: 1.6; color: var(--ink); }
.path__note p b { font-weight: 700; }

/* ===== Экран 06: демо ===== */
.demo { background: var(--card); border-radius: var(--radius-xl); padding: 72px 40px 64px; }
.demo__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 44px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(190px, auto); gap: 14px; }
.shot { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden;
        display: flex; flex-direction: column; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.shot:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(23,31,47,.18); }
.shot--lg { grid-row: span 2; }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-bottom: 1px solid var(--line);
            background: var(--card); flex: none; }
.shot__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.shot__url { margin-left: 8px; flex: 1; font-size: 11px; color: var(--muted); background: #fff; border: 1px solid var(--line);
             border-radius: 6px; padding: 2px 9px; white-space: nowrap; overflow: hidden; }
.shot__body { padding: 14px 16px; display: grid; gap: 10px; flex: 1; align-content: start; }
.row { display: flex; gap: 10px; align-items: center; }
.bar { height: 9px; border-radius: 5px; background: var(--card); flex: 1; position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--btn-bg); border-radius: 5px; }
.bar--sm { height: 7px; }
.t { height: 11px; border-radius: 4px; background: var(--line); }
.w30 { width: 30%; } .w45 { width: 45%; } .w60 { width: 60%; } .w80 { width: 80%; }
.shot .chip { color: var(--accent); border-color: var(--accent); background: rgba(108,75,244,.08); }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-top: 6px; }
.chart i { flex: 1; background: var(--card); border-radius: 6px 6px 0 0; }
.chart i.a { background: var(--btn-bg); }
.shot__cap { padding: 10px 16px 14px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.shot__cap b { color: var(--ink); font-weight: 600; }
.demo__notes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.dnote { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px 24px;
         display: flex; gap: 14px; align-items: flex-start; }
.dnote .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--card); color: var(--accent);
             display: grid; place-items: center; flex: none; }
.dnote .ic svg { width: 20px; height: 20px; }
.dnote p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.dnote p b { color: var(--ink); font-weight: 600; }

/* ===== Экран 07: запуск ===== */
.launch { padding: 72px 40px 64px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.step { background: var(--card); border-radius: var(--radius-card); padding: 24px; display: grid; gap: 12px;
        transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.step:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(23,31,47,.15); }
.step__tag { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
             color: var(--accent); background: rgba(108,75,244,.08); border-radius: 100px; padding: 5px 12px; }
.step h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.step p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.step p b { color: var(--ink); font-weight: 600; }
.step--final { background: var(--dark); }
.step--final h3 { color: #fff; }
.step--final p { color: var(--on-dark-muted); }
.step--final p b { color: #fff; }
.step--final .step__tag { color: #A99CFF; background: rgba(169,156,255,.12); }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.role { border-radius: var(--radius-card); padding: 26px 28px; }
.role--dark { background: var(--dark); color: #fff; }
.role--light { background: var(--card); }
.role h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.role--dark h3 span { color: #A99CFF; }
.role--light h3 span { color: var(--accent); }
.role ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.role li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.role--dark li { color: var(--on-dark-muted); }
.role--light li { color: var(--muted); }
.role li b { font-weight: 600; }
.role--dark li b { color: #fff; }
.role--light li b { color: var(--ink); }
.tick { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: 1px; }
.tick svg { width: 11px; height: 11px; }
.role--dark .tick, .plan--main .tick { background: rgba(169,156,255,.16); color: #A99CFF; }
.role--light .tick, .plan--alt .tick { background: rgba(108,75,244,.09); color: var(--accent); }
.role--solo { grid-column: 1 / -1; }
.role--solo ul { grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
@media (max-width: 767px) { .role--solo ul { grid-template-columns: 1fr; } }
.cta-bridge { padding: 48px 40px; text-align: center; }
.cta-bridge p { color: #fff; font-size: clamp(17px, 1.9vw, 21px); font-weight: 700; line-height: 1.45;
                max-width: 640px; margin: 0 auto 26px; text-wrap: balance; }
.cta-bridge p span { opacity: .85; font-weight: 500; display: block; font-size: 15px; margin-top: 8px; }

/* ===== Экран 08: кейс ===== */
.case { background: var(--card); border-radius: var(--radius-xl); padding: 72px 40px;
        display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.case__head .lead { font-size: 16px; line-height: 1.65; color: var(--muted); margin-top: 16px; }
.case__head .lead b { color: var(--ink); font-weight: 600; }
.case__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.c-card { background: var(--panel); border-radius: var(--radius-card); padding: 22px 24px; display: flex; gap: 14px;
          align-items: flex-start; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.c-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(23,31,47,.18); }
.c-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(108,75,244,.09); color: var(--accent);
          display: grid; place-items: center; flex: none; }
.c-icon svg { width: 20px; height: 20px; }
.c-card p { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.c-card p b { color: var(--ink); font-weight: 600; }

/* ===== Экран 09: тарифы ===== */
.pricing { padding: 72px 40px 64px; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 1040px; margin: 0 auto; align-items: stretch; }
.plan { border-radius: var(--radius-card); padding: 28px 26px 24px; display: flex; flex-direction: column;
        transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.plan:hover { transform: translateY(-4px); }
.plan--main { background: var(--dark); color: var(--on-dark); box-shadow: 0 30px 60px -30px rgba(23,31,47,.5); }
.plan--alt { background: var(--card); color: var(--ink); }
.plan__name { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.plan__hint { font-size: 13px; margin-top: 4px; }
.plan--main .plan__hint { color: var(--on-dark-muted); }
.plan--alt .plan__hint { color: var(--muted); }
.plan__price { margin: 22px 0 20px; }
.plan__sum { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.plan__list { list-style: none; padding: 0; display: grid; gap: 12px; margin-bottom: 26px; }
.plan__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.plan--main .plan__list li { color: var(--on-dark-muted); }
.plan--alt .plan__list li { color: var(--muted); }
.plan__list li b { font-weight: 600; }
.plan--main .plan__list li b { color: #fff; }
.plan--alt .plan__list li b { color: var(--ink); }
.plan .btn { margin-top: auto; justify-content: center; width: 100%; }
.pricing__terms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.term { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted);
        background: var(--card); border-radius: 100px; padding: 8px 16px; }
.term svg { width: 14px; height: 14px; color: var(--accent); flex: none; }

/* ===== Экран 10: что понадобится ===== */
.req { background: var(--card); border-radius: var(--radius-xl); padding: 72px 40px; }
.req__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.r-card { background: var(--panel); border-radius: var(--radius-card); padding: 24px; display: grid; gap: 13px;
          align-content: start; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.r-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(23,31,47,.18); }
.r-icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(108,75,244,.09); color: var(--accent);
          display: grid; place-items: center; }
.r-icon svg { width: 21px; height: 21px; }
.r-card h3 { font-size: 15.5px; font-weight: 700; }
.r-card p { font-size: 13px; line-height: 1.55; color: var(--muted); }
.r-card p b { color: var(--ink); font-weight: 600; }
.req__note { margin-top: 32px; text-align: center; font-size: 15.5px; font-weight: 600; }
.req__note span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Экран 11: гарантия ===== */
.guarantee { padding: 80px 40px; text-align: center; }
.guarantee .eyebrow-c { color: #A99CFF; }
.guarantee h2 { font-size: clamp(26px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.015em; line-height: 1.12;
                color: var(--on-dark); max-width: 760px; margin: 0 auto 22px; }
.guarantee h2 b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.guarantee p { max-width: 640px; margin: 0 auto 12px; font-size: 16.5px; line-height: 1.65; color: var(--on-dark-muted); }
.guarantee p b { color: #fff; font-weight: 600; }
.guarantee .fine { font-size: 13px; margin-top: 22px; color: rgba(233,238,248,.55); }

/* ===== Экран 11Б: сопровождение ===== */
.support { background: var(--card); border-radius: var(--radius-xl); padding: 72px 40px 64px; }
.support__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.s-card { background: var(--panel); border-radius: var(--radius-card); padding: 24px; display: grid; gap: 12px;
          align-content: start; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.s-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(23,31,47,.18); }
.s-icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(108,75,244,.09);
          color: var(--accent); display: grid; place-items: center; }
.s-icon svg { width: 21px; height: 21px; }
.s-card h3 { font-size: 15.5px; font-weight: 700; }
.s-card p { font-size: 13px; line-height: 1.55; color: var(--muted); }
.s-card p b { color: var(--ink); font-weight: 600; }

/* ===== Экран 12: кому подойдёт ===== */
.fit { padding: 72px 40px 64px; }
.fit__list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.fit__item { display: flex; gap: 16px; align-items: center; background: var(--card); border-radius: 16px;
             padding: 18px 24px; font-size: 15.5px; line-height: 1.5;
             transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.fit__item:hover { transform: translateX(4px); box-shadow: 0 14px 28px -16px rgba(23,31,47,.18); }
.fit__item b { font-weight: 700; }
.fit__list .tick { width: 26px; height: 26px; background: var(--btn-bg); color: #fff; }
.fit__list .tick svg { width: 13px; height: 13px; }

/* ===== Экран 13: FAQ ===== */
.faq { background: var(--card); border-radius: var(--radius-xl); padding: 72px 40px 64px; }
.faq__list { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
details { background: var(--panel); border-radius: 16px; overflow: hidden; transition: box-shadow var(--dur) var(--ease); }
details[open] { box-shadow: 0 18px 36px -20px rgba(23,31,47,.22); }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 22px;
          font-size: 15px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--accent); }
.qmark { width: 26px; height: 26px; border-radius: 50%; background: rgba(108,75,244,.09); color: var(--accent);
         display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
details[open] .qmark { background: var(--btn-bg); color: #fff; }
.chev { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
        color: var(--muted); transition: transform var(--dur) var(--ease); flex: none; }
.chev svg { width: 12px; height: 12px; }
details[open] .chev { transform: rotate(180deg); color: var(--accent); }
details > p { padding: 0 22px 20px 62px; font-size: 14px; line-height: 1.65; color: var(--muted); }
details > p b { color: var(--ink); font-weight: 600; }

/* ===== Экран 14: финал ===== */
.final { padding: 72px 40px; text-align: center; }
.final h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.015em; line-height: 1.1;
            color: #fff; max-width: 760px; margin: 0 auto 18px; }
.final p { max-width: 600px; margin: 0 auto 32px; font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,.88); }
.final .facts { margin-top: 24px; }
.final .fact { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.final .fact svg { color: #fff; }

/* ===== Экран 15: футер ===== */
.footer { background: var(--dark); border-radius: var(--radius-xl); padding: 64px 48px 40px; color: var(--on-dark-muted); }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px;
               border-bottom: 1px solid var(--on-dark-line); }
.footer .logo { color: #fff; font-size: 26px; }
.footer .slogan { margin-top: 10px; font-size: 14px; }
.footer .footer__h { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--on-dark-muted); text-decoration: none; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; padding-top: 26px; font-size: 12.5px; }
.disclaimer { margin-top: 18px; font-size: 11.5px; line-height: 1.6; color: rgba(233,238,248,.45); max-width: 860px; }

/* ===== Сравнение: аренда против коробки ===== */
.compare { margin-top: 24px; padding: 8px 40px 40px; }
.compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare-col { border-radius: var(--radius-card); padding: 26px 28px; }
.compare-col h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 18px; }
.compare-col ul { list-style: none; padding: 0; display: grid; gap: 13px; }
.compare-col li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.compare-col--old { background: var(--card); color: var(--muted); }
.compare-col--old h3 { color: var(--muted); font-weight: 600; }
.compare-col--old li b { color: var(--ink); font-weight: 600; }
.compare-col--new { background: var(--dark); color: var(--on-dark-muted); position: relative; overflow: hidden;
                    box-shadow: 0 30px 60px -30px rgba(23,31,47,.5); }
.compare-col--new > * { position: relative; }
.compare-col--new h3 { color: #fff; }
.compare-col--new li b { color: #fff; font-weight: 600; }
.xmark { width: 20px; height: 20px; border-radius: 50%; background: rgba(16,24,40,.06); color: #8A94A6;
         display: grid; place-items: center; flex: none; margin-top: 1px; }
.xmark svg { width: 10px; height: 10px; }
.compare-col--old .xmark { background: #E3E8F0; }
.compare__math { margin: 18px auto 0; max-width: 860px; text-align: center; font-size: 15.5px;
                 line-height: 1.6; color: var(--muted); }
.compare__math b { color: var(--ink); font-weight: 700; }
[data-bs-theme="dark"] .compare-col--old { background: var(--card); }
[data-bs-theme="dark"] .xmark { background: rgba(255,255,255,.07); color: #7C8B9A; }
[data-bs-theme="dark"] .compare-col--old { color: var(--on-dark-muted); }
[data-bs-theme="dark"] .compare-col--old h3 { color: var(--muted); }
@media (max-width: 767px) { .compare__grid { grid-template-columns: 1fr; } .compare-col { padding: 22px 20px; } }

/* ===== Промо-блок: промо-сайт курса ===== */
.promo { margin-top: 24px; border: 1.5px dashed var(--accent); border-radius: var(--radius-card);
         padding: 26px 32px; display: flex; gap: 28px; align-items: center;
         background: rgba(108,75,244,.06); }
.promo__body { flex: 1; }
.promo__body h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin: 10px 0 8px; }
.promo__body p { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 720px; }
.promo__body p b { color: var(--ink); font-weight: 600; }
.promo__price { text-align: center; flex: none; display: grid; gap: 2px; }
.promo__old { font-size: 15px; color: var(--muted); text-decoration: line-through; }
.promo__new { font-size: 44px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--accent); }
.promo__price small { font-size: 11.5px; color: var(--muted); max-width: 180px; }
[data-bs-theme="dark"] .promo { background: rgba(108,75,244,.10); }
[data-bs-theme="dark"] .promo__old { color: #7C8B9A; }
@media (max-width: 767px) { .promo { flex-direction: column; text-align: center; padding: 24px 20px; }
  .promo__body p { max-width: none; } .promo__price small { margin: 0 auto; } }

/* ===== Модальная лид-форма ===== */
.lead-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(9,14,20,.55);
                backdrop-filter: blur(0px); opacity: 0; pointer-events: none;
                transition: opacity 650ms var(--ease), backdrop-filter 650ms var(--ease); }
.lead-overlay.is-open { opacity: 1; pointer-events: auto; backdrop-filter: blur(6px); }
.lead-modal { position: fixed; z-index: 96; left: 50%; top: 50%; width: min(440px, calc(100vw - 32px));
              transform: translate(-50%, -44%) scale(.98); background: var(--panel); color: var(--ink);
              border: 1px solid var(--line); border-radius: 20px; padding: 28px;
              box-shadow: 0 40px 80px -30px rgba(9,14,20,.5);
              opacity: 0; pointer-events: none;
              transition: opacity 550ms var(--ease), transform 550ms var(--ease); }
.lead-modal.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.lead-modal__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
                     border: 1px solid var(--line); background: transparent; color: var(--muted);
                     font-size: 18px; cursor: pointer; line-height: 1; }
.lead-modal__close:hover { color: var(--accent); border-color: var(--accent); }
.lead-modal__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
                       color: var(--accent); margin-bottom: 10px; }
.lead-modal h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; margin-bottom: 8px; }
.lead-modal__sub { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.lead-modal input[name="name"], .lead-modal input[name="contact"] { width: 100%; font: 400 15px/1 "Onest", sans-serif;
  color: var(--ink); background: var(--card); border: 1px solid transparent; border-radius: 12px;
  padding: 13px 14px; margin-bottom: 10px; outline: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.lead-modal input:focus { border-color: var(--accent); background: var(--panel); }
.lead-methods { border: 0; padding: 0; margin: 4px 0 18px; }
.lead-methods legend { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.lead-methods label { display: inline-flex; margin: 0 6px 6px 0; cursor: pointer; }
.lead-methods input { position: absolute; opacity: 0; pointer-events: none; }
.lead-methods span { display: inline-flex; font: 600 13px/1 "Onest", sans-serif; color: var(--muted);
  border: 1px solid var(--line); border-radius: 100px; padding: 9px 15px;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease); }
.lead-methods input:checked + span { color: #fff; background: var(--btn-bg); border-color: transparent; }
.lead-methods input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.lead-modal .btn { width: 100%; justify-content: center; }
.lead-modal__check { display: flex; gap: 9px; align-items: flex-start; margin: 2px 0 14px;
  font-size: 11.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.lead-modal__check input { margin-top: 2px; accent-color: var(--accent); width: 15px; height: 15px; flex: none; }
.lead-modal__check a { color: var(--accent); }
.lead-modal__consent { font-size: 11.5px; line-height: 1.5; color: var(--muted); margin-top: 12px; }
.lead-modal__consent a { color: var(--accent); }
.lead-modal__status { font-size: 13.5px; margin-top: 10px; color: var(--mint); font-weight: 600; }
.lead-modal__status.is-error { color: #E5484D; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer;
            text-align: inherit; }
.linklike:hover { color: #fff !important; }
[data-bs-theme="dark"] .lead-modal { box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }

/* ===== Cookie-плашка ===== */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 480px; margin: 0 auto;
          background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 18px;
          padding: 20px 22px; box-shadow: 0 30px 60px -24px rgba(16,24,40,.35); display: flex; gap: 16px;
          align-items: flex-start; opacity: 0; transform: translateY(16px); pointer-events: none;
          transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.cookie.is-on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie__ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(108,75,244,.09); color: var(--accent);
               display: grid; place-items: center; font-size: 18px; flex: none; }
.cookie__title { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.cookie__text { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin-bottom: 12px; }
.cookie__text a { color: var(--accent); }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__btns .btn { padding: 11px 18px; font-size: 12.5px; }

/* ===== Мобильная sticky-кнопка ===== */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none;
              padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
              background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
              transform: translateY(110%); transition: transform var(--dur) var(--ease); }
.sticky-cta .btn { width: 100%; }
.sticky-cta.is-on { transform: translateY(0); }
body.has-cookie-banner .sticky-cta { bottom: 150px; }

/* ===== Reveal-анимации ===== */
.js .reveal { opacity: 0; transform: translateY(8px); }
.js .reveal.in-view { opacity: 1; transform: none;
  transition: opacity 450ms var(--ease), transform 450ms var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }

/* ===== Адаптив ===== */
@media (max-width: 1023px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .pains__grid { grid-template-columns: 1fr 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .req__grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .case { grid-template-columns: 1fr; gap: 32px; }
  .route { grid-template-columns: 1fr 1fr; }
  .station:not(:last-child)::before { display: none; }
  .shots { grid-template-columns: 1fr 1fr; }
  .shot--lg { grid-row: auto; }
  .demo__notes { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .nav { padding: 12px 4px; }
  .nav__tagline, .nav__actions .btn--soft { display: none; }
  .nav__actions .btn { padding: 13px 18px; font-size: 13px; }
  .hero { padding: 56px 20px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn--lg { width: 100%; }
  .facts { flex-direction: column; align-items: center; }
  .chat { width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .b--accent, .b--dark, .b--grey, .b--wide { grid-column: auto; }
  .b--wide { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pains { padding: 48px 20px; }
  .pains__grid { grid-template-columns: 1fr; }
  .bridge { padding: 44px 24px; }
  .features { padding: 48px 20px; }
  .f-card { flex-direction: column; }
  .path { padding: 48px 20px; }
  .route { grid-template-columns: 1fr; gap: 30px; }
  .demo { padding: 48px 20px; }
  .demo__actions { flex-direction: column; align-items: stretch; }
  .shots { grid-template-columns: 1fr; }
  .launch { padding: 48px 20px; }
  .steps { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr; }
  .cta-bridge { padding: 40px 24px; }
  .case { padding: 48px 20px; }
  .case__grid { grid-template-columns: 1fr; }
  .pricing { padding: 48px 20px 40px; }
  .plans { grid-template-columns: 1fr; }
  .plan__sum { font-size: 34px; }
  .req { padding: 48px 20px; }
  .req__grid { grid-template-columns: 1fr; }
  .support { padding: 48px 20px; }
  .support__grid { grid-template-columns: 1fr; }
  .guarantee { padding: 56px 20px; }
  .fit { padding: 48px 20px; }
  .faq { padding: 48px 20px; }
  details > p { padding-left: 22px; }
  .final { padding: 56px 20px; }
  .footer { padding: 48px 24px 32px; border-radius: 22px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .sticky-cta { display: block; }
  .cookie { left: 8px; right: 8px; bottom: 8px; }
}

/* ===== Доступность движения ===== */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .typing { display: none; }
}
