/* A light product surface, independent of the browser chrome's dark theme.
   Do not opt out of OS forced-colors accessibility mode. */
:root { color-scheme: only light; }
html { background: #fff; -webkit-text-size-adjust: 100%; }
body { color: var(--ink, #112544); background: var(--ground, #fff); }
button, input, select, textarea { color-scheme: only light; }
.menu-button { color: #112544; }
.button-outline { color: #112544; }
.original-logo { background: #fff; }
.hero h1 .hero-desktop { color: #112544; }
.hero-mobile, .mobile-crm-summary { display: none; }
.field input, .field select, .field textarea { background: #fff; color: #192b47; }
.field input:disabled, .field textarea:disabled { -webkit-text-fill-color: #576780; opacity: 1; }
.field input:-webkit-autofill { -webkit-text-fill-color: #192b47; caret-color: #1459ef; }
/* Headings receive focus for page announcements, not as interactive controls. */
.auth-panel h1[tabindex="-1"]:focus,
.content > .heading h1[tabindex="-1"]:focus { outline: none; }
.response-section { padding-top: 20px; }
.response-rows article { display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; border-top: 1px solid #dce3ed; padding: 30px 0; }
.response-rows h3 { max-width: 22ch; font-size: 27px; line-height: 1.25; }
.response-rows p { font-size: 15px; color: #415570; line-height: 1.7; max-width: 66ch; }
.response-rows strong { display: block; font-size: 15px; color: #1048c2; margin: 18px 0 6px; }
.delivery-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 0; list-style: none; counter-reset: delivery; }
.delivery-steps li { counter-increment: delivery; border-top: 2px solid #1459ef; padding-top: 20px; }
.delivery-steps h3 { font-size: 21px; line-height: 1.25; }
.delivery-steps h3:before { content: counter(delivery) ". "; color: #1459ef; }
.delivery-steps p { font-size: 14px; color: #415570; line-height: 1.7; margin-top: 12px; }
.final-cta .contact-address { font-size: 12px; margin-top: 18px; color: #fff; }
.contact-address a { color: inherit; }
.legal-acceptance { display: grid; gap: 16px; margin-block: 4px 6px; }
.account-layout .auth-panel { min-width: 0; width: 100%; }
.account-layout .legal-acceptance .check-label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; line-height: 1.6; font-size: 13px; }
.legal-acceptance span { min-width: 0; overflow-wrap: anywhere; }
.legal-acceptance a { white-space: normal; }
.legal-acceptance input { margin-top: 3px; flex: none; }
.legal-acceptance a, .auth-legal a { color: #1048c2; text-underline-offset: 3px; }
.auth-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; border-top: 1px solid #dce3ed; padding-top: 20px; margin-top: 26px; }
.auth-legal a { display: flex; align-items: center; min-height: 44px; font-size: 12px; }
.site-footer { flex-wrap: wrap; }
.site-footer nav { flex-wrap: wrap; gap: 10px 23px; max-width: 490px; }
.site-footer nav a { min-height: 44px; display: flex; align-items: center; }
@media (max-width: 850px) {
  .response-rows article { gap: 30px; }
  .delivery-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 40px); }
  .site-header { position: relative; z-index: 5; }
  .header-inner { min-height: 70px; height: 70px; gap: 10px; }
  .soft-brand, .original-logo { width: 145px; }
  .original-logo { height: 24px; }
  .original-logo img { width: 154px; left: -4px; top: -12px; }
  .soft-brand-line { font-size: 11px; margin-left: 74px; }
  .header-login { margin-left: auto; padding: 9px 12px; min-height: 44px; font-size: 13px; background: #edf3ff; border-radius: 8px; white-space: nowrap; }
  .menu-button { width: 44px; min-width: 44px; height: 44px; padding: 10px; }
  .menu-button svg { width: 22px; height: 22px; }
  .menu-label { display: none; }
  #main-nav { top: 69px; left: -20px; right: -20px; padding: 12px 20px; gap: 4px; }
  #main-nav.open { display: grid; grid-template-columns: 1fr 1fr; }
  #main-nav a { min-height: 48px; padding: 8px 12px; font-size: 15px; border-radius: 6px; }
  #main-nav a:active { background: #edf3ff; }
  .hero { padding: 28px 0 22px; text-align: left; }
  .hero h1 { font-size: clamp(31px, 9vw, 42px); line-height: 1.12; letter-spacing: -.035em; }
  .hero h1 .hero-desktop { display: none; }
  .hero-mobile { display: block; }
  .hero-mobile > span { display: block; }
  .hero h1 .hero-mobile-platform { display: flex; align-items: center; gap: 8px; color: #112544; white-space: nowrap; margin-bottom: 3px; }
  .hero-mobile-platform img { width: .84em; height: .84em; }
  .hero-copy { font-size: 16px; line-height: 1.55; margin: 18px 0 20px; max-width: 34ch; color: #415570; }
  .hero-detail { display: none; }
  .hero-actions { align-items: stretch; gap: 4px; }
  .hero-actions .button { max-width: none; min-height: 50px; font-size: 15px; }
  .hero-actions .button-outline { min-height: 44px; border-color: transparent; background: transparent; padding: 8px; font-weight: 500; }
  .integration-line { display: grid; grid-template-columns: .72fr 1fr 1.15fr; gap: 14px; margin: 21px 0 24px; }
  .integration-line a { min-width: 0; justify-content: center; min-height: 36px; }
  .integration-line strong { font-size: 15px; }
  .integration-line a>img:not(.bitrix-logo) { width: 22px; height: 22px; }
  .integration-line .bitrix-logo { width: 98px; max-width: 100%; }
  .integration-line a:has(.amo-original) { padding: 3px; }
  .integration-line .amo-original { transform: scale(.62); margin-inline: -29px; flex: none; }
  .product-stage { border-radius: 12px; box-shadow: 0 12px 30px #1b3e7317; }
  .demo-toolbar { padding: 12px; gap: 10px 6px; }
  .demo-toolbar>span:first-child { font-size: 11px; }
  .demo-label { font-size: 10px; color: #53657b; }
  .view-switch { padding: 3px; }
  .view-switch button { min-height: 44px; font-size: 13px; }
  .crm-window { height: auto; min-height: 0; }
  .demo-thread>header { padding: 14px; min-height: 68px; }
  .demo-thread>header strong { font-size: 14px; }
  .demo-thread>header small { font-size: 12px; color: #50617a; }
  .mobile-crm-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: #fff; border-bottom: 1px solid #dce3ed; }
  .mobile-crm-summary img { flex: none; width: 77px; }
  .mobile-crm-summary span { font-size: 11px; line-height: 1.4; color: #345a49; text-align: right; }
  .demo-messages { padding: 14px 12px; gap: 10px; overflow: visible; }
  .chat-date { font-size: 11px; color: #526983; }
  .demo-bubble { font-size: 13px; max-width: 92%; padding: 10px 12px; }
  .demo-bubble time { font-size: 10px; color: #526b88; }
  .demo-bubble:nth-of-type(3), .demo-bubble:nth-of-type(5) { display: none; }
  .demo-composer { font-size: 12px; min-height: 47px; margin: 0 12px 12px; color: #52647b; }
  .stage-note { font-size: 11px; line-height: 1.5; max-width: none; text-align: left; margin-top: 14px; color: #52647b; }
  .supervisor-demo { padding: 22px 18px; min-height: 0; }
  .supervisor-title p { font-size: 13px; }
  .demo-kpis { grid-template-columns: 1fr; gap: 0; padding: 10px 0; margin-bottom: 22px; }
  .demo-kpis>div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; }
  .demo-kpis span { font-size: 13px; color: #53657b; }
  .demo-kpis strong { margin: 0; font-size: 26px; }
  .supervisor-grid { gap: 26px; }
  .supervisor-grid section:last-child { display: block; }
  .manager-bar, .attention-row { font-size: 13px; }
  .attention-row small, .small-copy { font-size: 11px; color: #52647b; }
  .section { padding-block: 48px; }
  .section-heading { gap: 16px; margin-bottom: 25px; }
  .section-heading>p, .solution-main>p, .solution-stack p, .scenario-list p, .pricing-table p, .about-layout p { font-size: 15px; line-height: 1.65; }
  .solution-main { padding: 24px; }
  .solution-main h3 { font-size: 27px; }
  .solution-main li { font-size: 14px; }
  .text-link { min-height: 44px; font-size: 14px; }
  .scope-note { font-size: 12px; color: #53657b; }
  .ai-copy>p { font-size: 15px; }
  .ai-roles p { font-size: 14px; }
  .phone-demo { transform: none; max-width: 100%; }
  .handoff-note { left: 0; right: 0; justify-content: center; font-size: 12px; padding-inline: 12px; }
  .pricing-table article { padding: 24px; }
  .pricing-table .button { min-height: 48px; }
  .about-photo figcaption { font-size: 11px; color: #52647b; }
  .faq-section summary { font-size: 15px; min-height: 44px; }
  .faq-section details p { font-size: 14px; }
  .site-footer { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  .site-footer nav { margin-left: 0; }
  .site-footer nav a { min-height: 44px; font-size: 13px; }
  .auth-header { min-height: 74px; padding: 15px 20px; }
  .account-layout .auth-main { padding: 28px 20px 40px; }
  .auth-panel h1 { font-size: 27px; line-height: 1.18; }
  .account-layout .check-label { font-size: 14px; line-height: 1.5; }
  .account-layout .check-label input { width: 20px; height: 20px; flex-shrink: 0; }
  .auth-links .btn { white-space: normal; text-align: left; }
  .sidebar .soft-brand { flex-direction: column; align-items: flex-start; width: 145px; gap: 0; }
  .sidebar .original-logo { width: 145px; height: 24px; }
  .sidebar .original-logo img { width: 154px; left: -4px; top: -12px; }
  .sidebar .soft-brand-line { font-size: 11px; margin-left: 74px; }
  .profile { min-width: 0; }
  .organization-select { max-width: min(180px, 48vw); }
  .topbar { padding-inline: 14px; }
  .client-panel { color: #192b47; }
  .response-rows article { grid-template-columns: 1fr; gap: 15px; padding: 24px 0; }
  .response-rows h3 { font-size: 24px; }
  .delivery-steps { grid-template-columns: 1fr; gap: 24px; }
  .delivery-steps p { font-size: 15px; }
}
@media (max-width: 360px) {
  .soft-brand, .original-logo { width: 125px; }
  .original-logo { height: 22px; }
  .original-logo img { width: 134px; top: -10px; }
  .soft-brand-line { margin-left: 56px; }
}
