/* ===== VKFlow — публичный сайт (лендинг, тарифы, гайды). Кабинет этот файл не использует. ===== */
:root {
  --bg: #f3f2ee; --surface: #ffffff; --surface-2: #f7f6f2; --surface-3: #efede7;
  --line: #e7e5de; --line-2: #d9d6cd; --text: #16161a; --text-2: #4a4944; --muted: #8a877e;
  --ink: #16161a; --ink-text: #ffffff; --lime: #d4f871; --lime-ink: #1d2a00;
  --violet: #6d5dfc; --violet-soft: rgba(109, 93, 252, .1); --pink: #ff5c8a; --ok: #1a9a55; --bad: #e5484d;
  --glass: rgba(255, 255, 255, .74);
  --shadow-sm: 0 1px 2px rgba(22, 22, 26, .04), 0 2px 8px rgba(22, 22, 26, .04);
  --shadow: 0 2px 6px rgba(22, 22, 26, .04), 0 12px 32px rgba(22, 22, 26, .07);
  --shadow-lg: 0 30px 90px rgba(22, 22, 26, .16);
  --r: 28px; --r-md: 20px; --r-sm: 14px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #09090d; --surface: #15151d; --surface-2: #1d1d27; --surface-3: #282834;
  --line: #2b2b38; --line-2: #3f3f4d; --text: #f5f4ef; --text-2: #d0cec6; --muted: #9c9a92;
  --ink: #f5f4ef; --ink-text: #111116; --violet: #998dff; --violet-soft: rgba(153, 141, 255, .16); --ok: #45d686;
  --glass: rgba(15, 15, 21, .76);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 2px 8px rgba(0, 0, 0, .4), 0 16px 40px rgba(0, 0, 0, .45); --shadow-lg: 0 30px 90px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
mark { background: none; color: inherit; position: relative; white-space: nowrap; z-index: 0; }
mark::after { content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .06em; height: .42em; background: var(--lime); border-radius: .2em; z-index: -1; transform-origin: left; animation: markIn .9s .35s var(--ease) both; }
@keyframes markIn { from { transform: scaleX(0); } }
.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i.sm { width: 16px; height: 16px; }
.i.lg { width: 28px; height: 28px; }
.s-wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.s-muted { color: var(--muted); }
.s-center { text-align: center; margin-top: 28px; }
.s-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--ink-text); padding: 10px 16px; border-radius: 12px; }
.s-skip:focus { left: 8px; }
:focus-visible { outline: 2.5px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

/* фон: мягкие пятна + точечная сетка */
.s-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.s-bg i { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .55; }
.s-bg i:nth-child(1) { width: 620px; height: 620px; left: -200px; top: -240px; background: #d9d3ff; animation: d1 28s ease-in-out infinite alternate; }
.s-bg i:nth-child(2) { width: 520px; height: 520px; right: -160px; top: 25%; background: #eaffb8; animation: d2 34s ease-in-out infinite alternate; }
.s-bg i:nth-child(3) { width: 440px; height: 440px; left: 30%; bottom: -260px; background: #ffd6e2; animation: d3 40s ease-in-out infinite alternate; }
:root[data-theme="dark"] .s-bg i { opacity: .13; }
.s-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--text) 9%, transparent) 1px, transparent 0);
  background-size: 28px 28px; -webkit-mask: radial-gradient(ellipse 70% 50% at 50% 0%, #000 10%, transparent 75%); mask: radial-gradient(ellipse 70% 50% at 50% 0%, #000 10%, transparent 75%); }
@keyframes d1 { to { transform: translate(160px, 100px) scale(1.15); } }
@keyframes d2 { to { transform: translate(-180px, 140px) scale(.9); } }
@keyframes d3 { to { transform: translate(140px, -160px) scale(1.2); } }

/* кнопки */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 99px; border: 1.5px solid transparent;
  font: 700 14.5px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s cubic-bezier(.3, 1.3, .5, 1), box-shadow .2s, background .2s, border-color .2s; }
.s-btn:active { transform: scale(.96); }
.s-btn.big { height: 54px; padding: 0 26px; font-size: 16px; }
.s-btn.sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.s-btn.wide { width: 100%; }
.s-btn.lime { background: var(--lime); color: var(--lime-ink); background-image: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); background-size: 280% 100%; background-position: 160% 0; background-repeat: no-repeat; }
.s-btn.lime:hover { box-shadow: 0 10px 28px rgba(150, 200, 40, .35); animation: sweep .8s ease-out; }
@keyframes sweep { from { background-position: 160% 0; } to { background-position: -80% 0; } }
.s-btn.ink { background: var(--ink); color: var(--ink-text); }
.s-btn.ink:hover { box-shadow: var(--shadow); }
.s-btn.ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.s-btn.ghost:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.s-btn.ghost-dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.s-btn.ghost-dark:hover { background: rgba(255, 255, 255, .16); }
.s-icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; transition: background .2s; }
.s-icon-btn:hover { background: var(--surface-2); }
:root[data-theme="dark"] .t-moon, :root:not([data-theme="dark"]) .t-sun { display: none; }
.s-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--violet); text-decoration: none; }
.s-link .i { transition: transform .2s var(--ease); }
.s-link:hover .i, a:hover > .s-link .i { transform: translateX(4px); }
.s-kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--violet); }
.s-pill { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 99px; background: var(--violet-soft); color: var(--violet); font-weight: 700; font-size: 13.5px; }

/* шапка */
.s-head { position: sticky; top: 0; z-index: 50; padding: 12px 0; transition: background .25s, box-shadow .25s, backdrop-filter .25s; }
.s-head.stuck { background: var(--glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.s-head-in { display: flex; align-items: center; gap: 18px; }
.s-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -.03em; flex: none; }
.s-logo-mark { width: 38px; height: 38px; border-radius: 12px; background: #16161a; display: grid; place-items: center; position: relative; }
.s-logo-mark::after { content: ""; position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
.s-logo-mark svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.s-nav { display: flex; gap: 2px; margin: 0 auto; padding: 5px; border-radius: 99px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); }
.s-nav a { padding: 8px 15px; border-radius: 99px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--text-2); transition: background .2s, color .2s; }
.s-nav a:hover { background: var(--surface-3); color: var(--text); }
.s-nav a.on { background: var(--ink); color: var(--ink-text); }
.s-head-act { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.s-burger { display: none; flex-direction: column; gap: 5px; }
.s-burger span { width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s; }
.s-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.s-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.s-mnav { display: grid; gap: 2px; margin: 10px 20px 0; padding: 8px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); animation: pop .22s var(--ease); }
.s-mnav[hidden] { display: none; }
.s-mnav a { padding: 12px 14px; border-radius: 14px; font-weight: 700; text-decoration: none; }
.s-mnav a:hover { background: var(--surface-2); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@media (max-width: 980px) { .s-nav { display: none; } .s-burger { display: flex; } }
@media (max-width: 560px) { .s-hide-sm { display: none; } .s-head-act .s-btn.lime { height: 40px; padding: 0 14px; font-size: 13px; } .s-logo span:last-child { display: none; } }

/* хлебные крошки */
.s-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 18px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.s-crumbs a { text-decoration: none; }
.s-crumbs a:hover { color: var(--text); }
.s-crumbs span { color: var(--text-2); }

/* первый экран */
.s-hero { padding: 48px 0 40px; }
.s-hero-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.s-badge { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; font-size: 13px; box-shadow: var(--shadow-sm); }
.s-badge i { width: 8px; height: 8px; border-radius: 50%; background: #7cc400; box-shadow: 0 0 0 0 rgba(124, 196, 0, .5); animation: ping 1.8s infinite; }
@keyframes ping { 80%, 100% { box-shadow: 0 0 0 9px rgba(124, 196, 0, 0); } }
.s-hero h1 { font-size: clamp(38px, 5.4vw, 66px); margin: 20px 0 20px; }
.s-lead { font-size: clamp(16.5px, 1.5vw, 19px); color: var(--text-2); max-width: 600px; line-height: 1.6; }
.s-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.s-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 26px 0 0; color: var(--text-2); font-size: 14px; font-weight: 700; }
.s-trust li { display: inline-flex; align-items: center; gap: 7px; }
.s-trust .i { color: var(--ok); }
.s-hero-txt > * { animation: up .7s var(--ease) both; }
.s-hero-txt > *:nth-child(2) { animation-delay: .06s; } .s-hero-txt > *:nth-child(3) { animation-delay: .12s; }
.s-hero-txt > *:nth-child(4) { animation-delay: .18s; } .s-hero-txt > *:nth-child(5) { animation-delay: .24s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }

/* макет кабинета на первом экране */
.h-mock { position: relative; animation: up .9s .15s var(--ease) both; }
.h-browser { border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform .6s var(--ease); }
.h-mock:hover .h-browser { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.h-dots { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.h-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.h-dots i:first-child { background: #ff6b6b; } .h-dots i:nth-child(2) { background: #ffc94a; } .h-dots i:nth-child(3) { background: #7cd36a; }
.h-dots span { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--muted); }
.h-app { padding: 14px; display: grid; gap: 10px; background: var(--bg); }
.h-hero { display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: center; padding: 14px; border-radius: 18px; color: #fff;
  background: radial-gradient(120% 100% at 0% 0%, #3b2f8f 0%, #16161a 55%), #16161a; }
.h-ava { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #2b2b37, #555); border: 2px solid rgba(255, 255, 255, .25); }
.h-hero small { display: flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--lime); }
.h-hero small i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: ping 1.8s infinite; }
.h-hero b { font: 600 19px/1.2 var(--display); }
.h-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.h-stats div { padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.h-stats b { display: block; font-size: 15px; }
.h-stats small { font-size: 10px; opacity: .7; }
.h-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.h-tiles > div { padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.h-tiles > div.lime { background: var(--lime); color: var(--lime-ink); border-color: transparent; }
.h-tiles small { display: block; font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; opacity: .65; }
.h-tiles b { display: block; font: 600 22px/1.2 var(--display); margin-top: 4px; }
.h-tiles b em { font: 600 12px var(--font); opacity: .5; }
.h-tiles span { font-size: 10.5px; opacity: .7; }
.h-bar { display: block; height: 5px; border-radius: 4px; margin-top: 8px; background: linear-gradient(90deg, var(--violet), #9f8cff); }
.h-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.h-post { height: 92px; border-radius: 14px; position: relative; overflow: hidden; }
.h-post span { position: absolute; left: 6px; top: 6px; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 99px; background: var(--lime); color: var(--lime-ink); }
.h-post.p1 { background: linear-gradient(160deg, #f4d9c6, #c98d6d 60%, #6d4537); }
.h-post.p2 { background: linear-gradient(160deg, #d6e4ff, #8aa6d8 55%, #34456b); }
.h-post.p3 { background: linear-gradient(160deg, #e9f7d2, #9bc47a 55%, #3e5a2a); }
.h-float { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); font-size: 13px; font-weight: 600; white-space: nowrap; animation: floaty 6s ease-in-out infinite; }
.h-float .i { color: var(--violet); }
.h-float.f1 { left: -28px; top: 34%; } .h-float.f1 .i { color: var(--ok); }
.h-float.f2 { right: -18px; top: 8%; animation-delay: -2s; }
.h-float.f3 { right: 26px; bottom: -18px; animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

.s-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 64px; }
.s-facts > div { padding: 20px 22px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.s-facts b { display: block; font: 600 28px/1.1 var(--display); letter-spacing: -.03em; }
.s-facts span { display: block; margin-top: 6px; color: var(--text-2); font-size: 14px; font-weight: 600; line-height: 1.45; }

/* секции */
.s-sec { padding: 90px 0 10px; }
.s-sec-h { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.s-sec-h.left { margin-left: 0; text-align: left; }
.s-sec-h h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 12px 0 14px; }
.s-sec-h p { color: var(--text-2); font-size: 17px; }
.s-sec-h p a { color: var(--violet); font-weight: 700; }

/* витрина «наглядно» */
.s-show { border-radius: 34px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 14px; }
.s-show-tabs { position: relative; display: flex; gap: 4px; padding: 5px; border-radius: 99px; background: var(--surface-2); overflow-x: auto; scrollbar-width: none; isolation: isolate; }
.s-show-tabs::-webkit-scrollbar { display: none; }
.s-show-tabs button { position: relative; z-index: 1; flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px;
  border: 0; border-radius: 99px; background: transparent; font: 700 14.5px var(--font); color: var(--text-2); cursor: pointer; transition: color .25s; }
.s-show-tabs button:hover { color: var(--text); }
.s-show-tabs button.on { color: var(--ink-text); }
.s-show-ind { position: absolute; z-index: 0; top: 5px; left: 0; height: 46px; border-radius: 99px; background: var(--ink); box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  transition: transform .45s cubic-bezier(.3, 1.2, .35, 1), width .45s cubic-bezier(.3, 1.2, .35, 1); }
.s-show-tabs.timer .s-show-ind::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--lime); transform-origin: left; animation: tbar 7s linear both; }
@keyframes tbar { from { transform: scaleX(0); } }
.s-show-body { position: relative; }
.s-show-p { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding: 38px 34px 30px; }
.s-show-p.on { animation: fadein .5s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } }
.s-show-txt h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 14px 0 14px; }
.s-show-txt p { color: var(--text-2); font-size: 16.5px; }
.s-show-txt ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.s-show-txt li { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.s-show-txt li .i { color: var(--ok); width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 14%, transparent); }
.s-show-mock { min-width: 0; }

/* мини-экраны */
.m-card { border-radius: 24px; background: var(--bg); border: 1px solid var(--line); padding: 18px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.m-h { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.m-h .i { color: var(--violet); }
.m-h em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); font-weight: 700; }
.m-h.sub { margin: 16px 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.m-src { display: grid; gap: 6px; }
.m-row { display: grid; grid-template-columns: 30px 1fr auto auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  animation: slidein .5s var(--ease) both; }
.m-row:nth-child(2) { animation-delay: .08s; } .m-row:nth-child(3) { animation-delay: .16s; } .m-row:nth-child(4) { animation-delay: .24s; }
@keyframes slidein { from { opacity: 0; transform: translateX(14px); } }
.m-row.off { opacity: .55; }
.m-row .av { width: 30px; height: 30px; border-radius: 50%; }
.av.a { background: linear-gradient(135deg, #f8c8a8, #b06d4a); } .av.b { background: linear-gradient(135deg, #cbd9ff, #5d74b8); }
.av.c { background: linear-gradient(135deg, #f7d0e4, #b25a8a); } .av.d { background: linear-gradient(135deg, #ddd, #888); }
.m-row b { font-size: 13.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.m-score { font-weight: 800; font-size: 12.5px; padding: 3px 9px; border-radius: 99px; background: var(--lime); color: var(--lime-ink); }
.m-row.off .m-score { background: var(--surface-3); color: var(--muted); }
.m-row small { font-size: 11.5px; color: var(--muted); font-weight: 700; min-width: 64px; text-align: right; }
.m-bars { display: grid; gap: 8px; }
.m-bars div { display: grid; grid-template-columns: 84px 1fr 30px; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.m-bars i { height: 8px; border-radius: 6px; background: var(--surface-3); position: relative; overflow: hidden; }
.m-bars i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 6px; background: var(--violet); animation: growx 1s .2s var(--ease) both; transform-origin: left; }
.m-bars b { text-align: right; }
@keyframes growx { from { transform: scaleX(0); } }
.m-bt { display: flex; align-items: flex-end; gap: 4px; height: 110px; }
.m-bt i { flex: 1; height: var(--h); border-radius: 5px; background: var(--line-2); transform-origin: bottom; animation: growy .8s var(--ease) both; }
.m-bt i.best { background: var(--lime); box-shadow: inset 0 0 0 1.5px #7da300; }
@keyframes growy { from { transform: scaleY(0); } }
.m-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.m-chips span { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }
.m-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.m-week i { height: 9px; border-radius: 3px; background: var(--surface-3); }
.m-week i.on { background: var(--ink); animation: blink .4s var(--d) var(--ease) both; }
:root[data-theme="dark"] .m-week i.on { background: var(--lime); }
@keyframes blink { from { transform: scale(.4); opacity: 0; } }
.m-ai { display: grid; gap: 10px; }
.m-ai-b { padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.m-ai-b small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.m-ai-b p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; }
.m-ai-b:first-child p { color: var(--muted); }
.m-ai-b.new { border-color: color-mix(in srgb, var(--violet) 45%, var(--line)); box-shadow: 0 10px 30px var(--violet-soft); }
.m-ai-arrow { justify-self: center; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.m-type { background: linear-gradient(90deg, var(--text) 50%, transparent 50%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: typein 2.6s .3s steps(60) both; }
@keyframes typein { from { background-position: 100% 0; } to { background-position: 0 0; } }
.m-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-kpi div { padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.m-kpi b { display: block; font: 600 18px var(--display); }
.m-kpi div:first-child b { color: var(--ok); } .m-kpi div:nth-child(2) b { color: var(--bad); }
.m-kpi small { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.m-growth { display: flex; gap: 6px; height: 120px; margin-top: 12px; align-items: center; }
.m-growth div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.m-growth .up { height: calc(var(--h) / 2); background: var(--ok); border-radius: 4px 4px 1px 1px; align-self: stretch; margin-top: auto; transform-origin: bottom; animation: growy .8s var(--ease) both; }
.m-growth .dn { height: calc(var(--h) / 2); background: color-mix(in srgb, var(--bad) 70%, transparent); border-radius: 1px 1px 4px 4px; margin-bottom: auto; transform-origin: top; animation: growy .8s .1s var(--ease) both; }
.m-tip { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--violet); font-size: 13.5px; }
.m-tip .i { color: var(--violet); margin-top: 2px; }
.m-ad { font-style: normal; background: var(--surface-3); color: var(--text-2) !important; padding: 3px 9px; border-radius: 99px; }
.m-adpost { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.m-adpost .ph { width: 64px; height: 64px; border-radius: 12px; flex: none; background: linear-gradient(135deg, #ffe0a3, #ff8a5c); }
.m-adpost b { display: block; font-size: 15px; }
.m-adpost small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.m-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; position: relative; }
.m-flow::before { content: ""; position: absolute; left: 12%; right: 12%; top: 23px; height: 2px; background: linear-gradient(90deg, var(--lime), var(--violet)); }
.m-flow div { position: relative; text-align: center; animation: up .6s var(--d) var(--ease) both; }
.m-flow span { width: 46px; height: 46px; margin: 0 auto 8px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); color: var(--violet); }
.m-flow div:first-child span { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.m-flow b { display: block; font-size: 13px; }
.m-flow small { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.m-net { position: relative; height: 200px; }
.m-net svg { width: 100%; height: 100%; }
.m-net-l { stroke: var(--line-2); stroke-width: 2; fill: none; stroke-dasharray: 6 6; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.m-net-p { fill: var(--violet); }
.m-node { position: absolute; transform: translate(-50%, -50%); padding: 7px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.m-node.n1 { left: 50%; top: 17%; background: var(--ink); color: var(--ink-text); } .m-node.n2 { left: 20%; top: 76%; } .m-node.n3 { left: 80%; top: 76%; } .m-node.n4 { left: 50%; top: 56%; }

/* шаги */
.s-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.s-step { position: relative; padding: 26px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.s-step-n { position: absolute; right: 20px; top: 16px; font: 600 54px/1 var(--display); color: var(--surface-3); }
.s-step-ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); margin-bottom: 18px; position: relative; }
.s-step h3 { font-size: 18px; margin-bottom: 8px; }
.s-step p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.s-step:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 48px; width: 14px; height: 2px; background: var(--line-2); }

/* возможности */
.s-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.s-feat { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; overflow: hidden; }
.s-feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.s-feat-ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); transition: transform .35s var(--ease); }
.s-feat:hover .s-feat-ic { transform: rotate(-8deg) scale(1.08); }
.s-feat-ic.big { width: 64px; height: 64px; border-radius: 20px; margin-bottom: 18px; }
.s-feat-ic.big .i { width: 28px; height: 28px; }
.s-feat h3 { font-size: 17px; }
.s-feat p { color: var(--text-2); font-size: 14px; line-height: 1.55; flex: 1; }
.s-feat-plan { font-size: 12px; font-weight: 800; color: var(--muted); }
.s-minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.s-mini { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--line); }
.s-mini > .i { color: var(--violet); margin-top: 2px; }
.s-mini b { display: block; font-size: 14.5px; }
.s-mini span { display: block; color: var(--text-2); font-size: 13.5px; line-height: 1.5; margin-top: 2px; }

/* для кого */
.s-auds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.s-aud { padding: 26px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.s-aud:nth-child(3) { background: var(--ink); color: var(--ink-text); border-color: transparent; }
.s-aud:nth-child(3) p { color: color-mix(in srgb, var(--ink-text) 72%, transparent); }
.s-aud-plan { display: inline-block; font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 99px; background: var(--lime); color: var(--lime-ink); }
.s-aud h3 { font-size: 18px; margin: 16px 0 10px; }
.s-aud p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }

/* тарифы */
.s-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.s-plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: var(--r); background: var(--surface); border: 1.5px solid var(--line); }
.s-plan.hot { border-color: var(--violet); box-shadow: 0 18px 50px var(--violet-soft); }
.s-plan-hot { position: absolute; top: -13px; left: 22px; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 99px; background: var(--violet); color: #fff; }
.s-plan h3 { font-size: 22px; }
.s-plan-d { color: var(--text-2); font-size: 14px; margin-top: 6px; min-height: 44px; }
.s-price { font: 600 36px/1 var(--display); letter-spacing: -.03em; margin: 18px 0 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.s-price small { font: 700 14px var(--font); color: var(--muted); letter-spacing: 0; }
.s-plan-lim { list-style: none; padding: 12px 14px; margin: 0; border-radius: 14px; background: var(--surface-2); font-size: 13.5px; font-weight: 700; color: var(--text-2); display: grid; gap: 4px; }
.s-plan-plus { margin: 16px 0 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.s-plan-f { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; flex: 1; }
.s-plan-f li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 600; line-height: 1.45; }
.s-plan-f .i { color: var(--ok); margin-top: 2px; }
.s-table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.s-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14.5px; }
.s-table th, .s-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.s-table thead th { position: sticky; top: 0; background: var(--surface); font: 600 15px var(--display); }
.s-table thead th small { display: block; font: 700 12.5px var(--font); color: var(--muted); margin-top: 4px; }
.s-table th[scope="row"], .s-table thead th:first-child { text-align: left; font-weight: 600; font-family: var(--font); }
.s-table tr.grp th { text-align: left; background: var(--surface-2); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; }
.s-table td.y .i { margin: 0 auto; color: var(--ok); }
.s-table td.n { color: var(--line-2); }
.s-table tbody tr:hover td, .s-table tbody tr:hover th[scope="row"] { background: var(--surface-2); }

/* безопасность */
.s-safe-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; padding: 44px; border-radius: 34px; background: var(--ink); color: var(--ink-text); }
.s-safe-in h2 { font-size: clamp(26px, 3vw, 38px); margin-top: 12px; }
.s-safe-in .s-kicker { color: var(--lime); }
.s-safe-in ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.s-safe-in li { display: flex; gap: 12px; padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
:root[data-theme="dark"] .s-safe-in li { background: rgba(0, 0, 0, .05); border-color: rgba(0, 0, 0, .08); }
.s-safe-in li > .i { color: var(--lime); }
:root[data-theme="dark"] .s-safe-in li > .i { color: #5b7d00; }
.s-safe-in b { display: block; font-size: 15px; }
.s-safe-in span { display: block; font-size: 13.5px; opacity: .72; margin-top: 4px; line-height: 1.5; }

/* вопросы */
.s-faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.s-faq-wrap.single { grid-template-columns: 1fr; max-width: 860px; }
.s-faq { display: grid; gap: 10px; }
.s-faq-i { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .25s, border-color .25s; }
.s-faq-i[open] { box-shadow: var(--shadow); border-color: var(--line-2); }
.s-faq-i summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 800; font-size: 16px; }
.s-faq-i summary::-webkit-details-marker { display: none; }
.s-faq-i summary .i { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--surface-2); transition: transform .3s var(--ease), background .3s; }
.s-faq-i[open] summary .i { transform: rotate(45deg); background: var(--lime); color: var(--lime-ink); }
.s-faq-a { padding: 0 22px 20px; color: var(--text-2); line-height: 1.65; animation: fadein .35s var(--ease); }

/* призыв */
.s-cta-band { padding: 90px 0 30px; }
.s-cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 48px 52px; border-radius: 36px; color: #fff; overflow: hidden;
  background: radial-gradient(90% 140% at 100% 0%, rgba(212, 248, 113, .28), transparent 55%), radial-gradient(80% 120% at 0% 100%, rgba(109, 93, 252, .55), transparent 60%), #16161a; }
.s-cta-in h2 { font-size: clamp(26px, 3.2vw, 40px); max-width: 560px; }
.s-cta-in p { margin-top: 10px; opacity: .75; font-size: 16px; }
.s-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* внутренние страницы */
.s-page-h { padding: 36px 0 30px; max-width: 900px; }
.s-page-h.narrow { max-width: 760px; padding-inline: 0; }
.s-page-h h1 { font-size: clamp(32px, 4.6vw, 54px); margin: 14px 0 16px; }
.s-meta { color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 14px; }
.s-art-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.s-art { padding: 34px 38px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.s-art h2 { font-size: 24px; margin: 30px 0 14px; }
.s-art h2:first-child { margin-top: 0; }
.s-art p { color: var(--text-2); font-size: 16.5px; line-height: 1.7; }
.s-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.s-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; }
.s-checks .i { color: var(--ok); margin-top: 3px; flex: none; }
.s-num { padding-left: 22px; margin: 0; display: grid; gap: 10px; color: var(--text-2); font-size: 16px; }
.s-num li::marker { font-weight: 800; color: var(--violet); }
.note { margin-top: 18px !important; padding: 16px 18px; border-radius: 16px; background: var(--violet-soft); border-left: 4px solid var(--violet); color: var(--text) !important; }
.s-side { position: sticky; top: 96px; display: grid; gap: 14px; }
.s-side-card { padding: 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.s-side-card h3 { font-size: 15px; margin-bottom: 12px; }
.s-side-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.s-side-card a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 14px; line-height: 1.4; }
.s-side-card a:hover { background: var(--surface-2); }
.s-side-card a .i { color: var(--violet); flex: none; }
.s-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.s-guide { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.s-guide:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.s-guide h2, .s-guide h3 { font-size: 20px; }
.s-guide p { color: var(--text-2); font-size: 14.5px; flex: 1; }
.s-guide-art { max-width: 760px; }
.s-prose { font-size: 17.5px; line-height: 1.75; color: var(--text-2); }
.s-prose h2 { font-size: 28px; color: var(--text); margin: 46px 0 16px; }
.s-prose h3 { font-size: 20px; color: var(--text); margin: 32px 0 12px; }
.s-prose p { margin: 0 0 18px; }
.s-prose ul, .s-prose ol { margin: 0 0 20px; padding-left: 24px; display: grid; gap: 8px; }
.s-prose li::marker { color: var(--violet); font-weight: 800; }
.s-prose a { color: var(--violet); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.s-prose strong, .s-prose b { color: var(--text); }
.s-prose table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-size: 15px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.s-prose th, .s-prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.s-prose th { background: var(--surface-2); color: var(--text); font-weight: 800; }
.s-guide-art .s-faq-wrap { margin-top: 50px; }
.s-guide-art .s-faq-wrap h2 { font-size: 26px; }
.s-more { margin-top: 56px; }
.s-more h2 { font-size: 24px; margin-bottom: 16px; }
.s-more .s-guides { grid-template-columns: 1fr 1fr; }
.s-support { display: flex; align-items: center; gap: 22px; padding: 30px 34px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.s-support > .i { color: var(--violet); flex: none; }
.s-support h2 { font-size: 24px; margin-bottom: 6px; }
.s-support p { color: var(--text-2); }
.s-support .s-btn { margin-left: auto; }
.s-map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.s-map h2 { font-size: 18px; margin-bottom: 12px; }
.s-map ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.s-map a { color: var(--text-2); font-weight: 600; text-decoration: none; }
.s-map a:hover { color: var(--violet); }

/* подвал */
.s-foot { margin-top: 90px; padding: 60px 0 30px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 55%, transparent); backdrop-filter: blur(10px); }
.s-foot-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
.s-foot-brand p { margin: 16px 0 18px; color: var(--text-2); font-size: 14.5px; max-width: 320px; line-height: 1.6; }
.s-foot-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.s-foot-col h3 { font: 800 12.5px var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.s-foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.s-foot-col a { color: var(--text-2); text-decoration: none; font-size: 14.5px; font-weight: 600; line-height: 1.4; transition: color .2s; }
.s-foot-col a:hover { color: var(--text); }
.s-foot-bot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); font-weight: 600; }
.s-totop { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 800; }

/* появление при прокрутке */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .rv.in { opacity: 1; transform: none; }

/* адаптив */
@media (max-width: 1080px) {
  .s-hero-in { grid-template-columns: 1fr; gap: 50px; }
  .h-mock { max-width: 620px; margin: 0 auto; width: 100%; }
  .s-feats, .s-auds, .s-plans, .s-minis { grid-template-columns: repeat(2, 1fr); }
  .s-steps { grid-template-columns: repeat(2, 1fr); }
  .s-step::after { display: none; }
  .s-foot-top { grid-template-columns: repeat(3, 1fr); }
  .s-foot-brand { grid-column: 1 / -1; }
  .s-art-grid { grid-template-columns: 1fr; }
  .s-side { position: static; }
  .s-map { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .s-show-p { grid-template-columns: 1fr; padding: 26px 12px 14px; gap: 26px; }
  .s-faq-wrap { grid-template-columns: 1fr; gap: 10px; }
  .s-safe-in { grid-template-columns: 1fr; padding: 30px 24px; }
  .s-facts { grid-template-columns: repeat(2, 1fr); }
  .s-guides, .s-more .s-guides { grid-template-columns: 1fr; }
  .s-cta-in { padding: 36px 28px; }
}
@media (max-width: 600px) {
  .s-wrap { width: calc(100% - 32px); }
  .s-hero { padding-top: 22px; }
  .s-sec { padding-top: 70px; }
  .s-feats, .s-auds, .s-plans, .s-minis, .s-steps, .s-safe-in ul { grid-template-columns: 1fr; }
  .s-foot-top { grid-template-columns: 1fr 1fr; }
  .h-float { display: none; }
  .h-browser { transform: none; }
  .s-art { padding: 24px 20px; }
  .s-support { flex-direction: column; align-items: flex-start; }
  .s-support .s-btn { margin-left: 0; }
  .s-show { padding: 8px; border-radius: 26px; }
  .s-show-tabs button { height: 42px; padding: 0 14px; font-size: 13.5px; }
  .s-show-ind { height: 42px; }
  .s-hero-cta .s-btn { flex: 1 1 100%; }
  .m-row small { display: none; }
  .m-row { grid-template-columns: 30px 1fr auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
.s-404 { padding: 60px 0 20px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.s-404-n { font: 700 clamp(90px, 16vw, 180px)/1 var(--display); letter-spacing: -.05em; background: linear-gradient(120deg, var(--violet), var(--pink), #ffb547); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s-404 h1 { font-size: clamp(28px, 4vw, 44px); }
.s-404 .s-hero-cta { justify-content: center; }
.s-hero h1 { font-size: clamp(36px, 4.8vw, 60px); }
.h-float.f1 { top: auto; bottom: 30%; left: -34px; }
.s-show-p[hidden] { display: none; }

.m-week { gap: 4px; }
.m-week i { height: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

.s-show-body { display: flex; }
.s-show-p { flex: 1; align-content: center; }
.s-feat p { min-height: 0; }
.s-burger { align-items: center; justify-content: center; }
:root[data-theme="dark"] mark { color: var(--lime-ink); padding: 0 .08em; }
:root[data-theme="dark"] mark::after { height: 1.04em; bottom: .02em; }
:root[data-theme="dark"] .s-logo-mark { background: #23232d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }

/* сравнение */
.s-cmp th[scope="row"] { width: 42%; }
.s-cmp-old { color: var(--muted); font-size: 14px; text-align: left !important; }
.s-cmp thead th:nth-child(2) { text-align: left; }
.s-cmp thead th:last-child { color: var(--violet); }
.s-sec-h p a { white-space: nowrap; }

/* знак VKFlow: «V» со стрелкой роста на фиолетовом переходе */
.logo-mark, .s-logo-mark { background: linear-gradient(135deg, #4b3fd1 0%, #1a1730 62%, #121216 100%) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 4px 14px rgba(75, 63, 209, .28); }
.logo-mark::after, .s-logo-mark::after { display: none !important; }
.logo-mark svg, .s-logo-mark svg { width: 100% !important; height: 100% !important; }

/* знак VKFlow — шевроны на чёрном */
.logo-mark, .s-logo-mark { background: #16161a !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06) !important; }
:root[data-theme="dark"] .logo-mark, :root[data-theme="dark"] .s-logo-mark { background: #1c1c24 !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12) !important; }

/* ===== Тёмная тема: выделенные блоки остаются тёмными ===== */
:root[data-theme="dark"] .s-aud:nth-child(3) { background: linear-gradient(160deg, #2b2470, #17152e); border-color: rgba(153, 141, 255, .45); color: #fff; }
:root[data-theme="dark"] .s-aud:nth-child(3) p { color: rgba(255, 255, 255, .74); }
:root[data-theme="dark"] .s-safe-in { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
:root[data-theme="dark"] .s-safe-in li { background: var(--surface-2); border-color: var(--line); }
:root[data-theme="dark"] .s-safe-in li > .i { color: var(--lime); }
:root[data-theme="dark"] .s-safe-in span { color: var(--text-2); opacity: 1; }
:root[data-theme="dark"] .s-nav a.on { background: var(--lime); color: var(--lime-ink); }
/* смена темы — мгновенная: на время переключения анимации цвета отключены */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: none !important; }
