/* Derkach Roman · общая шапка, кнопки, замок, «Отправить другу». Цвета — брендбук v3 (зелёный). */
.sb{--sb-acc:#00CB19;--sb-on:#0F1020;--sb-navy:#131628;--sb-line:rgba(255,255,255,.1);
  position:relative;z-index:40;background:var(--sb-navy);color:#fff;font-family:inherit;
  display:flex;align-items:center;gap:14px;padding:10px max(16px,env(safe-area-inset-left));min-height:52px;box-sizing:border-box;width:100%}
.sb *{box-sizing:border-box}
.sb-logo{color:#fff;text-decoration:none;font-weight:800;font-size:15px;letter-spacing:.01em;white-space:nowrap}
.sb-logo i{color:var(--sb-acc);font-style:normal}
.sb-nav{display:flex;align-items:center;gap:4px;flex:1 1 auto;min-width:0}
.sb-nav a{color:#C9CBE0;text-decoration:none;font-weight:700;font-size:14px;padding:7px 10px;border-radius:100px;white-space:nowrap}
.sb-nav a:hover{color:#fff;background:rgba(255,255,255,.07)}
.sb-nav a[aria-current="page"]{color:var(--sb-on);background:var(--sb-acc)}
.sb-nav .sb-dot{color:#5B5F80;font-weight:700}
.sb-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-weight:800;border-radius:100px;line-height:1.2;text-align:center}
.sb-btn-main{background:#00CB19;color:#0F1020;padding:11px 18px;font-size:14px;box-shadow:0 8px 22px rgba(0,203,25,.28)}
.sb-btn-main:hover{filter:brightness(1.05)}
.sb-hbtn{margin-left:auto;flex:0 0 auto;max-width:380px}
@media (max-width:860px){
  .sb{gap:6px;padding:8px 10px;min-height:46px}
  .sb-logo,.sb-hbtn{display:none}
  .sb-nav{justify-content:center;gap:2px}
  .sb-nav a{font-size:13px;padding:7px 9px}
}
@media (max-width:340px){.sb-nav a{font-size:12px;padding:6px 6px}.sb-nav .sb-dot{display:none}}

/* тихая вторая кнопка (роадмап) */
.sb-quiet{display:inline-flex;align-items:center;gap:6px;margin:12px auto 0;padding:9px 16px;border-radius:100px;border:1.5px solid rgba(19,22,40,.18);
  color:#131628;text-decoration:none;font-weight:700;font-size:14px;background:transparent}
.sb-quiet:hover{border-color:#131628}
.sb-quiet-wrap{text-align:center}
.cta-card .sb-quiet{border-color:rgba(255,255,255,.25);color:#fff}

/* «Отправить другу» */
.sb-share{display:inline-flex;align-items:center;gap:8px;margin:14px 0 0;padding:10px 18px;border-radius:100px;background:#fff;color:#131628;
  border:1.5px solid #131628;text-decoration:none;font-weight:800;font-size:14px}
.sb-share svg{width:18px;height:18px}
.sb-share:hover{background:#131628;color:#fff}
.next .sb-share{margin-top:12px}

/* нижняя липкая кнопка на сайтах «Клиенты» и «Как работает» (телефон) */
.sb-bottom{display:none}
@media (max-width:860px){
  .sb-bottom{display:block;position:fixed;left:0;right:0;bottom:0;z-index:50;padding:10px 12px calc(10px + env(safe-area-inset-bottom));
    background:rgba(15,16,32,.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
  .sb-bottom .sb-btn-main{width:100%;padding:13px 14px;font-size:15px}
  body.sb-has-bottom{padding-bottom:76px}
}

/* видео-слоты: пока файла нет — не показываем */
[data-slot][hidden]{display:none!important}

/* замок (режимы teaser / bot_only) */
html.sb-lock body>*:not(.sb-lockscreen):not(.sb){display:none!important}
.sb-lockscreen{min-height:calc(100vh - 52px);min-height:calc(100dvh - 52px);display:flex;align-items:center;justify-content:center;padding:32px 16px;
  background:#131628 radial-gradient(60% 50% at 50% 30%,rgba(0,203,25,.22),transparent);color:#fff;text-align:center;font-family:inherit}
.sb-lk-in{max-width:520px}
.sb-lk-eb{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#9EA2C0;margin-bottom:14px}
.sb-lockscreen h1{font-size:clamp(28px,7vw,44px);line-height:1.1;font-weight:900;margin:0 0 14px;color:#fff}
.sb-lockscreen p{font-size:17px;line-height:1.5;color:#D6D8EA;margin:0 0 24px}
.sb-lockscreen .sb-btn-main{font-size:16px;padding:15px 24px}
.sb-lk-back{display:block;margin-top:18px;color:#9EA2C0;font-size:14px;font-weight:600}

/* липкая шапка + зелёная полоса: при прокрутке вниз полоса прячется, вверх — возвращается (правка Романа 16.11) */
html{scroll-padding-top:calc(var(--sb-off,52px) + 8px)}
.sb{position:sticky;top:0;z-index:60}
.sb + .strip, .sb + .stripe{position:sticky;top:var(--sb-h,52px);z-index:59;transition:transform .25s ease}
html.sb-strip-off .sb + .strip, html.sb-strip-off .sb + .stripe{transform:translateY(-100%);pointer-events:none}
html.sb-tg .sb + .strip, html.sb-tg .sb + .stripe{transition:transform .25s ease}
/* роадмап: меню уровней и мобильная плашка уровня встают под шапку */
.side{top:var(--sb-off,52px);transition:top .25s ease}
@media (min-width:861px){.side{height:calc(100vh - var(--sb-off,52px))}}
.mbar{top:var(--sb-off,46px);transition:top .25s ease}
.az-side{top:calc(var(--sb-off,52px) + 12px)}
