/* Сайт магазина и личный кабинет. Базовые компоненты — в theme.css. Mobile-first: широкие экраны — в min-width. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/manrope-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/manrope-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 { --grid-line: rgba(18, 21, 42, .05); --blob-1: rgba(108, 92, 255, .42); --blob-2: rgba(20, 184, 166, .30); --blob-3: rgba(79, 114, 255, .30); --topbar: rgba(255, 255, 255, .78); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --grid-line: rgba(255, 255, 255, .045); --blob-1: rgba(123, 108, 255, .36); --blob-2: rgba(45, 212, 191, .20); --blob-3: rgba(91, 134, 255, .24); --topbar: rgba(10, 12, 20, .72); } }
:root[data-theme="dark"] { --grid-line: rgba(255, 255, 255, .045); --blob-1: rgba(123, 108, 255, .36); --blob-2: rgba(45, 212, 191, .20); --blob-3: rgba(91, 134, 255, .24); --topbar: rgba(10, 12, 20, .72); }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-size: 16px; line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
h1, h2, h3, .price, .brand, .code { font-family: var(--font-display); }
h1, h2 { font-weight: 800; letter-spacing: -.025em; }
h3 { font-weight: 750; letter-spacing: -.015em; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 500px; }
@media (max-width: 479px) { .card { padding: 18px; } }
.mid { max-width: 860px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

/* Шапка */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--topbar); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.topbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 28px -18px rgba(18, 21, 42, .35); }
.topbar-inner { display: flex; align-items: center; gap: 10px; height: 62px; }
.topbar .brand { margin-right: auto; min-width: 0; }
.brand-tagline { display: none; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.topnav { display: none; }
.topbar-actions { display: flex; align-items: center; gap: 6px; }
.topbar-actions .btn-small { min-height: 38px; padding: 7px 13px; }
.top-login { display: none; }
.theme-btn { display: none; }

/* Мобильное меню */
.menu { position: relative; }
.menu > summary .i-close { display: none; }
.menu[open] > summary .i-open { display: none; }
.menu[open] > summary .i-close { display: block; }
.menu[open] > summary { border-color: var(--accent); color: var(--accent-text); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); display: grid; gap: 2px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); transform-origin: top right; animation: pop-in .28s var(--ease); }
.menu-panel a:not(.btn), .menu-theme { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--text); font-weight: 600; font-size: 15px; min-height: 0; border: 0; background: none; justify-content: flex-start; width: 100%; }
.menu-panel a:not(.btn):hover, .menu-theme:hover { background: var(--surface-2); text-decoration: none; color: var(--accent-text); }
.menu-panel .icon { color: var(--muted); }
.menu-actions { display: grid; gap: 8px; padding: 8px 2px 2px; margin-top: 6px; border-top: 1px solid var(--line); }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(.97); } }

/* Первый экран */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 34px 0 52px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; }
.b1 { width: 560px; height: 560px; top: -300px; right: -220px; background: radial-gradient(circle, var(--blob-1), transparent 66%); }
.b2 { width: 480px; height: 480px; top: 120px; left: -300px; background: radial-gradient(circle, var(--blob-2), transparent 66%); }
.b3 { width: 420px; height: 420px; bottom: -260px; right: 10%; background: radial-gradient(circle, var(--blob-3), transparent 66%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 25%, transparent 75%); }
.hero-inner { display: grid; gap: 34px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; color: var(--accent-text); background: color-mix(in srgb, var(--surface) 70%, var(--accent-soft)); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 99px; padding: 6px 13px 6px 11px; margin-bottom: 18px; box-shadow: 0 6px 18px -10px rgba(91, 76, 240, .5); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 var(--accent-2); animation: beacon 2.2s ease-out infinite; }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2) 70%, transparent); } 80%, 100% { box-shadow: 0 0 0 9px transparent; } }
.hero h1 { font-size: clamp(36px, 9.6vw, 66px); line-height: 1.04; letter-spacing: -.04em; margin-bottom: 18px; max-width: 13em; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--accent) 0%, var(--accent-3) 25%, var(--accent-2) 50%, var(--accent-3) 75%, var(--accent) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: text-flow 7s ease-in-out infinite alternate; }
@keyframes text-flow { to { background-position: 100% 50%; } }
.lead { font-size: 17.5px; line-height: 1.6; color: var(--muted); max-width: 36em; margin: 0; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.hero-actions .btn { width: 100%; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: var(--muted); font-size: 14.5px; font-weight: 550; }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points .icon { width: 30px; height: 30px; padding: 6px; border-radius: 9px; color: var(--accent-text); background: var(--accent-soft); }
.invite-note { margin-top: 22px; }

/* Иллюстрация: «приложение» с защищённым подключением */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 340px; perspective: 1100px; }
.orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--accent) 32%, transparent); translate: -50% -50%; }
.o1 { width: 340px; height: 340px; }
.o2 { width: 250px; height: 250px; border-style: solid; border-color: color-mix(in srgb, var(--accent-2) 22%, transparent); }
.mock { position: relative; z-index: 1; width: min(292px, 82vw); padding: 16px; border-radius: 28px; background: color-mix(in srgb, var(--surface) 94%, transparent); border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .12); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.mock-top { display: flex; align-items: center; gap: 8px; font: 800 15px var(--font-display); }
.mock-top .brand-mark { width: 24px; height: 24px; border-radius: 8px; box-shadow: none; }
.mock-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 700 12px var(--font); color: var(--ok); background: var(--ok-soft); padding: 4px 9px; border-radius: 99px; }
.mock-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: dot-pulse 2s ease-out infinite; }
.mock-power { position: relative; width: 128px; height: 128px; margin: 20px auto 12px; display: grid; place-items: center; }
.pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--accent) 50%, transparent); opacity: 0; animation: ripple 3.6s var(--ease) infinite; }
.pulse:nth-child(2) { animation-delay: 1.2s; }
.pulse:nth-child(3) { animation-delay: 2.4s; }
@keyframes ripple { 0% { transform: scale(.62); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.mock-core { position: relative; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 18px 40px -12px rgba(91, 76, 240, .75), inset 0 2px 0 rgba(255, 255, 255, .3), inset 0 -6px 16px rgba(0, 0, 0, .12); animation: breathe 3.6s ease-in-out infinite; }
.mock-core .icon { width: 40px; height: 40px; stroke-width: 1.7; }
@keyframes breathe { 50% { transform: scale(1.045); } }
.mock-title { text-align: center; font: 800 18px var(--font-display); letter-spacing: -.02em; }
.mock-sub { text-align: center; color: var(--muted); font-size: 13.5px; }
.mock-rows { display: grid; gap: 8px; margin-top: 14px; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.mock-row .icon { width: 18px; height: 18px; color: var(--accent-text); }
.mock-row b { margin-left: auto; color: var(--ok); font-size: 12.5px; }
.float-chip { position: absolute; z-index: 2; display: none; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 12.5px; font-weight: 700; white-space: nowrap; animation: float 6s ease-in-out infinite; }
.float-chip .icon { width: 16px; height: 16px; color: var(--accent-text); }
.f1 { top: 6%; left: 0; }
.f2 { top: 44%; right: 0; animation-delay: -2s; }
.f3 { bottom: 4%; left: 4%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-9px); } }
.hero.is-off * { animation-play-state: paused !important; }

/* Секции */
.section { padding: 56px 0; }
.section-features { padding-top: 8px; }
.section-head { margin-bottom: 26px; max-width: 760px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font); font-size: 12.5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
.kicker .icon { width: 16px; height: 16px; }
.section-title { font-size: clamp(28px, 6.5vw, 42px); line-height: 1.1; margin-bottom: 10px; }
.section-sub { color: var(--muted); margin: 0; font-size: 16px; }

/* Преимущества */
.features { display: grid; gap: 14px; }
.feature { position: relative; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px 160px at 0% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); opacity: .8; transition: opacity .35s; }
.feature h3 { font-size: 19px; margin: 0 0 6px; }
.feature p { color: var(--muted); margin: 0; }
.feature-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; margin-bottom: 16px; color: #fff; background: var(--grad); box-shadow: 0 12px 24px -12px rgba(91, 76, 240, .8), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .45s var(--ease); }
.feature-icon .icon { width: 24px; height: 24px; }

/* Тарифы */
.tariffs { display: grid; gap: 14px; }
.tariff { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.tariff::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; opacity: 0; transition: opacity .35s; pointer-events: none; }
.tariff-head { display: flex; align-items: center; gap: 12px; }
.tariff-head h3 { font-size: 18.5px; margin: 0; line-height: 1.25; min-width: 0; }
.tariff-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-text); transition: transform .45s var(--ease), background-color .3s, color .3s; }
.tariff-term { margin-left: auto; flex: none; font-size: 12.5px; font-weight: 750; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.price-value { font-size: 40px; line-height: 1.05; }
.price small { font-family: var(--font); font-size: 15px; color: var(--muted); font-weight: 550; letter-spacing: 0; }
.price-lg .price-value { font-size: 44px; }
.old-price { font-family: var(--font); text-decoration: line-through; color: var(--muted); font-size: 16px; font-weight: 500; letter-spacing: 0; }
.checks { list-style: none; padding: 0; margin: 2px 0 6px; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.checks .icon { width: 20px; height: 20px; padding: 3px; margin-top: 1px; border-radius: 50%; stroke-width: 3; color: var(--ok); background: var(--ok-soft); }
.tariff > .btn { margin-top: auto; }
.tariffs.compact { margin-top: 16px; }
.tariffs.compact .tariff { padding: 18px; gap: 8px; box-shadow: none; background: var(--surface-2); }
.tariffs.compact .price-value { font-size: 32px; }
.tariffs.compact .tariff > .btn { margin-top: 8px; }
.tariff-desc { color: var(--text); }

/* «Неубиваемый» пакет */
.addon-panel { position: relative; margin-top: 40px; padding: 24px 16px 16px; border-radius: 28px; color: #eef0ff; overflow: hidden; isolation: isolate; background: radial-gradient(520px 260px at 100% 0%, rgba(124, 108, 255, .55), transparent 65%), radial-gradient(460px 260px at 0% 100%, rgba(45, 212, 191, .3), transparent 65%), linear-gradient(160deg, #1d1652 0%, #13153a 55%, #0c1a2f 100%); box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .08); }
.addon-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 80% 0%, #000, transparent 70%); }
.addon-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; padding: 0 6px; }
.addon-icon { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; color: #1b1450; background: linear-gradient(135deg, #ffe08a, #ffb547); box-shadow: 0 12px 30px -10px rgba(255, 181, 71, .7); }
.addon-icon .icon { width: 26px; height: 26px; fill: currentColor; stroke-width: 1.2; }
.addon-title { font-size: 26px; color: #fff; margin: 2px 0 6px; }
.addon-head p { margin: 0; color: rgba(238, 240, 255, .74); font-size: 15px; }
.addon-panel .tariff { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #f2f3ff; box-shadow: none; }
.addon-panel .tariff-icon { background: rgba(255, 213, 120, .16); color: #ffd27a; }
.addon-panel .tariff-icon .icon { fill: currentColor; stroke-width: 1.2; }
.addon-panel .tariff-term { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: rgba(238, 240, 255, .8); }
.addon-panel .price small, .addon-panel .checks { color: rgba(238, 240, 255, .74); }
.addon-panel .checks .icon { color: #5eead4; background: rgba(94, 234, 212, .14); }
.addon-panel .btn.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .22); box-shadow: none; }
.addon-panel .btn.btn-ghost:hover { background: #fff; color: #2b1fa8; border-color: #fff; }
.addon-panel .tariff::before { background: linear-gradient(135deg, #ffd27a, #7c6cff 55%, #2dd4bf); }

/* Как это работает */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; position: relative; }
.steps::before { content: ""; position: absolute; left: 43px; top: 36px; bottom: 36px; width: 2px; background: linear-gradient(var(--accent), var(--accent-2)); opacity: .3; border-radius: 2px; }
.step { position: relative; padding: 20px 20px 20px 84px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step h3 { font-size: 18px; margin: 0 0 4px; }
.step p { margin: 0; color: var(--muted); }
.step-icon { position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-text); }
.step-icon .icon { width: 24px; height: 24px; }
.step-icon b { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font: 800 11.5px var(--font-display); border: 2px solid var(--surface); }

/* Вопросы */
.faq-list { display: grid; gap: 10px; }
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s, box-shadow .25s; }
details.faq:hover { border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
details.faq[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow); }
details.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
details.faq summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--muted); transition: background-color .25s, color .25s, transform .35s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
details.faq[open] .faq-icon { background: var(--accent-soft); color: var(--accent-text); transform: rotate(180deg); }
details.faq[open] .faq-icon::after { transform: rotate(0deg); }
.faq-body { padding: 0 18px 16px; color: var(--muted); }
.faq-body p { margin: 0; }
details.faq[open] .faq-body { animation: faq-in .35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
@supports (interpolate-size: allow-keywords) {
    details.faq { interpolate-size: allow-keywords; }
    details.faq::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
    details.faq[open]::details-content { block-size: auto; }
}

/* Призыв в конце главной */
.section-cta { padding-top: 8px; }
.cta-band { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 22px; padding: 30px 22px; border-radius: 28px; color: #fff; background: var(--grad); box-shadow: var(--shadow-lg); }
.cta-band::before, .cta-band::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); }
.cta-band::before { width: 320px; height: 320px; right: -110px; top: -160px; box-shadow: 0 0 0 46px rgba(255, 255, 255, .05), 0 0 0 92px rgba(255, 255, 255, .04); }
.cta-band::after { width: 200px; height: 200px; left: -90px; bottom: -120px; background: rgba(255, 255, 255, .06); }
.cta-band h2 { color: #fff; font-size: clamp(25px, 5.6vw, 36px); line-height: 1.12; margin: 0 0 10px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .86); max-width: 34em; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; }
.btn.btn-light { background: #fff; background-image: none; color: #2b1fa8; border-color: #fff; box-shadow: 0 12px 26px -12px rgba(10, 6, 60, .6); }
.btn.btn-light:hover { background: #f4f2ff; color: #2b1fa8; }
.btn.btn-outline-light { background: transparent; background-image: none; color: #fff; border-color: rgba(255, 255, 255, .5); box-shadow: none; }
.btn.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }


/* Вход, регистрация, оплата */
.auth { position: relative; isolation: isolate; padding: 30px 0 64px; }
.auth::before { content: ""; position: absolute; inset: 0 0 auto; height: 460px; z-index: -1; background: var(--glow); pointer-events: none; }
.auth-card { padding: 26px 20px; border-radius: 24px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 28px; margin-bottom: 6px; }
.auth-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; margin-bottom: 16px; color: #fff; background: var(--grad); box-shadow: 0 14px 28px -12px rgba(91, 76, 240, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.auth-icon .icon { width: 26px; height: 26px; }
.auth-icon.ok { background: linear-gradient(135deg, #22c58b, #0e9f6e); box-shadow: 0 14px 28px -12px rgba(14, 159, 110, .7); }
.auth-icon.warn { background: linear-gradient(135deg, #fbbf4d, #f08c1b); box-shadow: 0 14px 28px -12px rgba(240, 140, 27, .7); }
.back-link { margin: 0 0 18px; font-size: 14.5px; font-weight: 600; }
.back-link a, .form-links a, .link-go { display: inline-flex; align-items: center; gap: 6px; }
.back-link .icon, .form-links .icon, .link-go .icon { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.back-link a:hover .icon { transform: translateX(-3px); }
.link-go:hover .icon { transform: translateX(3px); }
.form label { display: block; font-weight: 650; margin: 16px 0 7px; font-size: 14.5px; }
.form input[type=email], .form input[type=password], .form input[type=text], .form textarea, .inline-form input { width: 100%; border: 1.5px solid var(--input); border-radius: 13px; padding: 12px 14px; font: inherit; font-size: 16px; background: var(--surface); color: var(--text); transition: border-color .2s, box-shadow .25s var(--ease), background-color .2s; }
.form input:hover, .inline-form input:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--input)); }
.form input:focus, .form textarea:focus, .inline-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); line-height: 1.5; }
.form .check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.form .btn { margin-top: 24px; }
.form-links { display: flex; justify-content: space-between; margin: 16px 0 0; font-size: 14.5px; font-weight: 600; }
.form-title { font-size: 20px; margin: 26px 0 0; }
.notice { margin: 18px 0 0; }
.notice-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.notice-row > span { flex: 1 1 200px; }
.notice-row > .icon { width: 22px; height: 22px; }
.notice-row form { margin: 0; }
.notice .btn-small { min-height: 34px; }
.toast { display: flex; align-items: center; gap: 10px; animation: toast-in .5s var(--ease); }
.toast .icon { width: 20px; height: 20px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }
.pay-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pay-amount { font: 800 46px/1.05 var(--font-display); letter-spacing: -.04em; margin: 14px 0 20px; font-variant-numeric: tabular-nums; background: linear-gradient(100deg, var(--text) 40%, var(--accent-text)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pay-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.pay-note .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--ok); }
.pay-alt summary { cursor: pointer; font-size: 14.5px; }
.pay-alt .card { margin-top: 10px; }
.order-wrap { max-width: 640px; }
.stack > * + * { margin-top: 16px; }
.prose { white-space: pre-wrap; }

/* Страницы поддержки и документов */
.page { padding-top: 34px; }
.page-head { margin-bottom: 22px; }
.page-head h1 { font-size: clamp(30px, 7vw, 44px); line-height: 1.1; margin-bottom: 10px; }
.page-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 17px; margin-bottom: 16px; color: #fff; background: var(--grad); box-shadow: 0 14px 28px -12px rgba(91, 76, 240, .75); }
.page-icon .icon { width: 25px; height: 25px; }
.mid > .card + .card { margin-top: 16px; }
.card.prose { padding: 24px 20px; font-size: 15.5px; line-height: 1.75; }
.contact-list { display: grid; gap: 10px; }
.contact { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.contact:hover { text-decoration: none; border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); box-shadow: 0 10px 24px -16px rgba(91, 76, 240, .6); }
.contact-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); }
.contact-text { flex: 1; min-width: 0; display: grid; }
.contact-text small { color: var(--muted); font-size: 13px; }
.contact-text b { overflow-wrap: anywhere; }
.contact > .icon { color: var(--muted); transition: transform .25s var(--ease), color .25s; }
.contact:hover > .icon { transform: translateX(3px); color: var(--accent-text); }
.support-hint { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; }
.support-hint .icon { width: 17px; height: 17px; margin-top: 2px; }
.doc-links { display: grid; gap: 4px; }
.doc-links a { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: 12px; font-weight: 600; }
.doc-links a:hover { background: var(--surface-2); text-decoration: none; }
.codeword { opacity: .7; }

/* Личный кабинет */
.dash { position: relative; isolation: isolate; padding: 24px 0 64px; }
.dash::before { content: ""; position: absolute; inset: 0 0 auto; height: 380px; z-index: -1; background: var(--glow); pointer-events: none; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.dash-head form { margin: 0; }
.who { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 1 240px; }
.who-text { min-width: 0; }
.who h1 { font-size: 23px; margin: 0; line-height: 1.15; }
.who .muted { overflow-wrap: anywhere; font-size: 14.5px; }
.avatar { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 17px; color: #fff; background: var(--grad); font: 800 21px var(--font-display); text-transform: uppercase; box-shadow: 0 12px 26px -12px rgba(91, 76, 240, .8); }
.quicknav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 16px; padding: 2px 16px 4px; }
.quicknav::-webkit-scrollbar { display: none; }
.quicknav a { flex: none; padding: 8px 15px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-weight: 650; font-size: 14px; transition: border-color .2s, color .2s, background-color .2s; }
.quicknav a:hover { text-decoration: none; border-color: var(--accent); color: var(--accent-text); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 4px; }
.card-top h2 { font-size: 22px; margin: 2px 0 0; }
.card-top .kicker { margin-bottom: 0; }
.card-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); }
.sub-card { position: relative; overflow: hidden; isolation: isolate; }
.sub-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 220px at 100% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%), radial-gradient(380px 200px at 0% 100%, color-mix(in srgb, var(--accent-2) 9%, transparent), transparent 70%); }
.addon-card .kicker { color: #c27c0e; }
.addon-card .kicker .icon { fill: currentColor; stroke-width: 1.2; }
.overview { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; margin: 18px 0 4px; }
.ring { position: relative; width: 100px; height: 100px; }
.ring-text { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.ring-text small { font-size: 11px; color: var(--muted); font-weight: 650; }
.ring-text b { font: 800 28px var(--font-display); letter-spacing: -.04em; margin: 2px 0; }
.ring-text b.ring-num-sm { font-size: 22px; }
.ring-text span { font-size: 12.5px; color: var(--muted); font-weight: 650; }
.facts { display: grid; gap: 8px; margin: 0; }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 12px; border-radius: 13px; background: color-mix(in srgb, var(--surface-2) 80%, transparent); border: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.meter-block { margin-top: 16px; }
.meter-head { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 650; color: var(--muted); }
.unlimited { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.unlimited .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; stroke-width: 3; color: var(--ok); background: var(--ok-soft); }
.key-block { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.key { margin-top: 8px; }
.key .btn { flex: none; }
.actions-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.actions-row > .btn, .actions-row > form { flex: 1 1 220px; }
.actions-row > form { margin: 0; }
.actions-row > form .btn { width: 100%; }
.addon-hint { margin: 14px 0 0; }
.empty-card { text-align: center; padding: 30px 20px; }
.empty-card .actions-row { justify-content: center; }
.empty-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 22px; margin-bottom: 14px; color: var(--accent-text); background: var(--accent-soft); }
.empty-icon .icon { width: 30px; height: 30px; }
.bonus-note { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.addon-section { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.addon-section h3 { display: flex; align-items: center; gap: 8px; font-size: 20px; margin: 0 0 6px; }
.addon-section h3 .icon { color: #e0a01f; fill: currentColor; stroke-width: 1.2; }
.promo-form { margin-top: 18px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 160px; padding: 10px 14px; }
.invite-vk { margin: 14px 0 4px; }
.invite-stats { margin: 12px 0 0; }
.code { font-weight: 800; font-size: 28px; letter-spacing: .1em; background: var(--accent-soft); color: var(--accent-text); border-radius: 14px; padding: 12px 18px; display: inline-block; margin: 8px 0; border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent); }
table.list { font-size: 15px; }
table.list tbody tr { transition: background-color .2s; }
table.list tbody tr:hover { background: var(--surface-2); }
table.list td { vertical-align: middle; }

/* Подвал */
.footer { margin-top: 32px; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; padding: 36px 0 26px; }
.footer-about, .footer-col:last-child { grid-column: 1 / -1; }
.footer-about p { margin: 12px 0 0; max-width: 30em; }
.footer-col { display: grid; gap: 9px; align-content: start; }
.footer h2 { margin: 0 0 4px; font: 750 12.5px var(--font); text-transform: uppercase; letter-spacing: .07em; color: var(--text); }
.footer a:not(.brand) { color: var(--muted); overflow-wrap: anywhere; }
.footer a:not(.brand):hover { color: var(--accent-text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 0 24px; border-top: 1px solid var(--line); font-size: 13.5px; }
.theme-switch { min-height: 36px; padding: 6px 12px; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); border-radius: 99px; }
.theme-switch .icon { width: 17px; height: 17px; }

/* Появление при прокрутке: .js ставит скрипт в <head>, .in — site.js. Без JS или при ошибке всё видно сразу. */
.js:not(.no-reveal) [data-reveal]:not(.in) { opacity: 0; transform: translateY(22px); }
[data-reveal] { transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .feature.in .feature-icon { animation: icon-pop .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + .2s); }
@keyframes icon-pop { from { transform: scale(.6) rotate(-12deg); opacity: 0; } }

/* Плавные переходы между страницами (Chrome, Safari 18+) */
@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }
    ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
    .topbar { view-transition-name: topbar; }
}

@media (hover: hover) and (pointer: fine) {
    .feature:hover, .tariff:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
    .feature:hover::before { opacity: 1; }
    .feature:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }
    .tariff:hover::before { opacity: 1; }
    .tariff:hover .tariff-icon { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: #fff; }
    .tariffs.compact .tariff:hover { transform: translateY(-3px); background: var(--surface); }
    .addon-panel .tariff:hover .tariff-icon { background: #ffd27a; color: #1b1450; }
    .contact:hover { transform: translateY(-2px); }
}

@media (min-width: 370px) {
    .top-login { display: inline-flex; }
}
@media (min-width: 480px) {
    .topbar-actions { gap: 8px; }
    .ring { width: 112px; height: 112px; }
    .ring-text b { font-size: 32px; }
    .ring-text b.ring-num-sm { font-size: 24px; }
}
@media (min-width: 640px) {
    .container { padding: 0 24px; }
    .hero-actions { flex-direction: row; flex-wrap: wrap; }
    .float-chip { display: inline-flex; }
    .hero-actions .btn { width: auto; }
    .hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; }
    .tariffs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .addon-panel { padding: 30px 26px 26px; }
    .addon-head { padding: 0; }
    .cta-actions { flex-direction: row; flex-wrap: wrap; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
    .footer-about, .footer-col:last-child { grid-column: auto; }
    .quicknav { margin: 0 0 18px; padding: 2px 0 4px; }
    .auth-card { padding: 32px 30px; }
    .card.prose { padding: 32px 36px; }
}
@media (min-width: 860px) {
    .topbar-inner { height: 68px; gap: 14px; }
    .brand-tagline { display: inline; }
    .topnav { display: flex; align-items: center; gap: 4px; margin-right: 6px; }
    .topnav a { position: relative; padding: 8px 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: 15px; transition: color .2s, background-color .2s; }
    .topnav a:hover { text-decoration: none; color: var(--accent-text); background: color-mix(in srgb, var(--accent-soft) 60%, transparent); }
    .theme-btn { display: inline-grid; }
    .menu { display: none; }
    .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .steps::before { left: 16%; right: 16%; top: 47px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
    .step { padding: 24px; }
    .step-icon { position: relative; left: auto; top: auto; margin-bottom: 18px; }
    .section { padding: 84px 0; }
    .section-features { padding-top: 12px; }
    .section-cta { padding-top: 12px; }
    .cta-band { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 44px 48px; }
    .who h1 { font-size: 30px; }
    .card-top h2 { font-size: 24px; }
    .overview { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); }
    .overview .facts { grid-column: span 2; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .facts div { flex-direction: column; gap: 2px; padding: 14px 16px; }
    .facts dd { text-align: left; font-size: 17px; }
    .ring { width: 128px; height: 128px; }
}
@media (min-width: 1000px) {
    .hero { padding: 64px 0 84px; }
    .hero-inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 40px; }
    .hero-visual { min-height: 480px; }
    .o1 { width: 440px; height: 440px; animation: spin 60s linear infinite; }
    .o2 { width: 320px; height: 320px; animation: spin 45s linear infinite reverse; }
    .mock { width: 312px; padding: 18px; }
    .f1 { top: 9%; left: 0; }
    .f2 { top: 44%; right: -3%; }
    .f3 { bottom: 1%; left: 6%; }
    .blob { animation: drift 22s ease-in-out infinite alternate; }
    .b2 { animation-duration: 26s; }
    .b3 { animation-duration: 30s; }
    .lead { font-size: 19px; }
    .tariffs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .addon-tariffs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .addon-panel { padding: 40px; }
    .tariffs.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@keyframes drift { to { transform: translate3d(50px, 36px, 0) scale(1.12); } }

@media print {
    .topbar, .footer, .hero-visual, .menu { display: none; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}
