/* Варианты главной donskikh.pro — общий каркас. Цвета и шрифты задаёт html[data-v="N"] */

:root {
  --bg: #0a0a0c; --bg2: #111114; --ink: #f4f4f5; --muted: #a1a1aa; --line: rgba(255,255,255,.1);
  --card: #141417; --card-ink: var(--ink); --accent: #19f0ff; --accent2: #ff1fd2; --on-accent: #000;
  --hfont: 'Unbounded', sans-serif; --bfont: 'Manrope', sans-serif; --hw: 700; --hs: normal; --ht: none; --hls: -.02em;
  --r: 18px; --btn-r: 999px; --max: 1200px; --gutter: clamp(16px, 5vw, 56px); --ease: cubic-bezier(.2,.7,.2,1);
  --hero-bg: transparent;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.6 var(--bfont); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3, .h { font-family: var(--hfont); font-weight: var(--hw); font-style: var(--hs); text-transform: var(--ht); letter-spacing: var(--hls); line-height: 1.05; margin: 0; }
p { margin: 0 0 14px; }

/* переключатель вариантов */
.vbar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px;
  background: rgba(20,20,24,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); font: 600 13px/1 'Manrope', sans-serif; color: #fff; max-width: calc(100vw - 20px); overflow-x: auto; }
.vbar span { padding: 0 8px 0 10px; color: #a1a1aa; white-space: nowrap; }
.vbar a { display: grid; place-items: center; min-width: 36px; height: 36px; border-radius: 999px; text-decoration: none; color: #e4e4e7; flex: none; }
.vbar a:hover { background: rgba(255,255,255,.12); }
.vbar a[aria-current] { background: #fff; color: #000; }

/* шапка */
.top { position: sticky; top: 0; z-index: 50; transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font: 700 14px/1 var(--bfont); letter-spacing: .14em; text-transform: uppercase; }
.nav { display: flex; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; text-decoration: none; font: 600 14px/1 var(--bfont); color: var(--muted); border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }

/* логотип с глитч-полосами (на наведение — сильнее) */
.logo-glitch { position: relative; display: block; width: 100%; aspect-ratio: 4 / 1; }
.logo-glitch img { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-glitch .sl { opacity: 0; }
.logo-glitch .s1 { clip-path: inset(34% 0 52% 0); animation: sl1 4.2s infinite steps(1); }
.logo-glitch .s2 { clip-path: inset(58% 0 30% 0); animation: sl2 4.2s infinite steps(1); }
.logo-glitch .s3 { clip-path: inset(12% 0 76% 0); animation: sl3 4.2s infinite steps(1); }
@keyframes sl1 { 0%,84%,100% { opacity: 0; transform: none; } 85% { opacity: 1; transform: translateX(-4%); } 88% { opacity: 1; transform: translateX(3%); } 90% { opacity: 0; } }
@keyframes sl2 { 0%,86%,100% { opacity: 0; transform: none; } 87% { opacity: 1; transform: translateX(5%); } 91% { opacity: 1; transform: translateX(-2%); } 93% { opacity: 0; } }
@keyframes sl3 { 0%,88%,100% { opacity: 0; transform: none; } 89% { opacity: 1; transform: translateX(-3%); } 92% { opacity: 0; } }
.logo-glitch:hover .sl, .logo-glitch:active .sl { animation-duration: .8s; }

/* первый экран */
.hero { position: relative; min-height: min(calc(100svh - 68px), 960px); display: flex; align-items: center; padding: 48px 0 72px; background: var(--hero-bg); }
.hero .wrap { display: grid; gap: 32px; }
.hero .tag { font: 600 13px/1.4 var(--bfont); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0; }
.hero h1 { font-size: clamp(36px, 5.4vw, 72px); }
.hero .lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; color: var(--muted); max-width: 620px; margin: 0; }
.hero .lead b { color: var(--ink); font-weight: 700; }
/* раскладка «по центру» */
.hero.center .wrap { justify-items: center; text-align: center; }
.hero.center .logo-glitch { width: min(860px, 100%); }
.hero.center .lead { margin: 0 auto; }
.hero.center .btns { justify-content: center; }
/* раскладка «две колонки»: текст слева, логотип в панели справа */
.hero.split .wrap { grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero.split .panel { border-radius: calc(var(--r) * 1.4); padding: clamp(28px, 4vw, 56px); background: var(--panel, #000); border: 1px solid var(--line); aspect-ratio: 5 / 4; display: grid; place-items: center; }
.hero.split .panel .logo-glitch { width: 100%; transform: scale(1.3); }
.hero.split .txt { display: grid; gap: 26px; }
/* раскладка «логотип во всю ширину, текст в две колонки» */
.hero.wide .wrap { gap: 40px; }
.hero.wide .logo-glitch { width: 100%; }
.hero.wide .row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; border-top: 1px solid var(--line); padding-top: 32px; }
.hero.wide .row .side { display: grid; gap: 24px; }

/* появление при загрузке */
[data-enter] > * { opacity: 0; transform: translateY(18px); animation: enter .8s var(--ease) forwards; }
[data-enter] > *:nth-child(2) { animation-delay: .1s; } [data-enter] > *:nth-child(3) { animation-delay: .2s; }
[data-enter] > *:nth-child(4) { animation-delay: .3s; } [data-enter] > *:nth-child(5) { animation-delay: .4s; }
@keyframes enter { to { opacity: 1; transform: none; } }

/* кнопки */
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--btn-r); text-decoration: none;
  font: 700 15px/1 var(--bfont); color: var(--ink); border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); background: transparent;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); border-color: var(--ink); }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 85%, #fff); }
.btn svg { width: 19px; height: 19px; flex: none; }

/* секции */
main > section { padding: clamp(72px, 11vh, 128px) 0; }
.sec-alt { background: var(--bg2); }
.kicker { font: 700 13px/1 var(--bfont); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
h2 { font-size: clamp(32px, 4.6vw, 60px); margin-bottom: 40px; }
h2 .soft { color: var(--muted); }
h3 { font-size: 22px; line-height: 1.2; margin-bottom: 12px; }
.muted { color: var(--muted); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; padding: 30px; border-radius: var(--r); background: var(--card); color: var(--card-ink); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.card .num { font: 700 13px/1 var(--bfont); letter-spacing: .2em; color: var(--accent); margin-bottom: 40px; display: block; }
.card p { color: var(--muted); margin: 0; }

/* перебивка */
.inter { padding: clamp(80px, 14vh, 150px) 0 !important; }
.statement { font-family: var(--hfont); font-weight: var(--hw); text-transform: var(--ht); font-size: clamp(44px, 9vw, 132px); line-height: .98; letter-spacing: var(--hls); margin: 0; }
.statement .o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.statement .a { color: var(--accent); }
.statement-sub { margin-top: 28px; color: var(--muted); max-width: 560px; font-size: 18px; }
.cover-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cover-row img { width: 100%; height: auto; border-radius: var(--r); aspect-ratio: 1; object-fit: cover; }
.wave { width: 100%; height: auto; display: block; }
.lines { display: grid; gap: 6px; overflow: hidden; }
.lines div { font-family: var(--hfont); font-weight: var(--hw); text-transform: var(--ht); font-size: clamp(34px, 6.2vw, 92px); line-height: 1.02; letter-spacing: var(--hls); white-space: nowrap; }
.lines div:nth-child(2) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); padding-left: 8vw; }
.lines div:nth-child(3) { color: var(--accent); padding-left: 16vw; }

/* факты 2×2 */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.facts.row4 { grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 300px; padding: 32px; border-radius: var(--r); background: var(--card); color: var(--card-ink); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.fact:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.fact .pic { height: 80px; display: flex; align-items: center; color: var(--card-ink); }
.fact .pic svg { height: 100%; width: auto; overflow: visible; transition: transform .5s var(--ease); }
.fact:hover .pic svg { transform: rotate(-6deg) scale(1.06); }
.fact .big { font-family: var(--hfont); font-weight: var(--hw); text-transform: var(--ht); letter-spacing: var(--hls); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.12; margin-bottom: 10px; }
.fact p { margin: 0; color: var(--muted); }
.facts.row4 .fact .big { font-size: clamp(20px, 1.7vw, 24px); }

/* проекты */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.project { display: flex; flex-direction: column; padding: 34px; border-radius: calc(var(--r) * 1.3); background: var(--card); color: var(--card-ink); border: 1px solid var(--line); text-decoration: none; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s; }
.project:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.project .kind { font: 700 12px/1 var(--bfont); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.project .name { font-family: var(--hfont); font-weight: var(--hw); text-transform: var(--ht); letter-spacing: var(--hls); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; margin: 16px 0 12px; }
.project p { color: var(--muted); margin: 0 0 22px; max-width: 460px; }
.project .go { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--bfont); margin-bottom: 28px; }
.project .go i { font-style: normal; display: inline-block; transition: transform .3s var(--ease); }
.project:hover .go i { transform: translateX(4px); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font: 700 12px/1 var(--bfont); letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); color: var(--ink); }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chip { padding: 10px 16px; border-radius: 999px; font: 600 14px/1 var(--bfont); border: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.shot { margin-top: auto; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #1b1b1b; }
.shot .bar { display: flex; gap: 6px; padding: 10px 12px; background: #262626; }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .shot .bar i:nth-child(2) { background: #febc2e; } .shot .bar i:nth-child(3) { background: #28c840; }
.shot img { width: 100%; height: auto; transition: transform .5s var(--ease); }
.project:hover .shot img { transform: scale(1.02); }

/* финальный блок */
.cta { text-align: center; }
.cta h2 { font-size: clamp(36px, 6vw, 84px); margin-bottom: 20px; }
.cta .sub { color: var(--muted); font-size: clamp(18px, 2vw, 22px); margin: 0 auto 36px; max-width: 640px; }
.cta .btns { justify-content: center; }

footer { padding: 44px 0 100px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer img { width: 140px; height: auto; }
footer small { color: var(--muted); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-enter] > * { opacity: 1; transform: none; }
}
@media (max-width: 960px) {
  .grid3, .facts.row4 { grid-template-columns: 1fr 1fr; }
  .grid3 .card:last-child { grid-column: 1 / -1; }
  .hero.split .wrap, .hero.wide .row, .cover-row { grid-template-columns: 1fr; }
  .hero.split .panel { aspect-ratio: auto; padding: 40px 28px; }
  .hero.split .panel { order: -1; }
}
@media (max-width: 720px) {
  .grid3, .facts, .facts.row4, .projects { grid-template-columns: 1fr; }
  .fact { min-height: 0; }
  .lines div:nth-child(2) { padding-left: 0; } .lines div:nth-child(3) { padding-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top .wrap { min-height: 60px; }
  .brand { font-size: 12px; letter-spacing: .1em; }
  .nav a { padding: 0 10px; font-size: 13px; }
  .hero { min-height: min(calc(100svh - 60px), 900px); padding: 32px 0 80px; }
  .btn { width: 100%; }
  .card, .fact, .project { padding: 24px; }
  .statement .o, .lines div:nth-child(2) { -webkit-text-stroke-width: 1px; }
}
@media (max-width: 359px) { .brand { display: none; } }

/* ---- внутренние страницы (/crm, /player) ---- */
.hero.page { min-height: 0; padding: clamp(56px, 10vh, 110px) 0 clamp(48px, 8vh, 80px); }
.hero.page .wrap { gap: 26px; }
.hero.page h1 { font-size: clamp(40px, 7vw, 96px); }
.hero-shot { margin-top: 24px; }
.window { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: #1b1b1b; box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.window .bar { display: flex; gap: 6px; padding: 11px 14px; background: #262626; }
.window .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .window .bar i:nth-child(2) { background: #febc2e; } .window .bar i:nth-child(3) { background: #28c840; }
.window img { width: 100%; height: auto; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.stat .v { font-family: var(--hfont); font-weight: var(--hw); font-size: clamp(56px, 6vw, 88px); line-height: 1; margin-bottom: 12px; }
.stat p { margin: 0; color: var(--muted); }
.feature { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature.rev > .text { order: 2; }
.feature h2 { margin-bottom: 18px; }
.feature .sub { color: var(--muted); font-size: 19px; margin-bottom: 22px; }
ul.list { list-style: none; padding: 0; margin: 0; }
ul.list li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--muted); }
ul.list li::before { content: ''; position: absolute; left: 0; top: .7em; width: 12px; height: 3px; background: var(--wave, var(--accent)); }
.formats { display: flex; flex-wrap: wrap; gap: 10px; }
.fmt { font-family: var(--hfont); font-weight: var(--hw); font-size: clamp(22px, 2.6vw, 32px); padding: 14px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); line-height: 1.1;
  transition: transform .25s var(--ease), text-shadow .15s; }
.fmt:hover { transform: translateY(-2px); text-shadow: -2px -1px 0 #19f0ff, 2px 2px 0 #ff1fd2; }
.fmt small { display: block; font: 600 12px/1.3 var(--bfont); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.big-list { list-style: none; margin: 0; padding: 0; counter-reset: n; border-top: 1px solid var(--line); }
.big-list li { counter-increment: n; display: grid; grid-template-columns: 80px 1fr 1.2fr; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.big-list li::before { content: '0' counter(n); font: 700 15px/1 var(--bfont); letter-spacing: .2em; color: var(--wave, var(--accent)); }
.big-list strong { font-family: var(--hfont); font-weight: var(--hw); text-transform: var(--ht); font-size: clamp(26px, 3.2vw, 42px); line-height: 1.05; }
.big-list span { color: var(--muted); }
.box { padding: clamp(36px, 6vw, 80px); border-radius: calc(var(--r) * 1.6); background: var(--card); border: 1px solid var(--line); text-align: center; }
.box .btns { justify-content: center; }
@media (max-width: 960px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .feature, .feature.rev { grid-template-columns: 1fr; }
  .feature.rev > .text { order: 0; }
  .big-list li { grid-template-columns: 56px 1fr; }
  .big-list li span { grid-column: 2; }
}
@media (max-width: 560px) {
  .stats { gap: 10px; } .stat { padding: 20px; } .stat .v { font-size: 48px; }
  .duo { grid-template-columns: 1fr; }
  .big-list li { grid-template-columns: 1fr; gap: 6px; }
  .big-list li span { grid-column: auto; }
}

/* логотип в шапке */
.brand img { width: 128px; height: auto; margin-left: -16px; transition: transform .25s var(--ease), filter .25s; }
.brand:hover img { transform: translateY(-1px); filter: drop-shadow(-2px -1px 0 rgba(25,240,255,.9)) drop-shadow(2px 2px 0 rgba(255,31,210,.9)); }
.brand:active img { transform: scale(.96); }
@media (max-width: 560px) { .brand img { width: 108px !important; margin-left: -13px; } }
@media (max-width: 359px) { .brand { display: inline-flex; } .brand img { width: 92px; } }

/* «Сергей Донских» в заголовке — в стиле логотипа: голубой сдвиг вверх-влево, розовый вниз-вправо, редкие сбои */
h1 .name { position: relative; display: inline-block; isolation: isolate; font-style: italic; }
h1 .name::before, h1 .name::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; }
h1 .name::before { color: #19f0ff; transform: translate(-.045em, -.025em); z-index: -1; }
h1 .name::after { color: #ff1fd2; transform: translate(.045em, .03em); z-index: -2; }
h1 .name::before { animation: nm-c 5s infinite steps(1); }
h1 .name::after { animation: nm-m 5s infinite steps(1); }
@keyframes nm-c { 0%,88%,100% { transform: translate(-.045em,-.025em); clip-path: none; }
  89% { transform: translate(-.12em,-.02em); clip-path: inset(15% 0 60% 0); }
  92% { transform: translate(.06em,-.03em); clip-path: inset(55% 0 18% 0); }
  95% { transform: translate(-.08em,0); clip-path: inset(72% 0 6% 0); } }
@keyframes nm-m { 0%,88%,100% { transform: translate(.045em,.03em); clip-path: none; }
  90% { transform: translate(.11em,.02em); clip-path: inset(38% 0 36% 0); }
  93% { transform: translate(-.06em,.03em); clip-path: inset(8% 0 74% 0); } }
h1 .name:hover::before, h1 .name:hover::after, h1 .name:active::before, h1 .name:active::after { animation-duration: .7s; }
@media (max-width: 560px) { h1 .name { white-space: normal; } }
div.project:hover { transform: none; }

/* меню: на телефоне сворачивается в кнопку */
.menu-btn { display: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); background: transparent; color: var(--ink); font: 700 14px/1 var(--bfont); cursor: pointer; }
.menu-btn:active { transform: scale(.97); }
@media (max-width: 860px) {
  .top .wrap { position: relative; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; top: calc(100% + 6px); left: var(--gutter); right: var(--gutter); flex-direction: column; gap: 2px; padding: 8px;
    border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
  .nav.open { display: flex; }
  .nav a { min-height: 48px; font-size: 16px; padding: 0 16px; border-radius: 12px; }
  .top.menu-open { background: var(--bg); }
}
.grid3.road .card:last-child { grid-column: auto; }
.grid3.road h3 { font-size: 21px; }
@media (max-width: 960px) { .grid3.road { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .grid3.road { grid-template-columns: 1fr; } }

/* ---- правки по аудиту ---- */
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: #fff; color: #000; font: 700 15px/1 var(--bfont); text-decoration: none; }
.skip:focus { top: 12px; }
main > section { padding: clamp(56px, 8vh, 96px) 0; }
.inter { padding: clamp(64px, 10vh, 110px) 0 !important; }
h2 { margin-bottom: 32px; }
.kicker { font-size: 14px; }
.hero .tag { font-size: 14px; }
footer { padding: 56px 0 48px; }
footer .wrap.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px 48px; align-items: start; }
.foot-brand p { color: var(--muted); margin: 16px 0 0; max-width: 340px; font-size: 15px; }
.foot-col { display: flex; flex-direction: column; gap: 2px; }
.foot-col b { font: 700 13px/1 var(--bfont); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.foot-col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink); text-decoration: none; font-size: 15px; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s var(--ease); }
.foot-col a:hover { background-size: 100% 1px; }
.foot-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-legal a { color: var(--muted); font-size: 13px; }
@media (max-width: 720px) { footer .wrap.foot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } .foot-col a { min-height: 44px; } }

/* ---- политика и cookies ---- */
.legal { padding-top: 0 !important; }
.legal-text { max-width: 860px; }
.legal-sec { margin-bottom: 40px; }
.legal-sec h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.legal-sec p { color: var(--muted); }
.legal-sec a, .legal-sec b { color: var(--ink); }
.cookie-link { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; margin-left: auto; padding: 20px 22px; border-radius: 18px;
  background: #0b0d55; color: #fff; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 24px 60px rgba(0,0,0,.4); font-size: 15px; line-height: 1.5; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 14px; color: rgba(255,255,255,.88); }
.cookie a { color: #fff; }
.cookie .row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
@media (max-width: 560px) { .cookie .btn { width: auto; flex: 1; } }

/* ---- частые вопросы ---- */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq { padding: 26px 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.faq h3 { font-size: 19px; line-height: 1.3; margin-bottom: 10px; text-transform: none; letter-spacing: 0; }
.faq p { margin: 0; color: var(--muted); }
@media (max-width: 720px) { .faq-grid { grid-template-columns: 1fr; } .faq { padding: 22px; } }

/* ---- первый экран на невысоких экранах ноутбуков: кнопки видны сразу ---- */
@media (min-width: 961px) and (max-height: 960px) {
  .hero { padding: 20px 0 32px; }
  .hero.wide .wrap { gap: 22px; }
  .hero.wide .logo-glitch { width: min(100%, 760px); margin: 0 auto; }
  .hero.wide .row { padding-top: 22px; }
  .hero h1 { font-size: clamp(34px, 4.6vw, 64px); }
}

/* якорные ссылки не прячутся под липкой шапкой */
[id] { scroll-margin-top: 84px; }

/* ================= МЕНЮ (редизайн 03.12.2026) ================= */
.nav-extra { display: none; }
/* компьютер: стеклянная капсула, текущий раздел — белая плашка, при наведении — глитч-полоска */
@media (min-width: 861px) {
  .nav { gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
    -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); }
  .nav a { position: relative; min-height: 40px; padding: 0 16px; color: rgba(255,255,255,.82); font-weight: 700; font-size: 14px; letter-spacing: .01em; }
  .nav a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 7px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, #19f0ff, #ff1fd2); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
  .nav a:hover::after { transform: scaleX(1); }
  .nav a[aria-current] { color: var(--bg); background: #fff; box-shadow: -2px -1px 0 #19f0ff, 2px 2px 0 #ff1fd2; }
  .nav a[aria-current]::after { display: none; }
}
/* телефон: кнопка-бургер и меню на весь экран */
.menu-btn { gap: 10px; }
.menu-btn i { position: relative; width: 18px; height: 12px; flex: none; }
.menu-btn i::before, .menu-btn i::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn i::before { top: 1px; } .menu-btn i::after { top: 9px; }
.menu-btn[aria-expanded="true"] i::before { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { top: 5px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .menu-btn { position: relative; z-index: 61; background: rgba(255,255,255,.08); }
  .brand { position: relative; z-index: 61; }
  .nav { display: flex; position: fixed; inset: 0; z-index: 60; top: 0; left: 0; right: 0; flex-direction: column; justify-content: center; gap: 0;
    padding: 96px var(--gutter) 40px; border: 0; border-radius: 0; box-shadow: none; counter-reset: nav;
    background: radial-gradient(80% 60% at 100% 0%, rgba(255,31,210,.22), transparent 60%), radial-gradient(70% 50% at 0% 100%, rgba(25,240,255,.14), transparent 60%), radial-gradient(90% 60% at 50% 0%, rgba(47,51,255,.55), transparent 70%), #0d1038;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav a { counter-increment: nav; display: flex; align-items: baseline; gap: 14px; min-height: 0; padding: 12px 0; border-radius: 0; background: none !important;
    border-bottom: 1px solid rgba(255,255,255,.14); color: #fff; font: 900 clamp(30px, 9vw, 44px)/1.05 var(--hfont); text-transform: uppercase; letter-spacing: -.01em; }
  .nav a::before { content: '0' counter(nav); font: 700 13px/1 var(--bfont); letter-spacing: .2em; color: #9ff6ff; transform: translateY(-.9em); }
  .nav a::after { display: none; }
  .nav a[aria-current], .nav a:active { text-shadow: -3px -2px 0 #19f0ff, 3px 2px 0 #ff1fd2; }
  .nav.open a { animation: navIn .45s var(--ease) both; }
  .nav.open a:nth-of-type(2) { animation-delay: .04s; } .nav.open a:nth-of-type(3) { animation-delay: .08s; }
  .nav.open a:nth-of-type(4) { animation-delay: .12s; } .nav.open a:nth-of-type(5) { animation-delay: .16s; }
  .nav-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 28px; }
  .nav-extra span { width: 100%; font: 700 12px/1 var(--bfont); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 4px; }
  .nav-extra a { counter-increment: none; display: inline-flex; min-height: 44px; align-items: center; padding: 0; border: 0; font: 700 16px/1 var(--bfont); text-transform: none; text-shadow: none !important; animation: none !important; }
  .nav-extra a::before { display: none; }
  .top.menu-open { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.nav-locked, html.nav-locked body { overflow: hidden; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .nav a::before { text-shadow: none; } }

/* скриншот CRM — готовая картинка с телефонами, без рамки окна */
.crm-shot img, .crm-card-shot img { width: 100%; height: auto; border-radius: var(--r); }
.crm-card-shot { border: 0; background: transparent; }

/* ---- плеер: «коротко» и история версий ---- */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid4 .card h3 { font-size: 20px; }
.versions { display: grid; gap: 10px; max-width: 920px; }
.ver { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.ver summary { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding: 20px 24px; cursor: pointer; list-style: none; min-height: 44px; }
.ver summary::-webkit-details-marker { display: none; }
.ver summary::after { content: '+'; margin-left: auto; font: 700 22px/1 var(--bfont); color: var(--muted); transition: transform .25s var(--ease); }
.ver[open] summary::after { transform: rotate(45deg); }
.ver summary b { font-family: var(--hfont); font-weight: var(--hw); font-size: 24px; letter-spacing: -.01em; }
.ver summary span { color: var(--muted); font-size: 15px; }
.ver summary em { font-style: normal; font: 700 11px/1 var(--bfont); letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: #19f0ff; color: #06103a; }
.ver ul.list { padding: 0 24px 20px; }
@media (max-width: 960px) { .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; } .ver summary { padding: 16px 18px; } .ver ul.list { padding: 0 18px 16px; } }

/* ---- правки по аудиту №3 ---- */
/* длинные слова в заголовках (КОНФИДЕНЦИАЛЬНОСТИ) не вылезают за экран телефона */
h1, h2 { overflow-wrap: break-word; }
@media (max-width: 560px) { .hero.page h1 { font-size: clamp(26px, 8.4vw, 44px); hyphens: auto; -webkit-hyphens: auto; } }
/* открытое меню на телефоне — поверх плашки cookies */
html.nav-locked .cookie { display: none; }
/* ссылки и кнопка в нижней строке подвала — удобные для пальца */
.foot-legal a, .foot-legal .cookie-link { display: inline-flex; align-items: center; min-height: 44px; }
/* карточки «Коротко о плеере»: без пустого зазора под номером */
.grid4 .card .num { margin-bottom: 16px; }
