/* Батон VPN — фирменный слой 11.11.2026 (светлый стиль, тёплый «корочковый» акцент).
   Подключается последним на сайте, в кабинете, Mini App, PWA и в приложениях. Все значения — токенами. */

/* ── Токены ─────────────────────────────────────────────────────────── */
:root,
html body,
html body[data-mode],
html body[data-mode][data-accent] {
  --outer: #fffaf5;
  --bg: #ffffff;
  --side: #fffaf6;
  --surface: #f8f4ef;
  --raised: #f1ebe4;
  --field: #ffffff;
  --text: #1b1410;
  --muted: #6f655d;
  --subtle: #9b9088;
  --accent: #f26b00;
  --accent2: #ff9a1f;
  --accentInk: #ffffff;
  --accentSoft: #fff1e4;
  --accentDeep: #d95800;
  --accentText: #c25000;
  --white: #1b1410;
  --whiteInk: #ffffff;
  --error: #d93a2b;
  --errorSoft: #fdece9;
  --ok: #1f9d55;
  --okSoft: #e7f6ec;
  --card: #ffffff;
  --cardLine: #f0e8e0;
  --fieldLine: #ebe2d9;
  --radius: 28px;
  --radiusSmall: 20px;
  --pill: 999px;
  --shadow: 0 24px 60px rgb(120 60 10 / 0.08);
  --shadowCard: 0 1px 0 rgb(255 255 255 / 0.8) inset, 0 12px 34px rgb(110 60 20 / 0.07);
  --shadowAccent: 0 14px 30px -10px rgb(242 107 0 / 0.55);
  --shadowNav: 0 18px 50px rgb(90 50 15 / 0.16);
  --grad: linear-gradient(135deg, var(--accent2) 0%, var(--accent) 55%, var(--accentDeep) 100%);
  --gradBtn: linear-gradient(180deg, #ff8418 0%, var(--accent) 100%);
  --waveOpacity: 0.07;
  color-scheme: light;
}

/* ── Фон: белый, тёплые размытые пятна и тонкие волны ───────────────── */
html, body { background: var(--outer); }
body { color: var(--text); }
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38vmax 30vmax at 88% 6%, rgb(255 154 31 / 0.16), transparent 70%),
    radial-gradient(34vmax 26vmax at 4% 92%, rgb(242 107 0 / 0.12), transparent 70%),
    radial-gradient(30vmax 24vmax at 50% 50%, rgb(255 210 160 / 0.10), transparent 70%);
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url(assets/waves.svg) center / cover no-repeat;
  opacity: var(--waveOpacity);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 100%);
}
::selection { background: var(--accentSoft); color: var(--accentText); }

/* Оболочка без «рамки»: страница во всю ширину, как у приложения */
.app, body[data-surface="site"] .app, body[data-surface="account"] .app {
  background: transparent; box-shadow: none; border-radius: 0; overflow: visible;
}
body[data-surface="site"] .app { margin: 0 auto; width: 100%; max-width: none; }
body[data-surface="account"] .app { margin: 0 auto; width: 100%; max-width: 1480px; }
.web-header { background: transparent; }

/* Декор прежнего стиля не используется */
.mosaic, div.mosaic, .orbit, .light-orbit, .art-caption, .hero-state { display: none !important; }

/* ── Типографика ────────────────────────────────────────────────────── */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.035em; color: var(--text); }
.eyebrow { color: var(--accentText); letter-spacing: 0.08em; font-weight: 700; }
.web-hero h1 em, .web-hero h1 em * {
  font-style: normal; color: transparent;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
}
.muted, .web-lead, .web-section p { color: var(--muted); }
a:not(.btn):not(.web-logo):hover { color: var(--accentText); }

/* ── Логотип: 3D-батон + слово «батон» ──────────────────────────────── */
.evil-mark, .web-logo i.evil-mark, .row-icon.own .evil-mark {
  -webkit-mask: none !important; mask: none !important;
  background: url(assets/baton-main-240.webp) center / contain no-repeat !important;
  border-radius: 0;
}
.web-logo { font-size: 32px; font-weight: 800; letter-spacing: -0.05em; color: var(--text); align-items: center; }
.web-logo i.evil-mark { width: 1.35em; height: 1.35em; margin: 0 0.12em 0 -0.1em; transform: rotate(-4deg); }
.web-logo span { color: var(--accent); font-weight: 600; margin-left: 0.08em; }
.web-logo:hover .evil-mark, .brand:hover .evil-mark { transform: rotate(-12deg) scale(1.08); }
.brand { font-weight: 800; letter-spacing: -0.05em; }
.brand span { color: var(--accent); font-weight: 600; }
.brand .evil-mark { width: 44px; height: 44px; margin-right: 6px; }
.row-icon.own { background: var(--accentSoft) !important; }
.row-icon.own .evil-mark { width: 30px; height: 30px; }

/* ── Кнопки-«таблетки» ──────────────────────────────────────────────── */
.btn {
  border-radius: var(--pill); min-height: 56px; padding: 14px 26px; font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
}
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn.accent, .btn.primary.accent {
  background: var(--gradBtn); color: var(--accentInk); box-shadow: var(--shadowAccent);
}
.btn.accent:hover:not(:disabled) { filter: none; box-shadow: 0 18px 36px -10px rgb(242 107 0 / 0.7); transform: translateY(-1px); }
.btn.primary { background: var(--text); color: #fff; }
.btn.secondary { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--cardLine), 0 6px 18px rgb(110 60 20 / 0.05); }
.btn.secondary:hover:not(:disabled) { filter: none; box-shadow: inset 0 0 0 1.5px var(--accent), 0 6px 18px rgb(110 60 20 / 0.06); }
.btn.ghost, .btn.ghost:hover:not(:disabled), .btn.ghost:active { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn.ghost:hover:not(:disabled) { background: var(--text); color: #fff; }
.btn.danger { background: var(--errorSoft); color: var(--error); box-shadow: none; }
.btn.small { min-height: 46px; padding: 10px 18px; border-radius: var(--pill); font-size: 14px; }
/* Стрелка в белом круге справа (как в эталоне) */
.btn > svg.i-arrow:last-child {
  width: 40px; height: 40px; padding: 11px; margin: -8px -18px -8px 6px; border-radius: 50%;
  background: var(--card); color: var(--accent); stroke-width: 2.2; box-sizing: border-box;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.08); transition: transform 0.2s ease;
}
.btn.small > svg.i-arrow:last-child { width: 32px; height: 32px; padding: 8px; margin: -6px -12px -6px 4px; }
.btn.primary > svg.i-arrow:last-child, .btn.ghost > svg.i-arrow:last-child { background: #fff; color: var(--text); }
.btn.ghost:not(:hover) > svg.i-arrow:last-child { background: var(--text); color: #fff; }
.btn.secondary > svg.i-arrow:last-child { background: var(--text); color: #fff; box-shadow: none; }
.btn.danger > svg.i-arrow:last-child { background: var(--error); color: #fff; }
.btn:hover > svg.i-arrow:last-child { transform: translateX(2px); }
[dir="rtl"] .btn > svg.i-arrow:last-child { margin: -8px 6px -8px -18px; }
.link { color: var(--text); }
.link svg { color: var(--accent); }
.iconbtn { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--cardLine); color: var(--text); }
.iconbtn:hover { box-shadow: inset 0 0 0 1.5px var(--accent); filter: none; }

/* Пилюли, чипы, переключатели */
.pill { background: var(--accentSoft); color: var(--accentText); font-weight: 600; }
body[data-mode="light"] .pill { color: var(--accentText); }
.pill.neutral { background: var(--surface); color: var(--muted); }
.chip { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--cardLine); font-weight: 500; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.chip.on, .dev-presets .chip.on { background: var(--gradBtn); color: #fff; box-shadow: var(--shadowAccent); }
.segmented { background: var(--surface); padding: 5px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--cardLine); }
.segmented button { border-radius: var(--pill); color: var(--text); font-weight: 500; }
.segmented .on { background: var(--card); color: var(--accent); font-weight: 600; box-shadow: 0 6px 18px rgb(110 60 20 / 0.12); }
.toggle { background: var(--raised); }
.toggle:after { background: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / 0.15); }
.toggle[aria-checked="true"] { background: var(--accent); }
.toggle[aria-checked="true"]:after { background: #fff; }
.tiny-dot { background: var(--accent); }

/* Поля ввода */
.field, .auth-card input, .searchfield, input.field, textarea.field, select.field {
  background: var(--field); color: var(--text); border: 0; box-shadow: inset 0 0 0 1.5px var(--fieldLine);
  transition: box-shadow 0.2s ease;
}
.field, .auth-card input, .searchfield { border-radius: var(--pill); padding-inline: 24px; min-height: 58px; }
textarea.field { border-radius: 24px; }
.field:focus, .auth-card input:focus, .searchfield:focus-within { outline: none; box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 5px rgb(242 107 0 / 0.1); }
.field::placeholder, .auth-card input::placeholder { color: var(--subtle); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline-color: var(--accent); }

/* ── Карточки ───────────────────────────────────────────────────────── */
.surface, .benefit, .price-card, .auth-card, .review-card, .web-faq details, .status-row, .action, .dev-pick, .pwa-card,
.account-stats > button, .key-summary, .install-steps li, .choice, .ev-i-steps li, .mac-cmd, .web-final, .account-banner {
  background: var(--card); box-shadow: var(--shadowCard), inset 0 0 0 1px var(--cardLine);
}
.surface .surface, .surface .choice, .surface .install-steps li, .surface .key-summary, .surface .mac-cmd { box-shadow: inset 0 0 0 1px var(--cardLine); }
.surface.soft { background: var(--surface); box-shadow: none; }
.surface, .benefit, .price-card, .auth-card, .pwa-card { border-radius: var(--radius); }
.review-card:hover { background: var(--card); box-shadow: 0 18px 40px rgb(110 60 20 / 0.1), inset 0 0 0 1px var(--accentSoft); }
.row-icon, .action-icon, .tile-icon, .key-surface .key-symbol, .step-num, .install-steps li::before, .pwa-steps li::before {
  background: var(--accentSoft); color: var(--accent);
}
.step.done .step-num, .ev-i-num { background: var(--gradBtn); color: #fff; }
.separator, .faq details + details { background: var(--cardLine); border-color: var(--cardLine); }
.key-data, .mac-cmd-row { background: var(--surface); box-shadow: inset 0 0 0 1px var(--cardLine); }
.inline-notice { background: var(--accentSoft); color: var(--text); border-radius: 22px; }
.inline-notice svg { color: var(--accent); }
.inline-notice.error { background: var(--errorSoft); color: var(--error); }
.inline-notice.error svg { color: var(--error); }
.skeleton { background: linear-gradient(90deg, var(--surface), var(--raised), var(--surface)); background-size: 200% 100%; animation: bt-shine 1.4s linear infinite; }
@keyframes bt-shine { to { background-position: -200% 0; } }
.server-table .row:hover { background: var(--surface); }
.server-table .row.selected { background: var(--accentSoft); }
.favorite.on { color: var(--accent); }
.choice.on { background: var(--accentSoft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.choice.on .radio { background: #fff; box-shadow: inset 0 0 0 6px var(--accent); }
.choice .radio { background: #fff; box-shadow: inset 0 0 0 1.5px var(--fieldLine); }
.surface .choice { box-shadow: none; }
.success-icon { background: var(--accentSoft); color: var(--accent); }
.bubble { background: var(--surface); }
.bubble.self { background: var(--gradBtn); color: #fff; }
.qrbox { box-shadow: inset 0 0 0 1px var(--cardLine); }
.status-pill { background: var(--okSoft); color: var(--ok); }
.status-row.up .status-pill::before { background: var(--ok); }
.flag { box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.06); }

/* ── Фирменная акцентная карточка (оранжевая, с контурным знаком) ──── */
.surface.highlight, .benefit.mint, .price-card.featured, .account-stats > button:first-child {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--grad); color: #fff; box-shadow: 0 22px 46px -18px rgb(242 107 0 / 0.6);
}
.surface.highlight::after, .benefit.mint::after, .price-card.featured::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 260px; height: 260px; right: -60px; top: -40px;
  background: url(assets/mark-glass.webp) center / contain no-repeat; opacity: 0.22; transform: rotate(8deg);
}
.surface.highlight h2, .surface.highlight h3, .benefit.mint h3, .price-card.featured h3, .price-card.featured .web-price { color: #fff; }
.surface.highlight .muted, .surface.highlight .eyebrow, .surface.highlight p, .surface.highlight small,
.benefit.mint p, .price-card.featured > p, .price-card.featured li, .account-stats > button:first-child p { color: rgb(255 255 255 / 0.86) !important; opacity: 1; }
.surface.highlight .pill, .benefit.mint .pill, .price-card.featured .pill { background: rgb(255 255 255 / 0.22); color: #fff; }
.surface.highlight .btn, .price-card.featured .btn, .benefit.mint .btn, .plan.highlight .btn {
  background: #fff; color: var(--accentText); box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.3);
}
.surface.highlight .btn > svg.i-arrow:last-child, .price-card.featured .btn > svg.i-arrow:last-child, .benefit.mint .btn > svg.i-arrow:last-child { background: var(--accent); color: #fff; }
.benefit.mint .tile-icon, .price-card.featured .tile-icon { background: rgb(255 255 255 / 0.2); color: #fff; }
.benefit.mint .benefit-art { opacity: 0.55; }
.surface.highlight .link, .surface.highlight .link svg { color: #fff; }

/* ── Публичный сайт ─────────────────────────────────────────────────── */
.web-header { height: 92px; }
.web-links { background: rgb(255 255 255 / 0.7); padding: 6px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--cardLine), 0 8px 24px rgb(110 60 20 / 0.06); gap: 2px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.web-links a { color: var(--text); border-radius: var(--pill); padding: 10px 18px; font-size: 14px; font-weight: 500; }
.web-links a:hover { background: var(--surface); color: var(--text); }
.web-links a.active { background: var(--card); color: var(--accent); box-shadow: 0 6px 18px rgb(110 60 20 / 0.12); font-weight: 600; }
.web-head-actions .btn.secondary { min-height: 48px; border-radius: var(--pill); padding: 10px 12px 10px 20px; font-size: 14px; background: var(--gradBtn); color: #fff; box-shadow: var(--shadowAccent); }
.web-head-actions .btn.secondary > svg.i-arrow:last-child { width: 30px; height: 30px; padding: 7px; margin: -4px -4px -4px 6px; background: #fff; color: var(--accent); }
.lang-switch { color: var(--text); }
.lang-list { background: var(--card); box-shadow: var(--shadowNav), inset 0 0 0 1px var(--cardLine); }
.lang-list a:hover, .lang-list a.on { background: var(--accentSoft); }
.lang-list a.on b { color: var(--accent); }

.web-hero { min-height: 640px; }
.web-hero h1 { font-weight: 800; letter-spacing: -0.055em; }
.web-hero-copy > p, .web-lead { color: var(--muted); }
.hero-facts span { background: var(--card); border-radius: var(--pill); padding: 8px 14px; box-shadow: inset 0 0 0 1px var(--cardLine); color: var(--text); }
.hero-facts svg { color: var(--accent); }
.web-art img { filter: drop-shadow(0 30px 40px rgb(242 107 0 / 0.28)); }
.web-art .ambient { background: radial-gradient(ellipse, var(--accent2) 0%, transparent 68%); opacity: 0.35; }
.web-hero .web-art .ambient { opacity: calc(0.32 + var(--hp) * 0.1); }
.hero-art:before { background: var(--accent2); opacity: 0.25; }
.web-strip { color: var(--text); }
.web-strip a { background: var(--card); border-radius: var(--pill); padding: 10px 20px; font-size: 16px; box-shadow: inset 0 0 0 1px var(--cardLine); }
.web-strip a:hover { color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.web-section h2, .web-final h2 { font-weight: 800; letter-spacing: -0.045em; }
.web-steps > div { border-bottom: 1px solid var(--cardLine); }
.web-steps > div > span { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--gradBtn); color: #fff; font-weight: 700; padding: 0; box-shadow: var(--shadowAccent); }
.price-card .web-price { font-weight: 700; }
.price-card li svg { color: var(--accent); }
.price-card.featured li svg { color: #fff; }
.web-faq details { border-radius: 24px; transition: box-shadow 0.2s ease; }
.web-faq details[open] { box-shadow: var(--shadowCard), inset 0 0 0 1.5px var(--accent); }
.web-faq summary { font-weight: 600; }
.web-faq summary span { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--accentSoft); color: var(--accent); font-size: 20px; transition: transform 0.25s ease; }
.web-final { background: var(--grad); color: #fff; box-shadow: 0 30px 60px -24px rgb(242 107 0 / 0.6); }
.web-final::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -140px; bottom: -220px; background: url(assets/mark-glass.webp) center / contain no-repeat; opacity: 0.16; transform: rotate(-12deg); pointer-events: none; }
.web-final h2, .web-final .eyebrow { color: #fff; }
.web-final > p { color: rgb(255 255 255 / 0.88); }
.web-final .btn.accent { background: #fff; color: var(--accentText); }
.web-final .btn.accent > svg.i-arrow:last-child { background: var(--accent); color: #fff; }
.web-final .btn.ghost { box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }
.web-final .btn.ghost > svg.i-arrow:last-child { background: #fff; color: var(--accent); }
.web-final .btn.ghost:hover { background: #fff; color: var(--accentText); }
.web-footer { border-top: 1px solid var(--cardLine); padding-top: 48px; }
.web-footer b { color: var(--text); }
.web-footer a:hover { color: var(--accent); }
.review-ava { background: var(--gradBtn); color: #fff; border-radius: 50%; }
.review-stars, .review-grid .stars { color: var(--accent2); }
.dev-pick .stepper, .stepper { background: var(--surface); border-radius: var(--pill); }
.dev-pick .stepper .iconbtn, .stepper .iconbtn { background: var(--card); }
.legal-body a, .business-note a { color: var(--accentText); }
.top-mascot { filter: drop-shadow(0 18px 26px rgb(242 107 0 / 0.25)); }
.pwa-list svg { color: var(--accent); }
.pwa-qr img { box-shadow: inset 0 0 0 1px var(--cardLine); }

/* Мобильное меню сайта */
@media (max-width: 1000px) {
  .web-links { background: transparent; box-shadow: none; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  #webHeader.menu-open::before { background: rgb(40 20 5 / 0.25); }
  .menu-open .web-links, #webHeader.menu-open .web-links { background: var(--card); box-shadow: var(--shadowNav), inset 0 0 0 1px var(--cardLine); }
  #webHeader.menu-open .web-links > a { color: var(--text); border-radius: 18px; }
  #webHeader.menu-open .web-links > a.active { background: var(--accentSoft); color: var(--accentText); box-shadow: none; }
  #webHeader.menu-open .web-links > a.mobile-only { background: var(--gradBtn); color: #fff; border-radius: var(--pill); box-shadow: var(--shadowAccent); }
  #webHeader.menu-open .web-links > a.mobile-only::after { border-color: #fff; }
  #webHeader.menu-open .web-menu { background: var(--gradBtn); color: #fff; }
  .web-menu { background: var(--card); box-shadow: inset 0 0 0 1px var(--cardLine); border-radius: 50%; }
}
@media (max-width: 700px) {
  .web-logo { font-size: 28px; }
  .web-header { height: 76px; }
  .web-hero h1 { font-size: 54px; letter-spacing: -0.05em; }
  .web-strip a { font-size: 14px; padding: 8px 14px; }
  .web-final::after { width: 340px; height: 340px; left: -120px; bottom: -150px; }
  .hero-facts span { padding: 7px 12px; }
}
@media (max-width: 380px) { .web-hero h1 { font-size: 46px; } }

/* ── Кабинет, Mini App, PWA, приложения ─────────────────────────────── */
aside, #sidebar { background: rgb(255 255 255 / 0.72); box-shadow: inset -1px 0 0 var(--cardLine); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
#nav button, #nav a { color: var(--text); border-radius: var(--pill); font-weight: 500; }
#nav button:hover, #nav a:hover { background: var(--surface); }
#nav button.on { background: var(--gradBtn); color: #fff; box-shadow: var(--shadowAccent); }
#nav .count { color: inherit; opacity: 0.75; }
.help-pill { color: var(--muted); }
.avatar { background: var(--accentSoft); color: var(--accentText); box-shadow: 0 0 0 3px #fff, 0 6px 16px rgb(110 60 20 / 0.15); }
.account small { color: var(--muted); }
.workspace { background: transparent; }

/* Заголовок экрана в телефонной раскладке: имя и аватар по центру, как в эталоне */
.pagehead h1 { font-weight: 800; }
.android .homehead, .telegram .homehead { justify-content: center; gap: 12px; margin: 4px 0 22px; }
.android .homehead > div:first-child, .telegram .homehead > div:first-child { flex: 0 1 auto; min-width: 0; }
.android .homehead h1, .telegram .homehead h1 { font-size: 20px; letter-spacing: -0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.android .homehead .head-tools, .telegram .homehead .head-tools { flex-direction: row-reverse; }
.android .homehead .head-tools .avatar, .telegram .homehead .head-tools .avatar { display: grid; width: 46px; height: 46px; }
.android .homehead .head-tools .iconbtn, .telegram .homehead .head-tools .iconbtn { width: 46px; min-width: 46px; height: 46px; }

/* Главный блок приложения — оранжевая карточка бренда */
.hero, .android .hero, .telegram .hero, .app.mac .hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--grad); color: #fff; border-radius: var(--radius);
  padding: 30px 32px; margin-bottom: 18px; min-height: 0;
  box-shadow: 0 24px 50px -22px rgb(242 107 0 / 0.65);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 340px; height: 340px; right: -70px; top: 50%; transform: translateY(-50%) rotate(6deg);
  background: url(assets/mark-glass.webp) center / contain no-repeat; opacity: 0.2;
}
.hero h2, .android .hero h2, .telegram .hero h2 { color: #fff; font-weight: 800; }
.hero .eyebrow { color: rgb(255 255 255 / 0.85); }
.hero p { color: rgb(255 255 255 / 0.9); }
.hero .btn.accent { background: #fff; color: var(--accentText); box-shadow: 0 12px 26px -12px rgb(0 0 0 / 0.35); }
.hero .btn.accent svg { color: var(--accent); }
.hero .link, .hero .link svg { color: #fff; }
.hero-art img { filter: drop-shadow(0 18px 26px rgb(120 40 0 / 0.35)); }
.hero-art:before { display: none; }
.android .hero, .telegram .hero { padding: 24px 22px 22px; }
.android .hero h2, .telegram .hero h2 { margin-top: 18px; }
.android .hero-cta, .telegram .hero-cta { margin-top: 20px; }
.android .hero-art, .telegram .hero-art { top: 10px; right: -4px; }
@media (min-width: 851px) { .app.mac .hero { padding: 40px 44px; } }
@media (max-width: 600px) { .app.mac .hero { padding: 24px 22px 22px; } }

/* Баннер веб-кабинета — та же оранжевая карточка */
.account-banner { background: var(--grad); color: #fff; box-shadow: 0 24px 50px -22px rgb(242 107 0 / 0.65); }
.account-banner::after { content: ""; position: absolute; z-index: 0; pointer-events: none; width: 380px; height: 380px; right: 4%; top: 50%; transform: translateY(-50%) rotate(6deg); background: url(assets/mark-glass.webp) center / contain no-repeat; opacity: 0.18; }
.account-banner h2, .account-banner .eyebrow { color: #fff; }
.account-banner p { color: rgb(255 255 255 / 0.9); }
.account-banner .btn.accent { background: #fff; color: var(--accentText); box-shadow: 0 12px 26px -12px rgb(0 0 0 / 0.35); }
.account-banner .link, .account-banner .link svg { color: #fff; }
.account-banner .web-art { position: relative; z-index: 1; }
.account-stats > button:first-child span, .account-stats > button:first-child strong { color: #fff; }
.account-stats strong { font-weight: 700; }

/* Подписка, тарифы, ключи */
.plan { box-shadow: var(--shadowCard), inset 0 0 0 1px var(--cardLine); }
.plan.highlight { box-shadow: 0 22px 46px -18px rgb(242 107 0 / 0.6); }
.big-stat, .stat-number { font-weight: 700; letter-spacing: -0.04em; }
.subscription-heading { font-weight: 800; }
.key-surface h2 { font-weight: 800; }
.steps-dots i.on, .wiz-dots i.on { background: var(--accent); }
.wiz-dots i.done { background: color-mix(in srgb, var(--accent) 45%, transparent); }
.wiz-art span { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.pwa-status.on .row-icon { background: var(--okSoft); color: var(--ok); }
.upd-bar i { background: var(--gradBtn); }
.app .row > .link { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--cardLine); border-radius: var(--pill); }
.selectlike { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--cardLine); border-radius: var(--pill); }
.selectlike svg { color: var(--accent); }
.footer-status { color: var(--subtle); }
.footer-status svg { color: var(--accent); }

/* Шаги «Подключение за 3 шага» */
.bt-steps { background: var(--card); border-radius: var(--radius); padding: 24px 26px 26px; margin: 0 0 18px; box-shadow: var(--shadowCard), inset 0 0 0 1px var(--cardLine); }
.bt-steps h3 { font-size: 19px; letter-spacing: -0.02em; }
.bt-steps p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 6px 0 20px; }
.bt-track { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; position: relative; }
.bt-track::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 3px; border-radius: 2px; background: var(--raised); }
.bt-track::after { content: ""; position: absolute; left: 24px; top: 23px; height: 3px; border-radius: 2px; background: var(--accent); width: calc((100% - 48px) * var(--p, 0)); transition: width 0.6s ease; }
.bt-step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; font-size: 12px; color: var(--muted); text-align: center; }
.bt-step > i { width: 48px; height: 48px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 3px var(--raised); display: grid; place-items: center; }
.bt-step.done > i { background: var(--gradBtn); box-shadow: var(--shadowAccent); color: #fff; }
.bt-step.done > i svg { width: 20px; height: 20px; stroke-width: 2.6; }
.bt-step.now > i { box-shadow: inset 0 0 0 3px var(--accent); }
.bt-step.now > i::after { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); }
.bt-step.done, .bt-step.now { color: var(--text); font-weight: 600; }

/* ── Нижнее меню: плавающая панель, активный раздел — оранжевая пилюля с подписью ── */
.android #bottomnav, .telegram #bottomnav, body[data-surface="pwa"] .android #bottomnav {
  position: absolute; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: none;
  width: auto; max-width: 520px; margin: 0 auto; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 4px;
  padding: 8px; border-radius: var(--pill);
  background: var(--navBg); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadowNav), inset 0 0 0 1px var(--cardLine);
}
body[data-surface="telegram"] #bottomnav { bottom: calc(12px + max(env(safe-area-inset-bottom, 0px), var(--tg-safe-area-inset-bottom, 0px))); padding: 8px; }
.android .workspace, .telegram .workspace { position: relative; }
.android #content, .telegram #content, body[data-surface="pwa"] .android #content { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
.bottom-item {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 52px; height: 52px; padding: 0 14px; border-radius: var(--pill); color: var(--text);
  transition: background 0.3s ease, color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.bottom-item span { display: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
.bottom-item.on { background: var(--gradBtn); color: #fff; padding: 0 22px 0 18px; box-shadow: var(--shadowAccent); }
.bottom-item.on span { display: inline; animation: bt-label 0.35s ease both; }
.bottom-item:not(.on):hover { background: var(--surface); }
@keyframes bt-label { from { opacity: 0; transform: translateX(-4px); } }
body[data-surface="pwa"] .android .bottom-item { flex: 0 0 auto; max-width: none; height: 52px; border-radius: var(--pill); }
@media (min-width: 600px) { .android .bottom-item, .telegram .bottom-item { flex: 0 0 auto; } .android #bottomnav, .telegram #bottomnav { justify-content: space-between; gap: 6px; } }
@media (max-width: 370px) { .bottom-item { min-width: 46px; height: 48px; padding: 0 10px; } .bottom-item.on { padding: 0 14px 0 12px; } .bottom-item span { font-size: 13px; } }
/* Кабинет на узком экране — та же плавающая панель */
@media (max-width: 850px) {
  body[data-surface="account"] .app.mac #bottomnav, .app.mac #bottomnav {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: none;
    width: auto; max-width: 520px; margin: 0 auto; padding: 8px; border-radius: var(--pill); justify-content: space-between;
    background: var(--navBg); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--shadowNav), inset 0 0 0 1px var(--cardLine); z-index: 30;
  }
  body[data-surface="account"] .app.mac #content { padding-bottom: 120px; }
}

/* PWA: под системной строкой — фирменная полоса вместо тёмной */
body[data-surface="pwa"][data-mode="light"]::before { content: none; }
body[data-surface="pwa"] .app::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: env(safe-area-inset-top, 0px); background: var(--accent); z-index: 50; pointer-events: none; }

/* Модальные окна и шторки */
dialog { background: var(--card); color: var(--text); box-shadow: 0 -20px 80px rgb(60 30 5 / 0.2); }
dialog::backdrop, dialog#dialog::backdrop { background: rgb(40 20 5 / 0.32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
dialog#dialog::before { background: var(--raised); opacity: 1; }
.modalhead h2 { font-weight: 800; }
.ev-install { background: rgb(40 20 5 / 0.35); }
.ev-i-card { background: var(--card); }
.ev-i-close { background: var(--surface); }
.ev-i-ic { background: var(--accentSoft); color: var(--accent); }
.ev-i-done { background: var(--gradBtn); color: #fff; }
#toast { background: var(--text); color: #fff; border-radius: var(--pill); padding: 14px 24px; box-shadow: 0 16px 40px rgb(0 0 0 / 0.2); }

/* Загрузка: пульсирующий логотип, как экран «Почти готово…» в эталоне */
.boot { color: var(--muted); }
.boot svg { color: var(--accent); }
.boot::before { content: ""; width: 120px; height: 120px; background: url(assets/baton-main-240.webp) center / contain no-repeat; filter: drop-shadow(0 18px 30px rgb(242 107 0 / 0.35)); animation: bt-breathe 1.8s ease-in-out infinite; }
@keyframes bt-breathe { 50% { transform: scale(1.06) rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .boot::before, .skeleton { animation: none; } }

/* Вход в кабинет / приложение — карточка как в эталоне */
.auth-card { padding: 40px; }
.auth-card h2 { font-weight: 800; }
.auth-divider { color: var(--subtle); display: flex; align-items: center; gap: 12px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--cardLine); }
.auth-demo { background: var(--surface); box-shadow: inset 0 0 0 1px var(--cardLine); border-radius: 24px; }
.auth-art h1 { font-weight: 800; }
@media (max-width: 480px) { .auth-card, .is-guest .auth-card { padding: 28px 22px; } }

/* Тайский — системный фолбэк; RTL — зеркальная стрелка в круге */
[dir="rtl"] .btn > svg.i-arrow:last-child { transform: scaleX(-1); }

/* Оранжевая карточка на телефоне: кнопка во всю ширину, ссылка под ней; знак — тише, чтобы не спорить с 3D */
.hero::after { opacity: 0.14; }
@media (max-width: 599px) {
  .android .hero-cta, .telegram .hero-cta, .app.mac .hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
  .android .hero-cta .btn, .telegram .hero-cta .btn, .app.mac .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .hero::after { width: 260px; height: 260px; right: -90px; top: auto; bottom: -70px; transform: rotate(6deg); }
}
.account-stats > button:first-child.muted-stat strong { opacity: 0.85; }
/* Нижнее меню: пять пунктов и подпись активного помещаются от 360 px */
.bottom-item { min-width: 46px; padding: 0 11px; }
.bottom-item.on { padding: 0 16px 0 13px; }
.bottom-item span { font-size: 14px; }
@media (max-width: 380px) { .bottom-item.on span { max-width: 84px; overflow: hidden; text-overflow: ellipsis; } }
/* Mini App, PWA, Android: приложение во весь экран — панель привязана к экрану; на экранах без входа её нет */
.android #bottomnav, .telegram #bottomnav, body[data-surface="pwa"] .android #bottomnav { position: fixed; }
.is-guest #bottomnav { display: none !important; }

/* ── 11.11 · Второй круг: новые блоки приложения ─────────────────────── */
/* Оранжевая карточка: название крупно, под ним — белая плашка с фактом */
.hero h2, .android .hero h2, .telegram .hero h2 { font-size: clamp(34px, 9vw, 54px); line-height: 1.02; letter-spacing: -0.045em; margin: 14px 0 12px; max-width: none; }
.bt-hero-pill { display: inline-flex; align-items: center; min-height: 36px; padding: 7px 16px; border-radius: var(--pill); background: rgb(255 255 255 / 0.22); color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.android .hero p, .telegram .hero p { max-width: 62%; }
.android .hero h2, .telegram .hero h2 { max-width: 64%; }
@media (min-width: 600px) { .android .hero p, .telegram .hero p, .android .hero h2, .telegram .hero h2 { max-width: 60%; } }

/* Лимит устройств — как в эталоне: крупный счётчик в оранжевой карточке */
.bt-limit { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: start; gap: 6px; padding: 26px 28px; margin-bottom: 8px; border-radius: var(--radius); background: var(--grad); color: #fff; box-shadow: 0 24px 50px -22px rgb(242 107 0 / 0.65); min-height: 190px; }
.bt-limit > span { font-size: 15px; opacity: 0.92; }
.bt-limit strong { font-size: 54px; line-height: 1.05; font-weight: 600; letter-spacing: -0.04em; }
.bt-limit em { font-style: normal; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: var(--pill); background: rgb(255 255 255 / 0.22); }
.bt-limit img { position: absolute; z-index: -1; right: -14px; top: 50%; width: 190px; height: 190px; object-fit: contain; transform: translateY(-50%) rotate(-6deg); filter: drop-shadow(0 18px 24px rgb(120 40 0 / 0.35)); }
.bt-limit::after { content: ""; position: absolute; z-index: -2; width: 300px; height: 300px; right: -90px; bottom: -120px; background: url(assets/mark-glass.webp) center / contain no-repeat; opacity: 0.14; }
.bt-devhead { align-items: flex-end; }
.bt-devhead h2 { font-size: 26px; line-height: 1.1; max-width: 12ch; }
.bt-count { margin-left: auto; font-size: 44px; line-height: 1; font-weight: 300; color: var(--subtle); letter-spacing: -0.04em; }
.bt-count b { color: var(--text); font-weight: 400; }
.bt-devhead .btn { flex: none; }

/* Быстрый доступ: компактные плитки с круглым значком */
.actions, .android .actions, .telegram .actions, .app.mac .actions { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.action, .android .action, .telegram .action, .app.mac .action {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 10px;
  padding: 18px 8px 16px; border-radius: 24px; height: 100%;
}
.action-icon, .android .action-icon, .telegram .action-icon { width: 52px; height: 52px; margin: 0; border-radius: 50%; background: var(--accentSoft); color: var(--accent); }
.action-icon svg { width: 24px; height: 24px; }
.action:hover .action-icon { background: var(--gradBtn); color: #fff; }
.action b, .android .action b, .telegram .action b { font-size: 13px; line-height: 1.25; }
.action small { font-size: 11px; line-height: 1.35; }
@media (max-width: 599px) { .action small { display: none; } .action, .android .action, .telegram .action, .app.mac .action { padding: 14px 4px 12px; border-radius: 20px; } .action b { font-size: 12px; } }
@media (min-width: 1000px) { .app.mac .action { flex-direction: row; text-align: left; align-items: center; padding: 18px; } }

/* Подзаголовок страниц в приложении — спокойнее и уже */
.pagehead h1 { letter-spacing: -0.045em; }
.pagehead p { max-width: 46ch; }

/* ── 11.11 · Второй круг: новая главная ──────────────────────────────── */
.bt-center { text-align: center; margin-inline: auto; max-width: 760px; }
.bt-center p { margin-inline: auto; max-width: 60ch; }
.bt-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; min-height: 0; padding-top: 48px; padding-bottom: 40px; }
.bt-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: var(--pill); background: var(--card); box-shadow: inset 0 0 0 1px var(--cardLine), 0 8px 22px rgb(110 60 20 / 0.06); font-size: 14px; font-weight: 600; color: var(--text); }
.bt-badge i { width: 22px; height: 22px; border-radius: 50%; background: var(--gradBtn); box-shadow: 0 0 0 5px var(--accentSoft); }
.bt-hero h1 { margin: 22px 0 22px; }
.bt-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 34px; max-width: 560px; }
.bt-stats > div { background: var(--card); border-radius: 22px; padding: 16px 18px; box-shadow: var(--shadowCard), inset 0 0 0 1px var(--cardLine); }
.bt-stats b { display: block; font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -0.04em; color: var(--accent); }
.bt-stats span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--muted); }

/* Макет приложения на первом экране */
.bt-mock { position: relative; display: grid; place-items: center; min-height: 600px; isolation: isolate; }
.bt-mock::before { content: ""; position: absolute; z-index: -2; width: 520px; height: 520px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(255 154 31 / 0.35), transparent 65%); }
.bt-mock-logo { position: absolute; z-index: -1; width: 300px; height: 300px; right: 0; top: 10px; transform: rotate(8deg); filter: drop-shadow(0 30px 40px rgb(242 107 0 / 0.35)); animation: bt-bob 7s ease-in-out infinite; }
@keyframes bt-bob { 50% { transform: translateY(-12px) rotate(4deg); } }
.bt-phone { width: 300px; border-radius: 44px; padding: 18px 16px 16px; background: var(--navBg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 40px 80px -20px rgb(90 50 15 / 0.35), inset 0 0 0 1px var(--cardLine), 0 0 0 10px rgb(255 255 255 / 0.55); display: grid; gap: 12px; transform: rotate(-4deg); }
.bt-ph-top { display: flex; align-items: center; gap: 6px; font-size: 18px; letter-spacing: -0.04em; padding: 2px 4px; }
.bt-ph-top .evil-mark { width: 26px; height: 26px; }
.bt-ph-ava { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--accentSoft); box-shadow: 0 0 0 2px #fff; }
.bt-ph-card { position: relative; overflow: hidden; display: grid; gap: 4px; padding: 18px; border-radius: 24px; background: var(--grad); color: #fff; }
.bt-ph-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -40px; top: -20px; background: url(assets/mark-glass.webp) center / contain no-repeat; opacity: 0.22; }
.bt-ph-card small { font-size: 10px; letter-spacing: 0.08em; font-weight: 700; opacity: 0.9; }
.bt-ph-card b { font-size: 26px; letter-spacing: -0.04em; }
.bt-ph-card em { justify-self: start; font-style: normal; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: var(--pill); background: rgb(255 255 255 / 0.25); }
.bt-ph-power { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 12px; border-radius: 22px; background: var(--surface); }
.bt-ph-power > span { grid-row: span 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gradBtn); color: #fff; box-shadow: var(--shadowAccent); }
.bt-ph-power b { font-size: 15px; }
.bt-ph-power small { font-size: 12px; color: var(--ok); }
.bt-ph-rows { display: grid; gap: 8px; }
.bt-ph-rows > div { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--cardLine); }
.bt-ph-rows i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accentSoft); color: var(--accent); }
.bt-ph-rows i svg { width: 16px; height: 16px; }
.bt-ph-rows span { height: 8px; flex: 1; border-radius: 4px; background: linear-gradient(90deg, var(--raised) 70%, transparent 70%); }
.bt-ph-nav { display: flex; align-items: center; justify-content: space-between; padding: 6px; border-radius: var(--pill); box-shadow: 0 10px 24px rgb(90 50 15 / 0.12), inset 0 0 0 1px var(--cardLine); background: var(--card); color: var(--text); }
.bt-ph-nav svg { width: 18px; height: 18px; margin: 0 8px; }
.bt-ph-nav .on { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px 8px 6px; border-radius: var(--pill); background: var(--gradBtn); color: #fff; font-size: 12px; font-weight: 600; }
.bt-float { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: var(--pill); background: var(--card); font-size: 14px; font-weight: 600; box-shadow: 0 18px 40px rgb(90 50 15 / 0.14), inset 0 0 0 1px var(--cardLine); white-space: nowrap; animation: bt-bob 6s ease-in-out infinite; }
.bt-float svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--accentSoft); color: var(--accent); }
.bt-float.f1 { left: 0; top: 34%; }
.bt-float.f2 { right: 2%; bottom: 14%; animation-delay: -3s; }
@media (prefers-reduced-motion: reduce) { .bt-mock-logo, .bt-float { animation: none; } }

/* Платформы */
.bt-platforms { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 18px; padding: 10px 24px 0; }
.bt-platforms > span { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.bt-platforms nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.bt-platforms a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 12px; border-radius: var(--pill); background: var(--card); box-shadow: inset 0 0 0 1px var(--cardLine), 0 6px 16px rgb(110 60 20 / 0.05); font-size: 15px; font-weight: 600; color: var(--text); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.bt-platforms a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); transform: translateY(-2px); color: var(--text); }
.bt-platforms svg { width: 18px; height: 18px; color: var(--accent); }

/* Bento-сетка возможностей */
.bt-bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.bt-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadowCard), inset 0 0 0 1px var(--cardLine); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.bt-tile:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgb(110 60 20 / 0.12), inset 0 0 0 1px var(--accentSoft); }
.bt-tile .bt-3d { width: 96px; height: 96px; object-fit: contain; margin: -6px 0 6px -6px; filter: drop-shadow(0 14px 18px rgb(242 107 0 / 0.25)); transition: transform 0.4s ease; }
.bt-tile:hover .bt-3d { transform: rotate(-6deg) scale(1.06); }
.bt-tile h3 { font-size: 22px; line-height: 1.2; }
.bt-tile p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
.bt-tile .link { margin-top: auto; padding-top: 6px; }
.bt-tile-main { grid-row: span 2; background: var(--grad); color: #fff; justify-content: flex-end; min-height: 460px; box-shadow: 0 26px 52px -22px rgb(242 107 0 / 0.65); }
.bt-tile-main::after { content: ""; position: absolute; z-index: 0; width: 360px; height: 360px; right: -110px; bottom: -130px; background: url(assets/mark-glass.webp) center / contain no-repeat; opacity: 0.16; }
.bt-tile-main > * { position: relative; z-index: 1; }
.bt-tile-main .bt-3d { position: absolute; top: 24px; right: 20px; width: 210px; height: 210px; margin: 0; filter: drop-shadow(0 24px 30px rgb(120 40 0 / 0.4)); }
.bt-tile-main h3 { color: #fff; font-size: 34px; letter-spacing: -0.045em; }
.bt-tile-main p { color: rgb(255 255 255 / 0.9); max-width: 34ch; }
.bt-tile-main .btn { margin-top: 10px; background: #fff; color: var(--accentText); box-shadow: 0 12px 26px -12px rgb(0 0 0 / 0.35); }
.bt-tile-main .btn > svg.i-arrow:last-child { background: var(--accent); color: #fff; }

/* Шаги — горизонтально, с соединительной линией */
.bt-steps3 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; counter-reset: none; }
.bt-steps3::before { content: ""; position: absolute; left: 16%; right: 16%; top: 52px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px); opacity: 0.45; }
.bt-steps3 li { position: relative; display: grid; justify-items: center; text-align: center; gap: 10px; padding: 26px 24px 28px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadowCard), inset 0 0 0 1px var(--cardLine); }
.bt-num { position: absolute; top: 16px; left: 20px; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--accentSoft); -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent) 45%, transparent); }
.bt-step-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gradBtn); color: #fff; box-shadow: var(--shadowAccent), 0 0 0 8px #fff; }
.bt-step-ic svg { width: 24px; height: 24px; }
.bt-steps3 h3 { font-size: 20px; margin-top: 8px; }
.bt-steps3 p { font-size: 15px; line-height: 1.6; margin: 0; color: var(--muted); }
.bt-center-cta { justify-content: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 30px; }

/* Вопросы: карточка поддержки слева */
.bt-help-card { margin-top: 28px; display: grid; justify-items: start; gap: 8px; padding: 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadowCard), inset 0 0 0 1px var(--cardLine); max-width: 380px; }
.bt-help-card img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 10px 14px rgb(242 107 0 / 0.25)); }
.bt-help-card b { font-size: 19px; }
.bt-help-card p { font-size: 14px; margin: 0 0 8px; color: var(--muted); }

/* Финальный баннер: текст слева, 3D-батон справа */
.bt-final { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); align-items: center; text-align: left; padding: 64px 64px; gap: 24px; overflow: hidden; }
.bt-final > div { position: relative; z-index: 1; }
.bt-final .web-cta { justify-content: flex-start; }
.bt-final > p, .bt-final p { margin-left: 0; }
.bt-final img { width: 100%; max-width: 360px; height: auto; justify-self: center; transform: rotate(10deg); filter: drop-shadow(0 30px 40px rgb(120 40 0 / 0.45)); animation: bt-bob 7s ease-in-out infinite; }

@media (max-width: 1100px) {
  .bt-hero { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
  .bt-mock { min-height: 560px; }
  .bt-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-tile-main { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
}
@media (max-width: 760px) {
  .bt-steps3 { grid-template-columns: minmax(0, 1fr); }
  .bt-steps3::before { left: 50%; right: auto; top: 40px; bottom: 40px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 16px); }
  .bt-final { grid-template-columns: minmax(0, 1fr); padding: 44px 24px 0; text-align: center; }
  .bt-final .web-cta { justify-content: center; }
  .bt-final img { max-width: 220px; margin-bottom: -30px; }
}
@media (max-width: 640px) {
  .bt-hero { padding: 24px 24px 10px; gap: 10px; }
  .bt-hero h1 { font-size: 46px; }
  .bt-stats { gap: 8px; margin-top: 26px; }
  .bt-stats > div { padding: 12px; border-radius: 18px; }
  .bt-stats b { font-size: 24px; }
  .bt-stats span { font-size: 11px; }
  .bt-mock { min-height: 500px; margin: 0 -8px; }
  .bt-phone { width: 260px; border-radius: 38px; }
  .bt-mock-logo { width: 190px; height: 190px; right: -6px; top: 0; }
  .bt-float { font-size: 12px; padding: 9px 14px 9px 9px; }
  .bt-float svg { width: 26px; height: 26px; }
  .bt-float.f1 { left: -4px; top: 30%; }
  .bt-float.f2 { right: -4px; bottom: 10%; }
  .bt-bento { grid-template-columns: minmax(0, 1fr); }
  .bt-tile { padding: 24px; }
  .bt-tile-main { min-height: 400px; }
  .bt-tile-main .bt-3d { width: 160px; height: 160px; }
  .bt-tile-main h3 { font-size: 30px; }
  .bt-platforms a { font-size: 13px; padding: 8px 14px 8px 10px; }
}
@media (max-width: 380px) { .bt-hero h1 { font-size: 40px; } .bt-phone { width: 240px; } .bt-float.f1 { top: 26%; } }
.bt-hero h1 { font-size: clamp(44px, 5.2vw, 76px); line-height: 1.02; }
.bt-float.f1 { top: auto; bottom: 36%; left: 2%; }
.bt-mock-logo { right: -10px; top: -10px; width: 320px; height: 320px; }
@media (max-width: 640px) { .bt-hero h1 { font-size: 44px; } .bt-float.f1 { bottom: 40%; left: -4px; } .bt-mock-logo { width: 190px; height: 190px; right: -10px; top: -6px; } }
@media (max-width: 380px) { .bt-hero h1 { font-size: 38px; } }
@media (max-width: 640px) {
  .bt-float.f1 { top: 6px; bottom: auto; left: 0; }
  .bt-float.f2 { bottom: 0; right: 0; }
  .bt-mock { padding: 40px 0 34px; min-height: 0; }
  .bt-tile-main { min-height: 470px; }
  .bt-tile-main .bt-3d { width: 140px; height: 140px; top: 18px; right: 14px; }
}
/* Тарифы на телефоне — лента с прокруткой вбок, карточки ровной высоты */
@media (max-width: 700px) {
  .price-grid { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; padding: 6px 24px 22px; margin-inline: -24px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .price-grid::-webkit-scrollbar { display: none; }
  .price-grid > .price-card { flex: 0 0 82%; scroll-snap-align: center; }
  .price-card .web-price { font-size: 48px; }
}
@media (max-width: 480px) { .price-grid { padding-inline: 18px; margin-inline: -18px; } }
/* Оранжевая карточка: текст и плашка поверх 3D-картинки, картинка — в правом верхнем углу */
.hero .hero-copy { position: relative; z-index: 2; }
.android .hero .eyebrow, .telegram .hero .eyebrow { max-width: 58%; }
.bt-hero-pill { position: relative; z-index: 2; max-width: 100%; }
@media (max-width: 599px) {
  .android .hero-art, .telegram .hero-art, .app.mac .hero-art { top: -6px; right: -18px; width: 140px; height: 140px; }
  .android .hero-art img, .telegram .hero-art img, .app.mac .hero-art img { width: 140px; height: 140px; }
}
.bt-limit img { width: 150px; height: 150px; right: -6px; top: auto; bottom: 10px; transform: rotate(-6deg); }

/* 11.11 — по эталону: в оранжевых карточках не 3D-картинка, а крупный белый знак (щит + батон с молнией) */
:root { --markHero: 0.92; --markSoft: 0.3; --markMid: 0.6; --tileShadow: drop-shadow(0 12px 16px rgb(150 50 0 / 0.22)); }
.hero .hero-art, .bt-limit img { display: none !important; }
.hero::after, .bt-limit::after {
  opacity: var(--markHero); width: 300px; height: 300px; right: -56px; top: -46px; bottom: auto; transform: rotate(8deg);
}
.bt-limit::after { width: 260px; height: 260px; right: -40px; top: -30px; }
.surface.highlight::after, .benefit.mint::after, .price-card.featured::after, .account-banner::after, .web-final::after { opacity: var(--markSoft); }
@media (min-width: 851px) { .app.mac .hero::after { width: 420px; height: 420px; right: -40px; top: 50%; transform: translateY(-50%) rotate(8deg); } }
@media (max-width: 599px) { .hero::after { width: 230px; height: 230px; right: -58px; top: -36px; bottom: auto; transform: rotate(8deg); } }

/* Тарифы — 3D-плитки как на эталоне */
.bt-plan-ic { width: 72px; height: 72px; object-fit: contain; margin: -6px 0 14px -6px; filter: var(--tileShadow); }
.bt-plan-txt { display: grid; gap: 6px; }
.bt-plan-txt h3 { margin: 4px 0 0; }
.bt-plan-price { display: grid; }
.bt-plan .big-stat { margin: 22px 0 6px; }
.bt-plan .btn { margin-top: auto; }
.bt-plan-price + .btn { margin-top: 22px; }
.bt-row-ic { width: 52px; height: 52px; flex: none; object-fit: contain; filter: var(--tileShadow); }
@media (max-width: 850px) {
  .plan-grid { gap: 12px; }
  .plan-grid > .bt-plan { margin: 0; }
  .bt-plan { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; column-gap: 14px; padding: 16px 20px 16px 12px; }
  .bt-plan-ic { width: 84px; height: 84px; margin: -10px 0 -10px -8px; }
  .bt-plan-txt .eyebrow { display: none; }
  .bt-plan-txt h3 { font-size: 18px; margin: 0; }
  .bt-plan-txt .muted { font-size: 13px; }
  .bt-plan-price { text-align: end; justify-items: end; }
  .bt-plan .big-stat, .android .bt-plan .big-stat, .telegram .bt-plan .big-stat { font-size: 26px; margin: 0; white-space: nowrap; }
  .bt-plan-price .muted { font-size: 12px; }
  .bt-plan:not(.highlight) .btn { position: absolute; inset: 0; width: auto; height: auto; margin: 0; opacity: 0; border-radius: inherit; }
  .bt-plan.highlight .btn, .android .bt-plan.highlight .btn, .telegram .bt-plan.highlight .btn { grid-column: 1 / -1; margin-top: 16px; }
  .bt-plan.highlight .bt-plan-txt .eyebrow { display: block; }
}
/* Баннер кабинета — тоже знак вместо 3D, как в оранжевых карточках эталона */
.account-banner .web-art { display: none !important; }
.account-banner::after { opacity: var(--markHero); width: 400px; height: 400px; right: 3%; }
@media (max-width: 700px) { .account-banner::after { width: 220px; height: 220px; right: -70px; top: -34px; transform: rotate(8deg); opacity: var(--markMid); } }
