@font-face { font-family: Onest; font-weight: 100 900; font-display: swap; src: url(fonts/onest-cyrillic-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: Onest; font-weight: 100 900; font-display: swap; src: url(fonts/onest-cyrillic-wght-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Onest; font-weight: 100 900; font-display: swap; src: url(fonts/onest-latin-wght-normal.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 {
    --night: #0f1a3c;
    --night-2: #18264f;
    --blue: #1f4fd8;
    --blue-d: #1a43b8;
    --mist: #eef2fd;
    --line: #d9dfee;
    --muted: #5b6478;
    --paper: #fff;
    --wa: #25d366;
    --bubble: 22px 22px 4px 22px;
    --w: 1180px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: Onest, system-ui, sans-serif; color: var(--night); background: var(--paper); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
  a { color: inherit; }
  :focus-visible { outline: 3px solid #7c9bff; outline-offset: 3px; border-radius: 6px; }
  .wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
  h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
  h2 { font-size: clamp(36px, 5vw, 72px); max-width: 16ch; }
  h3 { font-size: 21px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
  p { max-width: 60ch; }

  .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; border-radius: var(--bubble); font: 700 17px/1 Onest, sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: background .15s, transform .15s; }
  .btn:active { transform: translateY(1px); }
  .btn-blue { background: var(--blue); color: #fff; }
  .btn-blue:hover { background: var(--blue-d); }
  .btn-white { background: #fff; color: var(--blue); }
  .btn-white:hover { background: var(--mist); }
  .link { font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: rgba(255,255,255,.35); }
  .link:hover { text-decoration-color: currentColor; }

  /* Night: hero */
  .night { background: var(--night); color: #fff; overflow: hidden; position: relative; }
  .night::after { content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -360px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 140px rgba(31,79,216,.10), 0 0 0 141px rgba(255,255,255,.06); pointer-events: none; }
  nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; position: relative; z-index: 1; }
  .logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 25px; letter-spacing: -.03em; text-decoration: none; }
  .logo img { width: 34px; height: 34px; }
  nav ul { display: flex; gap: 32px; list-style: none; font-weight: 500; color: rgba(255,255,255,.72); }
  nav ul a { text-decoration: none; }
  nav ul a:hover { color: #fff; }
  nav > .logo, nav ul { margin-right: auto; }
  nav .lang { font-weight: 600; font-size: 15px; color: rgba(255,255,255,.72); text-decoration: none; }
  nav .lang:hover { color: #fff; }
  nav .btn { min-height: 46px; padding: 0 22px; font-size: 15px; }

  .hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 128px); position: relative; z-index: 1; }
  .hero h1 { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: rgba(255,255,255,.72); margin-bottom: 20px; }
  .hero .big { font-size: clamp(48px, 6.6vw, 100px); font-weight: 800; line-height: .95; letter-spacing: -.045em; max-width: none; }
  .hero .big:lang(kk) { font-size: clamp(36px, 4.4vw, 66px); }
  .hero .big span { display: block; color: rgba(255,255,255,.42); }
  .hero .lead { font-size: clamp(18px, 1.6vw, 21px); color: rgba(255,255,255,.76); margin: 32px 0 40px; max-width: 34ch; }
  .actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

  .chat { background: var(--night-2); border: 1px solid rgba(255,255,255,.08); border-radius: 28px 28px 6px 28px; padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 50px 90px -40px rgba(0,0,0,.6); }
  .chat-h { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .ava { width: 42px; height: 42px; border-radius: 50%; background: #e9d5c3; color: var(--night); display: grid; place-items: center; font-weight: 800; }
  .chat-h b { display: block; font-size: 16px; }
  .chat-h small { color: rgba(255,255,255,.55); font-size: 13px; display: flex; align-items: center; gap: 6px; }
  .chat-h small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wa); }
  .m { max-width: 84%; padding: 11px 15px 8px; font-size: 15px; line-height: 1.4; }
  .m time { display: block; text-align: right; font-size: 11px; margin-top: 3px; opacity: .55; }
  .m.in { background: rgba(255,255,255,.08); border-radius: 18px 18px 18px 4px; }
  .m.out { background: var(--blue); align-self: flex-end; border-radius: var(--bubble); }
  .m.out .who { display: block; font-size: 11px; font-weight: 700; opacity: .7; margin-bottom: 2px; }
  .done { margin-top: 6px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(37,211,102,.12); color: #b8f5cf; font-size: 14px; font-weight: 600; }
  .done svg { width: 18px; height: 18px; flex: none; }

  /* One orchestrated sequence: the night conversation plays once */
  @media (prefers-reduced-motion: no-preference) {
    .play > * { opacity: 0; transform: translateY(8px); animation: in .45s cubic-bezier(.2,.7,.2,1) forwards; }
    .play > :nth-child(1) { animation-delay: .1s; }
    .play > :nth-child(2) { animation-delay: .5s; }
    .play > :nth-child(3) { animation-delay: 1.4s; }
    .play > :nth-child(4) { animation-delay: 2.3s; }
    .play > :nth-child(5) { animation-delay: 3.1s; }
    .play > :nth-child(6) { animation-delay: 3.8s; }
    @keyframes in { to { opacity: 1; transform: none; } }
  }

  /* Morning: board */
  .morning { padding: clamp(80px, 10vw, 136px) 0; }
  .morning-h { display: grid; grid-template-columns: auto 1fr; gap: 12px 48px; align-items: end; margin-bottom: 48px; }
  .clock { font-size: clamp(64px, 10vw, 148px); font-weight: 800; letter-spacing: -.06em; line-height: .8; color: var(--blue); font-variant-numeric: tabular-nums; }
  .morning-h h2 { font-size: clamp(28px, 3.4vw, 48px); max-width: 18ch; }
  .board { background: var(--mist); border-radius: 28px 28px 6px 28px; padding: clamp(14px, 2vw, 22px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; overflow-x: auto; }
  .col { min-width: 200px; display: flex; flex-direction: column; gap: 10px; }
  .col-h { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--muted); padding: 4px 6px; }
  .card { background: #fff; border-radius: 16px; padding: 14px; font-size: 14px; border: 1px solid var(--line); }
  .card b { display: block; font-size: 15px; margin-bottom: 2px; }
  .card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12px; color: var(--muted); }
  .ch { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
  .ch::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wa); }
  .ch.ig::before { background: #e1306c; }
  .card.new { border: 2px solid var(--blue); box-shadow: 0 12px 30px -14px rgba(31,79,216,.55); }
  .card.new .tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--blue); background: var(--mist); padding: 2px 8px; border-radius: 6px; margin-bottom: 8px; }
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
  .facts div { border-top: 2px solid var(--night); padding-top: 18px; }
  .facts p { color: var(--muted); margin-top: 8px; }

  /* Where leads live now */
  .scatter { background: var(--mist); padding: clamp(72px, 9vw, 120px) 0; }
  .scatter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .scraps { display: flex; flex-wrap: wrap; gap: 12px; }
  .scrap { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 22px; font-weight: 500; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(31,79,216,.6); text-decoration-thickness: 2px; }
  .scatter p { font-size: 20px; margin-top: 24px; color: var(--muted); }

  /* Capabilities */
  .more { padding: clamp(80px, 10vw, 136px) 0; }
  .more .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
  .more h2 { position: sticky; top: 40px; align-self: start; }
  .rows { list-style: none; }
  .rows li { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
  .rows li:first-child { border-top: 1px solid var(--line); }
  .rows p { color: var(--muted); }

  /* Steps: a real sequence, so numbered */
  .steps-s { padding: 0 0 clamp(80px, 10vw, 136px); }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; counter-reset: s; }
  .step { padding: 28px 28px 0 0; border-top: 2px solid var(--line); position: relative; }
  .step::before { counter-increment: s; content: counter(s); position: absolute; top: -21px; left: 0; width: 40px; height: 40px; border-radius: 14px 14px 3px 14px; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; }
  .step h3 { margin-top: 24px; }
  .step p { color: var(--muted); margin-top: 8px; }

  /* Done-for-you */
  .dfy { background: var(--blue); color: #fff; padding: clamp(80px, 10vw, 136px) 0; }
  .dfy .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .dfy .lead { color: rgba(255,255,255,.8); font-size: 20px; margin-top: 24px; }
  .dfy ul { list-style: none; }
  .dfy li { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.25); display: grid; gap: 4px; }
  .dfy li:first-child { border-top: 1px solid rgba(255,255,255,.25); }
  .dfy li b { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; }
  .dfy li span { color: rgba(255,255,255,.75); }

  /* FAQ */
  .faq { padding: clamp(80px, 10vw, 136px) 0; }
  .faq .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
  details { border-bottom: 1px solid var(--line); }
  details:first-of-type { border-top: 1px solid var(--line); }
  summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 600; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 6px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg); transition: transform .2s; }
  details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
  details p { color: var(--muted); padding-bottom: 24px; }

  /* Final */
  .final { padding: 0 0 24px; }
  .final-box { background: var(--night); color: #fff; border-radius: 36px 36px 8px 36px; padding: clamp(40px, 7vw, 96px); display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: end; }
  .final-box h2 { font-size: clamp(36px, 5.4vw, 76px); max-width: 14ch; }
  .final-box p { color: rgba(255,255,255,.7); margin-top: 20px; font-size: 19px; }
  footer { padding: 32px 0 40px; color: var(--muted); font-size: 15px; }
  footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
  footer .logo { font-size: 20px; color: var(--night); }
  footer .logo img { width: 26px; height: 26px; }
  .foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
  .foot-links a { text-decoration: none; }
  .foot-links a:hover { color: var(--night); text-decoration: underline; }

  /* Comparison pages */
  .page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); position: relative; z-index: 1; }
  .page-hero h1 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1; letter-spacing: -.04em; max-width: 18ch; }
  .page-hero .lead { font-size: clamp(18px, 1.6vw, 21px); color: rgba(255,255,255,.76); margin: 28px 0 36px; max-width: 46ch; }
  .crumbs { font-size: 15px; color: rgba(255,255,255,.6); margin-bottom: 28px; }
  .crumbs a { color: inherit; }
  .cmp { padding: clamp(72px, 9vw, 120px) 0; }
  .cmp h2 { margin-bottom: 40px; }
  .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 28px 28px 6px 28px; }
  table { width: 100%; border-collapse: collapse; min-width: 640px; }
  th, td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid var(--line); }
  tr:last-child td { border-bottom: 0; }
  thead th { background: var(--mist); font-size: 15px; }
  thead th:nth-child(2) { color: var(--blue); }
  tbody th { font-weight: 600; width: 24%; }
  td { color: var(--muted); }
  td:nth-child(2) { color: var(--night); }
  .note { font-size: 14px; color: var(--muted); margin-top: 16px; }
  .fit { padding: 0 0 clamp(72px, 9vw, 120px); }
  .fit .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .fit-box { padding: 36px; border-radius: 28px 28px 6px 28px; background: var(--mist); }
  .fit-box.ours { background: var(--blue); color: #fff; }
  .fit-box h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 20px; }
  .fit-box ul { padding-left: 20px; display: grid; gap: 10px; }
  .fit-box.ours li::marker { color: #fff; }

  @media (max-width: 960px) {
    nav ul { display: none; }
    .fit .wrap, .hero, .scatter .wrap, .more .wrap, .dfy .wrap, .faq .wrap, .final-box { grid-template-columns: 1fr; gap: 48px; }
    .more h2 { position: static; }
    .morning-h { grid-template-columns: 1fr; }
    .board { grid-template-columns: 1fr 1fr; }
    .board .col { min-width: 0; }
    .board .col:nth-child(2n) { display: none; }
    .facts, .steps { grid-template-columns: 1fr; gap: 56px; }
    .rows li { grid-template-columns: 1fr; gap: 6px; }
  }
  @media (max-width: 520px) {
    nav .btn { display: none; }
    .final-box .btn { width: 100%; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

  @media (max-width: 640px) {
    .table-wrap { border: 0; border-radius: 0; overflow: visible; }
    table, tbody, tr, th, td { display: block; min-width: 0; }
    table { min-width: 0; }
    thead { display: none; }
    tbody tr { border: 1px solid var(--line); border-radius: 22px 22px 4px 22px; padding: 18px; margin-bottom: 12px; }
    tbody th, td { padding: 0; border: 0; width: auto; }
    tbody th { font-size: 18px; margin-bottom: 10px; }
    td + td { margin-top: 10px; }
    td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
    td:nth-child(2)::before { color: var(--blue); }
  }
  .mgr { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--night); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
  .soon { background: var(--mist); }
  .soon .rows li, .soon .rows li:first-child { border-color: var(--line); }
  .soon-note { color: var(--muted); margin-top: 20px; max-width: 32ch; }
  .soon .wrap > div { position: sticky; top: 40px; align-self: start; }
  @media (max-width: 960px) { .soon .wrap > div { position: static; } }
  .move { background: var(--night); color: #fff; padding: clamp(80px, 10vw, 136px) 0; }
  .move-lead { color: rgba(255,255,255,.76); font-size: 20px; margin-top: 20px; }
  .move .step { border-top-color: rgba(255,255,255,.2); }
  .move .step p, .move-note { color: rgba(255,255,255,.7); }
  .move-note { margin-top: 48px; }
  #sales { padding-top: 0; }
  .move-cmp { padding-top: 0; } .move-cmp .steps { margin-top: 56px; }
  .pricing { padding: clamp(80px, 10vw, 136px) 0; }
  .pricing-lead { color: var(--muted); font-size: 20px; margin-top: 20px; max-width: 48ch; }
  .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; align-items: start; }
  .plan { border: 1px solid var(--line); border-radius: 28px 28px 6px 28px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
  .plan h3 { font-size: 24px; }
  .plan-who { color: var(--muted); margin-top: -8px; }
  .plan-price { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 8px 0 4px; }
  .plan-price span { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
  .plan .btn { width: 100%; }
  .plan-lead { font-weight: 600; margin-top: 10px; }
  .plan ul { list-style: none; display: grid; gap: 10px; }
  .plan li { padding-left: 26px; position: relative; color: var(--muted); }
  .plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
  .plan-main { background: var(--blue); border-color: var(--blue); color: #fff; }
  .plan-main .plan-who, .plan-main .plan-price span, .plan-main li { color: rgba(255,255,255,.8); }
  .plan-main li::before { border-color: #fff; }
  .pricing-notes { list-style: none; margin-top: 32px; display: grid; gap: 8px; color: var(--muted); }
  .pricing-notes b { color: var(--night); }
  @media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }
