/* Оформление страниц ботов (Modexa, Клиент Радар). Не зависит от style.css.
   Цвет акцента задаётся классом на <body>: theme-modexa или theme-radar. */
:root{
  --bg:#050F0C;
  --bg2:#081712; --card:rgba(255,255,255,.04); --line:rgba(255,255,255,.09);
  --ink:#F3FBF7; --soft:#A9C2B8; --faint:#6F8C80;
  --accent:#27E0A8; --accent2:#12B886; --glow:rgba(39,224,168,.35); --on-accent:#03140E;
  --font-head:'Golos Text',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  --font-text:'Manrope',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
}
body.theme-radar{--accent:#4CC3FF; --accent2:#3B82F6; --glow:rgba(76,195,255,.35); --on-accent:#031321;}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{background:var(--bg); color:var(--ink); font-family:var(--font-text); font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden;}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul,ol{list-style:none;}
h1,h2,h3{font-family:var(--font-head); line-height:1.15; font-weight:800; letter-spacing:-.01em;}
.skip-link{position:absolute; left:-999px; top:8px; background:var(--accent); color:var(--on-accent); padding:8px 14px; border-radius:10px; z-index:100;}
.skip-link:focus{left:8px;}
.wrap{max-width:1120px; margin:0 auto; padding:0 20px;}

/* фон со свечением */
body::before{content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(60% 40% at 80% -5%, var(--glow), transparent 70%),
             radial-gradient(50% 35% at 0% 30%, rgba(255,255,255,.04), transparent 70%), var(--bg);}

/* шапка */
.bh{position:sticky; top:0; z-index:30; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); background:rgba(5,15,12,.72); border-bottom:1px solid var(--line);}
.bh .wrap{display:flex; align-items:center; gap:24px; height:64px;}
.bh-brand{display:flex; align-items:center; gap:10px; font-family:var(--font-head); font-weight:800; font-size:18px;}
.bh-brand img{width:34px; height:34px; border-radius:50%;}
.bh-nav{display:flex; gap:22px; margin-left:auto; font-size:14.5px; color:var(--soft);}
.bh-nav a:hover{color:var(--ink);}
.bh .btn{margin-left:8px;}

/* кнопки */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; font:700 15px var(--font-text); padding:13px 22px; border-radius:14px; border:1px solid transparent; cursor:pointer; transition:transform .15s ease, box-shadow .2s ease, background .2s ease;}
.btn:active{transform:scale(.97);}
.btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent2)); color:var(--on-accent); box-shadow:0 10px 30px -10px var(--glow);}
.btn-primary:hover{box-shadow:0 14px 36px -8px var(--glow); transform:translateY(-1px);}
.btn-line{background:transparent; color:var(--ink); border-color:var(--line);}
.btn-line:hover{border-color:var(--accent); color:var(--accent);}
.btn-sm{padding:9px 16px; font-size:14px; border-radius:12px;}
.btn-wa{background:#25D366; color:#03140E;}
.btn-ghost{background:transparent; color:var(--ink); border-color:var(--line);}
.btn svg{width:18px; height:18px;}

/* hero */
.hero{padding:64px 0 40px;}
.hero .wrap{display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center;}
.pill{display:inline-flex; align-items:center; gap:8px; padding:6px 14px; border:1px solid var(--line); border-radius:999px; background:var(--card); color:var(--soft); font-size:13.5px; font-weight:600; margin-bottom:20px;}
.pill i{width:8px; height:8px; border-radius:50%; background:var(--accent); box-shadow:0 0 12px var(--accent);}
.hero h1{font-size:clamp(34px,5.2vw,58px); margin-bottom:18px;}
.grad{background:linear-gradient(120deg,var(--accent),#fff 130%); -webkit-background-clip:text; background-clip:text; color:transparent;}
.hero .lead{font-size:18px; color:var(--soft); max-width:52ch; margin-bottom:28px;}
.hero-ctas{display:flex; gap:12px; flex-wrap:wrap;}
.hero-note{margin-top:18px; font-size:14px; color:var(--faint);}
.hero-note b{color:var(--accent); font-weight:700;}
.hero-visual{position:relative; display:flex; justify-content:center;}
.hero-visual::before{content:""; position:absolute; width:80%; aspect-ratio:1; top:8%; border-radius:50%; background:radial-gradient(closest-side,var(--glow),transparent 70%); filter:blur(10px); pointer-events:none;}
.phone{position:relative; width:min(300px,100%); border-radius:38px; padding:9px; background:linear-gradient(160deg,#1c3a30,#0a1814); border:1px solid var(--line); box-shadow:0 30px 70px -20px rgba(0,0,0,.8), 0 0 60px -20px var(--glow);}
.phone img{border-radius:30px; width:100%; height:auto;}
.radar{position:relative; width:min(340px,86%); aspect-ratio:1;}
.radar svg{width:100%; height:100%;}
.radar .ring{fill:none; stroke:var(--accent); stroke-opacity:.35;}
.radar .sweep{transform-origin:50% 50%; animation:sweep 5s linear infinite;}
.radar .blip{fill:var(--accent); animation:blip 5s ease-in-out infinite;}
@keyframes sweep{to{transform:rotate(360deg);}}
@keyframes blip{0%,100%{opacity:.2;}50%{opacity:1;}}
@media (prefers-reduced-motion:reduce){.radar .sweep,.radar .blip{animation:none;} html{scroll-behavior:auto;}}

/* секции */
section{padding:56px 0;}
.eyebrow{color:var(--accent); font-weight:800; font-size:13px; letter-spacing:.12em; text-transform:uppercase; margin-bottom:10px;}
.sec-head{max-width:640px; margin-bottom:34px;}
.sec-head h2{font-size:clamp(26px,3.4vw,38px); margin-bottom:10px;}
.sec-head p{color:var(--soft);}
.grid{display:grid; gap:16px;}
.g4{grid-template-columns:repeat(4,1fr);}
.g3{grid-template-columns:repeat(3,1fr);}
.card{background:var(--card); border:1px solid var(--line); border-radius:20px; padding:22px; transition:border-color .2s ease, transform .2s ease;}
.card:hover{border-color:rgba(255,255,255,.2);}
.card .ic{width:42px; height:42px; border-radius:12px; display:grid; place-items:center; margin-bottom:14px; background:linear-gradient(135deg,var(--glow),transparent); border:1px solid var(--line); color:var(--accent);}
.card .ic svg{width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;}
.card h3{font-size:17px; margin-bottom:6px;}
.card p{color:var(--soft); font-size:14.5px;}

/* скриншоты */
.shots{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; align-items:start;}
.shot{margin:0;}
.shot .phone{width:100%;}
.shot figcaption{margin-top:14px; font-size:14px; color:var(--soft);}
.shot figcaption strong{display:block; color:var(--ink); font-size:15px; margin-bottom:2px;}

/* шаги */
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; counter-reset:s;}
.step{position:relative; padding:22px; border-radius:20px; background:var(--card); border:1px solid var(--line);}
.step::before{counter-increment:s; content:counter(s); display:block; font:800 38px var(--font-head); color:var(--accent); opacity:.9; margin-bottom:8px;}
.step p{color:var(--soft); font-size:15px;}
.step a{color:var(--accent); font-weight:700;}

/* тарифы */
.tariffs{display:grid; grid-template-columns:repeat(4,1fr); gap:16px;}
.tariffs.t2{grid-template-columns:repeat(2,1fr); max-width:760px;}
.tariff{position:relative; padding:24px; border-radius:22px; background:var(--card); border:1px solid var(--line); display:flex; flex-direction:column; gap:6px;}
.tariff h3{font-size:15px; font-weight:600; color:var(--soft); font-family:var(--font-text);}
.price{font:800 30px var(--font-head);} .price small{font:600 13px var(--font-text); color:var(--soft);}
.tariff p{color:var(--soft); font-size:14.5px;}
.tariff.pop{border-color:var(--accent); box-shadow:0 0 0 1px var(--accent), 0 20px 50px -20px var(--glow);}
.tariff .badge{position:absolute; top:-12px; left:20px; background:var(--accent); color:var(--on-accent); font-size:12px; font-weight:800; padding:3px 12px; border-radius:999px;}
.note{margin-top:16px; font-size:14px; color:var(--faint);}

/* FAQ */
.faq{display:grid; gap:10px; max-width:780px;}
.faq details{background:var(--card); border:1px solid var(--line); border-radius:16px; padding:16px 20px;}
.faq summary{cursor:pointer; font-weight:700; list-style:none; display:flex; justify-content:space-between; gap:16px;}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:"+"; color:var(--accent); font-size:22px; line-height:1;}
.faq details[open] summary::after{content:"–";}
.faq p{margin-top:10px; color:var(--soft); font-size:15px;}

/* финальный призыв */
.final{margin:20px 0 40px; padding:40px 28px; border-radius:28px; text-align:center; background:linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.01)); border:1px solid var(--line); position:relative; overflow:hidden;}
.final::before{content:""; position:absolute; inset:-40% 20% auto; height:80%; background:radial-gradient(closest-side,var(--glow),transparent); pointer-events:none;}
.final>*{position:relative;}
.final h2{font-size:clamp(24px,3.2vw,34px); margin-bottom:10px;}
.final p{color:var(--soft); margin-bottom:22px;}
.final .hero-ctas{justify-content:center;}

/* подвал */
.bf{border-top:1px solid var(--line); padding:28px 0 36px; color:var(--faint); font-size:14px;}
.bf .wrap{display:flex; flex-wrap:wrap; gap:14px 28px; align-items:center;}
.bf a{color:var(--soft);} .bf a:hover{color:var(--accent);}
.bf .sp{margin-left:auto;}

/* уведомление о cookie (создаётся script.js) */
.cookie-notice{position:fixed; left:12px; right:12px; bottom:12px; z-index:60; max-width:720px; margin:0 auto; padding:14px 16px; display:flex; align-items:center; gap:12px; flex-wrap:wrap; background:rgba(8,23,18,.97); border:1px solid var(--line); border-radius:18px; box-shadow:0 20px 50px -10px rgba(0,0,0,.8);}
.cookie-notice p{flex:1 1 260px; color:var(--soft); font-size:13px; line-height:1.45;}
.cookie-notice a{color:var(--accent); text-decoration:underline;}
.cookie-actions{display:flex; gap:8px;}
.with-cookie-notice{padding-bottom:150px;}

@media (max-width:900px){
  .hero{padding-top:36px;}
  .hero .wrap{grid-template-columns:1fr;}
  .hero-visual{margin-top:8px;}
  .phone{width:min(240px,70%);}
  .g4,.tariffs{grid-template-columns:repeat(2,1fr);}
  .g3,.steps{grid-template-columns:1fr;}
  .tariffs.t2{grid-template-columns:1fr;}
  .bh-nav{display:none;} .bh .btn{margin-left:auto;}
  .shots{display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:16px; margin:0 -20px; padding:6px 20px 16px; -webkit-overflow-scrolling:touch;}
  .shot{flex:0 0 66%; max-width:280px; scroll-snap-align:center;}
}
@media (max-width:560px){
  .g4,.tariffs{grid-template-columns:1fr;}
  .hero .lead{font-size:16.5px;}
  .hero-ctas .btn{flex:1 1 100%;}
  .cookie-notice{left:8px; right:8px; bottom:8px; padding:10px 12px;}
  .cookie-notice p{flex-basis:100%; font-size:12px;}
  .cookie-actions .btn{padding:8px 12px; font-size:13px;}
  .with-cookie-notice{padding-bottom:120px;}
  .bf .sp{margin-left:0;}
}

.bh-brand span,.bh .btn{white-space:nowrap;}
@media (max-width:420px){.bh .wrap{gap:10px;} .bh-brand{font-size:16px;} .bh .btn-sm{padding:9px 12px; font-size:13px;}}
@media (max-width:380px){.bh .wrap{padding:0 14px; gap:8px;} .bh-brand{font-size:15px; gap:8px;} .bh-brand img,.bh-brand .ic{width:30px!important; height:30px!important;} .bh .btn-sm{padding:8px 10px; font-size:12.5px; gap:6px;} .bh .btn svg{width:15px; height:15px;}}
@media (max-width:340px){.bh-brand span{display:none;}}


/* навигация между страницами */
.bh-sep{width:1px; height:18px; background:var(--line); align-self:center;}
.bh-nav a[href="index.html"],.bh-nav a[href^="bot-"]{color:var(--ink);}
.bh-burger{display:none; width:42px; height:42px; align-items:center; justify-content:center; background:var(--card); border:1px solid var(--line); border-radius:12px; color:var(--ink); cursor:pointer;}
.bh-menu{position:absolute; left:0; right:0; top:100%; background:#050F0C; border-bottom:1px solid var(--line); box-shadow:0 24px 40px -16px rgba(0,0,0,.8);}
.bh-menu[hidden]{display:none;}
.bh-menu a{display:block; padding:14px 0; border-bottom:1px solid var(--line); color:var(--soft); font-weight:600;}
.bh-menu a:first-child{color:var(--ink);}
.bh-menu a:last-child{border-bottom:none;}
@media (max-width:900px){.bh-burger{display:inline-flex;} .bh .btn{margin-left:auto;}}
@media (min-width:1021px){.bh-menu{display:none !important;}}
@media (max-width:380px){.bh-burger{width:36px; height:36px;}}
@media (max-width:340px){.bh .btn-sm{padding:7px 9px; font-size:12px;}}
.bh .bh-menu .wrap{display:block; height:auto; padding-top:4px; padding-bottom:8px;}
@media (max-width:1020px){.bh-nav{display:none;} .bh-burger{display:inline-flex;} .bh .btn{margin-left:auto;}}
@media (max-width:1020px) and (min-width:901px){.bh-menu{display:block;} .bh-menu[hidden]{display:none;}}
@media (max-width:420px){.bh .wrap{gap:8px;} .bh-brand{font-size:15px; gap:8px;} .bh .btn-sm{padding:8px 10px; font-size:12.5px; gap:6px;} .bh .btn svg{width:15px; height:15px;} .bh-burger{width:38px; height:38px;}}
@media (max-width:380px){.bh-brand{font-size:14px; gap:6px;} .bh .btn-sm{padding:8px 9px; font-size:12px;} .bh-brand img,.bh-brand .ic{width:28px !important; height:28px !important;}}

/* ---------- Анимации и плавные переходы между страницами ---------- */
@view-transition{navigation:auto;}
::view-transition-old(root){animation:vtOut .22s ease both;}
::view-transition-new(root){animation:vtIn .34s cubic-bezier(.2,.7,.2,1) both;}
::view-transition-group(hdr){animation-duration:.3s;}
@keyframes vtOut{to{opacity:0; transform:translateY(-6px);}}
@keyframes vtIn{from{opacity:0; transform:translateY(10px);}}
@keyframes rise{from{opacity:0; transform:translateY(22px);}}
.no-vt body{animation:pageIn .4s ease both;}
.no-vt.leaving body{opacity:0; transform:translateY(-6px); transition:opacity .2s ease, transform .2s ease;}
@keyframes pageIn{from{opacity:0;}}
.bh{view-transition-name:hdr;}
.js .rv{opacity:0;}
.js .rv.in{opacity:1; animation:rise .65s cubic-bezier(.2,.7,.2,1) var(--d,0ms) backwards;}
/* первый экран */
.hero .pill,.hero h1,.hero .lead,.hero .hero-ctas,.hero .hero-note{animation:rise .7s cubic-bezier(.2,.7,.2,1) both;}
.hero h1{animation-delay:.08s;} .hero .lead{animation-delay:.16s;} .hero .hero-ctas{animation-delay:.24s;} .hero .hero-note{animation-delay:.32s;}
.hero-visual{animation:rise .9s cubic-bezier(.2,.7,.2,1) .2s both;}
.hero-visual .phone{animation:floatY 6s ease-in-out infinite;}
.hero-visual::before{animation:glowPulse 5s ease-in-out infinite;}
@keyframes floatY{50%{transform:translateY(-10px);}}
@keyframes glowPulse{50%{opacity:.65; transform:scale(1.07);}}
/* карточки и кнопки */
.card,.tariff,.step{transition:transform .25s ease, border-color .2s ease, box-shadow .25s ease;}
@media (hover:hover){
  .card:hover,.tariff:hover,.step:hover{transform:translateY(-4px); box-shadow:0 20px 44px -26px var(--glow);}
  .shot .phone{transition:transform .3s ease, box-shadow .3s ease;}
  .shot:hover .phone{transform:translateY(-6px) scale(1.015);}
}
.btn-primary{position:relative; overflow:hidden;}
.btn-primary::after{content:""; position:absolute; top:0; left:-70%; width:40%; height:100%; background:linear-gradient(100deg,transparent,rgba(255,255,255,.4),transparent); transform:skewX(-20deg); animation:shine 4.8s ease-in-out infinite; pointer-events:none;}
@keyframes shine{0%,62%{left:-70%;}100%{left:140%;}}
.faq details{transition:border-color .2s ease, background .2s ease;}
.faq details[open]{border-color:var(--accent);}
@media (prefers-reduced-motion:reduce){
  @view-transition{navigation:none;}
  *,*::before,*::after{animation:none !important; transition:none !important;}
  .js .rv{opacity:1;}
}

.btn-soon{opacity:.75; cursor:default; border-style:dashed; pointer-events:none;}

.bh-brand .brand-logo{width:40px; height:40px; flex:none; display:block;}

/* шапка на телефоне: у кнопки «Открыть в Telegram» только текст, без мелкого значка */
@media (max-width:560px){.bh .btn svg{display:none;}}

/* радар на первом экране КлиентРадар: цели вспыхивают, когда по ним проходит луч */
.radar .tick{stroke-opacity:.2;}
.rd-blip{fill:#7BD8FF; opacity:.22; animation:rdBlip 5s linear infinite;}
.rd-ping{fill:none; stroke:#7BD8FF; stroke-width:1.2; opacity:0; transform-box:fill-box; transform-origin:center; animation:rdPing 5s ease-out infinite;}
@keyframes rdBlip{0%{opacity:1;} 12%{opacity:.95;} 55%{opacity:.3;} 100%{opacity:.22;}}
@keyframes rdPing{0%{opacity:.8; transform:scale(1);} 18%{opacity:0; transform:scale(3.2);} 100%{opacity:0; transform:scale(3.2);}}
@media (prefers-reduced-motion:reduce){.rd-blip{animation:none; opacity:.85;} .rd-ping{animation:none; opacity:0;}}

/* лента скриншотов: без серого ползунка прокрутки (следующая карточка и так выглядывает справа) */
.shots{scrollbar-width:none; -ms-overflow-style:none;}
.shots::-webkit-scrollbar{display:none; width:0; height:0;}

/* Modexa: плейсхолдеры, пункты, список у тарифов */
.phone-ph .ph-in{aspect-ratio:560/862; border:1.5px dashed var(--line); border-radius:30px; display:flex; align-items:center; justify-content:center; text-align:center; padding:16px; color:var(--faint); font-size:14px; background:rgba(255,255,255,.02);}
.hero-points{list-style:none; margin:18px 0 0; padding:0; display:grid; gap:8px; font-size:15px; color:var(--ink);}
.tlist{list-style:none; margin:24px 0 0; padding:0; display:grid; gap:10px; max-width:820px; font-size:15px; line-height:1.55;}
.tlist li{padding:12px 16px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.02);}
.tariffs.t3{grid-template-columns:repeat(3,1fr);}
@media (max-width:900px){.tariffs.t3{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.tariffs.t3{grid-template-columns:1fr;}}

/* Видео Modexa */
.vid{position:relative; width:100%; max-width:300px; aspect-ratio:9/16; border-radius:28px; overflow:hidden; background:#04110c; box-shadow:0 30px 60px -28px rgba(0,0,0,.8),0 0 0 1px var(--line); justify-self:center;}
.vid video{width:100%; height:100%; object-fit:cover; display:block;}
.snd{position:absolute; right:10px; bottom:10px; display:inline-flex; align-items:center; border:0; cursor:pointer; padding:10px 14px; border-radius:999px; background:rgba(2,17,12,.8); color:#fff; font-weight:600; font-size:13px; line-height:1; font-family:inherit; backdrop-filter:blur(6px);}
.snd:focus-visible{outline:3px solid var(--accent); outline-offset:2px;}
.hero-visual .vid{animation:floatY 6s ease-in-out infinite;}
.head-vid{display:grid; grid-template-columns:1fr 300px; gap:48px; align-items:start; margin-bottom:8px;}
.head-vid>*{min-width:0;}
.sec-lead{color:var(--soft); max-width:62ch; margin:0;}
.facts{background:rgba(255,255,255,.03); border-block:1px solid var(--line);}
.facts .wrap{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding-block:26px;}
.fact b{display:block; font-size:26px; line-height:1.1; color:var(--accent);}
.fact span{font-size:14px; color:var(--soft);}
@media (max-width:900px){.head-vid{grid-template-columns:1fr; gap:28px;} .facts .wrap{grid-template-columns:repeat(2,1fr);}}
@media (prefers-reduced-motion:reduce){.hero-visual .vid{animation:none;}}

/* ===== Modexa: вкладки, списки-аккордеоны, живая лента, «ещё» ===== */
.tabs{display:flex; gap:8px; overflow-x:auto; padding:2px 0 14px; margin-bottom:8px; scrollbar-width:none; -webkit-overflow-scrolling:touch;}
.tabs::-webkit-scrollbar{display:none;}
.tab{flex:0 0 auto; font:700 15px var(--font-text); color:var(--soft); background:var(--card); border:1px solid var(--line); border-radius:999px; padding:11px 18px; cursor:pointer; transition:background .2s ease,color .2s ease,border-color .2s ease,transform .15s ease; white-space:nowrap;}
.tab:hover{border-color:var(--accent); color:var(--ink);}
.tab:active{transform:scale(.97);}
.tab[aria-selected="true"]{background:linear-gradient(135deg,var(--accent),var(--accent2)); color:var(--on-accent); border-color:transparent; box-shadow:0 10px 26px -12px var(--glow);}
.tab:focus-visible,.snd:focus-visible,summary:focus-visible{outline:2px solid var(--accent); outline-offset:3px;}
.tabpanel{animation:tabin .4s cubic-bezier(.2,.7,.2,1) both; margin-top:14px;}
.tabpanel+.tabpanel{margin-top:40px;}
.tabpanel[hidden]{display:none;}
@keyframes tabin{from{opacity:0; transform:translateY(10px);}to{opacity:1; transform:none;}}
.tp-grid{display:grid; grid-template-columns:260px 1fr; gap:36px; align-items:start;}
.tp-grid:not(:has(.vid)){grid-template-columns:1fr; max-width:820px;}
.tp-grid>*{min-width:0;}
.tp-grid .vid{max-width:260px; position:sticky; top:84px;}
.tp-intro{color:var(--soft); margin-bottom:16px; max-width:62ch;}
.acc-list{display:grid; gap:8px;}
.acc{background:var(--card); border:1px solid var(--line); border-radius:16px; padding:0 16px; transition:border-color .2s ease,background .2s ease;}
.acc[open]{border-color:var(--accent); background:rgba(255,255,255,.055);}
.acc summary{display:flex; align-items:center; gap:12px; cursor:pointer; list-style:none; padding:14px 0; font-weight:700; font-size:15.5px;}
.acc summary::-webkit-details-marker{display:none;}
.acc summary::after{content:"+"; margin-left:auto; color:var(--accent); font-size:22px; line-height:1; transition:transform .2s ease;}
.acc[open] summary::after{content:"–";}
.acc .ic{flex:0 0 34px; width:34px; height:34px; border-radius:10px; display:grid; place-items:center; background:linear-gradient(135deg,var(--glow),transparent); border:1px solid var(--line); color:var(--accent);}
.acc .ic svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;}
.acc p{color:var(--soft); font-size:14.5px; padding:0 0 16px 46px; animation:tabin .3s ease both;}
.tl{max-width:820px; margin-top:22px;}
.tl .acc p{padding-left:0;}
.more>summary{list-style:none; cursor:pointer; margin:18px auto 0; display:flex; width:max-content;}
.more>summary::-webkit-details-marker{display:none;}
.more[open]>summary{margin-bottom:18px;}
.more-t .tariffs{margin-top:16px;}
.more-q>.faq{margin-top:10px;}
@media (max-width:900px){.tp-grid{grid-template-columns:1fr; gap:22px;} .tp-grid .vid{position:static; max-width:230px; margin:0 auto;}}
/* живая лента группы в первом экране */
.mfeed{width:min(340px,100%); margin:0 auto; border-radius:28px; border:1px solid var(--line); background:linear-gradient(180deg,#0c211a,#07140f); box-shadow:0 30px 70px -24px rgba(0,0,0,.85),0 0 60px -10px var(--glow); overflow:hidden; animation:floatY 6s ease-in-out infinite;}
.mf-head{display:flex; align-items:center; gap:12px; padding:14px 16px; background:rgba(255,255,255,.04); border-bottom:1px solid var(--line);}
.mf-head b{display:block; font-size:14px;} .mf-head small{color:var(--faint); font-size:12px;}
.mf-shield{width:38px; height:38px; border-radius:12px; display:grid; place-items:center; color:var(--accent); background:linear-gradient(135deg,var(--glow),transparent); border:1px solid var(--line); position:relative;}
.mf-shield svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;}
.mf-shield::after{content:""; position:absolute; inset:-1px; border-radius:12px; border:1px solid var(--accent); animation:mfping 2.4s ease-out infinite;}
@keyframes mfping{0%{transform:scale(1); opacity:.7;}100%{transform:scale(1.5); opacity:0;}}
.mf-body{padding:14px; display:grid; gap:10px; min-height:330px; align-content:start;}
.mf-msg{background:rgba(255,255,255,.07); border-radius:14px 14px 14px 4px; padding:9px 13px; font-size:13.5px; line-height:1.4; max-width:92%; position:relative; opacity:0; animation:mfmsg 12s ease-in-out infinite;}
.mf-msg b{display:block; color:var(--accent); font-size:12px; margin-bottom:1px;}
.mf-msg i{font-style:normal; color:var(--accent); font-weight:700;}
.mf-msg em{display:block; font-style:normal; font-size:11.5px; color:var(--faint); margin-top:3px;}
.mf-spam{background:rgba(240,90,80,.14); border:1px solid rgba(240,90,80,.35);}
.mf-spam b{color:#ff8a7e;}
.mf-spam span{animation:mfstrike 12s ease-in-out infinite;}
.mf-spam u{display:block; text-decoration:none; font-size:11px; font-weight:800; letter-spacing:.04em; color:#ff8a7e; margin-top:4px; opacity:0; animation:mftag 12s ease-in-out infinite;}
.m1{animation-delay:0s;} .m2{animation-delay:.9s;} .m3{animation-delay:2.6s;} .m4{animation-delay:3.6s;} .m5{animation-delay:5.3s;}
.m2 span,.m2 u{animation-delay:.9s;} .m4 span,.m4 u{animation-delay:3.6s;}
@keyframes mfmsg{0%{opacity:0; transform:translateY(12px);}4%,86%{opacity:1; transform:none;}94%,100%{opacity:0; transform:none;}}
@keyframes mfstrike{0%,12%{text-decoration:none; opacity:1;}16%,86%{text-decoration:line-through; text-decoration-color:#ff8a7e; text-decoration-thickness:2px; opacity:.5;}100%{opacity:.5;}}
@keyframes mftag{0%,12%{opacity:0;}16%,86%{opacity:1;}94%,100%{opacity:0;}}
@media (prefers-reduced-motion:reduce){.mfeed,.mf-shield::after{animation:none;} .mf-msg{animation:none; opacity:1;} .mf-spam span{animation:none; text-decoration:line-through; opacity:.5;} .mf-spam u{animation:none; opacity:1;} .tabpanel,.acc p{animation:none;}}
.chips{display:flex; flex-wrap:wrap; gap:10px; max-width:820px;}
.chips li{background:var(--card); border:1px solid var(--line); border-radius:999px; padding:10px 16px; font-size:14.5px; color:var(--soft);}

/* кнопка звука — под видео, а не поверх него (в окне Telegram видео перекрывало её) */
.vidbox{display:grid; gap:12px; justify-items:center; width:100%; max-width:300px; justify-self:center;}
.vidbox .vid{max-width:none; width:100%; justify-self:stretch;}
.vidbox .vid video{cursor:pointer;}
.snd{position:static; right:auto; bottom:auto; width:100%; justify-content:center; padding:13px 16px; font-size:15px; background:var(--card); border:1px solid var(--accent); color:var(--ink); backdrop-filter:none; cursor:pointer;}
.snd:hover{background:rgba(255,255,255,.08);}
.tp-grid .vidbox{max-width:260px; position:sticky; top:84px;}
.hero-visual .vidbox{animation:none;}
@media (max-width:900px){.tp-grid .vidbox{position:static; max-width:240px; margin:0 auto;}}
.head-vid .vidbox{max-width:300px;}

/* видео в разделе «Как выглядит бот» */
.sub-h{font-weight:800; color:var(--soft); font-size:14px; letter-spacing:.08em; text-transform:uppercase; margin:6px 0 14px;}
.shots-v{margin-bottom:34px;}
.shots-v .vidbox{max-width:none;}
.shots-v .vid{max-width:none;}
.more-v>.shots{margin-top:6px;}

/* Зоны нажатия не меньше ~40–44 px */
.btn,.btn-sm{min-height:44px;}
.bh-burger{min-width:44px; min-height:44px;}
.bh-brand{min-height:44px; display:inline-flex; align-items:center;}
.bf a{display:inline-flex; align-items:center; min-height:40px;}
.faq details{padding:0;}
.faq summary{padding:16px 20px; min-height:48px; align-items:center;}
.faq p{margin-top:0; padding:0 20px 16px;}

/* ===== Компактнее на телефоне ===== */
@media (max-width:560px){
  .grid.g3,.grid.g4{grid-template-columns:1fr 1fr; gap:10px;}
  .grid.g3 .card,.grid.g4 .card{padding:14px;}
  .grid.g3 .card .ic,.grid.g4 .card .ic{width:34px; height:34px; margin-bottom:10px;}
  .grid.g3 .card h3,.grid.g4 .card h3{font-size:15px; margin-bottom:4px;}
  .grid.g3 .card p,.grid.g4 .card p{font-size:13px; line-height:1.45;}
  section{padding:40px 0;}
  .sec-head{margin-bottom:22px;}
  .facts .wrap{gap:14px; padding-block:18px;}
  .fact b{font-size:22px;}
  .fact span{font-size:13px;}
  .hero-points{margin-top:14px; gap:6px; font-size:14px;}
  .mf-body{min-height:290px; padding:12px; gap:8px;}
  .mf-msg{font-size:13px; padding:8px 11px;}
  .shots-v .shot{flex-basis:56%; max-width:230px;}
  .tariff{padding:18px;}
  .steps{gap:10px;}
}
@media (max-width:360px){
  .grid.g3,.grid.g4{grid-template-columns:1fr;}
}
.steps:has(.step:nth-child(3):last-child){grid-template-columns:repeat(3,1fr);}
@media (max-width:900px){.steps:has(.step:nth-child(3):last-child){grid-template-columns:1fr;}}
@media (max-width:560px){
  .step{display:grid; grid-template-columns:40px 1fr; gap:12px; align-items:start; padding:16px;}
  .step::before{margin:0; font-size:32px; line-height:1;}
}
.guarantee{margin-top:22px; max-width:760px; padding:16px 20px; border-radius:16px; border:1px solid var(--accent); background:rgba(255,255,255,.04); color:var(--ink); font-size:15.5px; line-height:1.5;}

/* Keep bot menus usable on short and landscape screens. */
.bh-menu{max-height:calc(100dvh - var(--bot-menu-top,64px) - 8px);overflow-y:auto;overscroll-behavior:contain;}
.shots[tabindex]:focus-visible{outline:2px solid var(--accent,#4cc3ff);outline-offset:5px;border-radius:8px;}
.bh-menu .bh-site-sections{margin-top:8px;padding-top:8px;border-top:1px solid var(--line);}
.bh-site-sections summary{padding:14px 0;cursor:pointer;font-weight:700;color:var(--ink);}
.bh-site-sections details a{padding-left:16px;}
