/* ============ Прогресс и шапка ============ */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transform: translateY(-110%); transition: transform .5s var(--ease), background .3s;
  background: rgba(245, 245, 245, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(51, 51, 51, .08);
}
.topbar.show { transform: none; }
.topbar__inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.topbar__logo { display: flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; }
.topbar__logo b { color: var(--blue); }
.topbar__badge { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--grad); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.topbar__nav { display: flex; gap: 4px; margin-left: auto; }
.topbar__nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; transition: background .25s, color .25s; }
.topbar__nav a.active { background: var(--blue); color: #fff; }
.topbar__cta { padding: 10px 18px; background: var(--blue); color: #fff; font-weight: 700; transition: background .25s; white-space: nowrap; }

/* ============ HERO ============ */
.hero { position: relative; min-height: 900px; background: var(--blue); color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; left: 4.5%; top: 58px; width: 67.3%; max-width: 970px; opacity: .1; z-index: -1; will-change: transform; }
.hero__glow {
  position: absolute; z-index: -1; width: 900px; height: 900px; right: -200px; top: -250px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent);
  animation: glow 9s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-120px, 140px) scale(1.15); } }
.hero__inner { position: relative; padding-top: 80px; padding-bottom: 96px; min-height: 900px; }
.hero__title { font-size: 64px; font-weight: 700; line-height: 1.2; max-width: 1196px; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: none; } }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero__lead { margin-top: 26px; font-size: 20px; max-width: 522px; }

.hero__compare { position: absolute; left: calc(var(--gutter) + 542px); right: var(--gutter); top: 294px; height: 530px; }
.hero__compare .phone { position: absolute; margin: 0; }
.phone img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 40, 90, .35)); }
.phone--old { left: 0; top: 20px; width: 249px; animation: floatA 6s ease-in-out infinite; }
.phone--new { right: 0; top: 0; width: 255px; animation: floatB 6s ease-in-out infinite; }
.phone.fade-up { animation: fadeUp .9s var(--ease) forwards, floatA 6s 1.6s ease-in-out infinite; }
.phone--new.fade-up { animation: fadeUp .9s var(--ease) forwards, floatB 6s 1.8s ease-in-out infinite; }
@keyframes floatA { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes floatB { 0%, 100% { translate: 0 -6px; } 50% { translate: 0 8px; } }
.phone figcaption {
  position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%);
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75;
}
.hero__arrow { position: absolute; left: 261px; top: 133px; width: 208px; animation: arrowPulse 2.4s ease-in-out infinite; }
@keyframes arrowPulse { 0%, 100% { transform: translateX(-6px); opacity: .85; } 50% { transform: translateX(8px); opacity: 1; } }
.hero__bottom { position: absolute; left: var(--gutter); top: 666px; }
.hero__note { font-size: 20px; margin-bottom: 26px; }
.hero__note b { font-weight: 700; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; translate: -50% 0; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ============ О кейсе ============ */
.about__grid { display: flex; gap: 130px; align-items: flex-start; }
.accordion { width: 628px; max-width: 100%; border-bottom: 1px solid rgba(51, 51, 51, .2); }
.acc { border-top: 1px solid rgba(51, 51, 51, .2); padding: 0 8px; }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc__title { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 600; text-transform: uppercase; color: var(--blue); }
.acc__title svg { transition: transform .5s var(--ease); }
.acc__btn { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); flex: none; transition: background .3s, transform .5s var(--ease); }
.acc__btn::before, .acc__btn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 19px; height: 3px; margin: -1.5px 0 0 -9.5px; border-radius: 2px; background: var(--bg); transition: transform .4s var(--ease); }
.acc__btn::after { transform: rotate(90deg); }
.acc[open] .acc__btn { transform: rotate(180deg); background: var(--blue-hover); }
.acc[open] .acc__btn::after { transform: rotate(0); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc[open] .acc__body { grid-template-rows: 1fr; }
.acc__body > div { overflow: hidden; }
.acc__body p, .acc__body ul { padding: 0 64px 20px 0; font-size: 16px; line-height: 1.45; }
.acc__body li + li { margin-top: 6px; }

/* ============ AS IS ============ */
.asis__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 24px; }
.alert {
  display: flex; align-items: center; gap: 24px; width: 627px; padding: 12px;
  border: 2px solid var(--blue); border-radius: var(--r); box-shadow: var(--shadow-400); background: #fff;
}
.alert img { animation: shake 3.5s ease-in-out infinite; }
@keyframes shake { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-12deg); } 93% { transform: rotate(10deg); } 96% { transform: rotate(-6deg); } }
.alert p { font-size: 20px; font-weight: 500; color: var(--blue-hover); }
.alert b { font-weight: 800; }

.flow { position: relative; }
.flow__counter {
  position: sticky; top: 84px; z-index: 5; width: max-content; margin: 0 0 -60px auto;
  display: flex; align-items: baseline; gap: 4px; padding: 10px 18px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-400); color: var(--blue-hover); font-weight: 600;
  opacity: 0; transform: translateY(-10px); transition: opacity .4s, transform .4s var(--ease);
}
.flow.in-view .flow__counter { opacity: 1; transform: none; }
.flow__num { font-size: 28px; font-weight: 800; min-width: 1ch; text-align: right; }
.flow__counter.done { background: var(--blue); color: #fff; }
.flow__canvas { position: relative; width: 100%; aspect-ratio: 1280 / 1536; }
.flow__arrows { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow__arrows path { fill: none; stroke: var(--blue-hover); stroke-width: 2; vector-effect: non-scaling-stroke; marker-end: url(#ah); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); }
.flow__arrows path.on { stroke-dashoffset: 0; }
.flow__cap { position: absolute; font-size: clamp(12px, 1.56vw, 20px); font-weight: 500; text-align: center; opacity: .25; transition: opacity .6s, transform .6s var(--ease); transform: translateY(8px); }
.flow__cap b { font-weight: 700; color: var(--blue-hover); }
.flow__cap.on { opacity: 1; transform: none; }
.flow__row { position: absolute; left: 0; right: 0; display: flex; justify-content: space-between; }
.flow__row img {
  width: 19.45%; height: auto; aspect-ratio: 249 / 507; object-fit: cover;
  transition: transform .5s var(--ease), filter .5s; filter: saturate(.9);
}

.flow__steps { display: none; list-style: none; padding: 0; margin: 20px 0 0; gap: 10px; counter-reset: st; }
.flow__steps li { counter-increment: st; display: flex; gap: 12px; align-items: baseline; font-size: 15px; font-weight: 500; }
.flow__steps li::before { content: counter(st); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; transform: translateY(-2px); }
.flow__steps b { color: var(--blue-hover); }

.swipe-hint { display: none; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--blue-hover); }
.swipe-hint__arrows { display: inline-flex; gap: 1px; }
.swipe-hint__arrows i { width: 9px; height: 9px; border: solid var(--blue); border-width: 2px 2px 0 0; transform: rotate(45deg); opacity: .2; animation: chev 1.4s ease-in-out infinite; }
.swipe-hint__arrows i:nth-child(2) { animation-delay: .18s; }
.swipe-hint__arrows i:nth-child(3) { animation-delay: .36s; }
@keyframes chev { 0%, 100% { opacity: .2; } 40% { opacity: 1; } }

/* ============ Анализ ЦА ============ */
.ca__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 32px; }
.orbit { display: flex; align-items: center; gap: 24px; min-width: 0; }
.orbit__label { flex: none; letter-spacing: .04em; white-space: nowrap; }
.orbit .h-xl.orbit__label { width: 94px; }
.orbit__items { position: relative; height: 300px; flex: 1; min-width: 0; }
.orbit__arc { position: absolute; left: 18px; top: 19px; width: 45px; height: 219px; overflow: visible; }
.orbit__arc path { fill: none; stroke: rgba(31, 144, 236, .18); stroke-width: 1.5; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.orbit.in .orbit__arc path { stroke-dashoffset: 0; }
.orbit__item {
  position: absolute; left: 0; right: 0; display: flex; align-items: flex-start; gap: 28px; padding: 10px; text-align: left;
  opacity: 0; transform: translateX(20px); transition: opacity .6s, transform .6s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.orbit__item:nth-of-type(1) { top: 0; transition-delay: .4s; }
.orbit__item:nth-of-type(2) { top: 109px; left: 40px; transition-delay: .6s; }
.orbit__item:nth-of-type(3) { top: 218px; transition-delay: .8s; }
.orbit.in .orbit__item { opacity: 1; transform: none; }
.orbit__item i {
  position: relative; width: 15px; height: 15px; margin: 4.5px; border-radius: 50%; flex: none;
  background: rgba(31, 144, 236, .9); box-shadow: 0 2px 6px rgba(31, 144, 236, .45), inset 0 1px 2px rgba(255, 255, 255, .6);
  transform: scale(.55); transition: transform .45s var(--ease);
}
.orbit__item i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; }
.orbit__item.on i { transform: scale(1.1); }
.orbit__item.on i::after { animation: ping 1.6s ease-out infinite; }
.orbit__text { min-width: 0; }
.orbit__text b { display: block; font-size: 16px; font-weight: 600; color: var(--blue-hover); transition: font-size .4s var(--ease); }
.orbit__item.on .orbit__text b { font-size: 20px; font-weight: 700; }
.orbit__text small {
  display: block; max-width: 300px; font-size: 14px; line-height: 1.3; color: var(--text-muted);
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s var(--ease);
}
.orbit__item.on .orbit__text small { max-height: 60px; opacity: 1; margin-top: 6px; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 80%, 100% { transform: scale(1.8); opacity: 0; } }

/* ============ Портреты ============ */
.personas__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.slider-nav { display: flex; align-items: center; gap: 14px; }
.slider-btn { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; transition: background .25s, transform .25s var(--ease), opacity .25s; }
.slider-btn svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.slider-btn:disabled { opacity: .35; pointer-events: none; }
.slider-count { font-weight: 600; color: var(--text-muted); min-width: 36px; text-align: center; }
.slider-count b { color: var(--blue-hover); font-size: 20px; }
.personas__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px max(var(--gutter), calc((100vw - var(--container)) / 2)) 24px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  cursor: grab; outline: none;
}
.personas__track::-webkit-scrollbar { display: none; }
.personas__track.dragging { cursor: grabbing; scroll-snap-type: none; }
.personas__track.dragging * { pointer-events: none; }
.persona {
  flex: none; width: 847px; display: flex; gap: 16px; padding: 16px; scroll-snap-align: start;
  background: #fff; border-radius: var(--r); box-shadow: var(--shadow-200);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.persona__side { width: 205px; flex: none; display: flex; flex-direction: column; gap: 12px; }
.persona__ava { width: 100%; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #d0e5fd, #1f90ec); position: relative; }
.persona__ava img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.persona__ava .initial { position: absolute; inset: 0; display: grid; place-items: center; font-size: 72px; font-weight: 800; color: #fff; }
.persona__name { font-size: 20px; font-weight: 700; }
.persona__info { font-size: 14px; display: grid; gap: 6px; }
.persona__info span { color: var(--text-muted); }
.persona__main { flex: 1; display: grid; grid-template-columns: 273px 1fr; grid-template-rows: auto auto 164px; gap: 16px; }
.persona__block { padding: 16px; border-radius: 15px; font-size: 14px; line-height: 1.25; }
.persona__block--wide { grid-column: 1 / -1; min-height: 135px; }
.persona__block h4 { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 400; color: var(--text-muted); margin-bottom: 15px; }
.persona__block h4 svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.persona__block ul { padding-left: 21px; }
.persona__block--pos { background: var(--pos-bg); border-color: var(--pos-border); }
.persona__block--pos h4 { color: var(--pos-text); }
.persona__block--neg { background: var(--neg-bg); border-color: var(--neg-border); }
.persona__block--neg h4 { color: var(--neg-text); }
.persona__block--pos li b { font-weight: 600; }
.personas__bar { height: 3px; border-radius: 2px; background: var(--blue-tertiary-hover); overflow: hidden; }
.personas__bar span { display: block; height: 100%; width: 25%; background: var(--blue); border-radius: 2px; transition: transform .3s var(--ease); }

/* ============ Общие "split" заголовки ============ */
.split-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 32px; }
.split-head--center { align-items: flex-start; }
.split-head__text { width: 413px; flex: none; font-size: 16px; line-height: 1.2; margin-top: 14px; }
.offset-block { margin-left: 323px; }

/* ============ Юзабилити istu.ru ============ */
.scenarios { list-style: none; counter-reset: s; padding: 0; margin: 16px 0 0; display: grid; gap: 16px; max-width: 527px; }
.scenarios li { counter-increment: s; position: relative; padding-left: 0; font-size: 16px; }
.scenarios li b { display: block; font-weight: 500; }
.scenarios li b::before { content: counter(s) ". "; }
.scenarios li span { display: block; color: var(--text); opacity: .85; }
.proofs { display: grid; grid-template-columns: 629px 1fr; gap: 43px; margin: 32px 0; }
.proofs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.zoomable { display: block; overflow: hidden; border-radius: 6px; position: relative; cursor: zoom-in; background: #e9e9e9; }
.zoomable img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.zoomable::after {
  content: ""; position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%230c75c0' stroke-width='2.2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center no-repeat;
  opacity: 0; transform: scale(.7); transition: .3s var(--ease); box-shadow: var(--shadow-200);
}
.proofs__big { align-self: start; }
.insights { margin-top: 32px; display: grid; grid-template-columns: 323px 1fr; margin-left: 323px; }
.usab .insights { margin-left: 323px; grid-template-columns: 323px 525px; }
.insights__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; font-size: 16px; counter-reset: i; }
.insights__list li { counter-increment: i; }
.insights__list li::before { content: counter(i) ". "; font-weight: 500; }
.insights__list b { font-weight: 500; display: inline; }
.insights__list b::after { content: ""; display: block; }
.insights__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.insights__more > div { overflow: hidden; }
.insights__more .insights__list { counter-reset: i 3; padding-top: 16px; }
.insights__more li { opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s var(--ease); }
.insights__more.open { grid-template-rows: 1fr; }
.insights__more.open li { opacity: 1; transform: none; }
.insights__more.open li:nth-child(2) { transition-delay: .08s; }
.insights__more.open li:nth-child(3) { transition-delay: .16s; }
.insights__toggle { margin-top: 18px; font-size: 16px; }
.link-more.insights__toggle::after { content: "↓"; }
.link-more.insights__toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.links-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 32px 0; }
.link-folder { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue-hover); border-bottom: 1px dashed transparent; padding: 4px 0; transition: border-color .25s; }
.link-folder svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.link-more { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-more::after { content: "→"; transition: transform .3s var(--ease); }

/* ============ Опрос ============ */
.survey__charts { width: 100%; border-radius: 6px; background: #fff; }
.survey__note { display: flex; align-items: flex-start; gap: 61px; width: 486px; margin: 8px auto; }
.survey__note p { width: 274px; margin-top: 23px; font-size: 16px; }
.draw path { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.survey__note.in .draw path { stroke-dashoffset: 0; }
.survey__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.survey__pair .zoomable { background: #fff; }
.survey__insights { display: grid; grid-template-columns: 214px 1fr; margin-top: 32px; }
.chips-grid { display: grid; grid-template-columns: 554px 496px; gap: 14px; }
.chips-col > p { margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px 8px; }
.chip {
  padding: 12px; border-radius: 999px; background: var(--blue-secondary); font-weight: 500; font-size: 16px; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, color .3s;
  opacity: 0; transform: scale(.6);
}
.chip--on { background: var(--blue); color: #fff; }
.chips-col.in .chip { animation: pop .5s var(--ease) backwards; animation-delay: calc(var(--i) * 60ms + .2s); opacity: 1; transform: none; }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* ============ Дизайн-решение ============ */
.design__grid { display: flex; gap: 20px; }
.design__grid > .title-combo { width: 307px; flex: none; }
.design__rows { display: grid; gap: 53px; flex: 1; }
.design__row { display: grid; grid-template-columns: 413px 1fr; gap: 20px; align-items: center; }
.design__text p { margin-top: 16px; font-size: 16px; }
.design__visual { position: relative; }
.annot { position: absolute; color: var(--blue-hover); font-size: 16px; padding-left: 73px; }
.annot::before { content: ""; position: absolute; left: 2px; top: 50%; width: 62px; height: 31px; border: 1px solid var(--blue-hover); border-right: 0; border-bottom: 0; border-top-left-radius: 40px; }
.annot::after { content: ""; position: absolute; left: 0; top: calc(50% + 28px); width: 4px; height: 4px; border-radius: 50%; background: var(--blue-hover); }
.design__row:nth-child(1) .annot { left: 196px; top: 0; width: 187px; transform: translateY(-4px); }
.design__row:nth-child(1) .swatches { margin-top: 63px; }
.swatches { display: flex; }
.swatch { width: 80px; height: 80px; padding: 16px; position: relative; }
.swatch::before { content: ""; position: absolute; inset: 16px; border-radius: 16px; background: var(--c); border: 1px solid rgba(0, 0, 0, .24); transition: transform .35s var(--ease), border-radius .35s; }
.swatch::after {
  content: attr(data-hex); position: absolute; left: 50%; bottom: -14px; transform: translate(-50%, 4px);
  font-size: 12px; font-weight: 600; color: var(--blue-hover); opacity: 0; transition: .3s var(--ease); white-space: nowrap;
}
.type-spec { display: flex; gap: 16px; align-items: flex-start; min-height: 112px; }
.type-spec__aa { width: 122px; font-family: "Inter", sans-serif; }
.type-spec__aa span { display: block; font-size: 20px; }
.type-spec__aa b { display: block; font-size: 96px; font-weight: 500; line-height: .75; margin-top: 18px; transition: font-weight .4s; }
.type-spec__w { list-style: none; padding: 0; font-family: "Inter", sans-serif; font-size: 20px; line-height: 1.3; }
.annot--bottom { position: absolute; left: 242px; top: 74px; width: 187px; }
.annot--bottom::before { top: auto; bottom: calc(50% - 31px); transform: scaleY(-1); }
.annot--bottom::after { top: 7px; }
.design__cover { width: 304px; border-radius: 16px; box-shadow: var(--shadow-400); transition: transform .5s var(--ease); }
.design__row:nth-child(3) .annot { left: 319px; top: 35px; width: 205px; }

/* ============ Вайрфреймы ============ */
.wires__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto 1fr; gap: 32px 20px; margin-top: 32px; }
.wires__t { grid-row: 2; align-self: start; font-size: 16px; line-height: 1.3; padding-top: 18px; border-top: 2px solid var(--blue-tertiary-hover); position: relative; }
.wires__t::before { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 2px; background: var(--blue); }
.wires__t--1 { grid-column: 2; }
.wires__t--2 { grid-column: 3; }
.wire { margin: 0; position: relative; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: var(--shadow-200); }
.wire img { width: 100%; height: auto; }
.wire--tall { grid-column: 1; grid-row: 1 / 3; }
.wire--a, .wire--b, .wire--c { grid-row: 1; align-self: start; }
.wire--a { grid-column: 2; } .wire--b { grid-column: 3; } .wire--c { grid-column: 4; }
.wire figcaption {
  position: absolute; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-200);
  font-size: 12px; font-weight: 600; color: var(--text-muted); opacity: 0; transform: translateY(6px); transition: .3s var(--ease);
}
.wire figcaption i { width: 18px; height: 2px; background: var(--grad); position: relative; }
.wire figcaption span:last-child { color: var(--blue-hover); }

/* ============ Навигация ============ */
.sitemap { position: relative; margin-top: 30px; }
.sitemap__lines { position: absolute; left: -1.4%; top: 0; width: 102.8%; height: 100%; overflow: visible; pointer-events: none; }
.sitemap__lines path { fill: none; stroke: var(--blue-hover); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.sitemap.in .sitemap__lines path { stroke-dashoffset: 0; }
.sitemap__top, .sitemap__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.sitemap__top .node:not(:last-child)::after { content: ""; position: absolute; right: -20px; top: 50%; width: 20px; height: 1.5px; background: var(--blue-hover); }
.sitemap__cols { margin-top: 20px; }
.sitemap__cols ul { list-style: none; padding: 0; display: grid; gap: 11.8px; align-content: start; }
.sitemap__cols li, .node {
  position: relative; display: flex; align-items: center; min-height: 43px; padding: 12px; border-radius: 8px; background: #fff; font-size: 16px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--sd, 0s), transform .5s var(--ease) var(--sd, 0s), background .2s, color .2s, box-shadow .2s;
}
.node--main { justify-content: center; background: var(--blue-tertiary); }
.sitemap__cols li.hl { box-shadow: inset 0 0 0 2px var(--blue); font-weight: 600; color: var(--blue-hover); }
.sitemap .node, .sitemap li { --sd: calc(var(--i) * 30ms); }
.sitemap.in .node, .sitemap.in li { opacity: 1; transform: none; }
/* ключевой путь пользователя: «Поступающим» -> «Образовательные программы» */
.sitemap.in .sitemap__top .node:nth-child(3) { animation: keyNode .6s var(--ease) 1.4s forwards; }
.sitemap.in .sitemap__cols li.hl { animation: keyPulse 2.4s ease-in-out 2s infinite; }
@keyframes keyNode { to { background: var(--blue); color: #fff; } }
@keyframes keyPulse { 0%, 100% { box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 0 rgba(31, 144, 236, .35); } 50% { box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 8px rgba(31, 144, 236, 0); } }
.sitemap__bottom { display: grid; grid-template-columns: repeat(3, 305px); gap: 18px; justify-content: center; margin: 40px 0 0 -110px; position: relative; }
.sitemap__bottom .node:not(:last-child)::after { content: ""; position: absolute; right: -18px; top: 50%; width: 18px; height: 1.5px; background: var(--blue-hover); }

/* ============ Итог: видео ============ */
.result__videos { display: grid; grid-template-columns: 847px 1fr; gap: 20px; margin-top: 32px; align-items: center; }
.device { position: relative; margin: 0; overflow: hidden; background: #1b1d22; box-shadow: 0 30px 60px -20px rgba(12, 60, 110, .35); }
.device video { width: 100%; height: 100%; object-fit: cover; display: block; background: #0f1012; }
.device--laptop { border-radius: 14px; display: flex; flex-direction: column; }
.device__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #2a2d33; flex: none; }
.device__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.device__bar i:nth-child(2) { background: #febc2e; } .device__bar i:nth-child(3) { background: #28c840; }
.device__bar span { margin: 0 auto; padding: 5px 14px; border-radius: 6px; background: #1b1d22; color: #aeb4bd; font-size: 13px; transform: translateX(-24px); }
.device--laptop video { aspect-ratio: 16 / 9; height: auto; flex: none; object-fit: contain; }
.device--phone { border-radius: 44px; padding: 12px; background: linear-gradient(145deg, #2c2f36, #111214); justify-self: center; width: 100%; max-width: 292px; aspect-ratio: 720 / 1560; height: auto; box-sizing: content-box; }
.device--phone video { border-radius: 33px; }
.device--phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 30%; height: 22px; border-radius: 12px; background: #000; transform: translateX(-50%); z-index: 2; }
.device__play {
  position: absolute; right: 16px; bottom: 16px; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-200); opacity: 0; transition: opacity .3s, transform .3s var(--ease);
}
.device__play::before { content: ""; position: absolute; left: 15px; top: 14px; width: 5px; height: 16px; background: var(--blue-hover); box-shadow: 9px 0 var(--blue-hover); border-radius: 1px; }
.device__play.paused::before { left: 17px; width: 0; height: 0; background: none; box-shadow: none; border-left: 14px solid var(--blue-hover); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.device__play.paused { opacity: 1; }
.device--phone .device__play { right: 26px; bottom: 26px; }

/* ============ Юзабилити редизайна ============ */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.metric {
  padding: 16px; border: 1px solid #d9d9d9; border-radius: var(--r); background: #fff;
  display: flex; flex-direction: column; gap: 8px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.metric h3 { font-size: 16px; font-weight: 600; min-height: 38px; }
.metric__vals { display: flex; align-items: center; gap: 12px; }
.metric__vals s { font-size: 20px; font-weight: 700; color: rgba(51, 51, 51, .5); text-decoration: none; position: relative; }
.metric__vals s::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 1.5px; background: rgba(51, 51, 51, .6); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .4s; }
.metric.in .metric__vals s::after { transform: none; }
.metric__vals i { width: 20px; height: 20px; position: relative; }
.metric__vals i::before { content: ""; position: absolute; left: 1px; right: 3px; top: 9px; height: 2px; background: var(--text); }
.metric__vals i::after { content: ""; position: absolute; right: 2px; top: 5px; width: 8px; height: 8px; border: solid var(--text); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.metric__vals b { font-size: 40px; font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge { align-self: flex-start; padding: 4px; border-radius: 8px; background: var(--pos-bg); color: #02542d; font-size: 14px; font-weight: 700; }

.perception { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto 1fr; gap: 20px; align-items: stretch; }
.perception__h1 { grid-column: 1 / 3; }
.perception__h2 { grid-column: 3; font-weight: 700; }
.quotes { padding: 17px; border: 1px solid #d9d9d9; border-radius: var(--r); display: grid; gap: 12px; align-content: space-between; background: rgba(255, 255, 255, .4); }
.quotes__head { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.quotes__head i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.quotes--after { border-color: var(--blue-secondary-hover); background: #fff; }
.quotes--after .quotes__head { color: var(--blue-hover); }
blockquote { margin: 0; font-size: 16px; }
blockquote cite { display: block; font-style: normal; color: var(--text-muted); margin-top: 8px; }
.quotes--before blockquote { padding-left: 12px; border-left: 2px solid #e2e2e2; }
.quotes--after blockquote { padding-left: 12px; border-left: 2px solid var(--blue); }
.todo { padding: 17px; border: 1px dashed var(--blue-secondary-hover); border-radius: var(--r); background: #fff; display: grid; gap: 14px; align-content: space-between; }
.todo__item { padding: 0 0 0 18px; position: relative; font-size: 16px; }
.todo__item::before { content: ""; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--blue); }
.todo__item b { display: block; font-weight: 600; margin-bottom: 4px; }

/* ============ UI-kit ============ */
.uikit__video { position: relative; width: 1020px; max-width: 100%; margin: 32px auto 0; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(12, 60, 110, .35); background: #fff; }
.uikit__video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ============ Спасибо и контакты ============ */
.thanks__card { position: relative; width: 426px; max-width: 100%; margin: 0 auto; border-radius: 16px; overflow: hidden; }
.thanks__card img { width: 100%; animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.04); } }
.thanks__card figcaption { position: absolute; left: 0; right: 0; bottom: 37px; text-align: center; font-size: 24px; font-weight: 700; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.thanks__title { text-align: center; margin-top: 64px; }
.contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 42px; margin-top: 48px; }
.contacts .btn:not(.btn--outline) { background: var(--grad); background-size: 200% 100%; transition: background-position .5s var(--ease), transform .3s var(--ease), box-shadow .3s; }
.contacts__hint { text-align: center; margin-top: 28px; color: var(--text-muted); }
.contacts__hint a, .copy { color: var(--blue-hover); font-weight: 600; }
.copy { border-bottom: 1px dashed currentColor; }
.footer { margin-top: 96px; padding: 28px 0; border-top: 1px solid rgba(51, 51, 51, .1); font-size: 14px; color: var(--text-muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ============ Лайтбокс и тост ============ */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 40px; background: rgba(10, 20, 35, .82); backdrop-filter: blur(6px); animation: fadeIn .3s; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: zoomIn .4s var(--ease); background: #fff; }
.lightbox__close { position: absolute; right: 20px; top: 16px; width: 48px; height: 48px; font-size: 36px; color: #fff; line-height: 1; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { transform: scale(.92); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 110; padding: 12px 20px; border-radius: 999px; background: var(--text); color: #fff; font-weight: 600; transform: translate(-50%, calc(100% + 48px)); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .4s var(--ease); }

/* ============ Наведение — только мышь; на сенсорных экранах свои анимации ============ */
@media (hover: hover) {
  .topbar__nav a:hover { background: var(--blue-tertiary); color: var(--blue-hover); }
  .topbar__cta:hover { background: var(--blue-hover); }
  .acc:hover .acc__title svg { transform: rotate(-12deg) scale(1.1); }
  .acc summary:hover .acc__btn { background: var(--blue-hover); }
  .flow__row img:hover { transform: translateY(-8px) scale(1.03); filter: saturate(1.1) drop-shadow(0 18px 24px rgba(0, 0, 0, .18)); }
  .slider-btn:hover { background: var(--blue-hover); transform: scale(1.08); }
  .persona:hover { transform: translateY(-4px); box-shadow: var(--shadow-400); }
  .persona:hover .persona__ava img { transform: scale(1.06); }
  .zoomable:hover img { transform: scale(1.04); }
  .zoomable:hover::after { opacity: 1; transform: none; }
  .link-more:hover::after { transform: translateX(5px); }
  .chip:hover { transform: translateY(-3px); background: var(--blue-hover); color: #fff; }
  .swatch:hover::before { transform: scale(1.18) rotate(-6deg); border-radius: 12px; }
  .swatch:hover::after { opacity: 1; transform: translate(-50%, 0); }
  .type-spec:hover .type-spec__aa b { font-weight: 700; }
  .design__cover:hover { transform: rotate(-2deg) scale(1.03); }
  .wire:hover figcaption { opacity: 1; transform: none; }
  .sitemap__cols li:hover, .node:hover { background: var(--blue); color: #fff; box-shadow: var(--shadow-400); }
  .sitemap__cols li.hl:hover { color: #fff; }
  .device:hover .device__play, .uikit__video:hover .device__play { opacity: 1; }
  .device__play:hover { transform: scale(1.1); }
  .metric:hover { transform: translateY(-6px); box-shadow: var(--shadow-400); border-color: var(--blue-secondary-hover); }
  .contacts .btn:not(.btn--outline):hover { background-position: 100% 0; }
  .link-folder:hover { border-bottom-color: currentColor; }
}
@media (hover: none) {
  .zoomable::after { opacity: 1; transform: scale(.8); right: 6px; top: 6px; }
  .wire figcaption, .device__play { opacity: 1; transform: none; }
  .swatch::after { opacity: 1; transform: translate(-50%, 0); font-size: 10px; bottom: -10px; }
  .design__row:nth-child(1) .swatches { padding-bottom: 12px; }
  .type-spec.in .type-spec__aa b, .design__row.in .type-spec__aa b { animation: weights 3.2s steps(1) infinite; }
  @keyframes weights { 0% { font-weight: 400; } 25% { font-weight: 500; } 50% { font-weight: 600; } 75% { font-weight: 700; } }
  .btn:active, .slider-btn:active, .chip:active, .acc summary:active .acc__btn { transform: scale(.96); }
  .sitemap__cols li:active, .node:active { background: var(--blue-tertiary); }
  .persona, .metric { -webkit-tap-highlight-color: transparent; }
}

/* ================= Адаптив ================= */
@media (max-width: 1360px) {
  :root { --gutter: 48px; }
  .hero__title { font-size: clamp(40px, 4.7vw, 64px); }
  .hero__compare { left: auto; right: var(--gutter); width: 738px; transform: scale(.85); transform-origin: right top; }
  .persona { width: 760px; }
  .persona__main { grid-template-columns: 240px 1fr; grid-template-rows: auto auto auto; }
  .result__videos { grid-template-columns: 2fr 1fr; }
  .chips-grid { grid-template-columns: 1fr 1fr; }
  .proofs { grid-template-columns: 1fr 1fr; }
  .offset-block, .usab .insights { margin-left: 0; }
  .usab .insights { grid-template-columns: 323px 1fr; }
}
@media (max-width: 1100px) {
  .topbar__nav { display: none; }
  .topbar__cta { margin-left: auto; }
  .hero, .hero__inner { min-height: 0; }
  .hero__inner { padding-bottom: 72px; }
  .hero__compare { position: relative; left: 0; right: 0; top: 0; width: auto; height: auto; transform: none; display: flex; align-items: center; justify-content: center; gap: 24px; margin: 48px 0 64px; }
  .hero__compare .phone { position: relative; inset: auto; width: min(38%, 249px); }
  .hero__arrow { position: static; width: min(18%, 140px); }
  .hero__bottom { position: static; }
  .about__grid { flex-direction: column; gap: 32px; }
  .accordion { width: 100%; }
  .asis__head { flex-direction: column; }
  .alert { width: 100%; }
  .ca__grid { grid-template-columns: 1fr; gap: 24px; }
  .split-head { flex-direction: column; gap: 16px; }
  .split-head__text { width: auto; max-width: 560px; margin: 0; }
  .insights, .usab .insights, .survey__insights { grid-template-columns: 1fr; gap: 20px; }
  .design__grid { flex-direction: column; gap: 32px; }
  .design__row { grid-template-columns: 1fr; gap: 24px; }
  .design__visual { min-height: 0; }
  .annot { position: static; display: inline-block; margin-bottom: 8px; padding-left: 0; transform: none !important; width: auto !important; }
  .annot::before, .annot::after { display: none; }
  .design__row:nth-child(1) .swatches { margin-top: 0; }
  .type-spec { flex-wrap: wrap; }
  .wires__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 20px; }
  .wires__t { grid-row: auto; grid-column: auto; }
  .wires__t--1 { order: -2; } .wires__t--2 { order: -1; }
  .wire--tall { grid-row: auto; grid-column: 1 / -1; width: 100%; max-width: 420px; justify-self: center; }
  .wire--a, .wire--b, .wire--c { grid-row: auto; grid-column: auto; margin: 0; }
  .wire--c { grid-column: 1 / -1; width: 100%; max-width: calc(50% - 10px); justify-self: center; }
  .wire figcaption { opacity: 1; transform: none; }
  .sitemap__lines { display: none; }
  .sitemap__top, .sitemap__cols { grid-template-columns: 1fr 1fr; }
  .sitemap__top .node::after, .sitemap__bottom .node::after { display: none; }
  .sitemap__bottom { grid-template-columns: repeat(3, 1fr); margin-left: 0; }
  .result__videos { grid-template-columns: 1fr; }
  .device--phone { max-width: 300px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .perception { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .perception__h1 { grid-column: 1 / -1; }
  .perception__h2 { grid-column: 1 / -1; order: 4; margin-top: 20px; }
  .todo { grid-column: 1 / -1; order: 5; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .section { padding-top: 56px; }
  .h-xl { font-size: 44px; }
  .h-lg { font-size: 30px; }
  .title-combo [style*="margin"] { margin: 0 0 0 0 !important; }
  .title-combo { display: flex; flex-direction: column; white-space: normal; }
  .title-combo > * { grid-area: auto; }
  .title-combo > :nth-child(2) { padding-left: 28px; margin-top: -6px !important; }
  .title-combo > :nth-child(3) { padding-left: 56px; }
  .topbar__logo > span:not(.topbar__badge) { display: none; }
  .hero__inner { padding-top: 48px; }
  .hero__title { font-size: 34px; }
  .hero__lead, .hero__note { font-size: 17px; }
  .hero__lead br { display: none; }
  .hero__compare { gap: 10px; margin: 36px 0 56px; }
  .hero__compare .phone { width: 40%; }
  .phone figcaption { bottom: -28px; font-size: 12px; }
  .acc__title { font-size: 17px; }
  .acc__body p, .acc__body ul { padding-right: 8px; }
  .alert { gap: 14px; }
  .alert img { width: 36px; height: 36px; }
  .alert p { font-size: 16px; }
  /* AS IS: вертикальная лента шагов */
  .flow__counter { top: 76px; margin-bottom: 16px; }
  .flow__counter { display: none; }
  .flow__canvas {
    aspect-ratio: auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter);
  }
  .flow__canvas::-webkit-scrollbar { display: none; }
  .flow__arrows, .flow__cap { display: none; }
  .flow__row { position: static; display: contents; }
  .flow__row img { flex: none; width: 46vw; border-radius: 12px; scroll-snap-align: start; }
  .flow__steps { display: grid; }
  .orbit { flex-direction: column; align-items: flex-start; gap: 8px; }
  .orbit__items { width: 100%; flex: none; height: 330px; }
  .orbit__item { gap: 18px; }
  .orbit__item:nth-of-type(2) { top: 115px; left: 28px; }
  .orbit__item:nth-of-type(3) { top: 230px; }
  .orbit__item.on .orbit__text b { font-size: 18px; }
  .orbit__text small { max-width: none; }
  .orbit__item.on .orbit__text small { max-height: 80px; }
  .persona { width: calc(100vw - 48px); flex-direction: column; }
  .persona__side { width: 100%; display: grid; grid-template-columns: 120px 1fr; gap: 6px 14px; align-items: start; }
  .persona__ava { grid-row: 1 / 6; }
  .persona__main { grid-template-columns: 1fr; }
  .persona__block--wide { min-height: 0; }
  .proofs { grid-template-columns: 1fr; }
  .survey__note { width: auto; gap: 12px; }
  .survey__note svg { width: 110px; height: auto; }
  .survey__pair { grid-template-columns: 1fr; }
  .chips-grid { grid-template-columns: 1fr; gap: 28px; }
  .chip { font-size: 14px; padding: 10px 12px; }
  .swatch { width: 56px; height: 56px; padding: 8px; }
  .swatch::before { inset: 8px; border-radius: 12px; }
  .wires__grid { grid-template-columns: 1fr; }
  .wires__t { padding-top: 14px; }

  .wire--c { max-width: none; }
  .sitemap { display: flex; flex-direction: column; gap: 10px; }
  .sitemap__top, .sitemap__cols { display: contents; }
  .sitemap__top .node:nth-child(1) { order: 1; } .sitemap__cols ul:nth-child(1) { order: 2; }
  .sitemap__top .node:nth-child(2) { order: 3; } .sitemap__cols ul:nth-child(2) { order: 4; }
  .sitemap__top .node:nth-child(3) { order: 5; } .sitemap__cols ul:nth-child(3) { order: 6; }
  .sitemap__top .node:nth-child(4) { order: 7; } .sitemap__cols ul:nth-child(4) { order: 8; }
  .sitemap__cols ul { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
  .sitemap__cols li { font-size: 14px; padding: 10px; }
  .node--main { font-weight: 700; color: var(--blue-hover); }
  .sitemap__bottom { order: 9; grid-template-columns: 1fr; gap: 10px; margin-top: 0; }
  .metrics { grid-template-columns: 1fr; }
  .metric h3 { min-height: 0; }
  .perception { grid-template-columns: 1fr; }
  /* шахматный порядок: сетка в 2 колонки, цвет = (ряд + колонка) % 2 */
  .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .chip { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 10px; border-radius: 23px; white-space: normal; text-align: center; line-height: 1.2; background: var(--blue-secondary); color: var(--text); }
  .chip:nth-child(4n + 2), .chip:nth-child(4n + 3) { background: var(--blue); color: #fff; }
  .reveal.from-left, .reveal.from-right { transform: translateY(30px); }
  .reveal.in.from-left, .reveal.in.from-right { transform: none; }
  .swipe-hint { display: flex; }
  .flow__canvas { -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
  .flow__canvas.at-end { -webkit-mask-image: none; mask-image: none; }
  .links-row { gap: 12px; }
  .links-row .btn { width: 100%; }
  .contacts { gap: 12px; }
  .contacts .btn { width: 100%; }
  .thanks__title { margin-top: 48px; }
  .lightbox { padding: 12px; }
}
