.verticals-grid,.core-flow,.before-after,.trust-grid,.faq-grid{display:grid;gap:16px}.verticals-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));margin-top:28px}.vertical-card,.core-step,.compare-card,.trust-card,.faq-card,.hunter-card{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.045);border-radius:22px;padding:22px}.vertical-card h3,.core-step h3,.compare-card h3,.hunter-card h3{margin:.35rem 0 .55rem}.vertical-card p,.core-step p,.compare-card p,.trust-card p,.faq-card p,.hunter-card p{opacity:.78;line-height:1.55}.vertical-card small,.core-step small,.hunter-card small{letter-spacing:.12em;opacity:.62}.vertical-card a{display:inline-block;margin-top:12px}.core-flow{grid-template-columns:repeat(5,1fr);align-items:stretch}.core-step{position:relative;min-height:150px}.core-step:not(:last-child)::after{content:'→';position:absolute;right:-14px;top:50%;transform:translateY(-50%);opacity:.45}.before-after{grid-template-columns:1fr 1fr}.compare-card ul{margin:14px 0 0;padding-left:20px;line-height:1.7}.trust-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.faq-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.hunter-wrap{display:grid;grid-template-columns:.95fr 1.05fr;gap:24px;align-items:start}.hunter-card{padding:28px}.hunter-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.hunter-option{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);border-radius:14px;padding:13px;text-align:left;color:inherit;cursor:pointer}.hunter-option.active{border-color:currentColor;background:rgba(255,255,255,.11)}.hunter-result{display:none;margin-top:18px;padding:18px;border-radius:16px;background:rgba(255,255,255,.08)}.hunter-result.visible{display:block}.hunter-meta{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.hunter-pill{padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.14);font-size:.82rem}.hunter-form{display:grid;gap:12px;margin-top:16px}.hunter-form input{width:100%;box-sizing:border-box}.hunter-score{font-size:2rem;font-weight:800}.section-intro{max-width:760px}.pricing-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.pricing-card{border:1px solid rgba(255,255,255,.14);border-radius:20px;padding:22px}.pricing-card.featured{transform:translateY(-6px);background:rgba(255,255,255,.07)}.nav-actions-stack{display:flex;flex-direction:column;align-items:flex-end;gap:3px}.nav-partner-link{color:var(--muted);font-size:11px;font-weight:700;text-decoration:none;letter-spacing:.01em;line-height:1.1}.nav-partner-link:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}@media(max-width:900px){.core-flow{grid-template-columns:1fr 1fr}.core-step:not(:last-child)::after{display:none}.hunter-wrap,.before-after,.pricing-row{grid-template-columns:1fr}.pricing-card.featured{transform:none}}@media(max-width:560px){.simple-hero h1{font-size:clamp(38px,10.3vw,42px);line-height:.94;letter-spacing:-.035em;max-width:100%;margin:18px 0 26px}.core-flow,.hunter-options{grid-template-columns:1fr}.vertical-card,.core-step,.compare-card,.trust-card,.faq-card,.hunter-card{border-radius:18px;padding:18px}.nav-actions-stack{gap:2px}.nav-partner-link{font-size:10px;white-space:nowrap}}

/* Mobile viewport safety: prevent any element from making the page wider than the phone screen. */
html,body{max-width:100%;overflow-x:hidden}.simple-home,.section,.nav{max-width:100vw}.nav{width:100%;min-width:0}.nav>*{min-width:0}.nav-actions-stack{min-width:0;max-width:100%}.nav-partner-link{max-width:100%;box-sizing:border-box}.hero-v2,.hero-v2>div,.hero-visual,.hero-tags,.result-strip{min-width:0;max-width:100%}.hero-v2 h1,.hero-v2 .lead,.hero-ai-cta{max-width:100%;box-sizing:border-box}.hero-tag-link{max-width:100%;box-sizing:border-box}
@media(max-width:560px){.nav{padding-left:14px!important;padding-right:14px!important}.brand{flex:0 0 auto}.nav-actions-stack{flex:1 1 auto;max-width:calc(100% - 96px)!important}.nav-cta{max-width:100%;white-space:normal;text-align:right;line-height:1.15}.nav-partner-link{max-width:100%;white-space:normal!important;text-align:center;line-height:1.1;padding-left:9px!important;padding-right:9px!important}.hero-v2{padding-left:14px!important;padding-right:14px!important}.hero-v2 h1{font-size:clamp(28px,7.8vw,35px)!important;line-height:1.02!important;letter-spacing:-.04em!important}.hero-v2 h1 .hero-nowrap,.hero-v2 h1 .hero-competitors-line,.hero-v2 h1 .hero-orange-line{white-space:normal!important}.hero-ai-cta{width:100%!important;padding-left:12px!important;padding-right:12px!important}.hero-ai-cta span{white-space:normal!important}.hero-tags{padding-left:4px;padding-right:4px}}

/* High-intent CTA: subtle continuous blink/pulse to draw attention without looking aggressive. */
@keyframes clientCtaPulse{0%,100%{transform:scale(1);filter:brightness(1);box-shadow:0 10px 28px rgba(20,20,20,.18),0 0 0 0 rgba(169,111,69,.34)}50%{transform:scale(1.018);filter:brightness(1.16);box-shadow:0 14px 34px rgba(20,18,15,.26),0 0 0 9px rgba(169,111,69,0)}}
.client-next{animation:clientCtaPulse 1.65s ease-in-out infinite;transform-origin:center;will-change:transform,filter,box-shadow}
.client-next:hover,.client-next:focus-visible{animation-play-state:paused;filter:brightness(1.08)}
@media(prefers-reduced-motion:reduce){.client-next{animation:none}}

/* Client offer copy: clarify that full customization and visual design are included in setup. */
.client-offer-list>div:nth-child(4) span{font-size:0;line-height:1.45}
.client-offer-list>div:nth-child(4) span::after{content:'Вопросы, логика, услуги, товары, бренд, сценарий и внешний вид. Всё настроим индивидуально под ваш бизнес, и это уже входит в стоимость подключения.';font-size:16px;line-height:1.45}

/* Partner program mobile typography: keep the heading inside the card and the amount together. */
@media(max-width:620px){
  .partner-highlight{padding-left:20px!important;padding-right:20px!important}
  .partner-highlight h2{font-size:clamp(34px,9.2vw,40px)!important;line-height:1.02!important;letter-spacing:-.035em!important;max-width:100%!important}
  .partner-highlight .money{white-space:nowrap;font-size:.82em!important}
  .partner-benefits article:first-child b{white-space:nowrap}
}

/* Impact section: keep only the bold one-line heading and the before/after result cards. */
#impact .section-title,#impact .impact-grid{display:none!important}
#impact .section-kicker{font-size:clamp(22px,3vw,34px)!important;line-height:1.05!important;font-weight:950!important;letter-spacing:.02em!important;white-space:nowrap!important;margin-bottom:24px!important;color:var(--ink)!important}
@media(max-width:620px){#impact .section-kicker{font-size:clamp(18px,5.1vw,22px)!important;letter-spacing:0!important;margin-bottom:18px!important}}

/* Lead Hunter is a separate paid direction, not part of the base inbound automation package. */
.competitor-card>small{font-size:0!important}
.competitor-card>small::after{content:'ОТДЕЛЬНОЕ НАПРАВЛЕНИЕ · AI LEAD HUNTER';font-size:13px;line-height:1.2;font-weight:900;letter-spacing:.14em;color:#d6a77f}
.competitor-card h2::after{content:'Поиск новых клиентов — отдельная услуга. Она подключается и оплачивается отдельно от основной AI-системы обработки входящих заявок.';display:block;margin:18px 0 2px;padding:13px 15px;border:1px solid rgba(214,167,127,.42);border-radius:14px;background:rgba(214,167,127,.09);color:#f3dfcf;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:clamp(15px,1.7vw,18px);font-style:normal;font-weight:800;line-height:1.4;letter-spacing:0}
@media(max-width:620px){.competitor-card>small::after{font-size:11px;letter-spacing:.1em}.competitor-card h2::after{font-size:14px;margin-top:14px;padding:12px 13px}}

/* Demo cards: all three actions use the same black button style. */
.demo-list article>div:last-child>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#171613!important;color:#fff!important;border:1px solid #171613!important;border-radius:999px!important;padding:16px 24px!important;font-weight:800!important;text-decoration:none!important;line-height:1.15!important;box-sizing:border-box!important;min-height:54px!important}
.demo-list article>div:last-child>a:hover,.demo-list article>div:last-child>a:focus-visible{background:#2a2824!important;color:#fff!important;border-color:#2a2824!important}

/* Connection section headline: keep only the launch promise requested for the sales page. */
.section:has(.process-grid)>.section-title{font-size:0!important;line-height:1!important;max-width:980px!important}
.section:has(.process-grid)>.section-title::after{content:'Без сложного внедрения: запуск вашей персональной AI‑автоматизации за 1–5 дней.';display:block;font-size:clamp(42px,5.4vw,78px);line-height:.98;letter-spacing:-.045em;color:var(--ink);font-style:normal}
@media(max-width:620px){.section:has(.process-grid)>.section-title::after{font-size:clamp(34px,9.5vw,42px);line-height:1;overflow-wrap:normal!important;word-break:normal!important}}

/* FAQ heading: remove the redundant title and make the label prominent. */
.section:has(.human-faq)>.section-title{display:none!important}
.section:has(.human-faq)>.section-kicker{font-size:clamp(22px,3vw,34px)!important;line-height:1.05!important;font-weight:950!important;letter-spacing:.03em!important;margin-bottom:28px!important;color:var(--ink)!important}
@media(max-width:620px){.section:has(.human-faq)>.section-kicker{font-size:clamp(20px,5.8vw,25px)!important;letter-spacing:.01em!important;margin-bottom:20px!important}}

/* Restore the small partner CTA at the top. The large partner block stays on its own page. */
@keyframes partnerNavPulse{0%,100%{transform:scale(1);filter:brightness(1);box-shadow:0 6px 18px rgba(20,20,20,.14),0 0 0 0 rgba(169,111,69,.38)}50%{transform:scale(1.035);filter:brightness(1.14);box-shadow:0 9px 24px rgba(20,20,20,.22),0 0 0 7px rgba(169,111,69,0)}}
.nav-actions-stack{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:6px!important;overflow:visible!important}
.nav-partner-link{display:inline-flex!important;visibility:visible!important;opacity:1!important;align-items:center!important;justify-content:center!important;background:#171613!important;color:#fff!important;border:1px solid #171613!important;border-radius:999px!important;padding:8px 13px!important;text-decoration:none!important;font-size:0!important;font-weight:900!important;line-height:1!important;white-space:nowrap!important;animation:partnerNavPulse 1.55s ease-in-out infinite!important;transform-origin:center!important;overflow:visible!important}
.nav-partner-link::after{content:'Стать партнером';font-size:12px!important;line-height:1!important;letter-spacing:.01em!important;color:#fff!important}
.nav-partner-link:hover,.nav-partner-link:focus-visible{color:#fff!important;text-decoration:none!important;animation-play-state:paused!important}
/* Fallback: if the navigation JS has not yet created its copy, reuse the footer link at the same top position. */
body:not(:has(.nav-partner-link)) footer a[href="/partner-program"]{position:absolute!important;top:72px!important;right:18px!important;z-index:1200!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#171613!important;color:#fff!important;border-radius:999px!important;padding:8px 13px!important;text-decoration:none!important;font-size:0!important;font-weight:900!important;animation:partnerNavPulse 1.55s ease-in-out infinite!important}
body:not(:has(.nav-partner-link)) footer a[href="/partner-program"]::after{content:'Стать партнером';font-size:12px!important;line-height:1!important;color:#fff!important}
@media(max-width:560px){.nav{overflow:visible!important}.nav-actions-stack{max-width:calc(100% - 94px)!important;gap:5px!important}.nav-partner-link{padding:7px 11px!important}.nav-partner-link::after{font-size:11px!important}body:not(:has(.nav-partner-link)) footer a[href="/partner-program"]{top:70px!important;right:14px!important;padding:7px 11px!important}body:not(:has(.nav-partner-link)) footer a[href="/partner-program"]::after{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){.nav-partner-link,body:not(:has(.nav-partner-link)) footer a[href="/partner-program"]{animation:none!important}}

/* Mobile text/layout audit: keep footer links and all sales copy inside the viewport. */
@media(max-width:860px){
  footer{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;justify-content:stretch!important;align-items:start!important;gap:14px 20px!important;padding:24px 18px 28px!important;width:100%!important;max-width:100vw!important}
  footer>*{min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important}
  footer a{justify-self:start!important;text-align:left!important}
  .simple-home .section,.simple-home .section>*,.hero-v2,.hero-v2>*,.demo-list article,.demo-list article>*,.competitor-card,.process-grid,.process-card,.human-faq,.human-faq article,.result-strip,.result-strip article{min-width:0!important;max-width:100%!important}
  .simple-home h1,.simple-home h2,.simple-home h3,.simple-home p,.simple-home small,.simple-home a,.simple-home button,.simple-home label{max-width:100%!important;overflow-wrap:break-word;word-break:normal}
  .button,.nav-cta,input,textarea,select{max-width:100%!important;box-sizing:border-box!important}
}
@media(max-width:420px){footer{grid-template-columns:1fr!important;gap:10px!important}footer>*{width:100%!important}}

/* Process heading mobile fix: keep AI‑автоматизации together and reduce size before it can overflow. */
@media(max-width:620px){
  .section:has(.process-grid)>.section-title::after{
    font-size:clamp(32px,9vw,40px)!important;
    line-height:1.02!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
}

/* Desktop hero safety: keep the dark process card and the headline in separate columns. */
@media(min-width:981px){
  .hero-v2{grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr)!important;column-gap:clamp(56px,6vw,96px)!important;align-items:start!important}
  .hero-v2>div,.hero-v2>.hero-visual{min-width:0!important;position:relative!important}
  .hero-v2 h1{font-size:clamp(58px,5.6vw,86px)!important;line-height:.96!important;max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important}
  .hero-visual{width:100%!important;max-width:520px!important;justify-self:end!important;z-index:1!important}
}

/* Lead form consent layout: checkbox must not inherit the full-width input rule. */
#lead-form .consent{display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;align-items:start!important;gap:10px!important;width:100%!important;max-width:100%!important;overflow:hidden!important}
#lead-form .consent input[type="checkbox"]{width:16px!important;height:16px!important;min-width:16px!important;max-width:16px!important;margin:2px 0 0!important;padding:0!important;flex:none!important}
#lead-form .consent>*:not(input){min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}

/* Product demo links: make it explicit that visitors open the real working Mini App. */
.demo-list article>div:last-child>a{font-size:0!important}
.demo-list article>div:last-child>a::after{content:'Открыть рабочую Mini App ↗';font-size:16px!important;line-height:1.15!important}
.hero-tag-link::after{content:' · Mini App';font-size:.78em;font-weight:800;color:#6f6a62;margin-left:3px}
