/* Homepage compositions adapted from the local e-kort.ru snapshot. */
body[data-path="/"] main { width: 100%; margin: 0; }
body[data-path="/"] .hdr-in { max-width: none; padding-inline: 22px; gap: 24px; }
.hm-wrap .ac { color: #4038d6; }
.hm-wrap .hm-dark .ac { color: #a9a3ff; }
.hm-wrap .bd { font-weight: 700; }
.hm-wrap a { text-decoration: none; }
.hm-wrap summary::-webkit-details-marker { display: none; }
.hm-wrap .hm-sol-shot .product-shot { width: 1100px; }
.hm-panel .dashboard-shot { box-shadow: none; }
.hm-panel img { border: 1px solid #ecebf6; }
.hm-wrap .hm-chips a { position: relative; }
.hm-chips .channel-logo { width: 24px; height: 24px; }
.hm-chips .soon-badge, .hm-chips .own-badge { margin-left: auto; font-size: 9px; padding: 2px 4px; }
.hm-wrap .hm-proof-note { margin: 10px 0 0; }
.hm-wrap .hm-proof-title { margin: 0; }
.hm-fold { margin: 0; }
.hm-fold summary { list-style: none; }
.hm-wrap .hm-fold .hm-sum { font-size: 16px; line-height: 1.45; font-weight: 600; }
.hm-wrap .hm-fold-body .hm-link { margin-top: 0; font-size: 14px; }
.hm-wrap .hm-grow .hm-link { margin-top: 0; }
.hm-wrap .hm-grow .hm-h2 { margin-top: 0; }
.hm-grow-text > .hm-pill { align-self: flex-start; }
.hm-dcard { color: #fff; transition: background .2s, transform .2s; }
.hm-dcard:hover { background: #252b3e; transform: translateY(-2px); }
.hm-category { color: #a9a3ff; font-size: 12px; font-weight: 600; }
.hm-wrap .hm-dcard-head { gap: 12px; }
.hm-wrap .hm-feat h3 { margin: 0; font: 800 21px/1.25 var(--head); letter-spacing: -.01em; }
.hm-feat h3 a { color: #10131c; }
.hm-feat h3 a:hover { color: #4038d6; }
.hm-feat .media-window { border: 0; border-radius: 16px; padding: 0; background: transparent; }
.hm-feat .media-bar { display: none; }
.hm-wrap .hm-feat video { object-fit: contain; }
.hm-wrap .hm-stage video { object-fit: contain; border: 0; }
.hm-stage .media-window { border: 1px solid #ecebf6; padding: 0; }
.hm-stage .media-bar { display: none; }
.hm-wrap .tour-head { cursor: pointer; }
.hm-wrap .hm-stage { position: sticky; top: 96px; }
.home-comparison { overflow: hidden; border: 1px solid #ecebf6; border-radius: 22px; align-self: start; }
.home-comparison table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.home-comparison th, .home-comparison td { padding: 18px 20px; text-align: left; font-size: 15px; line-height: 1.5; vertical-align: top; }
.home-comparison th { font-family: var(--head); font-weight: 800; }
.home-comparison tr > :last-child { background: #f0effe; color: #3028ba; }
.home-comparison tr:not(:last-child) td { border-bottom: 1px solid #e4e2f8; }
.home-comparison thead tr > :last-child { background: #4038d6; color: #fff; }
.home-developer .hm-text, .home-crm-demo .hm-text { margin-top: 18px; }
.home-developer .mock, .home-crm-demo .mock { min-width: 0; width: 100%; margin: 0; box-shadow: none; border: 1px solid #e4e2f8; }
.home-crm-demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: center; }
.home-steps ol { margin-bottom: 0; padding: 0; list-style: none; }
.home-steps li { padding: 26px; border-radius: 22px; background: #f7f6fe; }
.home-steps h3 { margin-top: 18px; font-size: 19px; }
.home-steps p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.6; color: #5a6274; }
.hm-faq .hm-folds { margin-top: 28px; }
.hm-faq .hm-fold summary { align-items: center; font-family: var(--font); font-size: 17px; font-weight: 600; }
.hm-faq .hm-fold-body { padding: 0 22px 20px; }
.home-cta-link { color: #fff; font-size: 15px; font-weight: 600; }
.home-cta-link:hover { text-decoration: underline; }
.hm-wrap .hm-cta-title { margin: 0; }
.hm-wrap .hm-cta-note { margin: 0; }
@media (max-width: 1023px) { .home-crm-demo { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 767px) {
  body[data-path="/"] .hdr-in { gap: 8px; padding-inline: 12px; }
  .hm-wrap .hm-chips .soon-badge, .hm-wrap .hm-chips .own-badge { font-size: 8px; }
  .hm-chips .channel-logo { width: 20px; height: 20px; }
  .hm-wrap .hm-sol-shot .product-shot { width: 560px; }
  .hm-wrap .hm-stage { position: static; }
  .hm-wrap .hm-tour-grid { display: flex; flex-direction: column; }
  .hm-tour-list, .hm-wrap .hm-stage { width: 100%; }
  .hm-wrap .hm-feat h3 { font-size: 18px; }
  .hm-wrap .hm-fold .hm-sum { font-size: 15px; }
  .hm-wrap .hm-grow-text > .hm-link { order: 4; }
  .hm-wrap .hm-grow-text > .hm-pill { order: 0; align-self: flex-start; }
  .home-comparison th, .home-comparison td { font-size: 13px; padding: 12px; overflow-wrap: anywhere; }
  .home-crm-demo { gap: 20px; }
  .home-steps li { padding: 20px; }
  .hm-wrap .hm-faq .hm-fold-body { padding: 0 16px 16px; }
}
@media (max-width: 380px) {
  body[data-path="/"] .hdr-act .btn-dark { font-size: 12px; padding-inline: 10px; }
  body[data-path="/"] .burger { width: 36px; }
}
@media (max-width: 350px) { body[data-path="/"] .hdr-act .btn-dark { display: none; } }

/* Каждый блок — карточка на сером фоне: белая, тёмная или с градиентом.
   Телефон — до 767 пикселей: там карточки идут в колонку с полями по 8,
   а блоки, где на компьютере текст и картинки стоят рядом, перестраиваются
   в порядок «заголовок — картинка — текст». Обёртки текста там
   растворяются (display: contents), чтобы их куски встали вокруг картинки. */
body[data-path="/"] { background: #EFEEF7; }
/* clip, а не hidden: hidden делает обёртку прокручиваемой, и шапка
   переставала бы липнуть к верху экрана. */
.hm { overflow-x: clip; }
.hm-wrap { width: min(1296px, calc(100% - 32px)); margin: 12px auto 0; padding-bottom: 16px; display: flex; flex-direction: column; gap: 12px; }
.hm-card, .hm-ai { position: relative; overflow: clip; border-radius: 28px; background: #fff; padding: 52px; color: #10131C; }
.hm-dark { background: #10131C; color: #fff; }
.hm-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hm-hero > :not(.hm-glow), .hm-sol > :not(.hm-glow), .hm-cta > :not(.hm-glow) { position: relative; }
.hm-pill {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px;
  background: #F0EFFE; font-size: 13.5px; font-weight: 700; line-height: 1; color: #4038D6; white-space: nowrap;
}
.hm-over { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8B84FF; }
.hm-h2 {
  margin: 16px 0 0; font: 800 clamp(30px, 3vw, 40px)/1.1 Manrope, sans-serif; letter-spacing: -.035em;
  text-wrap: balance; overflow-wrap: break-word;
}
.hm-h2:first-child { margin-top: 0; }
.hm-h2s { font-size: clamp(26px, 2.5vw, 34px); }
.hm-grow .hm-h2s { line-height: 1.15; letter-spacing: -.03em; }
.hm-h2l { font-size: clamp(32px, 3.2vw, 44px); }
.hm-h3 { margin: 0; font: 800 clamp(26px, 2.3vw, 32px)/1.15 Manrope, sans-serif; letter-spacing: -.03em; text-wrap: balance; }
.hm-text { margin: 0; font-size: 17px; line-height: 1.6; color: #5A6274; text-wrap: pretty; }
.hm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px;
  font-weight: 600; white-space: nowrap; transition: background .2s ease, transform .2s ease, color .2s ease;
}
.hm-main { height: 62px; padding: 0 34px; background: #4038D6; color: #fff; font-size: 17.5px; box-shadow: 0 16px 34px -16px rgba(64, 56, 214, .85); }
.hm-soft { height: 52px; padding: 0 26px; background: #F0EFFE; color: #4038D6; font-size: 16px; }
.hm-white { height: 62px; padding: 0 34px; background: #fff; color: #2B25A8; font-size: 17.5px; font-weight: 700; }
@media (hover: hover) {
  .hm-main:hover { background: #5B54E8; color: #fff; }
  .hm-soft:hover { background: #E4E2FD; color: #4038D6; }
  .hm-white:hover { color: #2B25A8; transform: translateY(-2px); }
}
.hm-plus { position: relative; flex: none; width: 14px; height: 14px; margin: 3px 0 0 auto; transition: transform .2s ease; }
.hm-plus::before, .hm-plus::after {
  content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: #4038D6;
}
.hm-plus::after { transform: rotate(90deg); }
details[open] > summary .hm-plus { transform: rotate(45deg); }

/* Первый экран и пять плашек рядом. Плашка-заголовок — H1 страницы. */
.hm-top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 12px; }
.hm-hero { display: flex; flex-direction: column; gap: 22px; padding: 52px 52px 48px; }
.hm-hero .hm-glow { top: -180px; right: -160px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(139, 132, 255, .32), rgba(139, 132, 255, 0) 68%); }
.hm-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 8px 15px;
  border-radius: 999px; background: #F0EFFE; font: 600 14px/1.35 'Golos Text', sans-serif; color: #4038D6;
}
.hm-badge i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #12A47B; }
.hm-title {
  margin: 0; font: 800 clamp(36px, 3.5vw, 50px)/1.06 Manrope, sans-serif; letter-spacing: -.035em;
  text-wrap: balance; overflow-wrap: break-word;
}
.hm-lead { margin: 0; max-width: 640px; font-size: 18.5px; line-height: 1.55; color: #5A6274; text-wrap: pretty; }
/* Абзац под крючком на компьютере — одним куском, на телефоне — двумя:
   перенос из текста видят только узкие экраны. */
@media (min-width: 768px) { .hm-lead br { display: none; } }
.hm-act { display: flex; margin-top: 6px; }
.hm-tags { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.hm-tags li {
  display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 24px; background: #fff;
  font-size: 16px; line-height: 1.45; font-weight: 500; color: #3A4152; text-wrap: pretty;
}
.hm-check {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px;
  background: #DDF3EA; color: #0E8A66; font-size: 14px; font-weight: 800; font-style: normal; line-height: 1;
}

/* «Решение»: окно выходит за правый и нижний край тёмной карточки. */
.hm-sol { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 48px; height: 600px; padding: 52px 0 0 52px; }
.hm-sol .hm-glow { bottom: -220px; left: -160px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(107, 99, 245, .45), rgba(107, 99, 245, 0) 65%); }
.hm-sol-text { display: flex; flex-direction: column; gap: 14px; padding-bottom: 52px; }
.hm-sol-title { margin: 0; font: 800 28px/1.25 Manrope, sans-serif; letter-spacing: -.02em; color: #fff; text-wrap: pretty; }
.hm-sol-shot { margin: 0; min-width: 0; }
.hm-sol-shot img {
  display: block; width: 1100px; max-width: none; height: auto; border-radius: 16px 0 0 0;
  border: 1px solid rgba(255, 255, 255, .12); border-right: 0; border-bottom: 0;
}

/* Кто пользуется: текст слева, плитки мессенджеров и CRM справа. */
.hm-proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; align-items: start; padding: 40px 52px; }
.hm-proof-title { font: 800 28px/1.2 Manrope, sans-serif; letter-spacing: -.02em; text-wrap: balance; }
.hm-proof-note { margin-top: 8px; font-size: 15.5px; color: #6B7386; }
.hm-bullets { margin: 22px 0 0; padding-left: 22px; font-size: 16px; line-height: 1.45; color: #10131C; }
.hm-bullets li + li { margin-top: 14px; }
.hm-bullets li::marker { color: #4038D6; }
.hm-proof-tiles { display: flex; flex-direction: column; gap: 10px; }
.hm-cap { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9AA1B2; }
.hm-cap + .hm-chips + .hm-cap { margin-top: 8px; }
.hm-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hm-chips a {
  display: flex; align-items: center; gap: 9px; min-width: 0; height: 50px; padding: 0 16px; border-radius: 14px;
  background: #F7F6FE; font-size: 15.5px; font-weight: 600; color: #10131C; white-space: nowrap;
  transition: background .2s ease, border-color .2s ease;
}
.hm-chips a i { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.hm-chips-crm a { background: #fff; border: 1px solid #ECEBF6; }
@media (hover: hover) {
  .hm-chips a:hover { background: #F0EFFE; color: #10131C; }
  .hm-chips-crm a:hover { border-color: #DCD9F6; background: #F7F6FE; }
}

/* Контроль отдела: текст и три раскрывающихся пункта, справа панель «Отдел». */
.hm-grow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.hm-grow-text { display: flex; flex-direction: column; gap: 18px; }
.hm-grow .hm-text { font-size: 16.5px; }
.hm-panel { justify-self: end; width: 100%; max-width: 440px; margin: 0; }
.hm-panel picture { display: block; }
.hm-panel img {
  display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid #ECEBF6;
  box-shadow: 0 26px 60px -34px rgba(16, 19, 28, .45);
}
.hm-folds { display: flex; flex-direction: column; gap: 8px; }
.hm-fold { border-radius: 18px; background: #F7F6FE; }
.hm-fold summary {
  display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none;
  font: 400 17.5px/1.3 Manrope, sans-serif; color: #10131C;
}
.hm-num { flex: none; padding-top: 2px; font-size: 14px; font-weight: 700; color: #4038D6; }
.hm-sum { flex: 1; min-width: 0; }
/* Заголовок без **жирной** части — целиком жирный, как раньше. */
.hm-sum:not(:has(.bd)) { font-weight: 700; }
.hm-fold-body { display: flex; flex-direction: column; gap: 12px; padding: 0 20px 20px 50px; }
.hm-fold-body p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #5A6274; text-wrap: pretty; }

/* Тёмные карточки «Что даёт платформа» и «Результаты». */
.hm-pitch .hm-h2 { max-width: 880px; }
.hm-three { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hm-dcard { padding: 26px; border-radius: 22px; background: #1B2030; }
.hm-dcard-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hm-sq { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #4038D6; font: 800 14px/1 Manrope, sans-serif; color: #fff; }
.hm-dcard-head b { font: 700 19px/1.3 Manrope, sans-serif; }
.hm-dcard p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.6; color: #B7BCCB; }
.hm-results .hm-h2 { margin-top: 14px; }
.hm-rnum { display: block; font: 800 14px/1 Manrope, sans-serif; color: #8B84FF; }
.hm-rcard b { display: block; margin-top: 10px; font: 800 21px/1.25 Manrope, sans-serif; }
.hm-rcard p { color: #C9CEDA; }

/* Скорость ответа: текст слева, три цифры и вывод справа. */
.hm-speed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
.hm-speed .hm-text { margin-top: 18px; }
.hm-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 16px; font-weight: 600; color: #4038D6; }
.hm-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.hm-speed-side { display: flex; flex-direction: column; gap: 12px; }
.hm-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hm-numcard { padding: 24px 22px; border-radius: 22px; }
.hm-numcard b { display: block; font: 800 52px/1 Manrope, sans-serif; letter-spacing: -.04em; }
.hm-numcard p { margin: 14px 0 0; font-size: 14.5px; line-height: 1.55; opacity: .85; }
.hm-n1 { background: #4038D6; color: #fff; }
.hm-n2 { background: #10131C; color: #fff; }
.hm-n3 { background: #F0EFFE; color: #10131C; }
.hm-note { margin: 0; padding: 20px 22px; border-radius: 22px; background: #F0FAF6; font-size: 16px; line-height: 1.6; color: #10131C; }

/* «Не просто интеграция» и «Что умеет ИИ»: одна карточка, на телефоне — две. */
.hm-ai-show { margin-top: 44px; padding-top: 40px; border-top: 1px solid #F1F0F7; }
.hm-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.hm-feats { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hm-feat { padding: 10px 10px 22px; border-radius: 24px; background: #F7F6FE; }
.hm-feat video, .hm-feat img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 0 0;
  border-radius: 16px; background: #ECEBF6;
}
.hm-feat-text { padding: 18px 14px 0; }
.hm-feat h4 { margin: 0; font: 800 21px/1.25 Manrope, sans-serif; letter-spacing: -.01em; }
.hm-feat h4 a { color: #10131C; }
.hm-feat h4 a:hover { color: #4038D6; }
.hm-feat p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.6; color: #5A6274; text-wrap: pretty; }
.hm-center { display: flex; justify-content: center; margin-top: 20px; }

/* «Привычные функции»: раскрыт один пункт, ролик — справа от списка. */
.hm-tour-grid { margin-top: 32px; display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 20px; align-items: start; }
.hm-tour-list { display: flex; flex-direction: column; gap: 6px; }
.tour-item { position: relative; border-radius: 16px; background: #F7F6FE; transition: background .2s ease; }
.tour-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 54px;
  padding: 0 20px; border: 0; border-radius: inherit; background: none; font: 700 16px/1.3 Manrope, sans-serif;
  color: #10131C; text-align: left; cursor: pointer;
}
.tour-head .hm-plus { margin-top: 0; }
.tour-text { display: none; margin: 0; padding: 8px 20px 18px; font-size: 15px; line-height: 1.55; color: #5A6274; text-wrap: pretty; }
.tour-item.on { border-radius: 18px; box-shadow: inset 0 0 0 1px #DCD9F6; }
.tour-item.on .tour-head { min-height: 0; padding: 18px 20px 0; font-size: 17px; color: #4038D6; cursor: default; }
.tour-item.on .tour-head .hm-plus { display: none; }
.tour-item.on .tour-text { display: block; }
@media (hover: hover) { .tour-item:not(.on):hover { background: #F0EFFE; } }
.tour-bar { position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; border-radius: 3px; overflow: hidden; }
.tour-item.on .tour-bar { background: #E7E5FA; }
.tour-bar i { display: block; width: 0; height: 100%; border-radius: 3px; background: #4038D6; }
.hm-stage { position: sticky; top: 96px; margin: 0; }
.hm-stage video {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px;
  border: 1px solid #ECEBF6; background: #F4F4FA;
}
/* В раскрытом пункте (узкий экран): ролик сверху, под ним название и текст. */
.tour-item > .hm-stage { position: static; }
.tour-item > .hm-stage video { border: 0; border-radius: 12px; }
.tour-item.on:has(> .hm-stage) { padding: 8px; }
.tour-item.on:has(> .hm-stage) .tour-head { padding: 10px 8px 0; }
.tour-item.on:has(> .hm-stage) .tour-text { padding: 6px 8px 6px; }
.tour-item:has(> .hm-stage) .tour-bar { display: none; }

/* Кейсы и отзывы — лентой вбок с прилипанием карточки к левому полю. */
.hm-rail { padding: 52px 0; }
.hm-rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0 52px; }
.hm-arrows { flex: none; display: flex; gap: 8px; }
.hm-arrows button {
  width: 48px; height: 48px; border: 1px solid #E4E2F8; border-radius: 999px; background: #fff; color: #4038D6;
  font-size: 19px; line-height: 1; cursor: pointer; transition: background .2s ease, opacity .2s ease;
}
.hm-arrows button + button { border: 0; background: #4038D6; color: #fff; }
.hm-arrows button:disabled { opacity: .35; cursor: default; }
@media (hover: hover) {
  .hm-arrows button:not(:disabled):hover { background: #F0EFFE; }
  .hm-arrows button + button:not(:disabled):hover { background: #5B54E8; }
}
.hm-track {
  display: flex; gap: 12px; margin-top: 28px; padding: 0 52px 4px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-padding-left: 52px; -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.hm-track::-webkit-scrollbar { display: none; }
.hm-track > * { flex: 0 0 380px; scroll-snap-align: start; }
.hm-case { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 22px; background: #F7F6FE; }
.hm-case h3 { margin: 0; font: 700 19px/1.25 Manrope, sans-serif; }
.hm-was { margin: 0; font-size: 15px; line-height: 1.6; color: #5A6274; }
.hm-was b { font-weight: 700; color: #C2410C; }
.hm-now { margin: auto 0 0; padding: 14px 16px; border-radius: 16px; background: #fff; font-size: 15px; line-height: 1.6; color: #10131C; }
.hm-now b { font-weight: 700; color: #0E8A66; }
.hm-quotes > * { flex-basis: 400px; }
.hm-quote { margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 22px; background: #10131C; color: #fff; }
.hm-qm { display: block; height: 30px; font: 800 44px/.8 Manrope, sans-serif; font-style: normal; color: #8B84FF; }
.hm-quote blockquote, .hm-more p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #E4E6EE; }
.hm-quote figcaption { margin-top: auto; padding-top: 8px; font-size: 13.5px; line-height: 1.45; color: #9AA1B2; }
.hm-more summary { display: none; list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; color: #A9A3FF; }
.hm-more .hm-m2, .hm-more[open] .hm-m1 { display: none; }
.hm-more[open] .hm-m2 { display: inline; }
/* На компьютере продолжение отзыва видно сразу; site.js раскрывает его и в
   браузерах, которые не умеют этого правилом. */
@media (min-width: 768px) {
  @supports selector(::details-content) { .hm-more::details-content { content-visibility: visible; } }
}

/* Сравнение: заголовок слева, таблица справа; на телефоне таблица листается вбок. */
.hm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.hm-foot { margin: 20px 0 0; font-size: 14.5px; line-height: 1.55; color: #6B7386; }
.hm-cmp-box { overflow: hidden; border: 1px solid #ECEBF6; border-radius: 22px; }
.hm-cmp table { width: 100%; border-collapse: collapse; table-layout: fixed; background: #fff; }
.hm-cmp th, .hm-cmp td { padding: 0; font-weight: 400; vertical-align: middle; }
.hm-cmp thead th { padding: 16px 0; font-size: 14px; font-weight: 600; color: #6B7386; text-align: center; }
.hm-cmp thead th[data-name] { padding: 16px 20px; }
.hm-cmp thead th[data-col] { width: 84px; }
.hm-cmp thead th.kort { width: 92px; background: #4038D6; color: #fff; font: 800 16px/1.3 Manrope, sans-serif; }
.hm-cmp tr > * { border-bottom: 1px solid #F1F0F7; }
.hm-cmp tbody tr:last-child > * { border-bottom: 0; }
.hm-cmp tbody th { padding: 14px 20px; font-size: 15px; line-height: 1.45; text-align: left; color: #10131C; }
.hm-cmp tbody td { text-align: center; }
.hm-cmp td.kort { background: #4038D6; }
.hm-cmp .ck {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: #DDF3EA; color: #0E8A66; font-size: 13px; font-weight: 800; line-height: 1;
}
.hm-cmp .kort .ck { background: #fff; color: #4038D6; }
.hm-cmp .no { font-size: 16px; color: #C8CCD8; }

/* Вопросы: те же раскрывающиеся пункты, что у страниц интеграций, в цвет главной. */
.hm-faq .fold { border: 0; border-radius: 18px; background: #F7F6FE; box-shadow: none; }
.hm-faq .fold[open] { box-shadow: none; }
.hm-faq .fold summary { gap: 14px; padding: 18px 22px; font: 600 17px/1.35 'Golos Text', sans-serif; letter-spacing: 0; }
.hm-faq .fold summary::after { display: none; }
.hm-q { flex: 1; min-width: 0; margin: 0; font: inherit; color: inherit; }
.hm-faq .fold-body { padding: 0 22px 20px; }
.hm-faq .fold-body p { font-size: 15.5px; line-height: 1.65; }

/* Последний экран. */
.hm-cta {
  display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 80px 52px; text-align: center;
  background: linear-gradient(140deg, #4038D6, #6B63F5 60%, #8B84FF); color: #fff;
}
.hm-cta .hm-glow { top: -140px; right: -100px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(255, 255, 255, .24), rgba(255, 255, 255, 0) 70%); }
.hm-cta-title { margin: 0; max-width: 900px; font: 800 clamp(34px, 3.5vw, 50px)/1.08 Manrope, sans-serif; letter-spacing: -.035em; text-wrap: balance; }
.hm-cta .ac { color: #D4D0FF; }
.hm-cta-note { font-size: 15px; color: #E4E2FD; }

/* Планшет: двухколоночные блоки встают в одну колонку. */
@media (max-width: 1023px) {
  .hm-card, .hm-ai { padding: 40px; }
  .hm-top, .hm-proof, .hm-grow, .hm-speed, .hm-duo, .hm-split, .hm-tour-grid { grid-template-columns: minmax(0, 1fr); }
  .hm-duo { gap: 16px; align-items: start; }
  .hm-split, .hm-proof, .hm-grow, .hm-speed { gap: 28px; }
  .hm-hero { padding: 40px; }
  .hm-sol { grid-template-columns: minmax(0, 1fr); gap: 28px; height: 560px; padding: 40px 0 0 40px; }
  .hm-sol-text { padding: 0 40px 0 0; }
  .hm-sol-shot img { width: 960px; }
  .hm-panel { justify-self: start; }
  .hm-three { grid-template-columns: minmax(0, 1fr); }
  .hm-rail { padding: 40px 0; }
  .hm-rail-head { padding: 0 40px; }
  .hm-track { padding: 0 40px 4px; scroll-padding-left: 40px; }
  .hm-cta { padding: 64px 40px; }
}

/* Телефон. */
@media (max-width: 767px) {
  .hm-wrap { width: calc(100% - 16px); margin-top: 8px; padding-bottom: 8px; gap: 8px; }
  .hm-card, .hm-ai { border-radius: 24px; padding: 22px 18px; }
  .hm-pill { height: 26px; padding: 0 10px; font-size: 12.5px; align-self: flex-start; }
  .hm-over { font-size: 12.5px; }
  .hm-h2 { margin-top: 12px; font-size: 24px; line-height: 1.15; letter-spacing: -.03em; text-wrap: pretty; }
  .hm-h2s { font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
  .hm-h2l { font-size: 26px; line-height: 1.12; }
  .hm-h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
  .hm-text { font-size: 15px; line-height: 1.55; }
  .hm-btn { white-space: normal; text-align: center; line-height: 1.3; }
  .hm-main { width: 100%; height: 56px; font-size: 16.5px; }
  .hm-soft { width: 100%; height: 50px; font-size: 15px; }
  .hm-plus { width: 12px; height: 12px; }
  .hm-plus::before, .hm-plus::after { top: 5px; width: 12px; }

  .hm-top { gap: 8px; }
  .hm-hero { gap: 16px; padding: 24px 18px 20px; }
  .hm-hero .hm-glow { top: -120px; right: -120px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(139, 132, 255, .35), rgba(139, 132, 255, 0) 68%); }
  .hm-badge { gap: 8px; padding: 6px 12px; font-size: 13px; }
  .hm-badge i { width: 7px; height: 7px; }
  .hm-title { font-size: 29px; line-height: 1.12; letter-spacing: -.03em; text-wrap: pretty; }
  .hm-lead { font-size: 15.5px; }
  .hm-act { margin-top: 0; }
  .hm-tags { margin: 8px 0; gap: 8px; }
  .hm-tags li {
    flex-direction: row; align-items: center; gap: 12px; padding: 16px; border-radius: 20px;
    font-size: 15px; line-height: 1.35; font-weight: 400; color: #10131C;
  }
  .hm-tags li.hm-tag-long { order: 1; }
  .hm-check { width: 24px; height: 24px; border-radius: 8px; font-size: 12px; }

  .hm-sol { display: block; height: auto; padding: 20px 0 0 18px; }
  .hm-sol .hm-glow { bottom: -160px; left: -120px; width: 360px; height: 360px; }
  .hm-sol-text { gap: 8px; padding: 0 18px 0 0; }
  .hm-over { font-size: 12px; }
  .hm-sol-title { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
  .hm-sol-shot { margin-top: 22px; }
  .hm-sol-shot img { width: 560px; border-radius: 14px 0 0 0; }

  .hm-proof { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 22px 18px; }
  .hm-proof-text, .hm-proof-tiles { display: contents; }
  .hm-proof-title { font-size: 20px; line-height: 1.25; }
  .hm-proof-note { margin-top: -8px; font-size: 14px; }
  .hm-cap { display: none; }
  .hm-chips { grid-template-columns: 1fr 1fr; gap: 6px; }
  .hm-chips a { gap: 8px; height: 42px; padding: 0 12px; border-radius: 12px; font-size: 14px; }
  .hm-chips a i { width: 9px; height: 9px; }
  .hm-bullets { order: 1; margin: 0; font-size: 14.5px; line-height: 1.55; }

  .hm-grow { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
  .hm-grow-text { display: contents; }
  .hm-grow .hm-h2 { order: 0; }
  .hm-panel { order: 1; max-width: none; }
  .hm-panel img { border-radius: 14px; box-shadow: none; }
  .hm-grow .hm-text { order: 2; font-size: 15px; line-height: 1.6; }
  .hm-grow .hm-folds { order: 3; }
  .hm-folds { gap: 6px; }
  .hm-fold { border-radius: 16px; }
  .hm-fold summary { gap: 12px; padding: 14px 16px; font-size: 16px; }
  .hm-num { font-size: 13px; }
  .hm-fold-body { gap: 10px; padding: 0 16px 16px 40px; }
  .hm-fold-body p { font-size: 14.5px; }

  .hm-pitch { padding: 24px 18px; }
  .hm-three { margin-top: 14px; gap: 8px; }
  .hm-dcard { padding: 16px; border-radius: 18px; }
  .hm-dcard-head { flex-direction: row; align-items: center; gap: 10px; }
  .hm-sq { width: 28px; height: 28px; border-radius: 9px; font-size: 13px; }
  .hm-dcard-head b { font-size: 16.5px; }
  .hm-dcard p { font-size: 14.5px; }
  .hm-results { padding: 24px 18px; }
  .hm-results .hm-h2 { margin-top: 10px; }
  .hm-results .hm-three { margin-top: 16px; }
  .hm-rnum { font-size: 13px; }
  .hm-rcard b { margin-top: 4px; font: 700 17px/1.3 'Golos Text', sans-serif; }
  .hm-rcard p { margin-top: 6px; }

  .hm-speed { display: flex; flex-direction: column; gap: 0; }
  .hm-speed-text, .hm-speed-side { display: contents; }
  .hm-speed .hm-text { margin-top: 10px; }
  .hm-nums { margin-top: 16px; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hm-n3 { grid-column: 1 / -1; }
  .hm-numcard { padding: 16px 14px; border-radius: 18px; }
  .hm-numcard b { font-size: 38px; }
  .hm-numcard p { margin-top: 10px; font-size: 13.5px; line-height: 1.5; }
  .hm-note { margin-top: 8px; padding: 14px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.55; }
  .hm-link { order: 1; align-self: flex-start; margin-top: 14px; font-size: 15px; }

  .hm-ai { display: flex; flex-direction: column; gap: 8px; padding: 0; border-radius: 0; background: none; overflow: visible; }
  .hm-ai-part { padding: 22px 18px; border-radius: 24px; background: #fff; }
  .hm-ai-show { margin: 0; padding-bottom: 18px; border-top: 0; }
  .hm-duo { display: block; }
  .hm-duo > .hm-text { margin-top: 10px; }
  .hm-ai-show .hm-duo > .hm-text { margin-top: 12px; }
  .hm-feats { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
  .hm-feat { padding: 8px 8px 14px; border-radius: 20px; }
  .hm-feat video, .hm-feat img { border-radius: 14px; }
  .hm-feat-text { padding: 12px 8px 0; }
  .hm-feat h4 { font-size: 17px; }
  .hm-feat p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; }
  .hm-center { margin-top: 12px; }

  .hm-tour { padding: 22px 18px 18px; }
  .hm-tour-grid { margin-top: 14px; gap: 6px; }
  .tour-item { border-radius: 14px; }
  .tour-head { min-height: 48px; padding: 0 16px; font-size: 15.5px; }
  .tour-item.on .tour-head { padding: 14px 16px 0; font-size: 16px; }
  .tour-text { padding: 6px 16px 14px; font-size: 14.5px; }
  .tour-item .tour-bar { display: none; }

  .hm-rail { padding: 22px 0 18px; }
  .hm-rail-head { padding: 0 18px; }
  .hm-arrows { display: none; }
  .hm-track { margin-top: 16px; gap: 8px; padding: 0 18px 4px; scroll-padding-left: 18px; }
  .hm-track > * { flex-basis: 290px; }
  /* По одной карточке на экран: равнять их по самой длинной незачем, а пустота
     между «Было» и «Стало» выглядела бы пропуском. */
  .hm-track:not(.hm-quotes) { align-items: flex-start; }
  .hm-now { margin-top: 0; }
  .hm-case { gap: 10px; padding: 18px; border-radius: 20px; }
  .hm-case h3 { font-size: 17px; }
  .hm-was, .hm-now { font-size: 14px; line-height: 1.55; }
  .hm-now { padding: 12px; border-radius: 14px; }
  .hm-quotes { align-items: flex-start; }
  .hm-quotes > * { flex-basis: 300px; }
  .hm-quote { gap: 10px; padding: 18px; border-radius: 20px; }
  .hm-qm { height: 24px; font-size: 36px; }
  .hm-quote blockquote, .hm-more p { font-size: 14.5px; }
  .hm-more summary { display: block; min-height: 24px; }
  .hm-more p { margin-top: 8px; }
  .hm-quote figcaption { margin-top: 0; padding-top: 0; font-size: 13px; }

  .hm-split { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hm-compare-text { display: contents; }
  .hm-foot { order: 1; margin-top: 12px; font-size: 13px; line-height: 1.5; }
  /* Сравнение листается вбок пальцем: признак и Корт стоят на месте, а
     сервисы уходят под них — Корт рядом с любым. Пока справа есть ещё
     столбцы, край гаснет (is-more), сдвинутую таблицу у Корта отделяет
     тень (is-moved) — отметки ставит site.js. Таблица с раздельными рамками:
     у закреплённых ячеек в слитой таблице рамки уезжали вместе с соседями. */
  .hm-cmp-box { position: relative; margin-top: 14px; border: 0; border-radius: 0; overflow: visible; }
  [data-compare-scroll] { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  [data-compare-scroll]::-webkit-scrollbar { display: none; }
  .hm-cmp-box::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 40px; pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff); opacity: 0; transition: opacity .2s ease;
  }
  .hm-cmp-box:has(.is-more)::after { opacity: 1; }
  .hm-cmp table { width: 498px; border-collapse: separate; border-spacing: 0; }
  .hm-cmp thead th, .hm-cmp thead th[data-name] { padding: 0 4px 8px; font: 700 12px/1.3 'Golos Text', sans-serif; color: #9AA1B2; }
  .hm-cmp thead th[data-name] { width: 166px; }
  .hm-cmp thead th[data-col] { width: 68px; }
  .hm-cmp thead th.kort { width: 60px; background: #fff; color: #4038D6; }
  .hm-cmp th[data-name] { position: sticky; left: 0; z-index: 2; background: #fff; }
  .hm-cmp .kort { position: sticky; left: 166px; z-index: 2; background: #fff; transition: box-shadow .2s ease; }
  .is-moved .kort { box-shadow: 10px 0 10px -10px rgba(16, 19, 28, .28); }
  .hm-cmp tbody th { padding: 11px 10px 11px 0; font-size: 13.5px; line-height: 1.4; }
  .hm-cmp td.kort { background: #fff; }
  .hm-cmp .ck { width: 24px; height: 24px; font-size: 12px; }
  .hm-cmp .kort .ck { background: #4038D6; color: #fff; }
  .hm-cmp .no { font-size: 15px; }

  .hm-faq .hm-folds { margin-top: 14px; gap: 6px; }
  .hm-faq .hm-h2 { font-size: 24px; line-height: 1.15; letter-spacing: -.03em; }
  .hm-faq .fold { border-radius: 16px; }
  .hm-faq .fold summary { gap: 12px; padding: 14px 16px; font-size: 15.5px; }
  .hm-faq .fold-body { padding: 0 16px 16px; }
  .hm-faq .fold-body p { font-size: 14.5px; line-height: 1.6; }

  .hm-cta { align-items: stretch; gap: 14px; padding: 32px 20px 22px; text-align: left; }
  .hm-cta-title { font-size: 25px; line-height: 1.15; letter-spacing: -.03em; text-wrap: pretty; }
  .hm-white { width: 100%; height: auto; min-height: 56px; padding: 14px 18px; font-size: 16px; }
  .hm-cta-note { font-size: 13.5px; line-height: 1.45; text-align: center; }
}
