/* Справка «Расписания» как история: «Один день отдела продаж». Главный образ — сетка смен, по которой при прокрутке идёт время. */
.story { --ink: #12112c; --brand: #606ded; --lime: #ccf75e; --lime-ink: #4d6b00; --muted: #6b6b80; --rule: #e3e3ee; color: var(--ink); }
.st-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.st-label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(96,109,237,.1); color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.st-label i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-h2 { margin: 18px 0 0; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; max-width: 900px; }
.st-h2 span { color: #a3a3b8; }
.st-text { margin: 18px 0 0; max-width: 620px; font-size: 17px; line-height: 1.65; color: #3a3a52; }

/* Окно CRM для скриншотов */
.st-frame { position: relative; border-radius: 16px; background: #fff; border: 1px solid #e5e5f0; box-shadow: 0 24px 60px rgba(18,17,44,.18); overflow: hidden; }
.st-frame::before { content: ""; display: block; height: 30px; background: #f4f4f9 radial-gradient(circle at 16px 15px, #ff8f92 4px, transparent 5px) , radial-gradient(circle at 32px 15px, #ffe193 4px, transparent 5px), radial-gradient(circle at 48px 15px, #c6f4de 4px, transparent 5px); background-color: #f4f4f9; border-bottom: 1px solid #ececf4; }
.st-frame img { display: block; width: 100%; height: auto; }
.st-frame figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid #ececf4; }

/* ---------- Шапка ---------- */
.st-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: 76px 0 0; }
.st-hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -380px; border-radius: 50%; background: #2e2747; opacity: .8; }
.st-hero .st-wrap { position: relative; }
.st-eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 99px; background: rgba(204,247,94,.12); color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.st-h1 { margin: 22px 0 0; font-size: clamp(38px, 5.2vw, 70px); line-height: 1; font-weight: 800; letter-spacing: -.04em; max-width: 1050px; }
.st-h1 span { display: block; color: rgba(255,255,255,.42); }
.st-hero__desc { margin: 24px 0 0; max-width: 640px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.74); }
.st-facts { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 1050px; }
.st-fact { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.st-fact small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.st-fact b { display: block; margin-top: 6px; font-size: 14px; font-weight: 700; line-height: 1.35; }
.st-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.st-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 800; font-size: 15px; text-decoration: none; transition: transform .2s, background .2s; }
.st-btn--lime { background: var(--lime); color: var(--ink); } .st-btn--lime:hover { background: #d9fb7f; color: var(--ink); }
.st-btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,.25); } .st-btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.st-hero__shot { position: relative; margin: 64px auto 0; max-width: 1100px; perspective: 1600px; }
.st-hero__shot .st-frame { transform-origin: 50% 100%; transform: rotateX(var(--tilt, 14deg)) translateY(var(--lift, 0px)); transition: transform .1s linear; margin-bottom: -120px; }
.st-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 15px; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.st-chip small { display: block; font-weight: 600; font-size: 12px; opacity: .7; }
.st-chip i { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; flex: none; }
.st-chip--a { left: -28px; top: 40px; transform: rotate(-4deg); }
.st-chip--b { right: -20px; top: 180px; background: #fff; transform: rotate(3deg); }
.st-chip--b i { background: #606ded; color: #fff; }
.fx .st-chip { opacity: 0; translate: 0 16px; transition: opacity .5s, translate .6s cubic-bezier(.22,1,.36,1); }
.fx .st-chip.in { opacity: 1; translate: 0 0; }
.st-hero__fade { height: 140px; background: linear-gradient(180deg, transparent, #fff); position: relative; z-index: 2; margin-top: -10px; }

/* ---------- Проблема: переключатель «без виджета / с виджетом» ---------- */
.st-problem { padding: 140px 0 110px; }
.st-why { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.st-why p { margin: 0; padding-top: 18px; border-top: 2px solid var(--ink); font-size: 16px; line-height: 1.6; color: #3a3a52; }
.st-why b { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.st-route { margin-top: 64px; border-radius: 24px; background: #f6f6fb; padding: 34px; }
.st-toggle { display: inline-flex; padding: 4px; border-radius: 99px; background: #fff; border: 1px solid var(--rule); }
.st-toggle button { font: inherit; border: 0; background: transparent; padding: 10px 18px; border-radius: 99px; font-weight: 800; font-size: 14px; color: var(--muted); cursor: pointer; transition: background .25s, color .25s; }
.st-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.st-route__map { position: relative; margin-top: 26px; height: 300px; }
.st-route__lead { position: absolute; left: 0; top: 50%; transform: translateY(-50%); padding: 16px 18px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 800; z-index: 2; }
.st-route__lead small { display: block; font-size: 12px; color: rgba(255,255,255,.6); font-weight: 600; }
.st-route svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.st-route path { fill: none; stroke: #d6d6e4; stroke-width: 2; transition: stroke .3s, stroke-width .3s; }
.st-route path.hit { stroke: var(--brand); stroke-width: 3; }
.st-route path.bad { stroke: #ff8f92; stroke-width: 3; stroke-dasharray: 6 6; }
.st-route__people { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; display: flex; flex-direction: column; justify-content: space-between; }
.st-person { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--rule); transition: border-color .3s, box-shadow .3s, opacity .3s; }
.st-person i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; color: #fff; background: #8a8aa0; flex: none; }
.st-person b { font-size: 15px; } .st-person small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.st-person em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: #f0f0f7; color: var(--muted); white-space: nowrap; }
.st-person.on i { background: var(--brand); }
.st-person.on em { background: rgba(204,247,94,.35); color: var(--lime-ink); }
.st-person.hit { border-color: var(--brand); box-shadow: 0 10px 26px rgba(96,109,237,.2); }
.st-person.bad { border-color: #ff8f92; box-shadow: 0 10px 26px rgba(255,143,146,.25); }
.st-route__out { margin-top: 22px; font-size: 18px; font-weight: 800; min-height: 28px; }
.st-route__out span { color: var(--muted); font-weight: 600; font-size: 15px; }
.st-route__dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 6px rgba(96,109,237,.2); z-index: 3; offset-rotate: 0deg; opacity: 0; }
.st-route__dot.bad { background: #ff8f92; box-shadow: 0 0 0 6px rgba(255,143,146,.25); }

/* ---------- Один день: закреплённая сетка, время идёт при прокрутке ---------- */
.st-day { background: var(--ink); color: #fff; padding: 120px 0 60px; }
.st-day .st-label { background: rgba(204,247,94,.12); color: var(--lime); }
.st-day .st-h2 span { color: rgba(255,255,255,.4); }
.st-day__grid { margin-top: 56px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.st-stage { position: sticky; top: 90px; padding: 26px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.st-clock { display: flex; align-items: baseline; gap: 14px; }
.st-clock b { font-size: 64px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.st-clock span { font-size: 14px; color: rgba(255,255,255,.55); font-weight: 600; }
.st-sch { position: relative; margin-top: 22px; }
.st-sch__hours { display: flex; justify-content: space-between; margin-left: 132px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.4); }
.st-sch__row { display: flex; align-items: center; height: 48px; border-radius: 12px; transition: background .3s; }
.st-sch__row.on { background: rgba(204,247,94,.1); }
.st-sch__name { width: 132px; flex: none; padding-left: 10px; font-size: 14px; font-weight: 800; line-height: 1.15; }
.st-sch__name small { display: block; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.5); transition: color .3s; }
.st-sch__row.on .st-sch__name small { color: var(--lime); }
.st-sch__track { position: relative; flex: 1; height: 10px; border-radius: 99px; background: rgba(255,255,255,.07); }
.st-sch__shift { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: #606ded; }
.st-sch__shift--off { background: repeating-linear-gradient(135deg, rgba(255,255,255,.16) 0 5px, transparent 5px 10px); }
.st-sch__now { position: absolute; top: 20px; bottom: 0; width: 3px; margin-left: -1.5px; border-radius: 3px; background: var(--lime); box-shadow: 0 0 16px var(--lime); }
.st-sch__lead { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; min-height: 72px; }
.st-sch__lead b { color: var(--brand); }
.st-sch__lead small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
.st-chapters { display: flex; flex-direction: column; }
.st-ch { min-height: 88vh; padding: 10vh 0; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .4s; }
.st-ch.active { opacity: 1; }
.st-ch__time { font-size: 15px; font-weight: 800; color: var(--lime); font-variant-numeric: tabular-nums; }
.st-ch h3 { margin: 10px 0 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.st-ch p { margin: 14px 0 0; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.72); }
.st-ch .st-frame { margin-top: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.4); border-color: rgba(255,255,255,.1); }
.st-ch .st-frame--crop img { max-height: 340px; object-fit: cover; object-position: left top; }

/* ---------- График на месяц: горизонтальная лента при вертикальной прокрутке ---------- */
/* Лента прилипает под шапкой (65px), а не под ней — плашка раздела не уходит под шапку */
.st-gallery { position: relative; height: 420vh; }
.st-gallery__pin { position: sticky; top: 65px; height: calc(100vh - 65px); padding-bottom: 64px; box-sizing: border-box; overflow: hidden; display: flex; flex-direction: column; justify-content: safe center; }
/* Якоря историй не прячутся под липкой шапкой */
.story [id] { scroll-margin-top: 80px; }
.st-gallery__head { max-width: 1200px; margin: 0 auto; padding: 0 32px; width: 100%; box-sizing: border-box; }
.st-gallery__track { display: flex; gap: 40px; padding: 40px 32px 0 max(32px, calc((100vw - 1136px) / 2)); will-change: transform; }
.st-slide { flex: 0 0 min(680px, 72vw, (100vh - 545px) * 1.75); }
/* Все рамки слайдов одной высоты: снимок 16:9 + полоска окна 30px; окна-шаблоны вписаны по центру — подписи на одной линии */
.st-slide .st-frame { container-type: inline-size; margin: 16px 0 0; }
.st-slide .st-frame img { width: 100%; height: calc(100cqw / 1.7563); object-fit: contain; }
.st-slide .st-frame--win img { height: calc(100cqw / 1.7563 + 32px); }
/* Невысокий экран: заголовок ленты меньше, чтобы плашка и слайды поместились под шапкой */
@media (min-width: 901px) and (max-height: 820px) { .st-gallery .st-h2 { font-size: 40px; } .st-gallery__track { padding-top: 24px; } .st-slide { flex-basis: min(680px, 72vw, (100vh - 480px) * 1.75); } }
.st-slide h3 { margin: 18px 0 0; font-size: 22px; font-weight: 800; }
.st-slide p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 560px; }
.st-slide__n { font-size: 13px; font-weight: 800; color: var(--brand); }
.st-progress { height: 3px; margin: 28px 32px 0 max(32px, calc((100vw - 1136px) / 2)); max-width: 1136px; background: var(--rule); border-radius: 3px; overflow: hidden; }
.st-progress i { display: block; height: 100%; width: 100%; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Журнал с выносками ---------- */
.st-log { padding: 120px 0; }
.st-log__wrap { margin-top: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.st-pins { position: relative; }
/* У <figure> браузер сам ставит отступы 40px по бокам — из-за них номера «уезжали» от скриншота. Рамка занимает всю ширину блока с номерами. */
.st-pins > .st-frame { margin: 0; }
.st-pin { position: absolute; z-index: 2; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 14px; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(204,247,94,.35); }
.fx .st-pin { transform: scale(0); transition: transform .5s cubic-bezier(.34,1.56,.64,1); transition-delay: var(--d, 0s); }
.fx .st-pins.in .st-pin { transform: none; }
.st-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: n; }
.st-notes li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; gap: 14px; font-size: 16px; line-height: 1.55; color: #3a3a52; }
.st-notes li::before { content: counter(n); width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.st-notes b { color: var(--ink); }

/* ---------- Для интеграторов ---------- */
.st-api { background: #f6f6fb; padding: 110px 0; }
.st-api__wrap { margin-top: 44px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.st-api ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.st-api li { padding-left: 26px; position: relative; font-size: 16px; line-height: 1.55; color: #3a3a52; }
.st-api li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); }

/* ---------- Для кого + переход к справке ---------- */
.st-who { background: var(--ink); color: #fff; padding: 110px 0; }
.st-who .st-label { background: rgba(204,247,94,.12); color: var(--lime); }
.st-who p { margin: 22px 0 0; max-width: 1000px; font-size: clamp(26px, 3vw, 40px); line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.st-docs { padding: 96px 0 8px; }

/* Плавающая плашка внизу */
.st-dock { position: fixed; left: 50%; bottom: 18px; z-index: 50; display: flex; gap: 6px; padding: 6px; border-radius: 99px; background: rgba(18,17,44,.92); backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(18,17,44,.35);
  transform: translate(-50%, 140%); transition: transform .45s cubic-bezier(.22,1,.36,1); }
.st-dock.show { transform: translate(-50%, 0); }
.st-dock a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 99px; font-size: 14px; font-weight: 800; text-decoration: none; color: #fff; white-space: nowrap; }
.st-dock a.st-dock__go { background: #ccf75e; color: #12112c; }
/* Виджет ещё на модерации: приглушённая плашка вместо кнопки установки, не ссылка */
.st-dock__soon { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 99px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.62); border: 1px dashed rgba(255,255,255,.3); white-space: nowrap; }
.st-dock a:hover { background: rgba(255,255,255,.1); } .st-dock a.st-dock__go:hover { background: #d9fb7f; }

@media (max-width: 900px) {
  .st-wrap { padding: 0 20px; }
  .st-facts { grid-template-columns: 1fr 1fr; }
  .st-chip--a { left: 6px; top: -10px; } .st-chip--b { right: 6px; top: auto; bottom: 60px; }
  .st-hero__shot .st-frame { margin-bottom: -60px; }
  .st-why, .st-log__wrap, .st-api__wrap { grid-template-columns: 1fr; gap: 26px; }
  .st-route { padding: 20px; } .st-route__map { height: auto; } .st-route svg, .st-route__dot { display: none; }
  .st-route__lead { position: static; transform: none; margin-bottom: 14px; display: inline-block; }
  .st-route__people { position: static; width: auto; gap: 10px; }
  .st-day__grid { grid-template-columns: 1fr; gap: 0; }
  .st-stage { top: 64px; z-index: 5; padding: 14px; background: #1b1a3a; }
  .st-clock b { font-size: 34px; } .st-sch__row { height: 30px; } .st-sch__name { width: 84px; font-size: 12px; } .st-sch__name small { display: none; }
  .st-sch__hours { margin-left: 84px; } .st-sch__lead { margin-top: 10px; padding: 10px 12px; min-height: 0; font-size: 13px; }
  .st-ch { min-height: 70vh; opacity: 1; }
  .st-gallery { height: auto; } .st-gallery__pin { position: static; height: auto; padding: 90px 0; }
  .st-gallery__track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; transform: none !important; padding-left: 20px; padding-right: 20px; }
  .st-slide { scroll-snap-align: start; flex-basis: 84vw; } .st-progress { display: none; }
  .st-dock a, .st-dock__soon { padding: 0 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-hero__shot .st-frame { transform: none; }
  .st-gallery { height: auto; } .st-gallery__pin { position: static; height: auto; padding: 90px 0; }
  .st-gallery__track { overflow-x: auto; transform: none !important; }
  .st-ch { opacity: 1; }
}
.st-frame--narrow { max-width: 380px; }
.st-frame--narrow::before { display: none; }
.st-crop { overflow: hidden; } .st-crop img { display: block; width: 100%; height: auto; }
.st-hint { margin: 12px 0 0; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.45); }
/* Плашка прячется, когда виден подвал страницы, чтобы не закрывать реквизиты и ссылки */
.st-dock.away { transform: translate(-50%, 140%); }

/* Название виджета в шапке: иконка + имя крупно, чтобы сразу было понятно, о каком виджете речь */
.st-name { display: flex; align-items: center; gap: 16px; }
.st-name img { width: 64px; height: 64px; border-radius: 16px; flex: none; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.st-name b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.01em; color: #fff; line-height: 1.15; }
.st-name span { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.55); }
.st-name + .st-h1 { margin-top: 30px; }
@media (max-width: 900px) { .st-name img { width: 52px; height: 52px; border-radius: 13px; } .st-name b { font-size: 21px; } }

/* Метки на скриншотах — меньше и по краям, чтобы не закрывать подписи */
.st-pin { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 13px; box-shadow: 0 0 0 4px rgba(204,247,94,.35); }
@media (max-width: 900px) { .st-pin { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: 12px; } }

/* Плавающая панель: заметная подложка и на тёмных, и на светлых разделах — светлая рамка, плотный фон, сильная тень */
.st-dock { background: #12112c; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 0 0 6px rgba(18,17,44,.10), 0 18px 40px rgba(18,17,44,.45); }
/* Запас снизу не нужен: панель уезжает, как только показывается блок «Обсудить проект», и до подвала не доходит */

/* Решение 24.11: номера только внутри картинки и маленькие; у текстовых скриншотов номеров нет — подписи без цифр */
.st-pin { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: 12px; box-shadow: 0 0 0 3px rgba(204,247,94,.4), 0 2px 6px rgba(18,17,44,.25); }
@media (max-width: 900px) { .st-pin { width: 20px; height: 20px; margin: -10px 0 0 -10px; font-size: 11px; } }
.st-notes--plain li { grid-template-columns: 10px 1fr; gap: 12px; }
.st-notes--plain li::before { content: ""; width: 8px; height: 8px; margin-top: .55em; background: var(--lime); box-shadow: 0 0 0 1px rgba(18,17,44,.12); }

/* ===== Расписание, глава «Перехват» ===== */
.st-grab { padding: 110px 0; background: #f6f6fb; }
.st-grab__lead { max-width: 760px; margin-top: 18px; }
.gr-scene { margin-top: 40px; }
.gr-desks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gr-desk { border-radius: 18px; background: #fff; border: 1px solid #e5e5f0; overflow: hidden; box-shadow: 0 18px 40px rgba(18,17,44,.08); }
.gr-who { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #ececf4; }
.gr-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #12112c; color: #ccf75e; font-weight: 800; font-size: 14px; flex: none; }
.gr-who b { display: block; font-size: 15px; } .gr-who small { font-size: 13px; color: #2e9e6b; }
.gr-desk--off .gr-who small { color: #b7791f; }
.gr-screen { position: relative; height: 230px; background: repeating-linear-gradient(180deg, #f4f4f8 0 26px, #efeff5 26px 27px); }
.gr-off { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 14px; color: #8a8aa3; line-height: 1.5; }
.gr-pop { position: absolute; right: 12px; bottom: 12px; width: min(250px, calc(100% - 24px)); padding: 14px 14px 12px; border-radius: 14px; background: #fff; border: 1px solid #e3e3ee; box-shadow: 0 14px 34px rgba(18,17,44,.16); font-size: 13px; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s; }
.gr-pop__h { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #5b67e8; }
.gr-pop__h i { width: 10px; height: 10px; border-radius: 50%; background: #ccf75e; box-shadow: 0 0 0 2px #12112c; }
.gr-pop > b { display: block; margin-top: 8px; font-size: 14px; color: #12112c; }
.gr-pop__sum { display: block; margin-top: 2px; color: #6b6f80; }
.gr-pop__bar { display: block; height: 4px; margin-top: 10px; border-radius: 4px; background: #e4e6fb; overflow: hidden; }
.gr-pop__bar b { display: block; height: 100%; width: 100%; background: #5b67e8; border-radius: 4px; transform-origin: left; }
.gr-pop__btns { display: grid; grid-template-columns: 1fr 34px 34px; gap: 6px; margin-top: 10px; }
.gr-pop__btns span { display: grid; place-items: center; height: 32px; border-radius: 8px; font-weight: 800; font-size: 13px; }
.gr-take { background: #2eb36d; color: #fff; transition: transform .15s, box-shadow .2s; }
.gr-x { background: #fde9ea; color: #e5484d; } .gr-cup { background: #eef0fd; font-size: 14px; }
.gr-badge { margin-left: auto; padding: 4px 10px; border-radius: 99px; background: #2eb36d; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; white-space: nowrap; opacity: 0; transform: scale(.9); transition: opacity .3s, transform .3s; }
/* Сцена: окошки всплывают → время идёт → Игорь жмёт «Взять» → у Игоря «ваша», у Анны «забрал Игорь» */
.fx .gr-scene .gr-pop { transform: translateY(24px); opacity: 0; }
.fx .gr-scene.in .gr-pop { transform: none; opacity: 1; }
.fx .gr-scene.run .gr-pop__bar b { transform: scaleX(.45); transition: transform 3.2s linear; }
.fx .gr-scene.tap .gr-desk--win .gr-take { transform: scale(.94); box-shadow: 0 0 0 4px rgba(46,179,109,.25); }
.gr-scene.done .gr-badge { opacity: 1; transform: none; }
.fx .gr-scene.done .gr-pop { opacity: 0; transform: translateY(12px); }
/* Без движения — сразу итог */
html:not(.fx) .gr-scene .gr-badge { opacity: 1; transform: none; }
html:not(.fx) .gr-desk--win .gr-take { box-shadow: 0 0 0 4px rgba(46,179,109,.25); }
.st-grab__wrap { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 48px; align-items: start; }
.st-grab__shot { max-width: 420px; background: #f4f4f4; }
.gr-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gr-f, .gr-rules > div { padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #e5e5f0; }
.gr-f b, .gr-rules b { display: block; font-size: 16px; color: #12112c; }
.gr-f span, .gr-rules span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.55; color: #3a3a52; }
.gr-rules { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.st-grab__fine { margin-top: 18px; font-size: 14px; color: #6b6f80; }
@media (max-width: 900px) {
  .st-grab { padding: 72px 0; }
  .gr-desks { grid-template-columns: 1fr; }
  .gr-screen { height: 200px; }
  .st-grab__wrap { grid-template-columns: 1fr; gap: 24px; }
  .gr-facts, .gr-rules { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) { .gr-rules { grid-template-columns: 1fr 1fr; } }
.gr-who { position: relative; }
.gr-badge { position: absolute; right: 14px; top: 50%; margin: 0; translate: 0 -50%; }
@media (max-width: 900px) { .gr-screen { height: 170px; } }
@media (max-width: 480px) { .gr-badge span { display: none; } }
/* Окно, вырезанное ровно по краям: без «шапки браузера», рамки и фона — только тень */
.st-frame--win { border: 0; background: transparent; border-radius: 18px; }
.st-frame--win::before { display: none; }
.st-btn--lime-line { color: var(--lime); border: 1px solid rgba(204,247,94,.55); } .st-btn--lime-line:hover { background: rgba(204,247,94,.12); color: var(--lime); }
/* Телефон: без пустой полосы под шапкой */
@media (max-width: 900px) { .st-hero__fade { height: 28px; } .st-problem { padding-top: 48px; } }

/* «Перехват», образец 25.11: окошко с выносками вместо карточек, правила текстом */
.st-grab .gr-screen { height: 186px; background: #f1f1f6; }
.st-grab .gr-desk { box-shadow: none; }
.gr-callout { position: relative; margin: 56px auto 0; max-width: 900px; aspect-ratio: 900 / 440; }
.gr-callout > img { position: absolute; left: 26.7%; top: 13.6%; width: 46.6%; height: auto; border-radius: 18px; box-shadow: 0 18px 44px rgba(18,17,44,.14); }
.gr-callout__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.gr-callout__lines polyline { fill: none; stroke: #12112c; stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .55; }
.gr-callout__lines circle { fill: #12112c; }
.gr-callout figcaption { position: absolute; inset: 0; pointer-events: none; }
.gr-co { position: absolute; width: 22%; font-size: 14px; line-height: 1.45; color: #3a3a52; }
.gr-co b { display: block; font-size: 16px; color: #12112c; margin-bottom: 2px; }
.gr-co--snd { left: 79.6%; top: 7.5%; }
.gr-co--take { left: 2%; top: 75.5%; width: 29%; text-align: right; }
.gr-co--x { left: 52%; top: 87.5%; width: 22%; }
.gr-co--cup { left: 79.6%; top: 57.5%; width: 21%; }
.gr-rules { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 48px; max-width: 980px; }
.gr-rules li { font-size: 16px; line-height: 1.6; color: #3a3a52; }
.gr-rules b { color: #12112c; }
@media (max-width: 900px) {
  .st-grab .gr-screen { height: 176px; }
  .gr-callout { aspect-ratio: auto; margin-top: 36px; }
  .gr-callout > img { position: static; width: 100%; max-width: 420px; display: block; margin: 0 auto; }
  .gr-callout__lines { display: none; }
  .gr-callout figcaption { position: static; display: grid; gap: 12px; margin-top: 18px; }
  .gr-co { position: static; width: auto; text-align: left !important; }
  .gr-rules { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
}
.gr-rules li b { display: inline; margin: 0; font-size: inherit; }

/* 25.11.2026: факты в шапке — одной строкой, без плашек */
.st-facts { display: flex; flex-wrap: wrap; gap: 14px 0; max-width: none; }
.st-fact { background: none; border: 0; border-radius: 0; padding: 0 22px; border-left: 1px solid rgba(255,255,255,.18); }
.st-fact:first-child { padding-left: 0; border-left: 0; }
.st-fact b { margin-top: 4px; }
@media (max-width: 900px) { .st-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 0; } .st-fact { padding: 0 14px; } .st-fact:nth-child(odd) { padding-left: 0; border-left: 0; } }
/* Телефон: в панели только установка и поддержка — «Все виджеты» есть в шапке */
@media (max-width: 560px) { .st-dock a[href="/"], .st-dock a[href="/en/"] { display: none; } .st-dock a, .st-dock__soon { padding: 0 12px; } }
