/* Лендинг AI SEO Center: главная `/` для гостей. Токены, шрифт и компоненты (kpis, panel.dark, tbl, pill,
   state, bars, appr, activity, list, tabs, overlay/dialog) — из /static/app/app.css, здесь только каркас
   страницы, секции и макеты экранов (.scr). Тёмная тема — те же токены. */

.ld { font-size: 15px; line-height: 1.55; }
.ld [hidden] { display: none !important; }
.ld.modal { overflow: hidden; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 650px) { .wrap { padding: 0 18px; } }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.ld h3 { text-transform: none; letter-spacing: -.02em; font-size: 17px; color: var(--ink); font-weight: 750; line-height: 1.25; }
.m0 { margin: 0 0 8px; }
.mb { margin-bottom: 12px; }
.up { color: var(--good); } .dn { color: var(--bad); }

/* ---------- шапка ---------- */
.ld-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ld-head .wrap { display: flex; align-items: center; gap: 18px; height: 64px; position: relative; }
.ld-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; min-width: 0; }
.ld-brand:hover { text-decoration: none; }
.ld-brand .logo, .foot-brand .logo { width: 32px; height: 32px; border-radius: 10px; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; flex: none; }
.ld-brand .logo .ic, .foot-brand .logo .ic { width: 20px; height: 20px; stroke-width: 2; }
.ld-brand b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; white-space: nowrap; }
.ld-brand small { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 650; margin-top: 2px; white-space: nowrap; }
.ld-nav { display: flex; gap: 2px; margin-left: 6px; }
.ld-nav a { padding: 8px 11px; border-radius: 8px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.ld-nav a:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }
.ld-nav .nav-login, .ld-nav .nav-theme { display: none; }
.ld-acts { margin-left: auto; display: flex; gap: 8px; align-items: center; flex: none; }
.ld-acts > span { display: inline-flex; gap: 8px; align-items: center; }
.ld-burger { display: none; }
@media (max-width: 960px) {
  .ld-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; padding: 10px 18px 16px; margin: 0; box-shadow: 0 16px 30px -20px rgba(0,0,0,.3); }
  .ld-nav.open { display: flex; }
  .ld-burger { display: inline-flex; }
  .ld-nav .nav-login { display: block; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; color: var(--accent-ink); }
  #auth-guest .btn:not(.pri) { display: none; }
}
/* узкий экран: бренд, одно действие, меню; тема — пунктом меню, чтобы шапка не выходила за 360 px */
@media (max-width: 480px) {
  .ld-head .wrap { gap: 8px; height: 58px; }
  .ld-nav { top: 58px; }
  .ld-brand small { display: none; }
  .ld-brand .logo { width: 30px; height: 30px; }
  #theme { display: none; }
  .ld-nav .nav-theme { display: block; color: var(--ink-3); }
  #auth-guest .btn.pri, #auth-user .btn.pri { padding: 7px 10px; font-size: 12px; min-height: 34px; }
  #auth-user .hide-sm { display: none; }
  .ld-burger { width: 34px; height: 34px; }
}

/* ---------- первый экран ---------- */
.ld-hero { padding: 60px 0 44px; background: radial-gradient(900px 420px at 12% -20%, color-mix(in srgb, var(--lime) 28%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.ld h1 { font-size: clamp(30px, 2.6vw + 12px, 44px); line-height: 1.1; letter-spacing: -.035em; font-weight: 750; max-width: 18ch; }
.hero-txt .lead { font-size: 17px; color: var(--ink-2); margin: 18px 0 24px; max-width: 52ch; line-height: 1.6; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 560px) { .hero-cta { flex-direction: column; } .hero-cta .btn { width: 100%; } }
.btn.big { padding: 12px 18px; font-size: 14.5px; min-height: 46px; }
.hero-note { font-size: 13.5px; color: var(--ink-3); margin: 16px 0 0; max-width: 56ch; line-height: 1.55; }
.hero-compat { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin: 14px 0 0; max-width: 56ch; line-height: 1.5; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.hero-compat .ic { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 2px; }
.hero-shot { min-width: 0; }
.shot-cap { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 10px; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 30px; } .ld-hero { padding: 40px 0 28px; } .ld h1 { max-width: none; } }

/* Полнофигурный Лёва: прозрачный оригинал, орбита и подписи отдельными слоями. */
.leva-stage { position: relative; min-width: 0; isolation: isolate; height: 570px; }
.leva-halo { position: absolute; inset: 52px 0 60px; z-index: -2; border-radius: 50%; background: radial-gradient(ellipse, color-mix(in srgb, var(--lime) 44%, var(--surface)) 0%, color-mix(in srgb, var(--lime) 12%, transparent) 60%, transparent 72%); }
.leva-track { position: absolute; inset: 70px 10px 95px; z-index: -1; border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); border-radius: 50%; transform: rotate(-25deg) scaleY(.72); }
.leva-track:before, .leva-track:after { content: ''; position: absolute; width: 9px; height: 9px; border: 3px solid var(--page); border-radius: 50%; background: var(--accent); top: 46%; left: -5px; }
.leva-track:after { left: auto; right: -5px; background: var(--lime); }
.leva-character { position: absolute; width: 100%; height: auto; top: 20px; left: 0; filter: drop-shadow(0 18px 18px #172b2615); transform-origin: 50% 85%; }
.leva-tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 30px; font-size: 11px; font-weight: 600; color: var(--ink-2); box-shadow: 0 4px 16px #172b2608; }
.leva-tag .ic { width: 15px; height: 15px; flex: none; color: var(--accent); }
.leva-tag-top { top: 0; right: 6px; }
.leva-tag-bottom { bottom: 14px; right: 0; }
.leva-intro { position: absolute; z-index: 2; bottom: 48px; left: -12px; max-width: 265px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 8px 30px #172b260c; }
.leva-kicker { display: block; color: var(--accent-ink); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 5px; }
.leva-intro b { display: block; color: var(--ink); font-size: 15px; letter-spacing: -.02em; }
.leva-intro p { color: var(--ink-2); font-size: 12px; line-height: 1.5; margin: 6px 0 10px; }
.leva-intro a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-size: 12px; font-weight: 700; text-decoration: none; }
.leva-intro a:hover { text-decoration: underline; }
.leva-intro a .ic { width: 14px; height: 14px; }
.hero-example { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 64px; align-items: center; margin-top: 52px; padding-top: 36px; position: relative; }
.hero-example:before { content: ''; position: absolute; top: 0; left: 28px; right: 28px; height: 1px; background: var(--line-2); }
.hero-example-txt h2 { font-size: clamp(23px, 2vw, 30px); line-height: 1.2; letter-spacing: -.035em; font-weight: 750; }
.hero-example-txt p { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin: 14px 0 18px; max-width: 36ch; }
@media (prefers-reduced-motion: no-preference) {
  .leva-character { animation: leva-hero-breathe 7s ease-in-out infinite; }
  .leva-tag-top { animation: leva-hero-float 6s ease-in-out infinite; }
  .leva-tag-bottom { animation: leva-hero-float 6s ease-in-out -3s infinite; }
  @keyframes leva-hero-breathe { 0%, 100% { transform: rotate(-.5deg); } 50% { transform: rotate(.5deg) translateY(-4px); } }
  @keyframes leva-hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
}
@media (max-width: 980px) {
  .leva-stage { width: min(100%, 520px); height: 570px; justify-self: center; }
  .hero-example { gap: 28px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}
@media (max-width: 650px) {
  .leva-stage { height: auto; aspect-ratio: 1 / 1.3; max-width: 430px; }
  .leva-character { top: 22px; }
  .leva-intro { bottom: 0; left: 0; padding: 13px 15px; }
  .leva-tag { font-size: 10px; padding: 7px 10px; }
  .leva-tag-bottom { bottom: 157px; right: 0; }
  .leva-halo { inset: 20px 0 90px; }
  .leva-track { inset: 45px 8px 125px; }
  .hero-example { grid-template-columns: 1fr; margin-top: 34px; padding-top: 28px; }
  .hero-example:before { left: 18px; right: 18px; }
  .hero-example-txt p { max-width: 48ch; }
}

/* карточка одной рекомендации (первый экран) */
.reco .scr-body { padding: 18px 20px 20px; }
.reco-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.reco-top > div { min-width: 0; flex: 1; }
.reco-top b { display: block; font-size: 14px; }
.reco-top small { display: block; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reco-obs { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin-bottom: 14px; }
.reco-obs b { color: var(--ink); }
.ba-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; }
.ba-grid > div { border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.5; }
.ba-grid small { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; margin-bottom: 6px; }
.ba-grid p { margin: 0; }
.ba-grid p + p { margin-top: 6px; }
.ba-grid .was { background: var(--surface-2); color: var(--ink-3); }
.ba-grid .was small { color: var(--ink-3); }
.ba-grid .now { background: var(--accent-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.ba-grid .now small { color: var(--accent-ink); }
.ba-grid .cta-line { color: var(--accent-ink); font-weight: 650; }
.reco-meta { display: flex; gap: 14px; flex-wrap: wrap; margin: 14px 0 12px; }
.reco-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.reco-safe { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--ink-3); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); line-height: 1.5; }
.reco-safe .ic { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--accent); }
@media (max-width: 560px) { .ba-grid { grid-template-columns: 1fr; } }

/* карточка SEO-возможности (первый экран): факты пилюлями, три строки «нашли / предлагаем / проверим» */
.opp-facts { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.opp-rows { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 14px; margin: 0; font-size: 13px; line-height: 1.5; }
.opp-rows dt { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; color: var(--accent-ink); padding-top: 3px; white-space: nowrap; }
.opp-rows dd { margin: 0; color: var(--ink-2); }
.opp-rows dd:nth-of-type(2) { color: var(--ink); }
.reco .opp-rows + .reco-acts { margin-top: 16px; }
@media (max-width: 560px) { .opp-rows { grid-template-columns: 1fr; gap: 4px 0; } .opp-rows dd { margin-bottom: 8px; } }

/* шесть этапов «Как работает» */
.stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: none; }
.stages li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 12px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.stages li i { grid-row: 1 / span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--page); font-style: normal; font-weight: 700; font-size: 12.5px; }
.stages li:nth-child(5) i { background: var(--lime); color: var(--lime-ink); }
.stages li:nth-child(6) i { background: var(--accent); color: #fff; }
.stages li b { font-size: 15px; letter-spacing: -.01em; line-height: 1.3; align-self: center; }
.stages li span { font-size: 13px; color: var(--ink-3); line-height: 1.45; }
@media (max-width: 900px) { .stages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .stages { grid-template-columns: 1fr; } }

/* этап 5: конверсия — текст и карточка «сейчас / предлагаем» */
.cro-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 44px; align-items: center; }
.cro-grid .sec-lead { margin-top: 12px; }
.cro-grid .ticks { margin: 18px 0 22px; }
.ld .cro-grid h2 { font-size: clamp(24px, 1.7vw + 12px, 34px); line-height: 1.15; letter-spacing: -.035em; font-weight: 750; }
@media (max-width: 900px) { .cro-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- секции ---------- */
.sec { padding: 72px 0; }
.sec.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-h { max-width: 800px; margin-bottom: 34px; }
.ld .sec-h h2, .ld .agency-grid h2, .ld .cta h2 { font-size: clamp(24px, 1.7vw + 12px, 34px); line-height: 1.15; letter-spacing: -.035em; font-weight: 750; }
.sec-lead { font-size: 16px; color: var(--ink-2); margin: 14px 0 0; line-height: 1.6; }
.bound { display: flex; gap: 10px; align-items: flex-start; margin: 26px 0 0; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: var(--r); font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.bound .ic { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent); }
@media (max-width: 650px) { .sec { padding: 50px 0; } }

/* три результата, отличия, совместимость, контроль */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }
.card.who { padding: 24px; }
.card.who .mark, .tile .mark { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.card.who p, .tile p { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li:before { content: ""; position: absolute; left: 3px; top: 4px; width: 5px; height: 10px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tile { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.sec.alt .tile { background: var(--page); }
.tile h3 { margin-bottom: 2px; }
.proof-grid, .control4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.control4 { grid-template-columns: repeat(4, 1fr); }
.fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .control4, .fit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .control4, .fit-grid { grid-template-columns: 1fr; } }

/* поток примера и шаги пилота */
.flow, .pilot { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.flow li, .pilot li { position: relative; padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--page); }
.pilot li { background: var(--surface); }
.flow li i, .pilot li i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--page); font-style: normal; font-weight: 700; font-size: 12px; margin-bottom: 10px; }
.flow li:nth-child(4) i { background: var(--lime); color: var(--lime-ink); }
.pilot li:nth-child(4) i { background: var(--accent); color: #fff; }
.flow li b, .pilot li b { display: block; font-size: 14px; margin-bottom: 4px; letter-spacing: -.01em; }
.flow li span, .pilot li span { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; display: block; }
.pilot { margin: 28px 0 0; }
.pilot.compact { grid-template-columns: 1fr 1fr; margin: 18px 0 0; }
@media (max-width: 1000px) { .flow, .pilot { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .flow, .pilot, .pilot.compact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .flow, .pilot, .pilot.compact { grid-template-columns: 1fr; } }

/* демонстрации: текст + макет */
.feat { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 44px; align-items: center; padding: 36px 0; }
.feat + .feat { border-top: 1px solid var(--line); }
.feat.rev .feat-txt { order: 2; }
.feat-txt h3 { font-size: clamp(20px, 1.2vw + 12px, 26px); margin-bottom: 10px; }
.feat-txt p { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin: 0; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; gap: 22px; padding: 28px 0; } .feat.rev .feat-txt { order: 0; } }

/* галерея остальных экранов */
.gallery { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--page); }
.gallery summary { cursor: pointer; padding: 16px 20px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 650; font-size: 15px; }
.gallery summary::-webkit-details-marker { display: none; }
.gallery summary > span { display: flex; align-items: center; gap: 10px; }
.gallery summary .ic { width: 18px; height: 18px; color: var(--accent); }
.gallery summary small { font-weight: 500; color: var(--ink-3); font-size: 13px; }
.gallery summary:after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; flex: none; }
.gallery[open] summary:after { content: "–"; }
.gallery-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; padding: 4px 20px 22px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- макет экрана ---------- */
.scr { border: 1px solid var(--line-2); border-radius: 14px; background: var(--page); box-shadow: 0 24px 50px -32px rgba(23,43,38,.4); overflow: hidden; display: grid; grid-template-columns: 154px minmax(0, 1fr); font-size: 12.5px; line-height: 1.4; min-width: 0; }
.scr.small { grid-template-columns: 1fr; }
.scr .btn, .scr .text-btn, .scr .tbl tr.click, .scr .tabs a { pointer-events: none; }
.scr-side { background: var(--side); color: var(--side-text); padding: 14px 10px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.scr-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: -.02em; padding: 0 4px; }
.scr-brand .logo { width: 24px; height: 24px; border-radius: 7px; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; flex: none; }
.scr-brand .logo .ic { width: 15px; height: 15px; stroke-width: 2; }
.scr-site { display: flex; align-items: center; gap: 8px; border: 1px solid var(--side-line); border-radius: 8px; padding: 7px 8px; color: #f4f7f3; min-width: 0; }
.scr-site .mono-gram { width: 26px; height: 26px; font-size: 12px; border-radius: 6px; background: var(--side-card); color: #fff; }
.scr-site > div { min-width: 0; }
.scr-site b { display: block; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr-site small { display: block; font-size: 10px; color: var(--side-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr-nav { display: flex; flex-direction: column; gap: 2px; }
.scr-nav i { font-style: normal; display: flex; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 6px; font-size: 11.5px; color: var(--side-text); }
.scr-nav i.on { background: var(--lime); color: var(--lime-ink); font-weight: 750; }
.scr-nav i em { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 700; background: var(--side-card); color: #dce9dc; border-radius: 4px; padding: 0 5px; }
.scr-nav i span { display: inline-flex; }
.scr-nav i .ic { width: 13px; height: 13px; }
.scr-main { min-width: 0; background: var(--page); }
.scr-top { height: 38px; border-bottom: 1px solid var(--line); background: var(--surface); display: flex; align-items: center; padding: 0 18px; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.scr-top b { color: var(--ink); }
.scr-body { padding: 16px 18px 18px; min-width: 0; }
.scr-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; flex-wrap: wrap; }
.scr-h h2 { font-size: 17px; letter-spacing: -.03em; }
.scr .eyebrow { margin-bottom: 4px; }
.scr .kpis { padding: 12px 0; margin-bottom: 14px; grid-template-columns: repeat(3, 1fr); }
.scr .kpi { padding: 2px 14px; }
.scr .kpi .v { font-size: 22px; }
.scr .kpi .v small { font-size: 12px; color: var(--ink-3); font-weight: 500; letter-spacing: 0; }
.scr .kpi .l { font-size: 11px; }
.scr .kpi .d { font-size: 11px; }
.scr .panel { padding: 14px 16px; border-radius: 12px; }
.scr .panel h2 { font-size: 13px; margin-bottom: 8px; }
.scr .panel-top h2 { margin: 0; }
.scr .panel.dark h2 { font-size: 15px; margin: 0; }
.scr .panel.dark p { font-size: 11.5px; line-height: 1.55; }
.scr .panel.dark .btn.lime { margin-top: 14px; padding: 9px 11px; }
/* внутри макета места как в узком окне сервиса: график и «Следующий шаг» друг под другом */
.scr .grid.main-2 { gap: 12px; margin-bottom: 0; grid-template-columns: 1fr; }
.scr .grid.main-2 .panel.dark { order: 0; min-height: 0; }
.scr .bars .groups { height: 88px; }
.scr .bars { margin-top: 14px; }
.scr .bars .axis span { white-space: nowrap; font-size: 10px; }
.scr .bars .bar { width: 15px; }
.scr .panel-top > span { line-height: 1.3; }
.scr .legend { margin-top: 10px; }
.scr .tbl { font-size: 12px; }
.scr .tbl td { padding: 9px 10px; }
.scr .tbl th { padding: 8px 10px; position: static; }
.scr .tbl .row { gap: 8px; flex-wrap: nowrap; }
.scr .tbl .mono-gram { width: 28px; height: 30px; font-size: 13px; }
.scr .table-wrap { max-height: none; }
.scr .tabs { margin: 6px 0 14px; font-size: 12px; gap: 16px; }
.scr .tabs a { padding-bottom: 9px; font-size: 12px; }
.scr .appr { padding: 12px 14px; }
.scr .appr + .appr { margin-top: 8px; }
.scr .appr .ba { font-size: 12.5px; }
.scr .appr .acts { min-width: 140px; }
.scr .list li { padding: 9px 11px; }
.scr .list li .t b { font-size: 12.5px; }
.scr .list li .t .s { font-size: 12px; }
.scr .list li .btn { flex: none; }
.scr .activity .row-a { padding: 9px 0; }
.scr .leva { font-size: 12.5px; padding: 10px 12px; }
.scr .leva .face { width: 28px; height: 28px; font-size: 12px; }
.scr .num { font-variant-numeric: tabular-nums; }
.chain { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 0; font-size: 12.5px; }
.chain + .chain { border-top: 1px dashed var(--line); }
.chain > span:not(.pill) { display: block; }
.chain span small { display: block; color: var(--ink-3); font-size: 11px; }
.chain em { font-style: normal; color: var(--ink-3); }
.chain .pill { margin-left: auto; }
.chat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.chat-head img { width: 40px; height: 40px; border-radius: 50%; }
.chat-head b { display: block; font-size: 14px; }
.chat-head small { color: var(--ink-3); font-size: 11.5px; }
.chat { display: flex; flex-direction: column; gap: 8px; }
.chat .m { max-width: 92%; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.chat .m.u { align-self: flex-end; background: var(--accent-soft); color: var(--accent-ink); }
.chat .m.b { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 560px) {
  .scr { grid-template-columns: 1fr; }
  .scr-side { display: none; }
  .scr .kpis { grid-template-columns: 1fr 1fr; }
  .scr-body { padding: 14px; }
  .scr .appr { grid-template-columns: 1fr; }
  .scr .appr .acts { flex-direction: row; flex-wrap: wrap; }
  .chain .pill { margin-left: 0; }
}

/* ---------- условия пилота ---------- */
.plans2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; }
@media (max-width: 700px) { .plans2 { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 24px; display: flex; flex-direction: column; }
.plan.hot { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.plan .eyebrow { color: var(--accent-ink); }
.plan .price { font-size: 30px; font-weight: 750; letter-spacing: -.04em; margin: 4px 0 0; font-variant-numeric: tabular-nums; line-height: 1.15; }
.plan .price-sub { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.plan .ticks { flex: 1; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.plan .btn { margin-top: 18px; width: 100%; }
.plan-note { display: block; text-align: center; font-size: 11.5px; color: var(--ink-3); margin-top: 8px; }
.plan-scope { margin-top: 14px; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: var(--r-sm); font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.plan-scope b { color: var(--ink); }
.pilot-scope { margin-top: 26px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--page); }
.pilot-scope .two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pilot-scope .two > div > b { display: block; font-size: 14px; }
.pilot-scope .ticks { margin-top: 8px; }
.ticks.soft li { color: var(--ink-3); }
.ticks.soft li:before { border-color: var(--line-2); }
@media (max-width: 650px) { .pilot-scope .two { grid-template-columns: 1fr; } }
.agency-strip { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 16px; max-width: 900px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.agency-strip > div { flex: 1; min-width: 240px; }
.agency-strip b { display: block; font-size: 15px; margin-bottom: 2px; }
.agency-strip span { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.plans-note { margin: 20px 0 0; font-size: 13.5px; color: var(--ink-3); max-width: 900px; line-height: 1.55; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.plans-note b { color: var(--ink-2); }

/* ---------- агентствам ---------- */
.agency-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.agency-grid .bound { margin: 18px 0 20px; }
@media (max-width: 900px) { .agency-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- вопросы ---------- */
.faq { display: grid; gap: 8px; max-width: 840px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--page); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; flex: none; font-weight: 500; }
.faq details[open] summary:after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }

/* ---------- финальный призыв и подвал ---------- */
.cta { padding: 20px 0 72px; }
.cta .box { background: var(--side); color: #f6f8ef; border-radius: 20px; padding: 44px; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 28px; align-items: center; }
.cta .eyebrow { color: var(--lime); }
.cta h2 { color: #fff; }
.cta p { color: var(--side-text); margin: 12px 0 0; font-size: 15px; line-height: 1.6; }
.cta-acts { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.cta .btn.ghost { color: var(--lime); }
@media (max-width: 760px) { .cta .box { grid-template-columns: 1fr; padding: 28px; } }

/* Смысловые позы Лёвы: маршрут, согласование, первый разбор. */
.leva-support { margin: 0; min-width: 0; text-align: center; }
.leva-support img { display: block; width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 10px 14px #172b260d); }
.leva-support figcaption { display: inline-block; font-size: 12px; font-weight: 650; color: var(--accent-ink); padding: 6px 10px; background: var(--accent-soft); border-radius: 20px; }
.how-with-leva { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; }
.leva-guide { align-self: center; }
.how-with-leva .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.how-with-leva .stages li { padding: 16px 14px; gap: 6px 10px; }
.control-with-leva { display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 36px; margin-bottom: 28px; }
.control-with-leva .sec-h { margin-bottom: 0; }
.control-with-leva .sec-lead { max-width: 58ch; }
.cta .box.cta-with-leva { grid-template-columns: 190px minmax(0, 1fr) auto; gap: 26px; padding: 34px; }
.leva-at-work { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 12px 18px #00000026); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .leva-support img, .leva-at-work { transition: transform .35s ease; }
  .leva-support:hover img, .leva-at-work:hover { transform: translateY(-4px) rotate(-1deg); }
}
@media (max-width: 1050px) {
  .how-with-leva { grid-template-columns: 180px minmax(0, 1fr); gap: 22px; }
  .how-with-leva .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta .box.cta-with-leva { grid-template-columns: 180px minmax(0, 1fr); }
  .cta-with-leva .leva-at-work { grid-row: span 2; }
  .cta-with-leva .cta-acts { grid-column: 2; align-items: flex-start; }
}
@media (max-width: 650px) {
  .how-with-leva { grid-template-columns: 1fr; gap: 22px; }
  .leva-guide { width: 180px; justify-self: center; }
  .control-with-leva { grid-template-columns: minmax(0, 1fr) 135px; gap: 12px; align-items: start; }
  .control-with-leva .sec-lead { font-size: 14px; }
  .leva-support figcaption { font-size: 11px; }
  .cta .box.cta-with-leva { grid-template-columns: 1fr; gap: 20px; padding: 26px; }
  .cta-with-leva .leva-at-work { grid-row: auto; width: 190px; justify-self: center; }
  .cta-with-leva .cta-acts { grid-column: auto; align-items: stretch; }
}
@media (max-width: 560px) { .how-with-leva .stages { grid-template-columns: 1fr; } }
@media (max-width: 400px) {
  .control-with-leva { grid-template-columns: 1fr; }
  .leva-reviewer { width: 160px; justify-self: center; }
}
.ld-foot { border-top: 1px solid var(--line); padding: 26px 0 34px; font-size: 13px; color: var(--ink-3); }
.ld-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.foot-nav { display: flex; gap: 16px; flex-wrap: wrap; margin-left: auto; }
.foot-nav a { color: var(--ink-2); }
.foot-copy { width: 100%; }

/* ---------- диалог: вход · заявка · написать ---------- */
.dialog.auth { width: min(480px, 100%); }
.auth-tabs { margin: 0 0 18px; overflow: visible; }
.auth-form { display: grid; gap: 14px; }
.auth-form .form-intro { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; padding: 10px 12px; background: var(--surface-2); border-radius: var(--r-sm); }
.auth-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.auth-form label .opt { font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.auth-form input, .auth-form textarea { padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; min-width: 0; width: 100%; }
.auth-form textarea { resize: vertical; min-height: 70px; }
.auth-form input:focus, .auth-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.auth-form input[aria-invalid="true"], .auth-form textarea[aria-invalid="true"] { border-color: var(--bad); }
.auth-form label small { font-weight: 500; color: var(--ink-3); font-size: 12px; }
.auth-form .pw { position: relative; display: block; }
.auth-form .pw input { padding-right: 44px; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: transparent; color: var(--ink-3); border-radius: 6px; cursor: pointer; display: grid; place-items: center; }
.pw-toggle:hover, .pw-toggle[aria-pressed="true"] { color: var(--accent-ink); background: var(--surface-2); }
.pw-toggle .ic { width: 16px; height: 16px; }
.auth-form .ok { padding: 12px 14px; background: var(--good-soft); color: var(--good); border-radius: 10px; font-size: 13.5px; }
.auth-form .df { margin-top: 4px; }
.auth-form .df small { max-width: 270px; }

/* ---------- появление при прокрутке (только при работающем JS и без reduced-motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
  html.js .rv.in { opacity: 1; transform: none; }
}

/* окна-примеры: «фотография продукта» — тёмная шапка окна с точками и меткой «Пример экрана», глубокая тень,
   всё внутри заморожено (без наведения, кнопки приглушены), подпись «условные данные» под окном */
.scr { box-shadow: 0 34px 64px -30px rgba(23, 43, 38, .6), 0 0 0 1px rgba(23, 43, 38, .06); user-select: none; }
.sample-bar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; background: var(--side); color: var(--side-text); font-size: 11.5px; border-bottom: 1px solid var(--side-line); }
.sample-app { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.sample-dots { display: inline-flex; gap: 5px; }
.sample-dots i { width: 9px; height: 9px; border-radius: 50%; background: #56695f; display: block; }
.sample-dots i:nth-child(1) { background: #e0705a; } .sample-dots i:nth-child(2) { background: #e4b453; } .sample-dots i:nth-child(3) { background: #6cc072; }
.sample-label { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-weight: 700; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.sample-note { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; padding: 8px 12px; font-size: 11.5px; color: var(--ink-3); background: var(--surface-2); border-top: 1px dashed var(--line); }
.scr .btn, .scr .text-btn, .scr .tabs a, .scr a, .scr button, .scr input, .scr select { pointer-events: none; cursor: default; }
.scr .btn { filter: saturate(.55); opacity: .88; box-shadow: none; }
.scr .tabs a.on { pointer-events: none; }
/* призывы самого лендинга — другой язык, чем кнопки в окнах примеров: пилюля, крупнее, с тенью */
.ld-hero .btn.pri.big, .cta .btn.pri, #pricing .btn.pri, #agency .btn.pri, .hero-example-txt .btn.pri { border-radius: 999px; padding-left: 22px; padding-right: 22px; box-shadow: 0 12px 26px -12px rgba(21, 123, 85, .55); font-weight: 700; }
.ld-hero .btn.pri.big { font-size: 15.5px; min-height: 50px; }
@media (max-width: 720px) { .sample-bar { font-size: 11px; padding: 7px 10px; } .sample-note { font-size: 11px; } }
/* окна-примеры со снимками экранов демо-организации (static/landing/shots/*.webp) */
.scr.shot-win { grid-template-columns: 1fr; }
.scr.shot-win img.shot { display: block; width: 100%; height: auto; }
.gallery-grid.shots { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.gallery-grid.shots .scr.full { grid-column: 1 / -1; }
@media (max-width: 900px) { .gallery-grid.shots { grid-template-columns: 1fr; } }
/* согласие в форме регистрации */
.auth-form label.consent { display: flex; gap: 9px; align-items: flex-start; font-weight: 500; font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.auth-form label.consent input { width: 16px; height: 16px; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--accent); }
.auth-form label.consent a { color: var(--accent-ink); }
/* страница политики */
.ld-doc { max-width: 760px; margin: 40px auto 80px; padding: 0 20px; }
.ld-doc h1 { font-size: clamp(24px, 2vw + 10px, 32px); letter-spacing: -.03em; margin: 0 0 8px; }
.ld-doc .ld-doc-meta { color: var(--ink-3); font-size: 13.5px; margin-bottom: 28px; }
.ld-doc h2 { font-size: 17px; margin: 28px 0 8px; }
.ld-doc p, .ld-doc li { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.ld-doc ul { padding-left: 20px; }
.ld-doc .fill { background: #fff3c4; color: #5a4a00; padding: 0 4px; border-radius: 4px; }
