/* ---------- Путь клиента в первом экране главной: шаги-ленты вместо декоративной геометрии ---------- */
.hero--home .hero__grid { display: grid; grid-template-columns: minmax(0, 650px) minmax(0, 1fr); align-items: center; column-gap: 56px; row-gap: 32px; min-height: 0; padding-block: 84px 120px; }
.hero--home .hero__geometry { display: none; }
.hero--home .h1, .hero--home .lead { min-height: 0; }
.hero--home::after { height: 64px; }

.jr { grid-column: 2; grid-row: 1; width: 100%; max-width: 560px; justify-self: end; position: relative; z-index: 2; min-width: 0; }
/* заголовок над лентами «Запуск за 4 шага»: отдельно от лент (ленты повёрнуты и раньше наезжали на текст) */
.jr__label { margin: 0 0 30px 6px; font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: #fff; }
.jr__label em { font-style: normal; color: var(--yellow, #ffd200); }
.jr__list { list-style: none; margin: 0; position: relative; display: grid; gap: 14px; align-content: start; box-sizing: border-box; transform: rotate(-5deg); padding: 10px 0 18px; }
.jr__step { margin-left: calc(var(--i) * 28px); animation: jr-float 7s ease-in-out calc(var(--i) * -1.6s) infinite alternate; }
/* под курсором ленты не плавают: иначе они уезжают из-под мыши */
.jr.is-hold .jr__step { animation-play-state: paused; }
.jr__step a { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-radius: 18px; overflow: hidden;
  color: #1d1d3f; text-decoration: none; background: #f3f3fb;
  box-shadow: 0 22px 40px -22px rgba(4, 4, 40, .75), inset 0 -3px 0 rgba(0, 0, 0, .06);
  transition: transform .55s cubic-bezier(.2, .8, .2, 1), box-shadow .55s, filter .4s; }
.jr__step a:focus-visible { outline: 3px solid var(--yellow, #ffd200); outline-offset: 3px; }
.jr__step:nth-child(4n+1) a { background: linear-gradient(100deg, #ffd200, #ffe25c); }
.jr__step:nth-child(4n+3) a { background: linear-gradient(100deg, #7a75d6, #9692e6); color: #fff; }
.jr__step:nth-child(4n) a { background: linear-gradient(100deg, #ffd200, #fff1a6); }
/* блик пробегает по активной ленте */
.jr__step a::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-120%); pointer-events: none; }
.jr__step.is-active a::before { animation: jr-sheen 1.1s ease-out .15s; }
.jr__step:not(.is-active) a { filter: saturate(.75) brightness(.9); }
.jr__step.is-active a { transform: translateX(-18px) scale(1.04); box-shadow: 0 34px 60px -24px rgba(4, 4, 40, .85), inset 0 -3px 0 rgba(0, 0, 0, .06); }
.jr__ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; background: rgba(29, 29, 63, .08); }
.jr__step:nth-child(4n+3) .jr__ico { background: rgba(255, 255, 255, .2); }
.jr__ico .i { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.jr__num { order: 3; margin-left: auto; font-size: 13px; font-weight: 800; opacity: .5; }
.jr__txt { display: grid; gap: 4px; min-width: 0; }
.jr__txt strong { font-size: 17px; font-weight: 700; line-height: 1.25; }
.jr__txt span { font-size: 14px; line-height: 1.45; height: 0; opacity: 0; overflow: hidden; transition: height .5s cubic-bezier(.2, .8, .2, 1), opacity .4s; }
.jr__step.is-active .jr__txt span { height: var(--jr-h, 1.45em); opacity: .8; }
.jr__prog { display: none; }
@keyframes jr-float { from { transform: translateY(-4px); } to { transform: translateY(5px); } }
@keyframes jr-sheen { to { transform: translateX(120%); } }

@media (max-width: 1024px) {
  .hero--home .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .jr { grid-column: 1; grid-row: auto; justify-self: stretch; max-width: 620px; }
}
@media (max-width: 640px) {
  .hero--home .hero__grid { padding-block: 40px 64px; }
  .jr__step { margin-left: calc(var(--i) * 8px); margin-right: calc((3 - var(--i)) * 8px); }
  .jr__list { transform: rotate(-2deg); padding-inline: 4px; }
  .jr__step.is-active a { transform: scale(1.02); }
  .jr__step a { padding: 12px 16px; gap: 12px; }
  .jr__txt strong { font-size: 16px; }
  .jr__txt span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .jr * { animation: none !important; transition: none !important; }
}

/* ---------- Вкладки «Какую задачу нужно решить?»: задача бизнеса крупно, продукт под ней ---------- */
.tabs.d-only-flex { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.tabs .tab { width: auto; height: auto; min-height: 64px; padding: 12px 18px; border-radius: 18px; display: grid; gap: 3px; align-content: center; text-align: left; }
.tab__task { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.tab__prod { font-size: 12px; font-weight: 600; color: var(--blue); opacity: .75; }
.tabs .tab[aria-selected="true"] .tab__prod { color: var(--ink); opacity: .65; }
@media (max-width: 1240px) { .tabs.d-only-flex { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- FAQ на жёлтом: заголовок слева, вопросы-карточки справа ---------- */
.faq-y { position: relative; overflow: hidden; background: var(--yellow, #ffd200); color: #1d1d3f; padding-block: 96px; isolation: isolate; }
.faq-y::before, .faq-y::after { content: ''; position: absolute; z-index: -1; border-radius: 40px; transform: rotate(-12deg); pointer-events: none; }
.faq-y::before { width: 520px; height: 72px; left: -120px; bottom: 90px; background: rgba(52, 51, 154, .1); }
.faq-y::after { width: 380px; height: 56px; left: -60px; bottom: 30px; background: rgba(255, 255, 255, .45); }
.faq-y__grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px; align-items: start; }
.faq-y__head { position: sticky; top: 110px; display: grid; gap: 18px; }
.faq-y__eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.faq-y__title { margin: 0; font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -.01em; color: #1d1d3f; }
.faq-y__lead { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(29, 29, 63, .72); max-width: 360px; }
.faq-y__ask { display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin-top: 6px; padding: 14px 20px; border-radius: 14px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 14px 30px -16px rgba(29, 29, 63, .8);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s; }
.faq-y__ask:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(29, 29, 63, .9); }
.faq-y__ask .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1024px) {
  .faq-y__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-y__head { position: static; }
}
@media (max-width: 640px) {
  .faq-y { padding-block: 64px; }
  .faq-y__title { font-size: 32px; }
}
