/* Symptomica: лендинг. Те же цвета, шрифт и скругления, что в сервисе */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/onest-cyrillic-400-normal.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-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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-cyrillic-500-normal.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-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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-cyrillic-600-normal.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-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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-cyrillic-700-normal.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-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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-cyrillic-800-normal.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-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f5f5fb;
  --surface: #ffffff;
  --surface-2: #f8f9fc;
  --sunken: #eef0f6;
  --ink: #15172a;
  --ink-2: #4b5069;
  --ink-3: #8a8fa8;
  --line: #e7e9f1;
  --brand: #5b4cf0;
  --brand-2: #4637d6;
  --brand-soft: #efedff;
  --brand-soft-2: #e1ddff;
  --mint: #12a88a;
  --mint-soft: #e0f6f0;
  --warn: #d9720f;
  --warn-soft: #fff0e0;
  --bad: #e0464b;
  --bad-soft: #fde8e8;
  --hero: linear-gradient(135deg, #5b4cf0 0%, #7b5cf6 48%, #2fb8a0 130%);
  --glow-1: #ece9ff;
  --glow-2: #e3f6f1;
  --sh-1: 0 1px 2px rgba(21, 23, 42, .04), 0 6px 20px -8px rgba(21, 23, 42, .1);
  --sh-2: 0 2px 4px rgba(21, 23, 42, .04), 0 24px 60px -18px rgba(21, 23, 42, .22);
  --sh-brand: 0 14px 36px -12px rgba(91, 76, 240, .6);
  --r-xl: 32px;
  --r-lg: 22px;
  --r: 14px;
  --wrap: 1200px;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #0b0c16;
  --surface: #161827;
  --surface-2: #1b1e30;
  --sunken: #23263a;
  --ink: #eceef8;
  --ink-2: #b2b6cc;
  --ink-3: #7e839e;
  --line: #262a3f;
  --brand: #8b7fff;
  --brand-2: #a69dff;
  --brand-soft: #25224a;
  --brand-soft-2: #322d63;
  --mint: #46d1b2;
  --mint-soft: #133129;
  --warn: #f2a453;
  --warn-soft: #3a2a16;
  --bad: #ff7b7e;
  --bad-soft: #3d1c20;
  --hero: linear-gradient(135deg, #4a3cd6 0%, #6a4fe0 48%, #1f8f7e 130%);
  --glow-1: #221d4d;
  --glow-2: #0f2b27;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -10px rgba(0, 0, 0, .5);
  --sh-2: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 60px -18px rgba(0, 0, 0, .8);
  --sh-brand: 0 14px 36px -12px rgba(139, 127, 255, .55);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']):not([data-theme='dark']) {
    --bg: #0b0c16; --surface: #161827; --surface-2: #1b1e30; --sunken: #23263a;
    --ink: #eceef8; --ink-2: #b2b6cc; --ink-3: #7e839e; --line: #262a3f;
    --brand: #8b7fff; --brand-2: #a69dff; --brand-soft: #25224a; --brand-soft-2: #322d63;
    --mint: #46d1b2; --mint-soft: #133129; --warn: #f2a453; --warn-soft: #3a2a16; --bad: #ff7b7e; --bad-soft: #3d1c20;
    --hero: linear-gradient(135deg, #4a3cd6 0%, #6a4fe0 48%, #1f8f7e 130%);
    --glow-1: #221d4d; --glow-2: #0f2b27;
    --sh-1: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -10px rgba(0, 0, 0, .5);
    --sh-2: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 60px -18px rgba(0, 0, 0, .8);
    --sh-brand: 0 14px 36px -12px rgba(139, 127, 255, .55);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
main, .foot { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.only-dark { display: none !important; }
:root[data-theme='dark'] .only-light { display: none !important; }
:root[data-theme='dark'] .only-dark { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .only-light { display: none !important; }
  :root:not([data-theme='light']) .only-dark { display: block !important; }
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

/* ---------- Кнопки, бейджи ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font-weight: 700; font-size: 16px; white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
:root[data-theme='dark'] .btn--primary { color: #10112a; }
.btn--primary:hover { transform: translateY(-2px); background: var(--brand-2); }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); border: 1px solid var(--line); }
.btn--ghost:hover { transform: translateY(-2px); }
.btn--white { background: #fff; color: #3b2fc4; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .35); }
.btn--white:hover { transform: translateY(-2px); }
.btn--glass { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { height: 60px; padding: 0 32px; font-size: 17px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.chip svg { width: 16px; height: 16px; color: var(--mint); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 7px 14px; border-radius: 999px; }
.kicker svg { width: 16px; height: 16px; }

/* ---------- Шапка ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; font-size: 20px; letter-spacing: -.01em; }
.brand svg { width: 36px; height: 36px; }
.brand b { color: var(--brand); font-weight: 750; }
.nav__links { display: flex; gap: 6px; margin-left: 8px; }
.nav__links a { color: var(--ink-2); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav__links a:hover { color: var(--ink); background: var(--surface); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.iconbtn { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.iconbtn svg { width: 19px; height: 19px; }
.nav__login { font-weight: 650; color: var(--ink); padding: 8px 12px; }
.nav__burger { display: none; }
.mnav { display: none; }

/* ---------- Первый экран ---------- */
.hero { position: relative; padding: 40px 0 70px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 90%; background: radial-gradient(closest-side, var(--glow-1), transparent); }
.hero__bg::after { content: ''; position: absolute; inset: auto auto -30% -15%; width: 60%; height: 80%; background: radial-gradient(closest-side, var(--glow-2), transparent); }
.hero__vid { position: absolute; right: -6%; top: -4%; width: 62%; aspect-ratio: 16/9; object-fit: cover; opacity: .55; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin: 20px 0 22px; }
.hero h1 em { font-style: normal; background: var(--hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink-2); max-width: 36em; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 22px; }
.hero__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.stage { position: relative; aspect-ratio: 1.18; }
.laptop { position: absolute; left: 0; top: 6%; width: 92%; border-radius: 18px; background: var(--surface); padding: 10px 10px 12px; box-shadow: var(--sh-2); border: 1px solid var(--line); }
.laptop__bar { display: flex; gap: 6px; padding: 2px 4px 10px; }
.laptop__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--sunken); }
.laptop__bar i:nth-child(1) { background: #ff6b6b; } .laptop__bar i:nth-child(2) { background: #ffc24b; } .laptop__bar i:nth-child(3) { background: #3ccf8e; }
.laptop img { border-radius: 10px; width: 100%; }
.phone { position: relative; width: 100%; border-radius: 15% / 7%; padding: 3.2%; background: #0d0e17; box-shadow: var(--sh-2), inset 0 0 0 2px #2a2c3d; }
.phone::before { content: ''; position: absolute; top: 3.2%; left: 50%; transform: translateX(-50%); width: 30%; height: 3.4%; border-radius: 999px; background: #0d0e17; z-index: 2; margin-top: 2%; }
.phone img { border-radius: 12% / 5.6%; width: 100%; }
.stage .phone { position: absolute; right: 0; bottom: 0; width: 32%; }
.float { position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); border-radius: 18px; padding: 12px 14px; font-size: 13.5px; display: flex; gap: 10px; align-items: center; animation: float 6s ease-in-out infinite; }
.float b { display: block; font-size: 14.5px; }
.float small { color: var(--ink-3); }
.float__ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float__ic svg { width: 19px; height: 19px; }
.float--a { left: -4%; bottom: 14%; }
.float--b { right: 26%; top: -2%; animation-delay: -2s; }
.float--c { left: 30%; bottom: -3%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.tag-bad { color: var(--warn); background: var(--warn-soft); }
.tag-ok { color: var(--mint); background: var(--mint-soft); }
.tag-brand { color: var(--brand); background: var(--brand-soft); }

/* ---------- Бегущая строка ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 50s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.marquee span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--hero); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.sec { padding: 110px 0; position: relative; }
.sec--tint { background: var(--surface); }
.sec__head { max-width: 760px; margin-bottom: 52px; }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec h2 { font-size: clamp(30px, 3.7vw, 48px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin: 16px 0 16px; }
.sec__lead { font-size: 18.5px; color: var(--ink-2); }
.note { font-size: 13px; color: var(--ink-3); }

/* Боль */
.pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-1); }
.sec--tint .pain { background: var(--bg); }
.pain__ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--bad-soft); color: var(--bad); margin-bottom: 18px; }
.pain__ic svg { width: 24px; height: 24px; }
.pain h3 { font-size: 18px; margin-bottom: 8px; }
.pain p { color: var(--ink-2); font-size: 15px; }

/* Было и стало */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.vcard { border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.vcard__media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.vcard__media video, .vcard__media img { width: 100%; height: 100%; object-fit: cover; }
.vcard--old .vcard__media { filter: grayscale(.55) contrast(.95); }
.vcard__label { position: absolute; left: 16px; top: 16px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; background: rgba(13, 14, 23, .62); color: #fff; backdrop-filter: blur(6px); }
.vcard--new .vcard__label { background: var(--brand); }
.vcard__body { padding: 26px 28px 30px; }
.vcard h3 { font-size: 22px; margin-bottom: 18px; letter-spacing: -.01em; }
.steps-v { display: flex; flex-direction: column; gap: 0; counter-reset: s; }
.steps-v li { position: relative; padding: 0 0 18px 44px; color: var(--ink-2); }
.steps-v li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--sunken); color: var(--ink-3); }
.steps-v li::after { content: ''; position: absolute; left: 13.5px; top: 30px; bottom: 2px; width: 1px; background: var(--line); }
.steps-v li:last-child { padding-bottom: 0; }
.steps-v li:last-child::after { display: none; }
.steps-v b { color: var(--ink); }
.vcard--new .steps-v li::before { background: var(--brand-soft); color: var(--brand); }
.vcard__sum { margin-top: 22px; padding: 14px 18px; border-radius: 16px; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.vcard--old .vcard__sum { background: var(--bad-soft); color: var(--bad); }
.vcard--new .vcard__sum { background: var(--mint-soft); color: var(--mint); }
.vcard__sum svg { width: 20px; height: 20px; flex: none; }

/* Цифры */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { border-radius: var(--r-lg); padding: 28px 24px; background: var(--hero); color: #fff; position: relative; overflow: hidden; box-shadow: var(--sh-brand); }
.stat::after { content: ''; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.stat b { display: block; font-size: clamp(32px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.stat > span { display: block; margin-top: 8px; opacity: .92; font-size: 15px; }
.stat:nth-child(2) { background: linear-gradient(135deg, #7b5cf6, #5b4cf0); }
.stat:nth-child(3) { background: linear-gradient(135deg, #e0559b, #7b5cf6); }
.stat:nth-child(4) { background: linear-gradient(135deg, #12a88a, #2f8fe0); }

/* Как это работает */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.how__step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 14px 14px 26px; box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.sec--tint .how__step { background: var(--bg); }
.how__img { border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; background: var(--sunken); margin-bottom: 22px; position: relative; }
.how__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.how__num { position: absolute; left: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: var(--sh-brand); }
.how__step h3 { font-size: 21px; padding: 0 12px; margin-bottom: 8px; }
.how__step p { padding: 0 12px; color: var(--ink-2); }
.how__time { margin: 14px 12px 0; align-self: flex-start; }

/* Возможности */
.feat { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.feat + .feat { margin-top: 120px; }
.feat--rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.feat--rev .feat__media { order: -1; }
.feat__media .phone--m { display: none; }
.feat__text h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -.025em; margin: 14px 0 16px; }
.feat__text > p { color: var(--ink-2); font-size: 17.5px; }
.checks { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li svg { width: 22px; height: 22px; flex: none; color: var(--mint); margin-top: 1px; }
.feat__media { position: relative; }
.shot { border-radius: 22px; overflow: hidden; box-shadow: var(--sh-2); border: 1px solid var(--line); background: var(--surface); }
.feat__media .phone { position: absolute; width: 30%; right: -4%; bottom: -10%; }
.feat__media .photo-badge { position: absolute; left: -6%; bottom: -12%; width: 46%; border-radius: 22px; overflow: hidden; box-shadow: var(--sh-2); border: 6px solid var(--surface); }
.quote { margin-top: 26px; padding: 18px 20px; border-radius: 18px; background: var(--brand-soft); color: var(--ink); font-size: 15.5px; display: flex; gap: 14px; }
.quote svg { width: 40px; height: 40px; flex: none; }

/* Калькулятор */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.calc__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 22px; }
.sec--tint .calc__form { background: var(--bg); }
.range label { display: flex; justify-content: space-between; gap: 12px; font-weight: 650; margin-bottom: 10px; }
.range output { color: var(--brand); font-weight: 800; white-space: nowrap; }
.range small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 6px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--brand) var(--p, 50%), var(--sunken) var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 4px 12px rgba(91, 76, 240, .35); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); cursor: grab; }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; background: var(--sunken); border-radius: 999px; gap: 2px; }
.seg button { border: 0; background: none; height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 650; color: var(--ink-2); font-size: 14.5px; white-space: nowrap; }
.seg button.is-on { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.calc__out { border-radius: var(--r-xl); padding: 34px; background: var(--hero); color: #fff; box-shadow: var(--sh-brand); display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.calc__out::after { content: ''; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.calc__big { font-size: clamp(42px, 5vw, 64px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc__cell { background: rgba(255, 255, 255, .14); border-radius: 18px; padding: 16px 18px; }
.calc__cell b { display: block; font-size: 24px; font-weight: 800; }
.calc__cell span { font-size: 13.5px; opacity: .9; }
.calc__line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.calc__line:last-of-type { border-bottom: 0; }
.calc__out .note { color: rgba(255, 255, 255, .78); position: relative; z-index: 1; }
.payback { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pb { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-1); display: flex; gap: 14px; }
.sec--tint .pb { background: var(--bg); }
.pb__ic { width: 44px; height: 44px; border-radius: 14px; background: var(--mint-soft); color: var(--mint); display: grid; place-items: center; flex: none; }
.pb__ic svg { width: 22px; height: 22px; }
.pb b { display: block; margin-bottom: 4px; }
.pb p { color: var(--ink-2); font-size: 14.5px; }

/* Для кого */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.person { border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.person img { aspect-ratio: 4/4.4; object-fit: cover; width: 100%; transition: transform .8s; }
.person:hover img { transform: scale(1.04); }
.person__img { overflow: hidden; }
.person div:last-child { padding: 20px 22px 24px; }
.person h3 { font-size: 19px; margin-bottom: 6px; }
.person p { color: var(--ink-2); font-size: 15px; }

/* Приложение */
.app { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: end; }
.phones .phone:nth-child(2) { transform: translateY(-36px); }
.install { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.install__c { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.sec--tint .install__c { background: var(--bg); }
.install__c b { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.install__c b svg { width: 20px; height: 20px; }
.install__c ol { counter-reset: i; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.install__c li { display: flex; gap: 8px; }
.install__c li::before { counter-increment: i; content: counter(i); width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 800; display: grid; place-items: center; flex: none; margin-top: 2px; }

/* Тарифы */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px 24px 26px; box-shadow: var(--sh-1); }
.sec--tint .plan { background: var(--bg); }
.plan--hero { background: var(--hero) !important; color: #fff; border-color: transparent; box-shadow: var(--sh-brand); transform: translateY(-10px); }
.plan__tag { position: absolute; top: -13px; left: 24px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: var(--mint); color: #fff; }
.plan h3 { font-size: 20px; }
.plan__sub { font-size: 14px; color: var(--ink-3); margin-top: 4px; min-height: 42px; }
.plan--hero .plan__sub { color: rgba(255, 255, 255, .82); }
.plan__price { font-size: 42px; font-weight: 800; letter-spacing: -.03em; margin: 16px 0 2px; line-height: 1; }
.plan__price small { font-size: 15px; font-weight: 600; opacity: .7; letter-spacing: 0; }
.plan__per { font-size: 13.5px; color: var(--ink-3); min-height: 20px; }
.plan--hero .plan__per { color: rgba(255, 255, 255, .8); }
.plan ul { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 26px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; }
.plan li svg { width: 19px; height: 19px; flex: none; color: var(--mint); margin-top: 2px; }
.plan--hero li svg { color: #fff; }
.plan .btn { width: 100%; }
.plan--hero .btn { background: #fff; color: #3b2fc4; box-shadow: none; }
.clinic { margin-top: 20px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 26px 30px; border-radius: var(--r-xl); background: var(--surface); border: 1px dashed var(--brand); }
.sec--tint .clinic { background: var(--bg); }
.clinic h3 { font-size: 20px; margin-bottom: 4px; }
.clinic p { color: var(--ink-2); max-width: 680px; }
.plans-note { margin-top: 18px; text-align: center; }

/* Безопасность */
.secure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.secure__main { border-radius: var(--r-xl); padding: 40px; background: #12142a; color: #eceef8; position: relative; overflow: hidden; }
.secure__main::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 0%, rgba(139, 127, 255, .35), transparent), radial-gradient(400px 260px at 0% 100%, rgba(70, 209, 178, .25), transparent); }
.secure__main > * { position: relative; }
.secure__main h3 { font-size: 30px; letter-spacing: -.02em; line-height: 1.15; margin: 18px 0 14px; }
.secure__main p { color: #b2b6cc; }
.lock { width: 64px; height: 64px; border-radius: 20px; background: rgba(139, 127, 255, .2); display: grid; place-items: center; color: #a69dff; }
.lock svg { width: 32px; height: 32px; }
.secure__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sitem { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.sec--tint .sitem { background: var(--bg); }
.sitem svg { width: 26px; height: 26px; color: var(--brand); margin-bottom: 12px; }
.sitem b { display: block; margin-bottom: 6px; }
.sitem p { color: var(--ink-2); font-size: 14.5px; }

/* Вопросы */
.faq { max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: box-shadow .2s; }
.sec--tint .faq details { background: var(--bg); }
.faq details[open] { box-shadow: var(--sh-1); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b4cf0' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; max-width: 70ch; }
.faq details p + p { margin-top: -8px; }

/* Финал */
.final { border-radius: 40px; padding: 70px 56px; background: var(--hero); color: #fff; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 30px; align-items: center; box-shadow: var(--sh-brand); }
.final::before { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.final h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; position: relative; }
.final p { font-size: 18px; opacity: .92; margin: 16px 0 28px; position: relative; }
.final__cta { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.final .phone { width: 62%; margin-inline: auto; transform: rotate(6deg); }

/* Подвал */
.foot { padding: 56px 0 40px; color: var(--ink-3); font-size: 14px; }
.foot__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.foot__links { display: flex; flex-direction: column; gap: 8px; }
.foot__links a { color: var(--ink-2); }
.foot__legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.warnbox { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }

/* Появление при прокрутке */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-l { opacity: 0; transform: translateX(-36px); transition: opacity .9s, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .rv-r { opacity: 0; transform: translateX(36px); transition: opacity .9s, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .rv-l.is-in, .js .rv-r.is-in { opacity: 1; transform: none; }
.pulse-line { stroke-dasharray: 60; stroke-dashoffset: 60; animation: dash 2.4s ease-in-out infinite; }
@keyframes dash { 50% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -60; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .rv-l, .rv-r { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}


/* Прилипшие кнопки снизу */
.dock { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; display: flex; gap: 8px; padding: 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border: 1px solid var(--line); box-shadow: var(--sh-2); transform: translate(-50%, 140%); opacity: 0; transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .3s; pointer-events: none; }
.dock.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.dock .btn { height: 46px; padding: 0 20px; font-size: 15px; }
.dock .btn--ghost { box-shadow: none; }
.dock__s { display: none; }
@media (max-width: 720px) {
  .dock { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); transform: translateY(140%); border-radius: 22px; padding: 6px; }
  .dock.is-on { transform: none; }
  .dock .btn { flex: 1 1 0; min-width: 0; height: 46px; padding: 0 8px; font-size: 13.5px; gap: 6px; }
  .dock .btn span { overflow: hidden; text-overflow: ellipsis; }
  .dock .btn--ghost { flex: 0 0 auto; padding: 0 14px; }
  .dock__l { display: none; }
  .dock__s { display: inline; }
  .dock .btn svg { width: 17px; height: 17px; }
  .foot { padding-bottom: 96px; }
}
@media (max-width: 370px) { .dock .btn svg { display: none; } }

/* ---------- Планшет ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__text { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .hero__chips { justify-content: center; }
  .stage { max-width: 720px; margin: 20px auto 0; width: 100%; }
  .hero__vid { width: 120%; right: -10%; top: 30%; }
  .pains, .stats, .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .plan--hero { transform: none; }
  .feat, .app, .calc, .secure { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feat--rev { grid-template-columns: minmax(0, 1fr); }
  .feat--rev .feat__media { order: 0; }
  .feat__media { max-width: 760px; }
  .final { grid-template-columns: minmax(0, 1fr); padding: 50px 36px; }
  .final .phone { width: 46%; }
  .payback { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Телефон ---------- */
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .nav__in { height: 62px; gap: 10px; }
  .brand { font-size: 18px; }
  .brand svg { width: 32px; height: 32px; }
  .nav__login, .nav__cta { display: none; }
  .nav__burger { display: inline-grid; }
  .mnav { position: fixed; inset: 62px 0 auto 0; z-index: 49; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; flex-direction: column; gap: 4px; box-shadow: var(--sh-2); }
  .mnav.is-open { display: flex; }
  .mnav a:not(.btn) { padding: 12px 6px; font-weight: 650; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mnav .btn { margin-top: 10px; }
  .hero { padding: 16px 0 50px; }
  .hero h1 { font-size: 36px; margin: 16px 0; }
  .hero__lead { font-size: 16.5px; }
  .hero__cta .btn { width: 100%; }
  .stage { aspect-ratio: 1.05; }
  .laptop { width: 100%; top: 0; padding: 6px 6px 8px; border-radius: 12px; }
  .laptop__bar { padding-bottom: 6px; }
  .laptop__bar i { width: 7px; height: 7px; }
  .stage .phone { width: 38%; right: -2%; }
  .float { padding: 8px 10px; font-size: 11.5px; border-radius: 14px; gap: 8px; }
  .float b { font-size: 12.5px; }
  .float__ic { width: 28px; height: 28px; border-radius: 9px; }
  .float--b { display: none; }
  .float--a { left: 0; bottom: 20%; }
  .float--c { left: 4%; bottom: 0; }
  .sec { padding: 72px 0; }
  .sec__head { margin-bottom: 34px; }
  .sec h2 { font-size: 30px; }
  .sec__lead { font-size: 16.5px; }
  .pains, .stats, .people, .how, .versus { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 20px 16px; }
  .stat b { font-size: 26px; }
  .stat span { font-size: 13.5px; }
  .vcard__body { padding: 22px 20px 24px; }
  .feat + .feat { margin-top: 80px; }
  .feat__media:has(.phone) .shot, .feat__media .photo-badge { display: none; }
  .feat__media .phone, .feat__media .phone--m { display: block; position: relative; width: 66%; right: auto; bottom: auto; margin: 0 auto; }
  .feat__media .phone ~ .phone { display: none; }
  .calc__form, .calc__out { padding: 24px 20px; }
  .calc__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .calc__cell b { font-size: 20px; }
  .seg { width: 100%; }
  .seg button { padding: 0 8px; font-size: 13.5px; }
  .people { gap: 14px; }
  .phones { gap: 10px; }
  .phones .phone:nth-child(2) { transform: translateY(-20px); }
  .install, .secure__list { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .secure__main { padding: 28px 22px; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 16px; }
  .final { padding: 40px 22px; border-radius: 28px; }
  .final__cta .btn { width: 100%; }
  .final .phone { width: 60%; }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
}
