@font-face{font-family:'Onest';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/onest-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Onest';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/onest-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Onest';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/onest-500-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Onest';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/onest-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Onest';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/onest-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Onest';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/onest-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Onest';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/onest-700-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Onest';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/onest-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Onest';font-style:normal;font-weight:800;font-display:swap;src:url('../fonts/onest-800-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Onest';font-style:normal;font-weight:800;font-display:swap;src:url('../fonts/onest-800-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
      --blue: #0877f9;
      --blue-dark: #075fce;
      --blue-soft: #eaf4ff;
      --cyan: #22b8cf;
      --orange: #ff6d5a;
      --ink: #101828;
      --ink-soft: #344054;
      --muted: #667085;
      --line: #dce7f3;
      --surface: #ffffff;
      --surface-soft: #f6f9fd;
      --navy: #0b1730;
      --navy-soft: #132343;
      --success: #15a66d;
      --warning: #f5a524;
      --shadow-sm: 0 6px 18px rgba(20, 54, 97, .06);
      --shadow-lg: 0 20px 54px rgba(20, 70, 140, .12);
      --radius-sm: 12px;
      --radius: 16px;
      --radius-lg: 20px;
      --container: 1180px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 92px; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--surface);
      font-family: Onest, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      -webkit-font-smoothing: antialiased;
    }
    body.menu-open { overflow: hidden; }
    a { color: inherit; }
    img, svg { display: block; max-width: 100%; }
    button, input, select, textarea { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    :focus-visible { outline: 3px solid rgba(8, 119, 249, .3); outline-offset: 3px; }

    .container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
    .section { padding: 88px 0; }
    .section-soft { background: var(--surface-soft); }
    .section-head { max-width: 760px; margin-bottom: 48px; }
    .section-head.center { margin-inline: 0; text-align: left; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      margin-bottom: 14px;
      color: var(--blue-dark);
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0;
    }
    .eyebrow::before { display: none; }
    h1, h2, h3, p { margin-top: 0; }
    h1, h2, h3 { text-wrap: balance; }
    h1 {
      margin-bottom: 24px;
      font-size: clamp(40px, 4.8vw, 62px);
      line-height: 1.04;
      letter-spacing: -.045em;
    }
    h2 {
      margin-bottom: 18px;
      font-size: clamp(32px, 3.5vw, 44px);
      line-height: 1.1;
      letter-spacing: -.035em;
    }
    h3 {
      margin-bottom: 10px;
      font-size: 21px;
      line-height: 1.25;
      letter-spacing: -.025em;
    }
    .lead {
      margin-bottom: 0;
      color: var(--muted);
      font-size: 19px;
      line-height: 1.65;
    }
    .blue { color: var(--blue); }
    .muted { color: var(--muted); }
    .small { font-size: 13px; line-height: 1.55; }

    .button {
      display: inline-flex;
      min-height: 50px;
      align-items: center;
      justify-content: center;
      gap: 9px;
      border: 1px solid transparent;
      border-radius: 12px;
      padding: 13px 22px;
      font-weight: 720;
      text-decoration: none;
      cursor: pointer;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    }
    .button:hover { transform: translateY(-2px); }
    .button-primary {
      color: #fff;
      background: var(--blue);
      box-shadow: 0 8px 20px rgba(8, 119, 249, .22);
    }
    .button-primary:hover { background: var(--blue-dark); box-shadow: 0 14px 32px rgba(8, 119, 249, .34); }
    .button-secondary { color: var(--ink); background: #fff; border-color: var(--line); }
    .button-secondary:hover { border-color: #b5cbe2; box-shadow: var(--shadow-sm); }
    .button-ghost-dark { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }

    .site-header {
      position: sticky;
      inset: 0 0 auto;
      z-index: 50;
      border-bottom: 1px solid rgba(220, 231, 243, .85);
      background: rgba(255, 255, 255, .9);
      backdrop-filter: blur(18px);
    }
    .nav {
      min-height: 76px;
      display: flex;
      align-items: center;
      gap: 34px;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      flex: 0 0 auto;
      text-decoration: none;
    }
    .brand-mark { width: 30px; height: 30px; object-fit: contain; }
    .brand-word { width: 126px; height: 26px; object-fit: contain; }
    .product-tag {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 7px 10px;
      color: var(--ink-soft);
      background: var(--surface-soft);
      border: 1px solid var(--line);
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
    }
    .product-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
    .nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
    .nav-links a {
      color: var(--ink-soft);
      font-size: 14px;
      font-weight: 620;
      text-decoration: none;
      transition: color .2s ease;
    }
    .nav-links a:hover { color: var(--blue); }
    .nav .button { min-height: 44px; padding: 10px 18px; font-size: 14px; }
    .theme-toggle {
      width: 44px;
      display: grid;
      flex: 0 0 auto;
      place-items: center;
      margin-left: 2px;
      border: 1px solid var(--line);
      border-radius: 11px;
      color: var(--ink-soft);
      background: var(--surface);
      cursor: pointer;
      transition: border-color .2s ease, color .2s ease, background .2s ease;
    }
    .theme-toggle:hover { color: var(--blue); border-color: #b5cbe2; }
    .theme-toggle svg { width: 19px; height: 19px; }
    .theme-toggle .icon-sun { display: none; }
    html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
    html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
    .menu-button {
      display: none;
      width: 44px;
      height: 44px;
      margin-left: auto;
      place-items: center;
      border: 1px solid var(--line);
      border-radius: 11px;
      background: #fff;
      cursor: pointer;
    }
    .menu-button span, .menu-button span::before, .menu-button span::after {
      width: 19px;
      height: 2px;
      display: block;
      position: relative;
      border-radius: 2px;
      background: var(--ink);
      transition: transform .2s ease, opacity .2s ease;
    }
    .menu-button span::before, .menu-button span::after { content: ""; position: absolute; left: 0; }
    .menu-button span::before { top: -6px; }
    .menu-button span::after { top: 6px; }
    .menu-open .menu-button span { background: transparent; }
    .menu-open .menu-button span::before { top: 0; transform: rotate(45deg); }
    .menu-open .menu-button span::after { top: 0; transform: rotate(-45deg); }

    .hero {
      position: relative;
      overflow: hidden;
      padding: 92px 0 76px;
      background:
        radial-gradient(circle at 8% 8%, rgba(8,119,249,.09), transparent 30%),
        linear-gradient(180deg, #fbfdff 0%, #fff 100%);
    }
    .hero::after { display: none; }
    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
      align-items: center;
      gap: 64px;
    }
    .hero-copy { position: relative; z-index: 2; }
    .hero-copy .lead { max-width: 690px; }
    .offer-line {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 5px;
      margin: 28px 0;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }
    .offer-price { width: 100%; color: var(--ink); font-size: 28px; font-weight: 800; letter-spacing: -.035em; }
    .offer-meta { color: var(--muted); font-size: 14px; line-height: 1.55; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .hero-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }

    .product-window {
      position: relative;
      z-index: 2;
      overflow: hidden;
      border: 1px solid #d6e4f1;
      border-radius: 18px;
      background: #fff;
      box-shadow: var(--shadow-lg);
    }
    .window-bar {
      height: 52px;
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 0 18px;
      border-bottom: 1px solid var(--line);
      background: #fbfdff;
    }
    .window-title { color: var(--muted); font-size: 12px; font-weight: 650; }
    .workflow-canvas {
      position: relative;
      min-height: 380px;
      overflow: hidden;
      background-color: #f8fbff;
      background-image: radial-gradient(#d9e5f2 1px, transparent 1px);
      background-size: 20px 20px;
    }
    .workflow-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
    .workflow-lines path { fill: none; stroke: #9fc6f3; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 7 6; }
    .workflow-node {
      position: absolute;
      width: 142px;
      padding: 13px;
      border: 1px solid #cfe0f0;
      border-radius: 14px;
      background: #fff;
      box-shadow: 0 9px 24px rgba(20, 70, 120, .1);
    }
    .workflow-node b { display: block; margin-top: 8px; font-size: 13px; }
    .workflow-node span { color: var(--muted); font-size: 11px; }
    .node-icon {
      width: 32px;
      height: 32px;
      display: grid;
      place-items: center;
      border-radius: 9px;
      color: #fff;
      font-size: 12px;
      font-weight: 800;
    }
    .node-trigger { left: 24px; top: 54px; }
    .node-crm { right: 24px; top: 40px; }
    .node-vsellm { left: 50%; top: 178px; transform: translateX(-50%); border-color: rgba(8,119,249,.45); }
    .node-telegram { right: 32px; bottom: 34px; }
    .node-trigger .node-icon { background: var(--orange); }
    .node-crm .node-icon { background: #8a5cf6; }
    .node-vsellm .node-icon { background: var(--blue); }
    .node-telegram .node-icon { background: #27a7e7; }
    .proof-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      margin-top: 66px;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: transparent;
      box-shadow: none;
    }
    .proof-item { padding: 22px 24px; border-right: 1px solid var(--line); background: transparent; }
    .proof-item:last-child { border-right: 0; }
    .proof-item strong { display: block; margin-bottom: 5px; font-size: 22px; letter-spacing: -.03em; }
    .proof-item span { color: var(--muted); font-size: 13px; line-height: 1.45; }

    .service-layout {
      display: grid;
      grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
      align-items: start;
      gap: 72px;
    }
    .service-sticky { position: sticky; top: 112px; }
    .service-list { border-top: 1px solid var(--line); }
    .service-row {
      display: grid;
      grid-template-columns: 48px 1fr;
      gap: 18px;
      padding: 26px 0;
      border-bottom: 1px solid var(--line);
    }
    .service-icon {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      color: var(--blue);
      background: var(--blue-soft);
    }
    .service-icon svg { width: 22px; height: 22px; }
    .service-row p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

    .architecture {
      margin-top: 60px;
      padding: 30px;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: var(--surface-soft);
    }
    .architecture-title { margin-bottom: 22px; font-size: 14px; font-weight: 760; }
    .arch-flow {
      display: grid;
      grid-template-columns: 1fr 44px 1.15fr 44px 1fr;
      align-items: stretch;
      gap: 10px;
    }
    .arch-box {
      display: flex;
      min-height: 118px;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      padding: 20px;
      border: 1px solid #d2e2f1;
      border-radius: 16px;
      background: rgba(255,255,255,.86);
    }
    .arch-box.featured { color: var(--ink); border-color: rgba(8,119,249,.35); background: var(--blue-soft); box-shadow: none; }
    .arch-box b { font-size: 15px; }
    .arch-box span { color: var(--muted); font-size: 12px; line-height: 1.5; }
    .arch-box.featured span { color: var(--muted); }
    .arch-arrow { display: grid; place-items: center; color: var(--blue); font-size: 22px; }

    .use-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .use-case {
      position: relative;
      min-height: 0;
      overflow: hidden;
      padding: 30px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      box-shadow: none;
    }
    .use-case::after { display: none; }
    .case-tag { display: inline-block; margin-bottom: 26px; color: var(--blue); font-size: 13px; font-weight: 750; }
    .use-case p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

    .compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .compare-card {
      display: flex;
      min-height: 100%;
      flex-direction: column;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
    }
    .compare-card.featured { border-color: rgba(8,119,249,.45); box-shadow: var(--shadow-sm); }
    .compare-head { padding: 28px; border-bottom: 1px solid var(--line); }
    .compare-card.featured .compare-head { color: var(--ink); border-color: var(--line); background: var(--blue-soft); }
    .compare-head span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
    .compare-card.featured .compare-head span { color: var(--muted); }
    .compare-list { display: grid; margin: 0; padding: 12px 28px 26px; list-style: none; }
    .compare-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 15px 0; border-bottom: 1px solid #edf2f7; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
    .compare-list li:last-child { border-bottom: 0; }
    .compare-list i { font-style: normal; color: var(--success); font-weight: 900; }
    .compare-card:not(.featured) .compare-list i { color: #98a2b3; }

    .pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 20px; max-width: 900px; }
    .price-card {
      display: flex;
      min-height: 100%;
      flex-direction: column;
      padding: 32px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      box-shadow: none;
    }
    .price-card.featured { position: relative; border-color: rgba(8,119,249,.44); background: #fff; box-shadow: var(--shadow-sm); }
    .price-kicker { color: var(--blue); font-size: 14px; font-weight: 750; }
    .price { margin: 20px 0 4px; font-size: 38px; font-weight: 850; letter-spacing: -.05em; }
    .price small { font-size: 14px; font-weight: 650; letter-spacing: 0; }
    .price-caption { min-height: 42px; color: var(--muted); font-size: 13px; line-height: 1.55; }
    .price-list { display: grid; gap: 13px; margin: 26px 0 30px; padding: 0; list-style: none; }
    .price-list li { display: grid; grid-template-columns: 20px 1fr; gap: 9px; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
    .price-list li::before { content: "✓"; color: var(--success); font-weight: 900; }
    .price-card .button { margin-top: auto; }
    .pricing-notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 24px; }
    .note-card { padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.72); color: var(--muted); font-size: 14px; line-height: 1.6; }
    .note-card b { color: var(--ink); }

    .timeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
    .timeline::before { content: ""; position: absolute; top: 25px; left: 8%; right: 8%; height: 2px; background: #dbe8f6; }
    .step { position: relative; z-index: 1; padding: 0 24px; text-align: center; }
    .step-number {
      width: 52px;
      height: 52px;
      display: grid;
      place-items: center;
      margin: 0 auto 22px;
      border: 7px solid var(--surface);
      border-radius: 50%;
      color: #fff;
      background: var(--blue);
      box-shadow: 0 0 0 1px #cfe0f0;
      font-weight: 850;
    }
    .step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
    .timeline-note { max-width: 760px; margin: 34px auto 0; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.6; }

    .support-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 24px; }
    .support-table { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
    .support-row { display: grid; grid-template-columns: minmax(150px, .75fr) 1.25fr; gap: 24px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
    .support-row:last-child { border-bottom: 0; }
    .support-row span { color: var(--muted); font-size: 13px; }
    .support-row b { color: var(--ink); font-size: 14px; line-height: 1.5; }
    .support-aside { padding: 28px; border: 1px solid rgba(245,165,36,.32); border-radius: var(--radius); background: rgba(245,165,36,.07); }
    .support-aside h3 { color: #b86f00; }
    .support-aside ul { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
    .support-aside li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }
    .support-aside li::before { content: "—"; color: #b86f00; }

    .results-panel {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      align-items: center;
      gap: 60px;
      padding: 48px 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: transparent;
      box-shadow: none;
    }
    .result-numbers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .result-number { padding: 10px 24px 10px 0; border-right: 1px solid var(--line); background: transparent; }
    .result-number:last-child { border-right: 0; }
    .result-number strong { display: block; color: var(--blue); font-size: 30px; letter-spacing: -.04em; }
    .result-number span { color: var(--muted); font-size: 12px; line-height: 1.45; }

    .faq { max-width: 880px; margin-inline: auto; }
    details { border-bottom: 1px solid var(--line); }
    summary {
      position: relative;
      padding: 24px 54px 24px 0;
      list-style: none;
      font-size: 17px;
      font-weight: 720;
      line-height: 1.4;
      cursor: pointer;
    }
    summary::-webkit-details-marker { display: none; }
    summary::after {
      content: "+";
      position: absolute;
      top: 18px;
      right: 0;
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      color: var(--blue);
      background: var(--blue-soft);
      font-size: 20px;
      font-weight: 500;
      transition: transform .2s ease;
    }
    details[open] summary::after { transform: rotate(45deg); }
    details p { max-width: 780px; margin: -4px 0 24px; color: var(--muted); font-size: 15px; line-height: 1.7; }

    .lead-section { overflow: hidden; background: var(--surface-soft); }
    .lead-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 70px; }
    .contact-links { display: grid; gap: 12px; margin-top: 30px; }
    .contact-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 15px 18px;
      border: 1px solid var(--line);
      border-radius: 13px;
      background: transparent;
      color: var(--ink-soft);
      font-size: 14px;
      font-weight: 680;
      text-decoration: none;
    }
    .contact-link span { color: var(--muted); font-size: 12px; font-weight: 500; }
    .lead-form {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 17px;
      padding: 30px;
      border: 1px solid #d6e4f1;
      border-radius: var(--radius);
      background: rgba(255,255,255,.9);
      box-shadow: var(--shadow-sm);
    }
    .field { display: grid; gap: 7px; }
    .field.full { grid-column: 1 / -1; }
    .field label { color: var(--ink-soft); font-size: 12px; font-weight: 720; }
    .field input, .field select, .field textarea {
      width: 100%;
      border: 1px solid #cfddeb;
      border-radius: 11px;
      padding: 13px 14px;
      color: var(--ink);
      background: #fff;
      outline: none;
      transition: border-color .2s ease, box-shadow .2s ease;
    }
    .field textarea { min-height: 98px; resize: vertical; }
    .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8,119,249,.1); }
    .consent { grid-column: 1 / -1; display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 9px; color: var(--muted); font-size: 11px; line-height: 1.5; }
    .consent input { margin: 2px 0 0; accent-color: var(--blue); }
    .form-action { grid-column: 1 / -1; }
    .form-action .button { width: 100%; border: 0; }
    .form-status { min-height: 20px; margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

    footer { padding: 46px 0; border-top: 1px solid var(--line); background: #fff; }
    .footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .8fr); gap: 36px; }
    .footer-brand p { max-width: 300px; margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
    .footer-col { display: grid; align-content: start; gap: 11px; }
    .footer-col b { margin-bottom: 5px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
    .footer-col a { color: var(--muted); font-size: 13px; text-decoration: none; }
    .footer-col a:hover { color: var(--blue); }
    .copyright { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: #98a2b3; font-size: 12px; }

    html[data-theme="dark"] {
      color-scheme: dark;
      --ink: #eef4ff;
      --ink-soft: #c9d5e7;
      --muted: #95a6bf;
      --line: #263854;
      --surface: #0b1426;
      --surface-soft: #101c31;
      --blue-soft: #12325b;
      --navy: #07101f;
      --navy-soft: #101e35;
      --shadow-sm: 0 8px 24px rgba(0, 0, 0, .22);
      --shadow-lg: 0 26px 70px rgba(0, 0, 0, .35);
    }
    html[data-theme="dark"] body { background: var(--surface); }
    html[data-theme="dark"] .site-header { border-color: var(--line); background: rgba(11, 20, 38, .9); }
    html[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }
    html[data-theme="dark"] .product-tag,
    html[data-theme="dark"] .menu-button,
    html[data-theme="dark"] .button-secondary,
    html[data-theme="dark"] .product-window,
    html[data-theme="dark"] .workflow-node,
    html[data-theme="dark"] .use-case,
    html[data-theme="dark"] .compare-card,
    html[data-theme="dark"] .price-card,
    html[data-theme="dark"] .note-card,
    html[data-theme="dark"] .trust-band,
    html[data-theme="dark"] .lead-form,
    html[data-theme="dark"] .field input,
    html[data-theme="dark"] .field select,
    html[data-theme="dark"] .field textarea,
    html[data-theme="dark"] footer { background: #111d31; }
    html[data-theme="dark"] .hero {
      background:
        radial-gradient(circle at 8% 8%, rgba(8,119,249,.16), transparent 30%),
        radial-gradient(circle at 92% 24%, rgba(43,201,176,.09), transparent 27%),
        linear-gradient(180deg, #0b1426 0%, #0d182b 100%);
    }
    html[data-theme="dark"] .arch-box { background: rgba(17, 29, 49, .94); }
    html[data-theme="dark"] .window-bar { background: #0f1a2d; }
    html[data-theme="dark"] .workflow-canvas {
      background-color: #0d182b;
      background-image: radial-gradient(#263854 1px, transparent 1px);
    }
    html[data-theme="dark"] .architecture { background: var(--surface-soft); }
    html[data-theme="dark"] .arch-box.featured { background: var(--blue-soft); }
    html[data-theme="dark"] .compare-list li { border-color: var(--line); }
    html[data-theme="dark"] .step-number { border-color: var(--surface); }
    html[data-theme="dark"] .lead-section { background: var(--surface-soft); }
    html[data-theme="dark"] .field input,
    html[data-theme="dark"] .field select,
    html[data-theme="dark"] .field textarea { border-color: #304461; color: var(--ink); }

    @media (max-width: 1080px) {
      .nav-links { gap: 18px; }
      .hero-grid { grid-template-columns: 1fr 440px; gap: 36px; }
      .service-layout { gap: 44px; }
      .footer-grid { grid-template-columns: 1.2fr repeat(3, 1fr); }
    }

    @media (max-width: 1024px) {
      .section { padding: 88px 0; }
      .menu-button { display: grid; }
      .nav > .button { display: none; }
      .nav-links {
        position: fixed;
        inset: 76px 0 auto;
        display: none;
        height: calc(100vh - 76px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 18px 24px 32px;
        background: rgba(255,255,255,.98);
      }
      .menu-open .nav-links { display: flex; }
      .nav-links a { display: block; padding: 17px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
      .hero { padding-top: 68px; }
      .hero-grid { grid-template-columns: 1fr; }
      .hero-copy { max-width: 750px; }
      .product-window { max-width: 660px; }
      .proof-strip { grid-template-columns: repeat(2, 1fr); }
      .proof-item:nth-child(2n) { border-right: 0; }
      .service-layout { grid-template-columns: 1fr; }
      .service-sticky { position: static; }
      .use-cases, .compare-grid, .pricing-grid { grid-template-columns: 1fr; }
      .use-case { min-height: 220px; }
      .compare-card.featured { transform: none; }
      .price-card { max-width: 660px; width: 100%; margin-inline: auto; }
      .timeline { grid-template-columns: repeat(2, 1fr); gap: 38px 0; }
      .timeline::before { display: none; }
      .support-grid, .results-panel, .lead-layout { grid-template-columns: 1fr; }
      .result-numbers { max-width: 650px; }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
      html[data-theme="dark"] .nav-links { background: rgba(11,20,38,.98); }
    }

    @media (max-width: 640px) {
      .container { width: min(100% - 32px, var(--container)); }
      .section { padding: 72px 0; }
      .section-head { margin-bottom: 34px; }
      .nav { min-height: 68px; gap: 12px; }
      .nav-links { top: 68px; height: calc(100vh - 68px); }
      .brand-word { width: 105px; }
      .brand-mark { width: 27px; height: 27px; }
      .product-tag { display: none; }
      .hero { padding: 56px 0 58px; }
      h1 { font-size: clamp(34px, 10.8vw, 48px); }
      h2 { font-size: 30px; }
      .lead { font-size: 17px; }
      .hero-actions { display: grid; }
      .hero-actions .button { width: 100%; }
      .product-window { border-radius: 18px; }
      .workflow-canvas { min-height: 350px; }
      .workflow-node { width: 126px; padding: 11px; }
      .node-trigger { left: 12px; top: 42px; }
      .node-crm { right: 12px; top: 35px; }
      .node-telegram { right: 14px; bottom: 28px; }
      .proof-strip { grid-template-columns: 1fr; }
      .proof-item { padding: 18px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
      .proof-item:last-child { border-bottom: 0; }
      .service-row { grid-template-columns: 42px 1fr; gap: 14px; }
      .architecture { padding: 22px; }
      .arch-flow { grid-template-columns: 1fr; }
      .arch-arrow { transform: rotate(90deg); min-height: 30px; }
      .pricing-notes, .result-numbers { grid-template-columns: 1fr; }
      .result-number { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
      .result-number:last-child { border-bottom: 0; }
      .timeline { grid-template-columns: 1fr; }
      .step { display: grid; grid-template-columns: 50px 1fr; column-gap: 16px; padding: 0; text-align: left; }
      .step-number { grid-row: 1 / span 2; margin: 0; }
      .support-row { grid-template-columns: 1fr; gap: 5px; }
      .results-panel { padding: 28px 22px; }
      .lead-layout { gap: 38px; }
      .lead-form { grid-template-columns: 1fr; padding: 22px; }
      .field.full, .consent, .form-action { grid-column: auto; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-col { padding-top: 8px; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    }

/* ---- правки по комментариям Михаила Ильина и Ника ---- */

/* Тарифы по центру */
.pricing-grid {
  max-width: 900px;
  margin-inline: auto;
  justify-content: center;
}
.pricing-notes { max-width: 900px; margin-inline: auto; }

/* Расчёт счёта в первом экране вместо декоративной схемы */
.invoice { padding: 26px 26px 22px; }
.invoice-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px 18px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.invoice-label { font-weight: 600; }
.invoice-calc {
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.invoice-sum {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 96px;
  text-align: right;
}
.invoice-total { border-bottom: 0; padding-top: 18px; }
.invoice-total .invoice-label { font-size: 18px; }
.invoice-total .invoice-sum { font-size: 22px; color: var(--blue); }
.invoice-note {
  margin: 14px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Полоса с показателями сервиса вместо отдельного раздела */
.trust-band {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  align-items: baseline;
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
}
.trust-band b { color: var(--ink); font-weight: 700; }

@media (max-width: 720px) {
  .invoice { padding: 20px; }
  .invoice-row { grid-template-columns: 1fr auto; }
  .invoice-calc { grid-column: 1 / -1; order: 3; }
  .trust-band { gap: 10px 24px; padding: 16px 18px; font-size: 14px; }
}

/* Отступы после слияния разделов «Подключение» и «Поддержка» */
.timeline-note { margin: 28px 0 0; }
#support .support-grid { margin-top: 44px; }
