.site-rest{
      --ink: #16203a;
      --muted: #69748b;
      --line: #e2e8f2;
      --paper: #f6f8fc;
      --cloud: #edf1f9;
      --white: #ffffff;
      --brand: #0137fb;       /* фирменный синий — тот, на котором стоит логотип на входе */
      --cobalt: #0137fb;
      --navy: #0b1226;
      --navy-2: #141d38;
      --navy-line: #26314f;
      --navy-text: #a8b4d0;
      --lime: #bef425;        /* только логотип: в интерфейсе кабинета этого цвета нет */
      --green: #15803d;
      --shadow-xl: 0 44px 100px rgba(11, 18, 38, 0.28);
      --shadow-md: 0 16px 44px rgba(11, 18, 38, 0.10);
      --shadow-sm: 0 3px 14px rgba(11, 18, 38, 0.05);
      font-family: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    }
.site-rest *{ box-sizing: border-box; }
.site-rest html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.site-rest body{ margin: 0; background: var(--paper); color: var(--ink); line-height: 1.5; font-size: 17px; -webkit-font-smoothing: antialiased; }
.site-rest a{ color: inherit; text-decoration: none; }
.site-rest h1, .site-rest h2, .site-rest h3, .site-rest h4{ margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
.site-rest p{ margin: 0; }
.site-rest img{ max-width: 100%; display: block; }
.site-rest .wrap{ width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.site-rest .narrow{ width: min(900px, calc(100% - 40px)); margin: 0 auto; }
.site-rest .section{ padding: 100px 0; scroll-margin-top: 78px; }
.site-rest .section--tight{ padding: 72px 0; }
.site-rest .eyebrow{ display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 16px; }
.site-rest .h2{ font-size: clamp(30px, 4vw, 50px); }
.site-rest .lede{ color: var(--muted); font-size: 19px; max-width: 62ch; }
.site-rest .head{ margin-bottom: 48px; }
.site-rest .head h2{ margin-bottom: 16px; }
.site-rest .btn{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease; white-space: nowrap; }
.site-rest .btn:hover{ transform: translateY(-1px); }
.site-rest .btn-lime{ background: var(--lime); color: #1f2937; box-shadow: 0 8px 22px rgba(190,244,37,.28); }
.site-rest .btn-lime:hover{ background: #cbfb44; }
.site-rest .btn-glass{ background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.34); color: #fff; backdrop-filter: blur(6px); }
.site-rest .btn-glass:hover{ background: rgba(255,255,255,.2); }
.site-rest .btn-primary{ background: var(--cobalt); color: #fff; }
.site-rest .btn-white{ background: #fff; color: #0137fb; }
.site-rest .btn-outline{ border-color: rgba(255,255,255,.30); color: #fff; }
.site-rest .btn-lg{ padding: 13px 24px; font-size: 15.5px; }
/* ── шапка ─────────────────────────────────────────────── */
.site-rest .nav{ position: sticky; top: 0; z-index: 50; background: #0137fb; border-bottom: 1px solid rgba(255,255,255,.14); transition: background .2s ease, box-shadow .2s ease; }
.site-rest .nav.stuck{ background: rgba(1,40,220,.92); backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 10px 30px rgba(4,14,60,.22); }
.site-rest .nav-in{ display: flex; align-items: center; gap: 30px; height: 70px; }
.site-rest .logo{ display: inline-flex; align-items: center; flex-shrink: 0; }
.site-rest .logo img{ height: 30px; width: auto; display: block; }
.site-rest .foot .logo img{ height: 27px; }
.site-rest .nav-links{ display: flex; gap: 4px; font-size: 15px; color: #fff; font-weight: 500; }
.site-rest .nav-links a{ padding: 7px 12px; border-radius: 999px; transition: background .15s ease, color .15s ease; }
.site-rest .nav-links a:hover{ background: rgba(255,255,255,.14); }
.site-rest .nav-links a:hover{ color: #fff; }
.site-rest .nav-cta{ margin-left: auto; display: flex; align-items: center; gap: 14px; }
.site-rest .nav-cta .blog-link{ display:none; color:#fff; font-size:14px; text-decoration:none; white-space:nowrap; }
@media(max-width:1000px){.site-rest .nav-links{display:none}.site-rest .nav-cta .blog-link{display:inline}}
.site-rest .nav-cta .login{ color: #fff; font-size: 15px; }
.site-rest .nav-cta .login:hover{ color: #fff; }
/* ── герой ─────────────────────────────────────────────── */
.site-rest .hero{ background: linear-gradient(180deg, #0137fb 0%, #012ad4 100%); color: #fff; padding: 88px 0 0; position: relative; overflow: hidden; }
.site-rest .hero-grain{ position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.site-rest .grid-lines{ position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.site-rest .beam{ position: absolute; left: 50%; top: -30%; width: 46vw; height: 160%; pointer-events: none; transform: translateX(-50%) rotate(18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.10) 45%, rgba(190,244,37,.12) 50%, rgba(255,255,255,.10) 55%, transparent); filter: blur(28px); }
.site-rest .hero-text{ text-align: center; max-width: 920px; margin: 0 auto; position: relative; z-index: 2; }
.site-rest .kicker{ display: inline-block; font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px; }
.site-rest .hero h1{ font-size: clamp(34px, 4.7vw, 64px); margin-bottom: 22px; line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; position: relative; z-index: 1; }
.site-rest .hero h1 > span{ display: block; }
.site-rest .hero h1 .l2{ font-size: .82em; font-weight: 700; margin: 6px 0; }
.site-rest .hero h1 .w{ display: inline-block; }
/* ротатор: коробка слова выше строки (1.3em), чтобы хвосты «у» и «р» соседних слов не выглядывали из-под среза */
.site-rest .rot{ display: inline-block; position: relative; vertical-align: -0.28em; height: 1.3em; overflow: hidden; white-space: nowrap; text-align: left; }
.site-rest .rot-in{ display: block; transition: transform .72s cubic-bezier(.16,.84,.28,1); }
.site-rest .rot-in b{ display: block; width: max-content; height: 1.3em; line-height: 1.3em; font-weight: 700; color: var(--lime); }
/* штрих пером под «вместо вас»: заливка с утолщением к середине, чуть ниже букв, лаймом */
.site-rest .em{ position: relative; display: inline-block; white-space: nowrap; }
.site-rest .brush{ position: absolute; left: -1.5%; width: 103%; height: .24em; bottom: -.2em; fill: var(--lime); transform: rotate(-1.4deg); transform-origin: left center; overflow: visible; pointer-events: none; }
.site-rest .hero p.sub{ color: rgba(255,255,255,.84); font-size: 19.5px; max-width: 58ch; margin: 0 auto 32px; }
.site-rest .hero-cta{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; justify-content: center; }
.site-rest .hero-mini{ color: rgba(255,255,255,.68); font-size: 14px; }
.site-rest .hero-mini b{ color: #fff; font-weight: 600; }
/* сцена: кадр лежит в перспективе и выпрямляется на прокрутке */
.site-rest .stage{ perspective: 1600px; margin: 56px auto 0; max-width: 1180px; position: relative; z-index: 2; }
.site-rest .stage-in{ position: relative; transform-origin: 50% 0; transform: rotateX(var(--tilt, 16deg)) scale(var(--sc, .94)); transition: transform .08s linear; transform-style: preserve-3d; will-change: transform; }
.site-rest .hero-shot{ position: relative; height: 520px; border-radius: 20px 20px 0 0; overflow: hidden; box-shadow: 0 50px 110px rgba(3,10,45,.45), 0 6px 20px rgba(3,10,45,.28); border: 1px solid rgba(255,255,255,.18); border-bottom: 0; }
.site-rest .hero-shot img{ width: 100%; }
.site-rest .hero-shot::after{ content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, rgba(1,42,212,0), rgba(1,42,212,.85)); pointer-events: none; }
.site-rest .stake{ position: absolute; right: 28px; top: -30px; z-index: 4; display: grid; gap: 2px; background: rgba(11,18,38,.9); color: #fff; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 16px 20px; box-shadow: 0 26px 60px rgba(3,10,45,.45); backdrop-filter: blur(8px); transform: translateZ(60px); }
.site-rest .stake-l{ font-size: 12.5px; color: rgba(255,255,255,.66); font-weight: 600; }
.site-rest .stake-v{ font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--lime); font-variant-numeric: tabular-nums; }
.site-rest .stake-s{ font-size: 12.5px; color: rgba(255,255,255,.66); }
.site-rest .toasts{ position: absolute; left: -36px; bottom: 34px; width: 330px; display: grid; gap: 10px; z-index: 4; transform: translateZ(50px); }
.site-rest .toasts-cap{ display: none; margin: 0; font-size: 13px; font-weight: 600; color: rgba(226,235,255,.72); letter-spacing: .01em; }
.site-rest .toast{ display: flex; gap: 11px; align-items: flex-start; background: rgba(252,253,255,.97); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%); color: var(--ink); border-radius: 20px; padding: 11px 14px 12px 12px; box-shadow: 0 22px 50px rgba(3,10,45,.4), 0 1px 0 rgba(255,255,255,.7) inset; line-height: 1.34; }
.site-rest .toast > div{ min-width: 0; flex: 1; }
.site-rest .toast .app{ width: 40px; height: 40px; border-radius: 50%; flex: none; margin-top: 1px; box-shadow: 0 2px 6px rgba(3,10,45,.18); }
.site-rest .toast .tg-sq{ border-radius: 11px; }
.site-rest .toast-h{ display: flex; align-items: baseline; gap: 8px; margin: 0 0 1px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.site-rest .toast-h time{ margin-left: auto; text-transform: none; letter-spacing: 0; font-size: 11.5px; }
.site-rest .toast b{ display: block; font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; }
.site-rest .toast span{ display: block; color: #33405c; font-size: 12.5px; margin-top: 1px; }
.site-rest .toast em{ font-style: normal; color: var(--cobalt); font-weight: 700; white-space: nowrap; }
@media  (max-width: 999px) {/* На телефоне широкий кадр кабинета нечитаем — показываем узнаваемый фрагмент,
         а историю ночи рассказывают сами пуши: на телефоне они и должны быть героем. */
.site-rest .stage{ margin-top: 30px; }
.site-rest .stage-in{ transform: none; position: relative; display: block; }
.site-rest .hero-shot{ height: 440px; border-radius: 16px 16px 0 0; }
.site-rest .hero-shot img{ width: 180%; max-width: none; }
.site-rest .hero-shot::after{ height: 250px; }
.site-rest .stake{ position: absolute; top: 10px; right: 10px; left: auto; width: auto; transform: none;
        padding: 8px 12px; border-radius: 12px; text-align: right; z-index: 5; }
.site-rest .stake-l, .site-rest .stake-s{ font-size: 10px; }
.site-rest .stake-v{ font-size: 20px; }
.site-rest .toasts{ position: absolute; left: 8px; right: 8px; bottom: 10px; width: auto; transform: none; gap: 6px; z-index: 6; }
.site-rest .toast{ padding: 6px 9px 7px 7px; gap: 7px; font-size: 10px; line-height: 1.3; border-radius: 12px; }
.site-rest .toast .app{ width: 20px; height: 20px; }
.site-rest .toast-h{ font-size: 8.5px; }
.site-rest .toast-h time{ font-size: 9px; }
.site-rest .toast b{ font-size: 10px; }
.site-rest .toast span{ font-size: 10px; }}
/* ── движение ──────────────────────────────────────────── */
@media  (prefers-reduced-motion: no-preference) {.site-rest .hero .kicker, .site-rest .hero p.sub, .site-rest .hero-cta, .site-rest .hero-mini{ opacity: 0; transform: translateY(18px); animation: rise .45s cubic-bezier(.2,.7,.2,1) forwards; }
.site-rest .hero .kicker{ animation-delay: .05s; }
.site-rest .hero p.sub{ animation-delay: .1s; }
.site-rest .hero-cta{ animation-delay: .15s; }
.site-rest .hero-mini{ animation-delay: .2s; }
.site-rest .hero h1 .w{ opacity: 0; transform: translateY(10px); animation: word .45s cubic-bezier(.2,.7,.2,1) forwards; }
.site-rest .hero h1 .rot{ opacity: 0; transform: translateY(10px); animation: word .45s .1s cubic-bezier(.2,.7,.2,1) forwards; }
.site-rest .brush{ clip-path: inset(0 100% 0 0); animation: brush .35s .15s cubic-bezier(.3,.6,.2,1) forwards; }
.site-rest .stage{ opacity: 0; transform: translateY(60px); animation: rise 1.2s .6s cubic-bezier(.2,.7,.2,1) forwards; }
.site-rest .beam{ animation: beam 14s ease-in-out infinite alternate; }
.site-rest .stake{ opacity: 0; transform: translateZ(60px) translateY(12px); animation: pop .7s 1.7s cubic-bezier(.2,.8,.2,1) forwards; }
.site-rest .toast{ opacity: 0; transform: translateX(-26px) scale(.96); }
.site-rest .toast.on, .site-rest .stage-in.flat .toast{ animation: pop .78s cubic-bezier(.16,.84,.28,1) forwards; }
.site-rest .stage-in.flat .toast.t1{ animation-delay: .05s; }
.site-rest .stage-in.flat .toast.t2{ animation-delay: .6s; }
.site-rest .stage-in.flat .toast.t3{ animation-delay: 1.15s; }
.site-rest .reveal{ opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.site-rest .reveal.in{ opacity: 1; transform: none; }
.site-rest .h2.split .w{ display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(12px); }
.site-rest .h2.split.in .w{ animation: word .7s cubic-bezier(.2,.7,.2,1) forwards; }
.site-rest .card{ position: relative; }
.site-rest .card::before{ content: ""; position: absolute; top: 40px; left: 44px; right: -20px; height: 2px; background: rgba(190,244,37,.35); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.site-rest .card.in::before{ transform: scaleX(1); }
.site-rest .card:last-child::before, .site-rest .card:not(.tl)::before{ display: none; }
.site-rest .card-n::before{ transform: scale(.4); opacity: 0; transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.site-rest .card.in .card-n::before{ transform: none; opacity: 1; }
.site-rest .tg-msg{ opacity: 0; transform: translateY(10px) scale(.98); }
/* карточки появляются вместе с самим блоком — ожидание «печатает» тут только раздражало */
.site-rest .tg.in .tg-msg{ animation: pop .45s cubic-bezier(.2,.8,.2,1) forwards; }
.site-rest .panel .frame img{ transform: translateY(18px); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.site-rest .panel.in .frame img{ transform: none; }}
@keyframes  rise { to { opacity: 1; transform: none; } }
@keyframes  word { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes  brush { to { clip-path: inset(0 0 0 0); } }
@keyframes  pop { to { opacity: 1; transform: none; } }
@keyframes  ping { 0% { box-shadow: 0 0 0 0 rgba(190,244,37,.7); } 100% { box-shadow: 0 0 0 10px rgba(190,244,37,0); } }
@keyframes  beam { from { transform: translateX(-70%) rotate(18deg); } to { transform: translateX(-30%) rotate(18deg); } }
@keyframes  typing-show { 0% { opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes  bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
/* ── листалка ──────────────────────────────────────────── */
.site-rest .how{ display: grid; gap: 26px; max-width: 1180px; margin: 0 auto; }
@media  (min-width: 1000px) {.site-rest .how{ grid-template-columns: 210px 1fr; gap: 44px; align-items: start; }}
.site-rest .how-steps{ position: sticky; top: 104px; display: grid; gap: 3px; }
.site-rest .how-step{ border: 0; background: none; font: inherit; text-align: left; cursor: pointer; width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; font-size: 15.5px; font-weight: 600; color: var(--muted); transition: background .15s ease, color .15s ease; }
.site-rest .how-step b{ width: 24px; height: 24px; border-radius: 7px; background: var(--cloud); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; flex: none; }
.site-rest .how-step:hover{ color: var(--ink); }
.site-rest .how-step:focus-visible{ outline: 2px solid var(--cobalt); outline-offset: 2px; }
.site-rest .how-step.on{ background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.site-rest .how-step.on b{ background: var(--cobalt); color: #fff; }
@media  (max-width: 999px) {.site-rest .how-steps{ position: sticky; top: 78px; z-index: 30; grid-auto-flow: column; overflow-x: auto; background: rgba(246,248,252,.94); backdrop-filter: blur(10px); border-radius: 14px; padding: 6px; }
.site-rest .how-step{ width: auto; white-space: nowrap; }}
.site-rest .panel{ background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 34px 34px 0; margin-bottom: 22px; overflow: hidden; box-shadow: var(--shadow-sm); }
.site-rest .panel{ position: relative; }
.site-rest .panel h3{ font-size: clamp(23px, 2.5vw, 31px); margin-bottom: 12px; }
.site-rest .panel p{ color: var(--muted); font-size: 16.5px; max-width: 64ch; }
.site-rest .panel .frame{ margin-top: 22px; border-radius: 18px 18px 0 0; overflow-y: auto; overflow-x: hidden; background: linear-gradient(180deg, #eef2ff, #e2eaff); padding: 18px 18px 0; max-height: 500px; scrollbar-width: thin; scrollbar-color: rgba(1,55,251,.28) transparent; }
.site-rest .panel .frame::-webkit-scrollbar{ width: 9px; }
.site-rest .panel .frame::-webkit-scrollbar-thumb{ background: rgba(1,55,251,.26); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
.site-rest .panel .frame::-webkit-scrollbar-thumb:hover{ background: rgba(1,55,251,.42); background-clip: padding-box; }
.site-rest .frame-arrow{ position: sticky; bottom: 14px; z-index: 2; display: none; width: 40px; height: 40px; margin: -56px 10px 0 auto; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: rgba(11,18,38,.7); color: #fff; backdrop-filter: blur(8px); box-shadow: 0 6px 18px rgba(3,10,45,.28); transition: background .2s, opacity .25s; }
.site-rest .frame-arrow::before{ content: ""; display: block; width: 10px; height: 10px; margin: 0 auto; border-right: 2.4px solid currentColor; border-bottom: 2.4px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.site-rest .frame-arrow:hover{ background: rgba(11,18,38,.85); }
.site-rest .frame-arrow:focus-visible{ outline: 2px solid var(--lime); outline-offset: 2px; }
.site-rest .frame.scrolls .frame-arrow{ display: block; }
.site-rest .frame.at-end .frame-arrow{ opacity: 0; pointer-events: none; }
.site-rest .shots-head{ display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.site-rest .shots-hint{ font-size: 12.5px; color: var(--muted); }
/* Телефон поверх кадра: с Бизаром разговаривают и в кабинете, и в мессенджере.
       Корпус, чёлка, строка состояния и пузыри Telegram — обычный телефон, а не карточка. */
.site-rest .withphone{ position: relative; }
.site-rest .phone{ position: absolute; right: 14px; top: 14px; bottom: 14px; width: 252px; padding: 9px; border-radius: 40px;
      background: linear-gradient(160deg, #3a4358, #171d2c 42%, #0b0f18); box-shadow: 0 14px 32px rgba(3,10,45,.22), 0 2px 0 rgba(255,255,255,.12) inset; }
.site-rest .phone-body{ position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 32px; background: #e9edf2; }
.site-rest .phone-notch{ position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 72px; height: 15px; border-radius: 0 0 11px 11px; background: #0b0f18; z-index: 3; }
.site-rest .phone-status{ display: flex; align-items: center; justify-content: space-between; padding: 3px 20px 4px; font-size: 9px; font-weight: 700; color: #16203a; }
.site-rest .phone-icons{ display: inline-flex; align-items: center; gap: 3.5px; }
.site-rest .ph-bat{ position: relative; width: 15px; height: 7.5px; border: 1px solid rgba(22,32,58,.55); border-radius: 2.5px; }
.site-rest .ph-bat::before{ content: ""; position: absolute; left: 1px; top: 1px; bottom: 1px; width: 9px; border-radius: 1.5px; background: #16203a; }
.site-rest .phone-bar{ display: flex; align-items: center; gap: 7px; padding: 5px 10px 6px; background: #fff; border-bottom: 1px solid #dfe5ec; }
.site-rest .phone-ava{ display: inline-flex; align-items: center; justify-content: center; overflow: hidden; width: 25px; height: 25px; border-radius: 50%; background: #0137fb; }
.site-rest .phone-ava img{ width: 25px; height: 25px; transform: scale(.74); }
.site-rest .phone-who{ display: flex; flex-direction: column; line-height: 1.15; }
.site-rest .phone-who b{ font-size: 11px; color: #16203a; }
.site-rest .phone-who i{ font-style: normal; font-size: 8.5px; color: #8b95a8; }
.site-rest .phone-tg{ margin-left: auto; opacity: .75; }
.site-rest .phone-chat{ position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; padding: 10px 9px 4px; background: radial-gradient(120% 90% at 12% 8%, rgba(255,255,255,.55), transparent 60%), radial-gradient(100% 80% at 88% 22%, rgba(190,244,37,.18), transparent 62%), radial-gradient(120% 100% at 50% 100%, rgba(1,55,251,.30), transparent 68%), linear-gradient(165deg, #dbe6ff, #cfe0ff 45%, #e7eeff); }
.site-rest .bubble{ position: relative; max-width: 92%; margin-bottom: 5px; padding: 6px 9px 12px; border-radius: 12px; font-size: 10.5px; line-height: 1.46; box-shadow: 0 1px 1px rgba(16,32,58,.09); }
.site-rest .bubble .t{ position: absolute; right: 8px; bottom: 3px; font-size: 7.5px; color: #9aa6b8; }
.site-rest .bubble .t b{ color: #4fae4e; font-weight: 700; }
.site-rest .bubble.out{ margin-left: auto; border-bottom-right-radius: 4px; background: #e6fbd4; color: #16203a; }
.site-rest .bubble.in{ border-bottom-left-radius: 4px; background: #fff; color: #22304c; }
.site-rest .bubble.in b{ color: #0b1226; }
.site-rest .phone-chat::before{ content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(rgba(255,255,255,.85) 1px, transparent 1.2px), radial-gradient(rgba(1,55,251,.16) 1px, transparent 1.2px); background-size: 18px 18px, 18px 18px; background-position: 0 0, 9px 9px; }
.site-rest .phone-chat > *{ position: relative; z-index: 1; }
.site-rest .phone-input{ display: flex; align-items: center; gap: 6px; margin: 6px 9px 8px; padding: 6px 10px; border-radius: 999px; background: #fff; font-size: 9.5px; color: #a4aebe; box-shadow: 0 1px 1px rgba(16,32,58,.08); }
.site-rest .ph-send{ width: 13px; height: 13px; margin-left: auto; border-radius: 50%; background: #3f7bff; clip-path: polygon(0 0, 100% 50%, 0 100%, 22% 50%); }
.site-rest .phone-home{ height: 14px; background: #eef2f7; }
.site-rest .phone-home::after{ content: ""; display: block; width: 74px; height: 3px; margin: 4px auto 0; border-radius: 999px; background: #b6c0d0; }
@media  (max-width: 980px) {/* На узком экране корпус телефона — пустая трата половины экрана: рамка, чёлка и
         полоска жеста не добавляют ничего, а переписку делают мелкой. Оставляем сам чат. */
.site-rest .phone{ position: static; width: auto; max-width: 420px; height: auto; margin: 16px auto 0; padding: 0; border: 0; border-radius: 16px; background: none; box-shadow: none; }
.site-rest .phone-body{ border-radius: 16px; box-shadow: 0 10px 26px rgba(3,10,45,.14); }
.site-rest .phone-notch, .site-rest .phone-status, .site-rest .phone-home, .site-rest .phone-input{ display: none; }
.site-rest .phone-chat{ overflow: visible; padding: 12px 11px; }
.site-rest .bubble{ max-width: 88%; margin-bottom: 7px; padding: 8px 11px 14px; font-size: 12.5px; }
.site-rest .bubble .t{ right: 10px; bottom: 4px; font-size: 9px; }
.site-rest .phone-bar{ padding: 8px 12px; }
.site-rest .phone-ava, .site-rest .phone-ava img{ width: 28px; height: 28px; }
.site-rest .phone-who b{ font-size: 12.5px; }
.site-rest .phone-who i{ font-size: 10px; }}
.site-rest .panel .frame img{ width: 100%; border-radius: 12px 12px 0 0; border: 1px solid rgba(1,55,251,.14); border-bottom: 0; box-shadow: 0 24px 60px rgba(1,55,251,.18); }
.site-rest .shots{ position: relative; margin-top: 22px; }
.site-rest .shots-copy{ position: relative; margin-top: 14px; min-height: 76px; }
.site-rest .shot-copy{ position: absolute; left: 0; right: 0; top: 0; margin: 0; max-width: 78ch; opacity: 0; transition: opacity .3s ease; color: var(--muted); }
.site-rest .shot-copy.on{ position: relative; opacity: 1; }
@media  (max-width: 700px) {.site-rest .shots-copy{ min-height: 118px; }}
.site-rest .shots-tabs{ display: inline-flex; gap: 3px; padding: 4px; border-radius: 999px; background: rgba(1,55,251,.07); }
.site-rest .shot-tab{ border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 7px 15px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.site-rest .shot-tab:hover{ color: var(--ink); }
.site-rest .shot-tab.on{ background: #fff; color: var(--cobalt); box-shadow: 0 1px 3px rgba(3,10,45,.14); }
.site-rest .shot-tab:focus-visible{ outline: 2px solid var(--cobalt); outline-offset: 2px; }
.site-rest .shots-stack{ position: relative; margin-top: 14px; }
.site-rest .shots-stack .frame{ position: absolute; left: 0; right: 0; top: 0; margin-top: 0; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.site-rest .shots-stack .frame.on{ position: relative; opacity: 1; pointer-events: auto; }
.site-rest .tagline{ display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.site-rest .tagline i{ font-style: normal; display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; border-radius: 8px; background: var(--cobalt); color: #fff; font-size: 12.5px; font-weight: 700; }
/* ── тёмная зона Бизара ────────────────────────────────── */
.site-rest .dark{ background: var(--navy); color: #e8edf9; }
/* Ночное небо слева: месяц со звёздами за текстом — секция про работу ночью. */
.site-rest #bizar{ position: relative; overflow: hidden; padding-top: 66px; }
.site-rest #bizar > .wrap{ position: relative; z-index: 1; }
.site-rest .night-sky{ position: absolute; right: -60px; top: 14px; width: 320px; height: 320px; z-index: 0; pointer-events: none; opacity: .62; }
.site-rest .night-sky svg{ position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform: scaleX(-1); }
.site-rest .night-sky .sky-day{ opacity: 0; }
/* без движения на экране остаётся ночь */
@media  (prefers-reduced-motion: no-preference) {.site-rest .night-sky .sun-rays{ animation: sunSpin 120s linear infinite; transform-origin: 150px 150px; }
/* сутки по кругу: ночь → день → ночь. Бизар на смене всё время, не только ночью */
.site-rest .night-sky .sky-night{ animation: skyNight 18s ease-in-out infinite; }
.site-rest .night-sky .sky-day{ animation: skyDay 18s ease-in-out infinite; }}
@keyframes  skyNight {
      0%, 40% { opacity: 1; transform: scaleX(-1) translateY(0); }
      50%, 90% { opacity: 0; transform: scaleX(-1) translateY(-14px); }
      100% { opacity: 1; transform: scaleX(-1) translateY(0); }
    }
@keyframes  sunSpin { to { transform: rotate(360deg); } }
@keyframes  skyDay {
      0%, 40% { opacity: 0; transform: scaleX(-1) translateY(14px); }
      50%, 90% { opacity: 1; transform: scaleX(-1) translateY(0); }
      100% { opacity: 0; transform: scaleX(-1) translateY(14px); }
    }
@media  (max-width: 999px) {.site-rest .night-sky{ width: 210px; height: 210px; left: auto; right: -46px; top: 2px; opacity: .42; }}
@media  (prefers-reduced-motion: no-preference) {.site-rest .night-sky .star{ animation: twinkle 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.site-rest .night-sky .s2{ animation-delay: .6s; }
.site-rest .night-sky .s3{ animation-delay: 1.4s; }
.site-rest .night-sky .s4{ animation-delay: 2.1s; }
.site-rest .night-sky .s5{ animation-delay: .9s; }
.site-rest .night-sky .s6{ animation-delay: 1.8s; }
.site-rest .night-sky .s7{ animation-delay: 2.6s; }}
@keyframes  twinkle { 0%, 100% { opacity: .35; transform: scale(.88); } 50% { opacity: 1; transform: scale(1); } }
.site-rest .dark h2, .site-rest .dark h3, .site-rest .dark h4{ color: #fff; }
.site-rest .dark .lede, .site-rest .dark .muted, .site-rest .dark .card p{ color: var(--navy-text); }
.site-rest .dark .eyebrow{ color: #7aa2ff; }
.site-rest .grid{ display: grid; gap: 18px; grid-template-columns: 1fr; }
@media  (min-width: 700px) {.site-rest .grid-2{ grid-template-columns: repeat(2, 1fr); }
.site-rest .grid-3{ grid-template-columns: repeat(2, 1fr); }}
@media  (min-width: 1000px) {.site-rest .grid-3{ grid-template-columns: repeat(3, 1fr); }}
.site-rest .grid-tl{ grid-template-columns: 1fr; }
@media  (min-width: 700px) {.site-rest .grid-tl{ grid-template-columns: repeat(2, 1fr); }}
@media  (min-width: 1000px) {.site-rest .grid-tl{ grid-template-columns: repeat(3, 1fr); }}
@media  (min-width: 1180px) {.site-rest .grid-tl{ grid-template-columns: repeat(5, 1fr); }}
.site-rest .card{ background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 20px; padding: 26px; }
.site-rest .card h4{ font-size: 18.5px; margin-bottom: 10px; }
.site-rest .card p{ font-size: 15.5px; }
.site-rest .card-n{ display: inline-flex; align-items: center; gap: 9px; color: var(--lime); font-weight: 700; font-size: 14px; letter-spacing: .01em; margin-bottom: 14px; position: relative; z-index: 1; background: var(--navy-2); padding-right: 12px; }
.site-rest .card-n::before{ content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(190,244,37,.16); flex: none; }
/* ── планёрка ──────────────────────────────────────────── */
.site-rest .tg{ background: #16223c; border: 1px solid var(--navy-line); border-radius: 18px; padding: 2px; box-shadow: var(--shadow-xl); }
.site-rest .tg-head{ display: flex; align-items: center; gap: 10px; padding: 13px 15px; border-bottom: 1px solid var(--navy-line); }
.site-rest .tg-ava{ width: 32px; height: 32px; border-radius: 10px; background: #0137fb; padding: 4px; box-sizing: border-box; }
.site-rest .tg-name{ font-size: 14px; font-weight: 600; color: #fff; }
.site-rest .tg-sub{ font-size: 11.5px; color: var(--navy-text); }
.site-rest .tg-msg{ background: #1f2f52; margin: 12px; padding: 15px 17px; border-radius: 14px 14px 14px 4px; font-size: 13.8px; color: #dde5f6; line-height: 1.62; }
.site-rest .tg-msg b{ color: #fff; }
.site-rest .tg-msg hr{ border: 0; border-top: 1px solid #2c3f66; margin: 10px 0; }
.site-rest .tg-time{ display: block; text-align: right; font-size: 10.5px; color: #7f8db0; margin-top: 8px; }
.site-rest .tg-where{ display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 18px;
      font-size: 14.5px; font-weight: 600; color: var(--navy-text); }
.site-rest .tg-where img{ border-radius: 7px; }
.site-rest .tg-msg .up{ color: #8fe28f; }
.site-rest .tg-msg .dn{ color: #ff9a9a; }
/* ── цифры ─────────────────────────────────────────────── */
.site-rest .stats{ display: grid; gap: 18px; }
@media  (min-width: 700px) {.site-rest .stats{ grid-template-columns: repeat(2, 1fr); }}
@media  (min-width: 1000px) {.site-rest .stats{ grid-template-columns: repeat(4, 1fr); }}
.site-rest .stat{ background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 20px; padding: 26px; }
.site-rest .stat b{ display: block; font-size: clamp(30px, 3.4vw, 42px); color: var(--lime); letter-spacing: -0.03em; margin-bottom: 8px; font-weight: 700; }
.site-rest .stat span{ color: var(--navy-text); font-size: 15px; }
/* ── сравнение ─────────────────────────────────────────── */
.site-rest .stack{ background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); }
.site-rest .stack-row{ display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line); }
@media  (min-width: 800px) {.site-rest .stack-row{ grid-template-columns: 210px 1fr 1fr; }}
.site-rest .stack-row:last-child{ border-bottom: 0; }
.site-rest .stack-row > div{ padding: 20px 24px; font-size: 15.5px; }
.site-rest .stack-head{ background: #fbfcff; font-size: 11.5px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.site-rest .stack-head.mine{ background: var(--navy); color: #fff; }
.site-rest .stack-key{ font-weight: 600; }
.site-rest .stack-problem{ color: var(--muted); }
.site-rest .stack-mine{ background: #f7f9ff; border-left: 3px solid var(--cobalt); }
@media  (max-width: 799px) {/* Таблица рассыпается в столбик, и шапка колонок повисает тремя строками ни к чему:
         на узком экране каждая строка — карточка, а «наша» часть подписана внутри неё. */
.site-rest .stack-row:first-child{ display: none; }
.site-rest .stack-row{ padding: 4px 0 10px; }
.site-rest .stack-row > div{ padding: 6px 18px; font-size: 15px; }
.site-rest .stack-key{ padding-top: 14px !important; font-size: 17px; letter-spacing: -.01em; }
.site-rest .stack-mine{ margin: 6px 12px 0; padding: 12px 14px !important; border-left: 0; border-radius: 14px; }
.site-rest .stack-mine::before{ content: "С Bizar AI"; display: block; margin-bottom: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }}
/* ── цена ──────────────────────────────────────────────── */
.site-rest .black-friday{ display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 940px; margin: 0 auto 18px; padding: 20px 24px; border-radius: 18px; background: #11182b; color: #fff; text-align: left; }
.site-rest .black-friday[hidden], .site-rest .promo-dialog[hidden], .site-rest .pc-promo[hidden], .site-rest #calcOld[hidden]{ display: none; }
.site-rest .black-friday-label{ margin: 0 0 6px; color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site-rest .black-friday-copy h3{ margin: 0 0 6px; font-size: clamp(20px, 2.4vw, 25px); }
.site-rest .black-friday-copy > p:last-child{ max-width: 40ch; color: #c3cad9; font-size: 14px; line-height: 1.5; }
.site-rest .black-friday-copy > .black-friday-terms:last-child{ max-width: 62ch; color: #aeb8cb; font-size: 11px; line-height: 1.4; }
.site-rest .black-friday-offer{ flex: 0 0 auto; display: flex; align-items: center; gap: 16px; }
.site-rest .black-friday-price{ white-space: nowrap; font-variant-numeric: tabular-nums; }
.site-rest .black-friday-price del{ margin-right: 8px; color: #9ca7bb; font-size: 15px; }
.site-rest .black-friday-price strong{ font-size: 25px; letter-spacing: -.03em; }
.site-rest .black-friday-price span{ color: #c3cad9; font-size: 13px; }
.site-rest .black-friday-example{ margin: 4px 0 12px; color: #c3cad9; font-size: 12px; }
.site-rest .black-friday-offer .btn{ font-size: 13px; padding: 9px 17px; }
.site-rest .promo-dialog{ position: fixed; z-index: 55; right: 20px; bottom: 20px; width: min(350px, calc(100vw - 40px)); }
.site-rest .promo-dialog-box{ position: relative; max-height: calc(100dvh - 40px); overflow: auto; padding: 22px 20px 20px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: #101116; color: #fff; box-shadow: 0 16px 42px rgba(3,10,45,.38); }
.site-rest .promo-art{ display: flex; align-items: flex-end; justify-content: flex-start; gap: 16px; margin: 40px 0 16px; }
.site-rest .promo-art h2{ max-width: 160px; margin: 0; padding: 8px 10px; border-radius: 6px; background: #0736ef; color: #fff; font-size: 21px; line-height: 1.02; letter-spacing: -.025em; text-transform: uppercase; transform: rotate(-3deg); }
.site-rest .promo-art h2 span{ display: block; }
.site-rest .promo-art h2 span + span{ color: var(--lime); }
.site-rest .promo-art strong{ color: var(--lime); font-size: 43px; font-weight: 800; letter-spacing: -.05em; white-space: nowrap; }
.site-rest .promo-dialog-box .black-friday-price{ margin: 0 0 10px; }
.site-rest .promo-dialog-box .black-friday-price del, .site-rest .promo-dialog-box .black-friday-price span{ color: rgba(255,255,255,.7); }
.site-rest .promo-terms{ margin: 0 0 14px; color: rgba(255,255,255,.7); font-size: 11px; line-height: 1.35; }
.site-rest .promo-terms p + p{ margin-top: 4px; }
.site-rest .promo-terms b{ color: rgba(255,255,255,.85); font-size: 11px; }
.site-rest .promo-dialog-box .btn{ width: 100%; }
.site-rest .promo-dialog-close{ position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.site-rest .promo-dialog-close:focus-visible, .site-rest .promo-dialog .btn:focus-visible{ outline: 2px solid var(--lime); outline-offset: 3px; }
@media (max-width: 620px){ .site-rest .promo-dialog{ right: auto; bottom: max(12px, env(safe-area-inset-bottom)); left: 50%; width: min(320px, calc(100vw - 24px)); transform: translateX(-50%); } }
@media (max-width: 360px) and (max-height: 620px){
  .site-rest .promo-dialog-box{ padding-bottom: 14px; }
  .site-rest .promo-art{ margin-bottom: 8px; }
  .site-rest .promo-dialog-box .black-friday-price{ margin-bottom: 6px; }
  .site-rest .promo-terms{ margin-bottom: 8px; line-height: 1.3; }
}
@media (max-width: 620px){
  .site-rest .black-friday{ align-items: flex-start; flex-direction: column; gap: 16px; padding: 20px; }
  .site-rest .black-friday-offer{ flex-wrap: wrap; gap: 10px 14px; }
}
.site-rest .price-card{ display: grid; grid-template-columns: 1.02fr .98fr; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-md); max-width: 940px; margin: 0 auto; overflow: hidden; text-align: left; }
.site-rest .pc-left{ padding: 24px 26px 26px; }
.site-rest .pc-row{ display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.site-rest .pc-row label{ font-size: 14.5px; font-weight: 600; color: var(--ink); }
.site-rest .pc-n{ display: flex; align-items: baseline; gap: 7px; }
.site-rest .pc-n output{ font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--cobalt); font-variant-numeric: tabular-nums; min-width: 1.4ch; text-align: right; }
.site-rest .pc-n span{ font-size: 14px; color: var(--muted); }
.site-rest .toggle{ display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); margin-top: 4px; }
.site-rest .tg-btn{ border: 0; background: none; padding: 7px 15px; border-radius: 999px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.site-rest .tg-btn i{ font-style: normal; color: var(--green); font-size: 12px; margin-left: 4px; }
.site-rest .tg-btn.on{ background: var(--cobalt); color: #fff; }
.site-rest .tg-btn.on i{ color: rgba(255,255,255,.85); }
.site-rest input[type=range]#pts{ -webkit-appearance: none; appearance: none; width: 100%; height: 7px; border-radius: 999px; background: linear-gradient(90deg, var(--cobalt) 0 var(--fill, 14%), var(--cloud) var(--fill, 14%) 100%); outline: none; margin: 8px 0 12px; cursor: pointer; }
.site-rest input[type=range]#pts::-webkit-slider-thumb{ -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); border: 3px solid #fff; box-shadow: 0 4px 14px rgba(1,55,251,.35), 0 0 0 1px rgba(1,55,251,.25); cursor: grab; transition: transform .15s; }
.site-rest input[type=range]#pts::-webkit-slider-thumb:active{ cursor: grabbing; transform: scale(1.1); }
.site-rest input[type=range]#pts::-moz-range-thumb{ width: 24px; height: 24px; border-radius: 50%; background: var(--lime); border: 3px solid #fff; box-shadow: 0 4px 14px rgba(1,55,251,.35); cursor: grab; }
.site-rest input[type=range]#pts:focus-visible{ box-shadow: 0 0 0 4px rgba(1,55,251,.2); }
.site-rest .pc-sum{ display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); }
.site-rest .pc-sum b{ font-size: clamp(28px, 3.1vw, 37px); font-weight: 800; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.site-rest .pc-sum small{ font-size: 13.5px; color: var(--muted); }
.site-rest #calcOld{ color: var(--muted); font-size: 16px; font-variant-numeric: tabular-nums; }
.site-rest .pc-promo{ margin: 7px 0 0; color: var(--green); font-size: 12.5px; font-weight: 600; }
.site-rest .pc-point{ margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.site-rest .pc-point b{ font-size: 19px; font-weight: 700; color: var(--cobalt); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-right: 4px; }
.site-rest .pc-ladder{ margin: 8px 0 0; min-height: 19px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.site-rest .pc-ladder.save{ color: var(--green); font-weight: 600; }
.site-rest .pc-left .btn{ width: 100%; margin-top: 16px; }
.site-rest .pc-note{ margin: 9px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.site-rest .pc-in{ position: relative; padding: 26px 26px 26px; background: linear-gradient(170deg, #f4f7ff, #e9f0ff 70%, #eef3ff); border-left: 1px solid var(--line); }
.site-rest .pc-badge{ display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: var(--lime); color: #1f2937; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
.site-rest .pc-in h3{ margin: 0 0 16px; font-size: 17px; letter-spacing: -0.01em; }
.site-rest .pc-group{ margin-bottom: 16px; }
.site-rest .pc-group:last-of-type{ margin-bottom: 0; }
.site-rest .pc-gname{ margin: 0 0 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); }
.site-rest .pc-in .pc-sub{ margin: 5px 0 14px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.site-rest .pc-list{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; }
.site-rest .pc-list li{ position: relative; padding-left: 21px; font-size: 13.5px; line-height: 1.4; }
.site-rest .pc-list li::before{ content: ""; position: absolute; left: 1px; top: 4px; width: 11px; height: 6px; border-left: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt); transform: rotate(-45deg); }
.site-rest .pc-fine{ margin: 15px 0 0; padding-top: 13px; border-top: 1px solid rgba(1,55,251,.12); font-size: 12.5px; line-height: 1.5; color: var(--muted); }
@media  (max-width: 860px) {.site-rest .price-card{ grid-template-columns: 1fr; }
.site-rest .pc-in{ border-left: 0; border-top: 1px solid var(--line); }
.site-rest .pc-list{ grid-template-columns: 1fr; }}
.site-rest .bands{ display: grid; gap: 8px; margin-top: 24px; font-size: 15px; text-align: left; }
.site-rest .band{ display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.site-rest .band b{ color: var(--ink); }
/* ── FAQ ───────────────────────────────────────────────── */
.site-rest .faq{ display: grid; gap: 10px; }
.site-rest details{ background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 24px; }
.site-rest summary{ cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; align-items: center; gap: 10px; }
.site-rest summary::-webkit-details-marker{ display: none; }
.site-rest summary::after{ content: "+"; margin-left: auto; color: var(--cobalt); font-size: 22px; font-weight: 400; line-height: 1; }
.site-rest details[open] summary::after{ content: "−"; }
.site-rest details p{ margin-top: 12px; color: var(--muted); font-size: 15.5px; }
/* ── финал и подвал ────────────────────────────────────── */
.site-rest .final{ background: linear-gradient(180deg, #0137fb, #012ad4); color: #fff; padding: 96px 0; text-align: center; position: relative; overflow: hidden; }
.site-rest .final h2{ font-size: clamp(30px, 4.6vw, 54px); margin-bottom: 18px; }
.site-rest .final p{ color: rgba(255,255,255,.88); font-size: 19px; max-width: 60ch; margin: 0 auto 32px; }
.site-rest .final-cta{ display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
/* Окно выбора мессенджера: одна кнопка «Связаться с нами» — два способа внутри.
       Стиль тот же, что у тёмной зоны Бизара: синяя ночь, лаймовый акцент. */
.site-rest .contact{ position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(7,12,30,.72); backdrop-filter: blur(6px); }
.site-rest .contact.on{ display: flex; }
.site-rest .contact-box{ position: relative; overflow: hidden; width: min(420px, 100%); padding: 30px 26px 26px; border-radius: 22px; border: 1px solid rgba(190,244,37,.22); background: linear-gradient(160deg, #141d38, #0b1226 62%); box-shadow: 0 34px 90px rgba(3,10,45,.55); animation: pop .28s cubic-bezier(.2,.8,.2,1) both; }
.site-rest .contact-box::before{ content: ""; position: absolute; top: -70px; right: -50px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(190,244,37,.20), transparent 68%); pointer-events: none; }
.site-rest .contact-box h3{ position: relative; margin: 0 0 6px; font-size: 22px; letter-spacing: -.015em; color: #fff; }
.site-rest .contact-box p{ position: relative; margin: 0 0 20px; font-size: 14.5px; line-height: 1.5; color: rgba(232,237,249,.68); }
.site-rest .contact-ways{ position: relative; display: grid; gap: 10px; }
.site-rest .contact-way{ display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid rgba(232,237,249,.14); border-radius: 14px; background: rgba(255,255,255,.05); font-size: 15.5px; font-weight: 600; color: #e8edf9; text-decoration: none; transition: border-color .18s, background .18s, transform .18s; }
.site-rest .contact-way:hover{ border-color: rgba(190,244,37,.55); background: rgba(190,244,37,.10); color: #fff; transform: translateY(-1px); }
.site-rest .contact-way img{ width: 26px; height: 26px; }
.site-rest .contact-close{ position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.06); color: rgba(232,237,249,.7); font-size: 20px; line-height: 1; cursor: pointer; transition: background .18s, color .18s; }
.site-rest .contact-close:hover{ background: rgba(255,255,255,.14); color: #fff; }
.site-rest .final-msg{ margin: 14px 0 0; }
.site-rest .final-msg a{ display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(232,237,249,.72); text-decoration: none; border-bottom: 1px solid rgba(232,237,249,.22); padding-bottom: 1px; }
.site-rest .final-msg a:hover{ color: #fff; border-bottom-color: rgba(255,255,255,.5); }
.site-rest .foot{ background: var(--navy); color: var(--navy-text); padding: 56px 0 34px; }
.site-rest .foot-grid{ display: grid; gap: 30px; }
@media  (min-width: 800px) {.site-rest .foot-grid{ grid-template-columns: 1.4fr repeat(3, 1fr); }}
.site-rest .foot h5{ color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
.site-rest .foot a{ display: block; margin-bottom: 9px; font-size: 15px; }
.site-rest .foot a:hover{ color: #fff; }
.site-rest .foot-req{ display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 26px; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.42); }
/* Каждый реквизит — неразрывный кусок: «ИНН» и номер не должны расходиться по строкам. */
.site-rest .foot-req span{ white-space: nowrap; }
.site-rest .foot-req span:not(:last-child)::after{ content: "·"; margin-left: 12px; opacity: .55; }
@media  (max-width: 799px) {/* Подвал столбиком занимал несколько экранов: колонки ссылок — в два ряда, отступы меньше. */
.site-rest .foot{ padding: 38px 0 26px; }
.site-rest .foot-grid{ grid-template-columns: 1fr 1fr; gap: 24px 18px; }
.site-rest .foot-grid > :first-child{ grid-column: 1 / -1; }
.site-rest .foot h5{ margin-bottom: 10px; font-size: 12px; }
.site-rest .foot a{ margin-bottom: 7px; font-size: 14.5px; }
.site-rest .foot-req{ flex-direction: column; gap: 2px; margin-top: 22px; }
.site-rest .foot-req span:not(:last-child)::after{ content: none; }
.site-rest .foot-bottom{ margin-top: 24px; padding-top: 18px; }}
.site-rest .cookie{ position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: none; gap: 16px; align-items: center;
      max-width: 760px; margin: 0 auto; padding: 14px 16px; border-radius: 16px; background: rgba(11,18,38,.96);
      color: #e6ebf7; box-shadow: 0 20px 50px rgba(3,10,45,.4); backdrop-filter: blur(14px); }
.site-rest .cookie.on{ display: flex; }
/* Панель локального предпросмотра не должна перекрывать согласие на телефоне. */
body:has(.cookie.on) .design-preview, body:has(.promo-dialog:not([hidden])) .design-preview{ visibility: hidden; }
.site-rest .cookie p{ margin: 0; font-size: 13px; line-height: 1.5; }
.site-rest .cookie a{ color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }
.site-rest .cookie button{ flex: none; border: 0; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 700;
      padding: 10px 20px; border-radius: 999px; background: var(--lime); color: #1f2937; transition: filter .2s; }
.site-rest .cookie button:hover{ filter: brightness(1.06); }
.site-rest .cookie button:focus-visible{ outline: 2px solid #fff; outline-offset: 2px; }
@media  (max-width: 640px) {.site-rest .cookie{ flex-direction: column; align-items: stretch; gap: 10px; left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; }
.site-rest .cookie p{ font-size: 12.5px; line-height: 1.45; }
.site-rest .cookie button{ width: 100%; padding: 10px 14px; }}
.site-rest .foot-bottom{ border-top: 1px solid var(--navy-line); margin-top: 36px; padding-top: 22px; font-size: 13.5px; color: #7484a8; display: flex; flex-wrap: wrap; gap: 14px; }
.site-rest .note{ font-size: 13px; color: var(--muted); }
.site-rest .dark .note{ color: #7484a8; }
@media  (max-width: 860px) {.site-rest .nav-links{ display: none; }
.site-rest .section{ padding: 68px 0; scroll-margin-top: 64px; }
.site-rest .panel{ padding: 26px 22px 0; }
.site-rest body{ font-size: 16px; }
.site-rest .hero{ padding: 34px 0 56px; }
.site-rest .hero h1{ font-size: 31px; }
.site-rest .h2{ font-size: 30px; line-height: 1.14; letter-spacing: -0.02em; }
.site-rest .h2 br{ display: none; }
.site-rest .hero p.sub{ font-size: 17px; }
.site-rest .kicker{ font-size: 11.5px; padding: 5px 11px; margin-bottom: 18px; }}
@media  (max-width: 860px) {/* Кадр кабинета помещается целиком: никакой прокрутки вбок за правым краем. */
.site-rest .how > *, .site-rest .panel, .site-rest .shots, .site-rest .shots-stack{ min-width: 0; }
/* grid-колонка иначе растёт под кадр */
.site-rest .how-steps{ display: none; }
/* на телефоне это лента, которую надо тащить вбок — не нужна */
.site-rest .frame, .site-rest .panel .frame{ max-width: 100%; max-height: none; overflow: hidden; }
.site-rest .frame img, .site-rest .panel .frame img{ width: 100%; max-width: 100%; }
.site-rest .frame-arrow{ display: none !important; }
/* стрелка про вертикальную прокрутку, её тут нет */
.site-rest .panel{ scroll-margin-top: 124px; }
/* шапка + липкая лента шагов */}
/* На телефоне пять карточек подряд читаются как длинная простыня. Разворачиваем их
       в вертикальную нить времени: линия слева, точка на каждом часе, текст компактно. */
@media  (max-width: 700px) {.site-rest .grid-tl{ position: relative; gap: 0; padding-left: 24px; }
.site-rest .grid-tl::before{ content: ""; position: absolute; left: 3px; top: 8px; bottom: 26px; width: 2px;
        background: linear-gradient(180deg, rgba(190,244,37,.5), rgba(190,244,37,.12)); }
.site-rest .grid-tl .card{ background: transparent; border: 0; border-radius: 0; padding: 0 0 24px; }
.site-rest .grid-tl .card::before{ display: none; }
.site-rest .grid-tl .card-n{ background: transparent; margin-bottom: 6px; font-size: 13px; padding-right: 0; }
.site-rest .grid-tl .card-n::before{ position: absolute; left: -24px; }
.site-rest .grid-tl .card h4{ margin-bottom: 4px; }
.site-rest .grid-tl .card p{ font-size: 14.5px; line-height: 1.5; }}
@media  (max-width: 560px) {.site-rest .nav-in{ height: 60px; gap: 14px; }
.site-rest .nav-cta .login{ display: none; }
.site-rest .nav-cta .btn{ padding: 9px 16px; font-size: 14px; }
.site-rest .logo img{ height: 26px; }
.site-rest .hero-cta{ gap: 10px; }
.site-rest .hero-cta .btn{ flex: 1 1 100%; }}
@media(max-width:420px){.site-rest .nav-in{gap:6px}.site-rest .logo img{width:60px;object-fit:contain}.site-rest .nav-cta .btn{padding:9px 10px;font-size:12.5px}}
