/* «Плавность и полнота» (the owner's wish of 2026-11-18, after a site he liked: «гладкие переходы… чтобы не было пустых
   мест, выглядящих квадратно»; «не меняй главную фишку прыгающих анимаций»). The page itself moves in one calm rhythm —
   a long ease-out (--flow), things coming up from a little below, neighbours one after another (js/flow.js sets --d) —
   while the live scenes keep their springs. The empty whites get a faint drawing grid, tinted blocks melt into the white
   ones instead of meeting at a hard edge, the steps stand on one line with their own lights, the questions open softly,
   and a page passes into the next one. Transforms and opacity only; «reduce motion» stills all of it. */
:root { --flow: cubic-bezier(.16, 1, .3, 1); --grid-line: rgba(15, 15, 16, .05); interpolate-size: allow-keywords; }

/* ---------- things come in: up from 28 px, .9 s, their neighbours 90 ms apart ---------- */
.js-flow .fl:not(.is-in) { opacity: 0; }
.js-flow .fl.is-in { animation: fl-up .9s var(--flow) var(--d, 0ms) both; }
/* «Biznes» keeps its running light while it comes in */
.js-flow .plan--popular.fl.is-in { animation: fl-up .9s var(--flow) var(--d, 0ms) both, plan-run 7s linear infinite; }
@keyframes fl-up { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: none; } }
/* the older rising blocks (.rv, js/live.js) take the same breath */
.js-live .rv { transform: translateY(28px); transition: opacity .9s var(--flow), transform .9s var(--flow); }
.js-live .rv.is-in { transform: none; }

/* ---------- the blocks: a faint drawing grid behind the white ones, the tinted ones melting into them ---------- */
.section { position: relative; isolation: isolate; }
.section:not(.section--dark):not(.section--tint):not(.quiz-sec)::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: 50% 0;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 85%);
  mask-image: radial-gradient(80% 60% at 50% 0%, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 85%); }
.section--tint, .ba { background: linear-gradient(var(--bg), var(--tint) 160px, var(--tint) calc(100% - 160px), var(--bg)); }
/* two tinted blocks in a row stay one ground; the one before the AI's night keeps its tint to the edge */
.section--tint:has(+ .section--tint), .section--tint:has(+ .aix) { background: linear-gradient(var(--bg), var(--tint) 160px, var(--tint)); }
.section--tint + .section--tint { background: linear-gradient(var(--tint), var(--tint) calc(100% - 160px), var(--bg)); }
.section--tint + .section--tint:has(+ .section--tint) { background: var(--tint); }

/* ---------- «Necə işləyir»: a night panel instead of a hard band; four steps on one line, lit in turn ---------- */
.how.section--dark { background: none; }
.how__panel { position: relative; overflow: hidden; padding: 40px 22px 34px; border-radius: 28px; background: var(--dark);
  background-image: radial-gradient(60% 80% at 100% 0%, rgba(242, 85, 29, .2), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(120, 90, 255, .12), transparent 60%); }
.how__panel::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(70% 90% at 80% 10%, #000, transparent 75%); mask-image: radial-gradient(70% 90% at 80% 10%, #000, transparent 75%); }
.how__head { position: relative; display: grid; gap: 10px; margin-bottom: 28px; }
.how__head .h2 { margin: 0; }
.how__sub { margin: 0; max-width: 56ch; color: var(--dark-ink-2); }
.how__steps { position: relative; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.how-step { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 14px; row-gap: 4px; align-content: start; padding: 18px; border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); cursor: pointer;
  transition: background-color .6s var(--flow), border-color .6s var(--flow), translate .6s var(--flow); }
.how-step__ic { grid-row: span 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: rgba(255, 255, 255, .07); color: #fff; transition: background-color .6s var(--flow), color .6s var(--flow), box-shadow .6s var(--flow); }
.how-step__ic .ic { width: 22px; height: 22px; }
.how-step .step__n { font-size: 12px; font-weight: 700; color: var(--signal); }
.how-step .step__title { margin: 0; }
.how-step .step__text { margin: 0; color: var(--dark-ink-2); }
.how-step__bar { grid-column: 1 / -1; align-self: end; display: block; height: 3px; margin-top: 12px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.how-step__bar i { display: block; height: 100%; border-radius: inherit; background: var(--signal); transform: scaleX(0); transform-origin: 0 50%; }
.how-step.is-on { border-color: rgba(242, 85, 29, .45); background: rgba(242, 85, 29, .08); }
.how-step.is-on .how-step__ic { background: var(--signal); color: #fff; box-shadow: 0 10px 30px -8px rgba(242, 85, 29, .7); }
.how-step.is-on .how-step__bar i { animation: how-fill var(--cycle, 4.2s) linear forwards; }
.how-step.is-done .how-step__bar i { transform: none; }
.how[data-paused] .how-step.is-on .how-step__bar i { animation-play-state: paused; }
.how[data-locked] .how-step.is-on .how-step__bar i { animation: none; transform: none; }
@keyframes how-fill { to { transform: none; } }
@media (min-width: 960px) {
  .how__panel { padding: 64px 56px 56px; border-radius: 36px; }
  .how__head { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; margin-bottom: 44px; }
  .how__steps { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  /* the line the four stand on, from the first light to the last */
  .how__steps::before { content: ""; position: absolute; left: 41px; right: 41px; top: 41px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .14), rgba(242, 85, 29, .5), rgba(255, 255, 255, .14)); }
  .how-step { grid-template-columns: 1fr; grid-template-rows: auto auto auto 1fr auto; padding: 18px 18px 22px; border-color: transparent; background: none; }
  .how-step__ic { grid-row: auto; margin-bottom: 14px; box-shadow: 0 0 0 6px var(--dark); }
  .how-step.is-on { translate: 0 -4px; }
}

/* ---------- the questions: a heading with a way to ask beside them, each opening softly ---------- */
.faq-sec__grid { display: grid; gap: 28px; }
.faq-sec__aside { display: grid; gap: 14px; align-content: start; }
.faq-sec__aside .h2 { margin: 0; }
.faq-sec__aside .lead-text { margin: 0; }
.faq-ask { display: grid; gap: 10px; margin-top: 8px; padding: 22px; border-radius: 20px; background: var(--dark); color: var(--on-dark);
  background-image: radial-gradient(80% 90% at 100% 0%, rgba(242, 85, 29, .25), transparent 65%); }
.faq-ask b { font: 600 19px/1.3 var(--font-display); }
.faq-ask p { margin: 0; color: var(--dark-ink-2); font-size: 15px; }
.faq-ask__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.faq-ask__btns .btn { border-color: rgba(255, 255, 255, .22); background: transparent; color: var(--on-dark); }
.faq-ask__btns .btn:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .55s var(--flow), content-visibility .55s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
.faq__item summary { transition: color .25s; }
.faq__item summary:hover { color: var(--signal); }
.faq__item summary .ic { transition: transform .45s var(--flow); }
@media (min-width: 960px) {
  .faq-sec__grid { grid-template-columns: .85fr 1.15fr; gap: 64px; }
  .faq-sec__aside { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- the request: what happens after it, filling the column beside the form ---------- */
.lead-next { display: grid; gap: 0; margin: 6px 0 0; padding: 0; list-style: none; counter-reset: next; }
.lead-next__title { margin: 22px 0 0; font: 600 15px/1.3 var(--font-display); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.lead-next li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 0 0 18px; counter-increment: next; }
.lead-next li::before { content: counter(next); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--line-strong); font: 700 14px/1 var(--font-display); color: var(--ink); }
.lead-next li:first-child::before { background: var(--signal); border-color: var(--signal); color: #fff; }
.lead-next li:not(:last-child)::after { content: ""; position: absolute; left: 17.5px; top: 40px; bottom: 2px; width: 1.5px; background: var(--line-strong); }
.lead-next b { display: block; padding-top: 7px; font-size: 15.5px; }
.lead-next small { display: block; margin-top: 2px; color: var(--ink-2); font-size: 14px; }

@media (max-width: 959px) { .lead-next, .lead-next__title { display: none; } }

/* ---------- the footer's first column: the promise and the two ways in ---------- */
.footer__trust { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; color: #c9c9cf; font-size: 14px; }
.footer__trust li { display: flex; align-items: center; gap: 8px; }
.footer__trust .ic { color: var(--signal); flex: none; }
.footer__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer__cta .btn--glass { border-color: rgba(255, 255, 255, .22); color: var(--on-dark); }

/* ---------- «İşiniz hansıdır?» under the first screen: the ready CRM, or the ERP built for an organisation ---------- */
.fork { display: grid; gap: 16px; }
.fork__card { position: relative; display: grid; gap: 14px; align-content: start; padding: 26px; border-radius: 24px; background: var(--bg); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -44px rgba(15, 15, 16, .35); transition: translate .5s var(--flow), box-shadow .5s var(--flow); }
.fork__card--erp { border-color: #0c1a3a; background: #0c1a3a; color: #fff;
  background-image: radial-gradient(70% 80% at 100% 0%, rgba(61, 107, 255, .45), transparent 60%), linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px; }
.fork__tag { display: inline-flex; align-items: center; gap: 7px; justify-self: start; margin: 0; padding: 5px 12px; border-radius: 99px; background: var(--tint); font-size: 13px; font-weight: 700; }
.fork__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.fork__card--erp .fork__tag { background: rgba(255, 255, 255, .1); }
.fork__card--erp .fork__tag i { background: #7b9bff; }
.fork__title { margin: 0; font: 600 28px/1.15 var(--font-display); }
.fork__text { margin: 0; color: var(--ink-2); }
.fork__card--erp .fork__text { color: #c9d4f2; }
.fork__icons { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.fork__icons li { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); }
.fork__card--erp .fork__icons li { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #dbe3fb; }
.fork__points { display: grid; gap: 9px; margin: 2px 0 6px; padding: 0; list-style: none; }
.fork__points li { display: flex; gap: 8px; align-items: flex-start; }
.fork__points .ic { flex: none; margin-top: 3px; color: var(--ok); }
.fork__card--erp .fork__points .ic { color: #7b9bff; }
.fork__card .btn { justify-self: start; }
.btn--light { background: #fff; border-color: #fff; color: #0c1a3a; }
.btn--light:hover { background: #eaf0ff; }
@media (min-width: 860px) { .fork { grid-template-columns: 1fr 1fr; } .fork__card { padding: 36px; } }
@media (hover: hover) { .fork__card:hover { translate: 0 -4px; box-shadow: 0 40px 70px -40px rgba(15, 15, 16, .4); } }
.fork-sec + .quiz-sec { padding-top: 0; }
/* the menu's way to it, marked new */
.nav__new { display: inline-block; margin-left: 3px; padding: 1px 7px; border-radius: 99px; background: #3d6bff; color: #fff; font-size: 11px; font-weight: 700; vertical-align: 2px; }
.nav__erp.is-here { color: #3d6bff; }

/* ---------- the mosaic's Telegram tile: the bot's line on top, the chat under it (no empty middle) ---------- */
.bn-tg { justify-content: space-between; gap: 14px; }
.bn-tg__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .7);
  box-shadow: 0 8px 22px -16px rgba(30, 80, 120, .5); }
.bn-tg__head i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none; background: linear-gradient(135deg, #e26a9a, #c23a72);
  color: #fff; font: 700 14px/1 var(--font-display); font-style: normal; }
.bn-tg__head span { display: grid; line-height: 1.25; }
.bn-tg__head b { font-size: 13.5px; color: var(--ink); }
.bn-tg__head small { font-size: 11.5px; color: #2a8bc4; font-weight: 600; }
@media (max-width: 719px) { .bn-tg__head { display: none; } }

/* ---------- the quiz: its last row widens to the edge instead of leaving a hole ---------- */
.quiz__grid { display: flex; flex-wrap: wrap; }
.quiz__grid > .quiz__opt { flex: 1 1 170px; }

/* ---------- the tools on a phone: a row to swipe instead of a long column of boxes ---------- */
@media (max-width: 719px) {
  .growth-cards { grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter, 16px) * -1); padding: 4px var(--gutter, 16px) 14px; scroll-padding-inline: var(--gutter, 16px); scrollbar-width: none; }
  .growth-cards::-webkit-scrollbar { display: none; }
  .growth-card { scroll-snap-align: start; }
}
.growth-card, .qs-card, .plan, .safe-card { transition: translate .5s var(--flow), box-shadow .5s var(--flow), border-color .3s; }
@media (hover: hover) {
  .growth-card:hover, .qs-card:hover { translate: 0 -3px; box-shadow: 0 18px 40px -24px rgba(15, 15, 16, .35); }
}

/* ---------- one page passes into the next ---------- */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
.header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .3s var(--flow) both; }
::view-transition-new(root) { animation: vt-in .6s var(--flow) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; translate: 0 14px; } }

@media (min-width: 960px) {
  .section { padding: 96px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .js-flow .fl:not(.is-in), .js-flow .fl.is-in { opacity: 1; animation: none; }
  .js-flow .plan--popular.fl.is-in { animation: none; }
  .how-step.is-on .how-step__bar i { animation: none; transform: none; }
  .how-step, .how-step__ic, .faq__item::details-content, .growth-card, .qs-card { transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

.footer__erp { color: #9db4ff; font-weight: 600; }
