/*
  Посадочная страница A-CORE – порт макета a-core_landing_v13 (06.09.2026).
  Значения взяты из макета; бордовый оставлен фирменным (#bb173b – токен
  packages/ui/styles/tokens.css, цвет логотипа и писем), а адаптив, окно
  регистрации и карусель телефонов макетом не заданы и собраны его приёмами
*/
/* Шрифт подключается файлом: без установленного IBM Plex Sans страница молча рисовалась другим шрифтом, а знак рубля брался из третьего */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-Variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}
:root {
  --page: #f3f2ef;
  --paper: #fbfaf8;
  --ink: #272a31;
  --muted: #6e7078;
  --line: #d6d3cf;
  --wine: #bb173b;
  --wine-dark: #94112f;
  --pink: #f0dde2;
  --dark: #22252c;
  --grey: #e4e2de;
  --white: #ffffff;
}
* {
  box-sizing: border-box;
}
/* Страница не выделяется: это витрина, а не документ. Нажатие и перетаскивание не должны подсвечивать текст. Префикс нужен Safari до 17-й версии */
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-user-select: none;
  user-select: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
}
button,
input,
textarea {
  color: inherit;
  font: inherit;
}
.shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}
.header {
  position: relative;
  width: 100%;
  height: 84px;
  border-bottom: 1px solid var(--line);
  background: var(--page);
}
.header__bar {
  display: flex;
  width: min(1240px, calc(100% - 32px));
  height: 84px;
  align-items: center;
  margin: 0 auto;
}
.header__brand {
  display: flex;
  width: 190px;
  align-items: center;
}
.header__logo {
  width: 164px;
  height: auto;
}
.nav {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 42px;
  margin-left: 44px;
}
.nav__link {
  font-size: 14px;
  font-weight: 620;
}
.nav__link:hover,
.nav__link:focus-visible {
  color: var(--wine);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__login {
  display: inline-flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 650;
}
.header__login:hover,
.header__login:focus-visible {
  border-color: var(--ink);
}
.header__start {
  display: inline-flex;
  min-width: 218px;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  color: var(--white);
  border: 0;
  background: var(--wine);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.header__start:hover,
.header__start:focus-visible {
  background: var(--wine-dark);
}
/* Кнопка меню: на узких экранах навигация не помещается в строку шапки */
.header__toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.header__toggle:hover,
.header__toggle:focus-visible {
  border-color: var(--ink);
}
.header__toggle-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.hero {
  overflow: hidden;
  background: var(--page);
}
.hero__copy {
  min-height: 660px;
  padding: 100px 0 80px;
}
.hero__title {
  width: 1100px;
  margin: 0;
  font-size: 108px;
  font-weight: 660;
  line-height: 0.96;
  letter-spacing: -6px;
}
.hero__title-line {
  display: block;
}
.hero__title-accent {
  position: relative;
  z-index: 0;
  display: inline-block;
}
.hero__title-accent::after {
  position: absolute;
  z-index: -1;
  right: -6px;
  bottom: 7px;
  left: -6px;
  height: 20px;
  background: var(--wine);
  content: "";
}
.hero__description {
  width: 620px;
  margin: 52px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.52;
}
.button {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.button--dark {
  color: var(--white);
  border-color: var(--dark);
  background: var(--dark);
}
.button--light {
  color: var(--dark);
  border-color: var(--white);
  background: var(--white);
}
.button--wide {
  width: 100%;
}
.button:disabled {
  cursor: default;
  opacity: 0.65;
}
.hero__screen {
  width: 100%;
  height: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metrics {
  display: grid;
  grid-template-columns: 500px 1fr 1fr;
  grid-template-rows: 190px 190px;
  width: 100%;
  margin: 48px 0;
  background: var(--line);
  gap: 1px;
}
.metrics--even {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
}
.metrics--even .metric {
  min-height: 240px;
}
.metrics--even .metric__value {
  font-size: 26px;
  letter-spacing: -1px;
}
.metric {
  position: relative;
  overflow: hidden;
  padding: 26px 40px;
  background: var(--paper);
}
.metric--trial {
  grid-row: 1 / 3;
  padding: 38px 52px;
  color: var(--white);
  background: var(--wine);
}
.metric--cloud {
  display: grid;
  grid-column: 2 / 4;
  grid-template-columns: 1fr 370px;
  align-items: end;
}
.metric--model {
  background: var(--pink);
}
.metric--access {
  background: var(--grey);
}
.metric__kicker {
  display: block;
  margin-bottom: 15px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.metric--trial .metric__kicker {
  color: #ffc4d1;
}
.metric__value {
  display: block;
  font-size: 46px;
  font-weight: 660;
  line-height: 1;
  letter-spacing: -2px;
  transition: transform 180ms ease;
}
.metric:hover .metric__value {
  transform: translateY(-4px);
}
.metric--trial .metric__value {
  margin-top: 32px;
  font-size: 128px;
  letter-spacing: -7px;
}
.metric__unit {
  margin-left: 12px;
  font-size: 36px;
  letter-spacing: -1.5px;
}
.metric__label {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.metric--trial .metric__label {
  position: absolute;
  right: 52px;
  bottom: 38px;
  left: 52px;
  color: #ffd5de;
  font-size: 19px;
  line-height: 1.38;
}
.metric--cloud .metric__label {
  margin: 0 0 2px;
}
.role-journey {
  padding: 180px 0 92px;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}
.role-journey__intro {
  margin-bottom: 38px;
}
.role-journey__title {
  margin: 0;
  font-size: 82px;
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -4.5px;
}
.role-journey__title-accent {
  display: block;
  color: #ff6a8c;
}
.role-journey__title-arrow {
  color: #ff6a8c;
}
.eyebrow {
  display: block;
  margin-bottom: 24px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.eyebrow--light {
  color: #ff6a8c;
}
.section-title {
  margin: 0;
  font-size: 76px;
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -4px;
}
.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}
.section-lead--spaced {
  margin-top: 20px;
}
/*
  Блок «собирается вручную?»: боль перед решением. Подчёркивание слова
  «вручную» и карточки проявляются по мере прокрутки – анимация привязана
  к положению во viewport средствами CSS; там, где такой привязки нет,
  всё стоит на месте сразу
*/
.pain {
  padding: 72px 0 0;
  background: var(--page);
}
.pain__head {
  display: grid;
  grid-template-columns: 720px 1fr;
  align-items: end;
  gap: 60px;
}
.pain__accent {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--wine);
}
.pain__accent::after {
  position: absolute;
  z-index: -1;
  right: -4px;
  bottom: 6px;
  left: -4px;
  height: 18px;
  background: var(--pink);
  content: "";
  transform-origin: left;
}
.pain__lead {
  margin-bottom: 8px;
}
.pain__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 56px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
  list-style: none;
}
.pain-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px 28px 30px;
  background: var(--paper);
  transition: background 220ms ease;
}
.pain-card:hover {
  background: var(--pink);
}
.pain-card__index {
  margin-bottom: auto;
  color: var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  font-style: italic;
  line-height: 1;
  letter-spacing: -3px;
  transition: color 220ms ease;
}
.pain-card:hover .pain-card__index {
  color: var(--wine);
}
.pain-card__title {
  margin: 36px 0 12px;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.8px;
}
.pain-card__text {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
/* Плашка решения перекрывает границу с тёмной секцией системы – схема справа ведёт в неё */
.pain__solution {
  position: relative;
  z-index: 1;
  display: grid;
  /* Окна схемы подъезжают из-за края плашки и не должны выглядывать наружу */
  overflow: hidden;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 64px;
  margin-bottom: -56px;
  padding: 40px 52px;
  color: var(--white);
  background: var(--wine);
  gap: 10px 48px;
}
.pain__solution-eyebrow {
  grid-column: 1;
  align-self: end;
  margin-bottom: 0;
}
.pain__solution-title {
  grid-column: 1;
  align-self: start;
  margin: 0;
  font-size: 40px;
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -1.8px;
}
/* Схема «потоки сходятся в ядро» занимает обе строки справа и ведёт к разделу системы */
.pain__solution-flow {
  display: block;
  grid-column: 2;
  grid-row: 1 / 3;
  width: 260px;
  color: var(--white);
}
.pain-flow {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
/*
  Один цикл – 9,2 с: четыре окна модулей съезжаются к ядру из углов по очереди,
  затем от них к ядру прочерчиваются линии-уголки, собранная схема держится
  около шести секунд и растворяется к началу цикла
*/
.pain-flow__window {
  animation: pain-flow-dock 9.2s ease-in-out infinite;
}
.pain-flow__window--1 {
  --dock-from: -26px -14px;
}
.pain-flow__window--2 {
  --dock-from: 24px -22px;
  animation-delay: 0.2s;
}
.pain-flow__window--3 {
  --dock-from: -18px 26px;
  animation-delay: 0.4s;
}
.pain-flow__window--4 {
  --dock-from: 30px 10px;
  animation-delay: 0.6s;
}
.pain-flow__frame {
  fill: rgba(255, 255, 255, 0.13);
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 1;
}
.pain-flow__control {
  fill: rgba(255, 255, 255, 0.7);
}
.pain-flow__stripe {
  fill: rgba(255, 255, 255, 0.35);
}
.pain-flow__stripe--head {
  fill: rgba(255, 255, 255, 0.9);
}
/* Линии к ядру прочерчиваются после стыковки: длина штриха у каждой своя, равная длине уголка */
.pain-flow__link {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-dasharray: var(--link-length);
  stroke-dashoffset: var(--link-length);
  opacity: 0.7;
  animation: pain-flow-link 9.2s ease-in-out infinite;
}
.pain-flow__link--1 {
  --link-length: 119;
}
.pain-flow__link--2 {
  --link-length: 107;
  animation-delay: 0.15s;
}
.pain-flow__link--3 {
  --link-length: 80;
  animation-delay: 0.3s;
}
.pain-flow__link--4 {
  --link-length: 63;
  animation-delay: 0.45s;
}
.pain-flow__core {
  fill: var(--white);
}
.pain-flow__nucleus {
  fill: var(--wine);
  transform-box: fill-box;
  transform-origin: center;
  animation: pain-flow-nucleus 2.6s ease-in-out infinite;
}
.pain-flow__ring {
  fill: none;
  stroke: var(--white);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: pain-flow-ring 2.6s ease-out infinite;
}
/* Стыковка 0,4–1,5 с, линии 1,8–2,6 с, сборка держится до 8,5 с */
@keyframes pain-flow-dock {
  0%,
  4% {
    opacity: 0;
    translate: var(--dock-from);
  }
  16%,
  92% {
    opacity: 1;
    translate: 0 0;
  }
  100% {
    opacity: 0;
    translate: var(--dock-from);
  }
}
@keyframes pain-flow-link {
  0%,
  20% {
    stroke-dashoffset: var(--link-length);
    opacity: 0;
  }
  21% {
    opacity: 0.7;
  }
  28%,
  92% {
    stroke-dashoffset: 0;
    opacity: 0.7;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
@keyframes pain-flow-nucleus {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.35);
  }
}
@keyframes pain-flow-ring {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(2.1);
  }
}
@supports (animation-timeline: view()) {
  .pain__accent::after {
    animation: pain-mark linear both;
    animation-timeline: view();
    animation-range: entry 30% entry 80%;
  }
  .pain-card {
    animation: pain-card-arrive linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
  .pain-card:nth-child(2) {
    animation-range: entry 10% entry 55%;
  }
  .pain-card:nth-child(3) {
    animation-range: entry 20% entry 65%;
  }
  .pain-card:nth-child(4) {
    animation-range: entry 30% entry 75%;
  }
}
@keyframes pain-mark {
  from {
    transform: scaleX(0);
  }
}
@keyframes pain-card-arrive {
  from {
    opacity: 0;
    translate: 0 24px;
  }
}
.role-journey__map {
  position: relative;
  height: 390px;
}
.role-journey__line {
  position: absolute;
  top: 184px;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--wine);
}
.role-journey__line::after {
  position: absolute;
  top: 0;
  left: -120px;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff 68%, rgba(255, 255, 255, 0));
  animation: role-journey-pulse 4.2s linear infinite;
  content: "";
}
@keyframes role-journey-pulse-down {
  0% {
    top: 0;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    top: calc(100% - 120px);
    opacity: 0;
  }
}
@keyframes role-journey-pulse {
  0% {
    left: -120px;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}
.role-journey__stops {
  position: relative;
  height: 390px;
}
.journey-stop {
  position: absolute;
  top: 185px;
  width: 210px;
  height: 1px;
}
.journey-stop--plan {
  left: 0;
}
.journey-stop--load {
  left: 250px;
}
.journey-stop--schedule {
  left: 500px;
}
.journey-stop--lesson {
  left: 750px;
}
.journey-stop--result {
  left: 1000px;
  width: 240px;
}
.journey-stop__node {
  position: absolute;
  z-index: 2;
  top: -11px;
  left: 0;
  width: 23px;
  height: 23px;
  border: 3px solid var(--wine);
  border-radius: 50%;
  background: var(--dark);
  transition: background-color 180ms ease, transform 180ms ease;
}
.journey-stop:hover .journey-stop__node {
  background: var(--wine);
  transform: scale(1.18);
}
.journey-stop__content {
  position: absolute;
  left: 0;
  width: 210px;
  transition: transform 180ms ease;
}
.journey-stop--result .journey-stop__content {
  width: 240px;
}
.journey-stop--above .journey-stop__content {
  bottom: 44px;
}
.journey-stop--below .journey-stop__content {
  top: 44px;
}
.journey-stop--above:hover .journey-stop__content {
  transform: translateY(-5px);
}
.journey-stop--below:hover .journey-stop__content {
  transform: translateY(5px);
}
.journey-stop__title {
  margin: 0;
  font-size: 27px;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.7px;
}
.journey-stop__text {
  margin: 12px 0 0;
  color: #aeb0b8;
  font-size: 14px;
  line-height: 1.48;
}
.icon-sprite {
  position: absolute;
  overflow: hidden;
  width: 0;
  height: 0;
}
.mobile-showcase {
  padding: 76px 0;
  background: var(--page);
}
.mobile-showcase__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 58px;
  align-items: center;
}
.mobile-showcase__title {
  max-width: 540px;
  margin: 0;
  color: var(--ink);
  font-size: 58px;
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: -2.7px;
}
.mobile-showcase__text {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
}
.mobile-showcase__points {
  display: grid;
  gap: 10px;
  margin-top: 25px;
}
.mobile-showcase__point {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 640;
}
.mobile-showcase__point-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: var(--wine);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-showcase__devices {
  display: flex;
  min-height: 490px;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
}
.mobile-device {
  width: 174px;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(72, 73, 81, 0.13);
  border-radius: 31px;
  background: var(--white);
  box-shadow: 0 24px 55px rgba(40, 39, 43, 0.13);
}
.mobile-device--center {
  width: 196px;
  transform: translateY(-18px);
}
.mobile-device__frame {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border-radius: 24px;
  background: linear-gradient(155deg, #f5f0ed, var(--white));
}
.mobile-device__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 4px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
}
.mobile-device__signs {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
}
.mobile-device__sign {
  width: 11px;
  height: 8px;
}
.mobile-device__screen {
  height: 338px;
  overflow: hidden;
  background-color: #f5f0ed;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
}
.mobile-device--center .mobile-device__screen {
  height: 385px;
}
.mobile-device__screen--schedule {
  background-image: url("img/mobile-schedule.png");
}
.mobile-device__screen--cabinet {
  background-image: url("img/mobile-cabinet.png");
}
.mobile-device__screen--grades {
  background-image: url("img/mobile-grades.png");
}
.mobile-device__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 7px 0 9px;
  color: #9799a1;
}
.mobile-device__key {
  width: 11px;
  height: 11px;
}
/* Узкий экран: три телефона заменяются одним с перелистыванием состояний */
.mobile-carousel {
  display: none;
}
.mobile-carousel__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mobile-carousel__arrow {
  display: grid;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  place-items: center;
  transition: color 180ms ease, transform 180ms ease;
}
.mobile-carousel__arrow:disabled {
  color: var(--line);
  cursor: default;
}
/* Ховер только там, где есть указатель: на телефоне он залипает после нажатия */
@media (hover: hover) {
  .mobile-carousel__arrow:hover:not(:disabled) {
    color: var(--wine);
  }
  .mobile-carousel__arrow--prev:hover:not(:disabled) {
    transform: translateX(-3px);
  }
  .mobile-carousel__arrow--next:hover:not(:disabled) {
    transform: translateX(3px);
  }
}
.mobile-carousel__arrow-icon {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-carousel__arrow--prev .mobile-carousel__arrow-icon {
  transform: rotate(180deg);
}
.mobile-device--carousel {
  width: 232px;
}
.mobile-device__slides {
  display: flex;
  overflow-x: auto;
  cursor: grab;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
}
.mobile-device__slides--dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.mobile-device__slides::-webkit-scrollbar {
  display: none;
}
.mobile-device__slide {
  flex: 0 0 100%;
  height: 463px;
  background-color: #f5f0ed;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  scroll-snap-align: center;
}
.mobile-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.mobile-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}
.mobile-carousel__dot--active {
  background: var(--wine);
  transform: scale(1.25);
}
.modules {
  padding: 124px 0;
  color: var(--white);
  background: var(--dark);
}
/* Заголовок всегда в две строки (перенос задан в разметке), текст – под ним,
   а не колонкой справа: в колонке заголовок ломался на три строки */
.modules__head {
  margin-bottom: 72px;
}
.modules__lead {
  max-width: 640px;
  margin-top: 28px;
}
.pricing__head {
  margin-bottom: 58px;
}
.faq__head {
  margin-bottom: 58px;
  text-align: center;
}
.section-lead--dark {
  color: #b6b8c0;
}
.modules__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  background: #44464e;
  gap: 1px;
}
.modules__grid--planned {
  margin-top: 20px;
}
.module {
  position: relative;
  display: block;
  min-height: 320px;
  padding: 34px;
  color: var(--ink);
  background: var(--paper);
}
.module--docflow {
  overflow: hidden;
  grid-column: span 5;
  min-height: 390px;
  color: var(--white);
  background: var(--wine);
  transition: background-color 240ms ease;
}
.module--docflow::after {
  position: absolute;
  top: 8px;
  right: 24px;
  color: rgba(255, 255, 255, 0.17);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 116px;
  font-weight: 400;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(34px, -34px);
  transition: opacity 240ms ease, transform 240ms ease;
  content: "↗";
}
.module--docflow:hover,
.module--docflow:focus-visible {
  background: #c81d45;
}
.module--docflow:hover::after,
.module--docflow:focus-visible::after {
  opacity: 1;
  transform: translate(0, 0);
}
.module--admission,
.module--economy,
.module--education {
  grid-column: span 4;
}
.module--economy {
  background: var(--pink);
}
.module--education {
  color: var(--white);
  background: #373a42;
}
.module-screen {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 390px;
  justify-content: flex-end;
  padding: 38px;
  color: var(--ink);
  background-color: var(--pink);
  background-image: linear-gradient(90deg, rgba(240, 221, 226, 0.98) 0%, rgba(240, 221, 226, 0.86) 48%, rgba(240, 221, 226, 0.38) 100%), url("img/dean-editor.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.module-screen__phrase {
  width: 610px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 59px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -3px;
}
/* Плашка состояния – общий блок: карточки модулей, окно регистрации и страница модуля */
.badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid currentColor;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.badge--wine {
  color: var(--wine);
}
.badge--pulse {
  animation: badge-pulse 3.6s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%,
  100% {
    color: inherit;
    background: transparent;
  }
  50% {
    color: var(--wine);
    background: var(--white);
  }
}
.badge__icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.module__body {
  position: absolute;
  right: 34px;
  bottom: 32px;
  left: 34px;
}
.module__title {
  margin: 0 0 14px;
  font-size: 38px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -1.5px;
}
.module__text {
  max-width: 420px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.module__text--light {
  color: #f6c6d1;
}
.module__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(110, 112, 120, 0.35);
  font-size: 13px;
  font-weight: 650;
}
.module__price {
  font-size: 18px;
  font-weight: 700;
}
.module__action {
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, transform 180ms ease;
}
.module--docflow:hover .module__action,
.module--docflow:focus-visible .module__action {
  border-color: currentColor;
  transform: translateX(6px);
}
.generator {
  color: var(--white);
  background: #10182a;
}
.generator__grid {
  display: grid;
  grid-template-columns: 430px 810px;
  min-height: 720px;
}
.generator__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 54px 0 0;
}
.generator__title {
  margin: 0 0 30px;
  font-size: 65px;
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -3.5px;
}
.generator__text {
  margin: 0;
  color: #aeb4c0;
  font-size: 17px;
  line-height: 1.58;
}
.generator__screen {
  width: 810px;
  height: 720px;
  object-fit: cover;
  object-position: left top;
}
.pricing {
  padding: 124px 0;
  background: var(--page);
}
.pricing__tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 330px;
  background: var(--line);
  gap: 1px;
}
.tier {
  position: relative;
  display: block;
  width: 100%;
  padding: 34px;
  border: 0;
  background: var(--paper);
  cursor: pointer;
  text-align: left;
}
.tier:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}
.tier--pink {
  background: var(--pink);
}
.tier--wine {
  color: var(--white);
  background: var(--wine);
}
.tier__limit {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}
.tier__limit--light {
  color: #f6c6d1;
}
.tier__price {
  position: absolute;
  right: 34px;
  bottom: 32px;
  left: 34px;
  font-size: 53px;
  font-weight: 660;
  line-height: 1;
  letter-spacing: -2.5px;
}
.tier__period {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
  letter-spacing: 0;
}
.tier__period--light {
  color: #f6c6d1;
}
.pricing__custom {
  display: grid;
  grid-template-columns: 360px 1fr auto;
  min-height: 96px;
  align-items: center;
  padding: 0 34px;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--paper);
  transition: background-color 180ms ease;
}
.pricing__custom:hover,
.pricing__custom:focus-visible {
  background: var(--pink);
}
.pricing__custom-question {
  font-size: 22px;
  font-weight: 660;
  letter-spacing: -0.4px;
}
.pricing__custom-text {
  color: var(--muted);
  font-size: 15px;
}
.pricing__custom-link {
  color: var(--wine);
  font-size: 15px;
  font-weight: 720;
  transition: transform 180ms ease;
}
.pricing__custom:hover .pricing__custom-link,
.pricing__custom:focus-visible .pricing__custom-link {
  transform: translateX(5px);
}
.pricing-modules {
  margin-top: 54px;
  display: grid;
  grid-template-columns: 580px 1fr;
  background: var(--pink);
}
.pricing-modules__head {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 44px;
}
.pricing-modules__title {
  margin: 0;
  font-size: 47px;
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -2.5px;
}
.pricing-modules__title-accent {
  display: block;
  color: var(--wine);
}
.pricing-modules__list {
  border-left: 1px solid #d6b8c0;
}
.pricing-module {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  min-height: 104px;
  align-items: center;
  padding: 0 34px;
  border-bottom: 1px solid #d6b8c0;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}
.pricing-module--last {
  border-bottom: 0;
}
.pricing-module:hover {
  background: var(--paper);
  box-shadow: inset 6px 0 0 var(--wine);
}
.pricing-module__icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--wine);
  border-radius: 50%;
  color: var(--wine);
  background: transparent;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}
.pricing-module:hover .pricing-module__icon {
  color: var(--white);
  background: var(--wine);
  transform: translateY(-3px);
}
.pricing-module__copy {
  transition: transform 180ms ease;
}
.pricing-module:hover .pricing-module__copy {
  transform: translateX(6px);
}
.pricing-module__name {
  display: block;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.25;
}
.pricing-module__detail {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.pricing-module__price {
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -0.5px;
  transition: color 180ms ease;
}
.pricing-module:hover .pricing-module__price {
  color: var(--wine);
}
.start {
  padding: 124px 0;
  background: var(--paper);
}
.start__grid {
  display: grid;
  grid-template-columns: 470px 690px;
  gap: 80px;
}
.start__title {
  margin: 0 0 30px;
  font-size: 71px;
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -4px;
}
.start__trial {
  display: grid;
  grid-template-columns: 116px 1fr;
  margin: 42px 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/*
  Демо-организация: винная полоска от края до края между стоимостью
  и регистрацией. Одна строка заголовка и три входа по ролям, разделённые
  тонкими линиями. Светло-розовый вторичного текста – тот же, что у тарифа
  и карточек модулей на винном фоне
*/
.demo-strip {
  padding: 32px 0;
  color: var(--white);
  background: var(--wine);
}
.demo-strip__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
}
.demo-strip__title {
  margin: 0;
  font-size: 26px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.8px;
}
/*
  Подчёркивание на винном фоне – розовая черта под словом, а не заливка
  за ним: розовая плашка из заголовка «вручную» здесь съела бы белые буквы
*/
.demo-strip__accent {
  position: relative;
  display: inline-block;
}
.demo-strip__accent::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 3px;
  background: var(--pink);
  content: "";
}
.demo-strip__roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
/*
  Наведение заливает вход белым: на винном фоне это самый заметный отклик.
  Отступы у всех трёх одинаковые, включая крайние: белая плашка не должна
  прижимать текст к своему краю
*/
.demo-role {
  padding: 14px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  text-decoration: none;
  transition: background 180ms ease;
}
.demo-role:hover {
  border-left-color: transparent;
  background: var(--white);
}
.demo-role__name {
  display: block;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.3px;
  transition: color 180ms ease;
}
.demo-role__arrow {
  display: inline-block;
  margin-left: 2px;
  color: #f6c6d1;
  transition: transform 180ms ease;
}
.demo-role:hover .demo-role__arrow {
  color: var(--wine);
  transform: translateX(4px);
}
.demo-role:hover .demo-role__name {
  color: var(--wine);
}
.demo-role__text {
  display: block;
  margin-top: 6px;
  color: #f6c6d1;
  font-size: 14px;
  line-height: 1.45;
  transition: color 180ms ease;
}
.demo-role:hover .demo-role__text {
  color: var(--muted);
}
/* Отказ ядра: строка во всю ширину входов, тем же светло-розовым */
.demo-strip__note {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  padding: 0 24px;
  color: #f6c6d1;
  font-size: 14px;
  line-height: 1.45;
}
.start__trial-value {
  padding: 20px 0;
  color: var(--wine);
  font-size: 66px;
  font-weight: 660;
  line-height: 1;
}
.start__trial-text {
  display: flex;
  align-items: center;
  padding: 0 24px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.45;
}
.steps {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  color: var(--white);
  background: #10182a;
}
/* Карточки сменяются наложением: следующая уже целиком лежит под текущей,
   а текущая уходит поверх неё – просвета фона между ними нет. Порядок слоёв
   задаёт сама анимация: уходящая карточка на время ухода поднимается выше */
.step {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  opacity: 0;
  animation: step-cycle 16s ease-in-out infinite;
}
.step--first {
  background: #10182a;
  animation-delay: 0s;
}
.step--second {
  background: var(--wine);
  animation-delay: 4s;
}
.step--third {
  color: var(--ink);
  background: var(--pink);
  animation-delay: 8s;
}
.step--fourth {
  background: #373a42;
  animation-delay: 12s;
}
.step__context {
  position: relative;
  z-index: 1;
  color: #ff8ba5;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.step--second .step__context {
  color: #ffd0da;
}
.step--third .step__context {
  color: var(--wine);
}
.step__content {
  position: relative;
  z-index: 1;
}
.step__title {
  width: 520px;
  margin: 0 0 20px;
  font-size: 47px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -2px;
}
.step__text {
  width: 470px;
  margin: 0;
  color: #bbc0cc;
  font-size: 16px;
  line-height: 1.52;
}
.step--second .step__text {
  color: #f7c8d3;
}
.step--third .step__text {
  color: var(--muted);
}
.step__visual {
  position: absolute;
  right: 24px;
  bottom: -22px;
  color: currentColor;
  font-size: 126px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -8px;
  opacity: 0.07;
  text-transform: uppercase;
}
@keyframes step-cycle {
  /* Своё окно – 4 с (25%): следующая карточка стартует ровно в этот момент под этой */
  0%, 24.9% {
    z-index: 1;
    opacity: 1;
    transform: translateX(0);
  }
  25% {
    z-index: 2;
    opacity: 1;
    transform: translateX(0);
  }
  /* Уход поверх уже видимой следующей карточки */
  30%, 100% {
    z-index: 2;
    opacity: 0;
    transform: translateX(-56px);
  }
}
.faq {
  padding: 124px 0;
  background: var(--page);
}
.faq__item {
  display: grid;
  grid-template-columns: 70px 500px 1fr;
  min-height: 148px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.faq__item--last {
  border-bottom: 0;
}
.faq__number {
  color: var(--wine);
  font-size: 12px;
  font-weight: 720;
}
.faq__question {
  width: 460px;
  margin: 0;
  color: #17191e;
  font-size: 28px;
  font-weight: 640;
  line-height: 1.22;
  letter-spacing: -0.5px;
}
.faq__answer {
  width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.contact {
  padding: 110px 0;
  color: var(--white);
  background: var(--wine);
}
.contact__grid {
  display: grid;
  grid-template-columns: 660px 500px;
  gap: 80px;
}
.contact__title {
  margin: 0;
  font-size: 78px;
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -4.5px;
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.field {
  display: grid;
  gap: 8px;
}
.field--wide {
  grid-column: 1 / -1;
}
.field__label {
  color: #f8c7d2;
  font-size: 12px;
  font-weight: 650;
}
.field__control {
  width: 100%;
  height: 54px;
  padding: 0 14px;
  color: var(--white);
  border: 1px solid #df6c87;
  border-radius: 0;
  outline: 0;
  background: rgba(120, 6, 31, 0.12);
  -webkit-user-select: text;
  user-select: text;
}
.field__control::placeholder {
  color: #f3a9ba;
}
.field__control:focus {
  border-color: var(--white);
}
.field__control--area {
  height: 102px;
  padding-top: 13px;
  resize: none;
}
/* Те же поля на светлом фоне – в окне регистрации */
.field--light .field__label {
  color: var(--muted);
}
.field--light .field__control {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}
.field--light .field__control::placeholder {
  color: #a4a6ae;
}
.field--light .field__control:focus {
  border-color: var(--ink);
}
.contact-form__submit {
  grid-column: 1 / -1;
  margin-top: 4px;
}
.contact-form__consent {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  color: #f8c7d2;
  font-size: 12px;
  line-height: 1.45;
}
/* Отказ ядра читается на винном фоне белой плашкой; успех показывается отдельным зелёным окном */
.contact-form__note {
  display: none;
  grid-column: 1 / -1;
  padding: 12px 14px;
  border: 1px solid #f3a9ba;
  font-size: 13px;
  line-height: 1.4;
  -webkit-user-select: text;
  user-select: text;
}
.contact-form__note--error {
  display: block;
  color: var(--wine);
  border-color: var(--white);
  background: var(--white);
}
.footer {
  color: #b8bac1;
  background: var(--dark);
}
.footer__main {
  display: grid;
  grid-template-columns: 560px 220px 220px 240px;
  min-height: 250px;
}
.footer__brand,
.footer__column {
  padding: 50px 40px;
}
.footer__logo {
  display: block;
  width: 210px;
  height: auto;
  margin-bottom: 22px;
}
.footer__description {
  width: 380px;
  margin: 0;
  color: #989ba4;
  font-size: 14px;
  line-height: 1.55;
}
.footer__heading {
  margin-bottom: 22px;
  color: var(--white);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer__link {
  display: block;
  margin-bottom: 13px;
  color: #adafb7;
  font-size: 13px;
}
.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 52px;
  min-height: 76px;
  align-items: center;
  font-size: 12px;
}
.footer__made-by {
  display: flex;
  align-items: center;
  margin: 0;
  gap: 8px;
  color: #858892;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1;
}
.footer__made-link {
  display: inline-flex;
  width: 82px;
  color: #a9abb3;
  transition: color 180ms ease;
}
.footer__made-link:hover,
.footer__made-link:focus-visible {
  color: var(--white);
}
.footer__made-logo {
  display: block;
  width: 100%;
  height: auto;
}
/* Страница модуля: своих блоков в макете v13 нет, собраны его приёмами */
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
}
.crumbs__link {
  transition: color 180ms ease;
}
.crumbs__link:hover,
.crumbs__link:focus-visible {
  color: var(--wine);
}
.crumbs__current {
  color: var(--ink);
}
.module-page__facts {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 46px;
}
.module-page__price {
  font-size: 26px;
  font-weight: 680;
  letter-spacing: -0.8px;
}
.abilities {
  padding: 124px 0;
  background: var(--page);
}
.abilities__head {
  margin-bottom: 58px;
}
.abilities__list {
  border-top: 1px solid var(--line);
}
.ability {
  display: grid;
  grid-template-columns: 420px 1fr 150px;
  min-height: 104px;
  align-items: center;
  gap: 30px;
  padding: 0 26px;
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}
.ability:hover {
  background: var(--paper);
  box-shadow: inset 6px 0 0 var(--wine);
}
.ability__name {
  font-size: 21px;
  font-weight: 650;
  line-height: 1.2;
}
.ability__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.ability__state {
  color: var(--wine);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 1px;
  text-align: right;
  text-transform: uppercase;
}
.ability__state--planned {
  color: var(--muted);
}
.shot {
  padding: 124px 0;
  background: var(--page);
}
.shot--paper {
  background: var(--paper);
}
.shot__head {
  margin-bottom: 48px;
}
.shot__image {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
/* Образец печатного документа: бланк организации, как он выходит из модуля */
.paper {
  padding: 54px 62px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.5;
}
.paper__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}
.paper__logo {
  width: 104px;
  height: auto;
}
.paper__requisites {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}
.paper__title {
  margin: 46px 0 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-align: center;
  text-transform: uppercase;
}
.paper__row {
  display: flex;
  justify-content: space-between;
  margin: 26px 0 0;
}
.paper__subject {
  width: 420px;
  margin: 30px auto 0;
  font-weight: 700;
  text-align: center;
}
.paper__text {
  margin: 26px 0 0;
  text-align: justify;
  text-indent: 34px;
}
.paper__command {
  margin: 24px 0 0;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.paper__item {
  margin: 18px 0 0;
  text-align: justify;
  text-indent: 34px;
}
.paper__list {
  margin: 12px 0 0;
  padding-left: 96px;
}
.paper__entry {
  margin-top: 6px;
}
.paper__sign {
  display: flex;
  justify-content: space-between;
  margin-top: 58px;
}
/* Окно регистрации: в макете v13 его нет, оформление собрано из его же приёмов */
.modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  padding: 20px;
  background: rgba(34, 37, 44, 0.55);
  place-items: center;
}
.modal--open {
  display: grid;
}
.modal__card {
  position: relative;
  width: min(100%, 680px);
  padding: 40px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(34, 37, 44, 0.3);
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  place-items: center;
  transition: color 180ms ease, border-color 180ms ease;
}
.modal__close:hover,
.modal__close:focus-visible {
  color: var(--wine);
  border-color: var(--wine);
}
.modal__close-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.modal__title {
  margin: 20px 0 12px;
  font-size: 40px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -1.8px;
}
.modal__text {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.modal__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
}
.modal__note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  -webkit-user-select: text;
  user-select: text;
}
.modal__note--error {
  color: var(--wine);
  font-weight: 650;
}
.modal__submit {
  min-width: 200px;
  gap: 18px;
}
/* Обращение отправлено: зелёное окно с птичкой, как подтверждение первого соединения в Control Connect */
.contact-success {
  position: relative;
  width: min(100%, 560px);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 28px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #00c967, #009f53);
  box-shadow: 0 30px 80px rgba(34, 37, 44, 0.3);
  text-align: center;
  animation: contact-success-arrive 650ms cubic-bezier(0.2, 0.9, 0.25, 1);
}
.contact-success__mark {
  display: grid;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  color: #00c967;
  background: var(--white);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.1);
  place-items: center;
  animation: contact-success-check 700ms cubic-bezier(0.2, 0.9, 0.25, 1.25);
}
.contact-success__mark svg {
  width: 70px;
  height: 70px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-success__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -1px;
}
.contact-success__done {
  position: relative;
  z-index: 1;
  min-width: 200px;
  justify-content: center;
  animation: contact-success-link-arrive 650ms 350ms both;
}
.contact-success__sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.contact-success__sparkles i {
  position: absolute;
  width: 7px;
  height: 22px;
  background: rgba(255, 255, 255, 0.72);
  animation: contact-success-spark 3.8s ease-in-out infinite;
}
.contact-success__sparkles i:nth-child(1) {
  top: 14%;
  left: 14%;
  transform: rotate(24deg);
}
.contact-success__sparkles i:nth-child(2) {
  top: 24%;
  right: 13%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  animation-delay: -1.2s;
}
.contact-success__sparkles i:nth-child(3) {
  bottom: 17%;
  left: 20%;
  height: 12px;
  transform: rotate(70deg);
  animation-delay: -2.4s;
}
.contact-success__sparkles i:nth-child(4) {
  right: 22%;
  bottom: 12%;
  transform: rotate(-35deg);
  animation-delay: -0.7s;
}
.contact-success__sparkles i:nth-child(5) {
  top: 48%;
  left: 7%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation-delay: -1.8s;
}
.contact-success__sparkles i:nth-child(6) {
  top: 8%;
  right: 36%;
  height: 14px;
  transform: rotate(60deg);
  animation-delay: -3s;
}
@keyframes contact-success-arrive {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
@keyframes contact-success-check {
  from {
    opacity: 0;
    transform: scale(0.45) rotate(-15deg);
  }
}
@keyframes contact-success-link-arrive {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes contact-success-spark {
  0%,
  100% {
    opacity: 0.18;
    translate: 0 0;
  }
  50% {
    opacity: 0.8;
    translate: 0 -12px;
  }
}
/* Планшет: макет v13 нарисован под десктоп, адаптив собран по образцу прежней посадочной */
@media (max-width: 1080px) {
  .header__bar {
    gap: 12px;
  }
  .header__brand {
    width: auto;
  }
  .header__actions {
    margin-left: auto;
  }
  .nav {
    position: absolute;
    z-index: 20;
    top: 84px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0 16px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--page);
  }
  .nav--open {
    display: flex;
  }
  .nav__link {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
  }
  .header__toggle {
    display: grid;
    place-items: center;
  }
  .hero__copy {
    min-height: 0;
    padding: 64px 0 56px;
  }
  .hero__title {
    width: auto;
    font-size: 76px;
    letter-spacing: -3.5px;
  }
  .hero__description {
    width: auto;
    margin-top: 36px;
    font-size: 18px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    margin: 32px 0;
  }
  .metric {
    min-height: 190px;
  }
  .metrics--even {
    grid-template-columns: 1fr 1fr;
  }
  .metric--trial {
    grid-row: auto;
    grid-column: 1 / -1;
  }
  .metric--trial .metric__value {
    margin-top: 18px;
    font-size: 96px;
    letter-spacing: -5px;
  }
  .metric--trial .metric__label {
    position: static;
    margin-top: 20px;
  }
  .metric--cloud {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    align-items: start;
  }
  .metric--cloud .metric__label {
    margin-top: 16px;
  }
  .pain {
    padding-top: 48px;
  }
  .pain__head {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .pain__list {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
  }
  .pain-card {
    min-height: 240px;
  }
  .pain__solution {
    margin-top: 48px;
    padding: 34px 36px;
  }
  .pain__solution-title {
    font-size: 30px;
    letter-spacing: -1.2px;
  }
  .role-journey {
    padding: 128px 0 64px;
  }
  .role-journey__title {
    font-size: 56px;
    letter-spacing: -2.5px;
  }
  /* Линия остановок разворачивается вертикально: пять карточек в столбик */
  .role-journey__map {
    height: auto;
  }
  .role-journey__line {
    top: 12px;
    right: auto;
    bottom: 0;
    /* 16px – поле .shell, 11,5px – половина маркера: линия идёт по их центрам */
    left: 26px;
    width: 3px;
    height: auto;
  }
  .role-journey__line::after {
    top: 0;
    left: 0;
    width: 3px;
    height: 120px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 68%, rgba(255, 255, 255, 0));
    animation-name: role-journey-pulse-down;
  }
  .role-journey__line::before {
    position: absolute;
    bottom: -9px;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 9px solid var(--wine);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    transform: translateX(-50%);
    content: "";
  }
  .role-journey__stops {
    display: grid;
    height: auto;
    gap: 30px;
  }
  .journey-stop {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    padding-left: 46px;
  }
  .journey-stop--result {
    left: auto;
    width: auto;
  }
  .journey-stop__node {
    top: 2px;
  }
  .journey-stop__content {
    position: static;
    width: auto;
  }
  .journey-stop--result .journey-stop__content {
    width: auto;
  }
  .journey-stop--above .journey-stop__content {
    bottom: auto;
  }
  .journey-stop--below .journey-stop__content {
    top: auto;
  }
  .journey-stop--above:hover .journey-stop__content,
  .journey-stop--below:hover .journey-stop__content {
    transform: none;
  }
  .mobile-showcase {
    padding: 64px 0;
  }
  .mobile-showcase__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .mobile-showcase__title {
    max-width: none;
    font-size: 44px;
    letter-spacing: -1.8px;
  }
  .mobile-showcase__text {
    max-width: none;
  }
  .mobile-showcase__devices {
    display: none;
  }
  .mobile-carousel {
    display: block;
  }
  .modules {
    padding: 72px 0;
  }
  .modules__head {
    margin-bottom: 40px;
  }
  .modules__lead {
    margin-top: 22px;
  }
  .modules__grid {
    grid-template-columns: 1fr;
  }
  .module {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
  }
  .module--docflow {
    grid-column: auto;
    min-height: 300px;
  }
  .module--admission,
  .module--economy,
  .module--education {
    grid-column: auto;
  }
  .module__body {
    position: static;
    align-self: stretch;
    margin-top: 26px;
  }
  .module__title {
    font-size: 32px;
  }
  .module__text {
    max-width: none;
  }
  .module-screen {
    grid-column: auto;
    height: auto;
    min-height: 240px;
  }
  .module-screen__phrase {
    width: auto;
    font-size: 40px;
    letter-spacing: -1.8px;
  }
  .section-title {
    font-size: 56px;
    letter-spacing: -2.5px;
  }
  .generator__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 64px;
  }
  .generator__copy {
    padding: 64px 0 40px;
  }
  .generator__title {
    font-size: 48px;
    letter-spacing: -2px;
  }
  .generator__screen {
    width: 100%;
    height: auto;
  }
  .pricing {
    padding: 72px 0;
  }
  .pricing__tiers {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .tier {
    padding: 26px 24px;
  }
  .tier__price {
    position: static;
    margin-top: 18px;
  }
  .pricing__custom {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 24px;
  }
  .pricing-modules {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }
  .pricing-modules__head {
    padding: 32px 24px;
  }
  .pricing-modules__title {
    font-size: 36px;
    letter-spacing: -1.6px;
  }
  .pricing-modules__list {
    border-top: 1px solid #d6b8c0;
    border-left: 0;
  }
  .pricing-module {
    padding: 0 24px;
  }
  /* Полоска демо: заголовок встаёт над входами, места на две колонки уже нет */
  .demo-strip__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .demo-role:first-child {
    border-left: none;
  }
  .start {
    padding: 72px 0;
  }
  .start__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .start__title {
    font-size: 52px;
    letter-spacing: -2.5px;
  }
  .steps {
    min-height: 440px;
  }
  .step {
    padding: 34px;
  }
  .step__title {
    width: auto;
    font-size: 38px;
    letter-spacing: -1.6px;
  }
  .step__text {
    width: auto;
  }
  .step__visual {
    font-size: 92px;
    letter-spacing: -6px;
  }
  .faq {
    padding: 72px 0;
  }
  .faq__head {
    margin-bottom: 40px;
  }
  .faq__item {
    grid-template-columns: 40px 1fr;
    min-height: 0;
  }
  .faq__question {
    width: auto;
    font-size: 24px;
  }
  .faq__answer {
    grid-column: 2;
    width: auto;
    margin-top: 14px;
  }
  .contact {
    padding: 72px 0;
  }
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact__title {
    font-size: 56px;
    letter-spacing: -2.5px;
  }
  .footer__main {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  /* Ссылки продукта и условий дублируют меню, логотип есть в шапке: на узком экране остаются документы */
  .footer__brand,
  .footer__column--product,
  .footer__column--terms,
  .footer__tagline {
    display: none;
  }
  .footer__column {
    padding: 32px 24px;
  }
  .footer__bottom {
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 24px 0;
  }
  .module-page__facts {
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 34px;
  }
  .abilities {
    padding: 72px 0;
  }
  .abilities__head {
    margin-bottom: 40px;
  }
  .ability {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
    min-height: 0;
    padding: 22px 26px;
  }
  .ability__state {
    text-align: left;
  }
  .shot {
    padding: 72px 0;
  }
  .paper {
    padding: 40px 36px;
  }
  .paper__subject {
    width: auto;
  }
  .paper__list {
    padding-left: 60px;
  }
  .shot__head {
    margin-bottom: 32px;
  }
}
/* Телефон */
@media (max-width: 720px) {
  .shell,
  .header__bar {
    width: calc(100% - 28px);
  }
  .header,
  .header__bar {
    height: 64px;
  }
  .header__logo {
    width: 132px;
  }
  .nav {
    top: 64px;
  }
  /* «Вход» остаётся в шапке тёмной кнопкой (решение владельца 02.09.2026) */
  .header__login {
    height: 40px;
    padding: 0 14px;
    color: var(--white);
    border-color: var(--dark);
    background: var(--dark);
    font-size: 13px;
  }
  .header__start {
    display: none;
  }
  .header__toggle {
    width: 40px;
    height: 40px;
  }
  .hero__copy {
    padding: 40px 0 36px;
  }
  .hero__title {
    font-size: 44px;
    letter-spacing: -2px;
  }
  .hero__title-accent::after {
    bottom: 3px;
    height: 10px;
  }
  .hero__description {
    margin-top: 26px;
    font-size: 16px;
  }
  .metrics {
    grid-template-columns: 1fr;
    margin: 24px 0;
  }
  .metric {
    min-height: 0;
    padding: 22px 20px;
  }
  .metrics--even {
    grid-template-columns: 1fr;
  }
  .metrics--even .metric {
    min-height: 0;
  }
  .metric--trial {
    padding: 26px 20px;
  }
  .metric__value {
    font-size: 36px;
    letter-spacing: -1.5px;
  }
  .metric--trial .metric__value {
    font-size: 72px;
    letter-spacing: -4px;
  }
  .metric--trial .metric__label {
    font-size: 16px;
  }
  .pain__list {
    grid-template-columns: 1fr;
  }
  .pain-card {
    min-height: 0;
    padding: 22px 20px 24px;
  }
  .pain-card__index {
    font-size: 44px;
  }
  .pain-card__title {
    margin-top: 20px;
    font-size: 19px;
  }
  .pain__solution {
    grid-template-columns: 1fr;
    margin-top: 36px;
    padding: 28px 22px;
  }
  .pain__solution-title {
    font-size: 24px;
    letter-spacing: -0.8px;
  }
  .pain__solution-flow {
    grid-column: 1;
    grid-row: auto;
    width: 200px;
    justify-self: center;
  }
  .role-journey {
    padding: 104px 0 48px;
  }
  .role-journey__title {
    font-size: 38px;
    letter-spacing: -1.6px;
  }
  .role-journey__line {
    left: 24px;
  }
  .journey-stop {
    padding-left: 40px;
  }
  .journey-stop__title {
    font-size: 22px;
  }
  .section-title {
    font-size: 38px;
    letter-spacing: -1.6px;
  }
  .section-lead {
    font-size: 16px;
  }
  .mobile-showcase {
    padding: 48px 0;
  }
  .mobile-showcase__title {
    font-size: 34px;
    letter-spacing: -1.2px;
  }
  .mobile-device--carousel {
    width: 216px;
  }
  .mobile-device__slide {
    height: 428px;
  }
  .mobile-carousel__arrow-icon {
    width: 32px;
    height: 32px;
  }
  .modules {
    padding: 56px 0;
  }
  .module {
    min-height: 0;
    padding: 24px;
  }
  .module--docflow {
    min-height: 0;
  }
  .module__title {
    font-size: 26px;
  }
  .module-screen {
    min-height: 200px;
    padding: 24px;
  }
  .module-screen__phrase {
    font-size: 30px;
    letter-spacing: -1.2px;
  }
  .generator__copy {
    padding: 44px 0 32px;
  }
  .generator__title {
    font-size: 34px;
    letter-spacing: -1.4px;
  }
  .generator__text {
    font-size: 16px;
  }
  .pricing {
    padding: 56px 0;
  }
  .tier {
    padding: 22px 20px;
  }
  .tier__price {
    font-size: 40px;
    letter-spacing: -1.8px;
  }
  .pricing__custom {
    padding: 20px;
  }
  .pricing__custom-question {
    font-size: 18px;
  }
  .pricing-modules__head {
    padding: 26px 20px;
  }
  .pricing-modules__title {
    font-size: 30px;
    letter-spacing: -1.2px;
  }
  .pricing-module {
    grid-template-columns: 46px 1fr;
    gap: 0 14px;
    min-height: 0;
    padding: 18px 20px;
  }
  .pricing-module__price {
    grid-column: 2;
    margin-top: 8px;
    font-size: 19px;
  }
  /* На телефоне входы идут строками: три колонки не читаются */
  .demo-strip {
    padding: 28px 0;
  }
  .demo-strip__title {
    font-size: 21px;
    letter-spacing: -0.5px;
  }
  .demo-strip__roles {
    grid-template-columns: 1fr;
  }
  /* Строками: разделяет верхняя черта, отступ до краёв плашки остаётся */
  .demo-role {
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-left: none;
  }
  .demo-role:first-child {
    border-top: none;
  }
  .start {
    padding: 56px 0;
  }
  .start__title {
    font-size: 38px;
    letter-spacing: -1.6px;
  }
  .start__trial {
    grid-template-columns: 92px 1fr;
  }
  .start__trial-value {
    font-size: 48px;
  }
  .start__trial-text {
    padding: 12px 16px;
  }
  .steps {
    min-height: 380px;
  }
  .step {
    padding: 24px;
  }
  .step__title {
    font-size: 30px;
    letter-spacing: -1.2px;
  }
  .step__text {
    font-size: 15px;
  }
  .step__visual {
    right: 16px;
    font-size: 64px;
    letter-spacing: -4px;
  }
  .faq {
    padding: 56px 0;
  }
  .faq__item {
    grid-template-columns: 28px 1fr;
    padding: 22px 0;
  }
  .faq__question {
    font-size: 21px;
  }
  .contact {
    padding: 56px 0;
  }
  .contact__title {
    font-size: 38px;
    letter-spacing: -1.6px;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .field--wide {
    grid-column: auto;
  }
  .footer__column {
    padding: 26px 20px;
  }
  .footer__bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .modal {
    align-items: start;
    overflow-y: auto;
    padding: 14px;
  }
  .modal__card {
    padding: 26px 18px;
  }
  .modal__title {
    font-size: 30px;
    letter-spacing: -1.2px;
  }
  .modal__grid {
    grid-template-columns: 1fr;
  }
  .modal__footer {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }
  .modal__submit {
    width: 100%;
  }
  .crumbs {
    margin-bottom: 22px;
    font-size: 12px;
  }
  .module-page__facts {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .module-page__action {
    width: 100%;
  }
  .module-page__price {
    font-size: 22px;
  }
  .abilities {
    padding: 56px 0;
  }
  .ability {
    padding: 18px 20px;
  }
  .ability__name {
    font-size: 19px;
  }
  .shot {
    padding: 56px 0;
  }
  .paper {
    padding: 26px 20px;
    font-size: 14px;
  }
  .paper__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .paper__requisites {
    text-align: left;
  }
  .paper__text,
  .paper__item {
    text-align: left;
    text-indent: 22px;
  }
  .paper__list {
    padding-left: 34px;
  }
  .paper__sign {
    flex-direction: column;
    gap: 10px;
  }
}
/* Без анимаций виден первый шаг: остальные лежат стопкой поверх него */
@media (prefers-reduced-motion: reduce) {
  .role-journey__line::after,
  .step,
  .badge--pulse,
  .contact-success,
  .contact-success__mark,
  .contact-success__done,
  .contact-success__sparkles i,
  .pain-flow__window,
  .pain-flow__nucleus,
  .pain-flow__ring {
    animation: none;
  }
  /* Без движения окна стоят пристыкованными, линии к ядру уже проведены */
  .pain-flow__link {
    animation: none;
    stroke-dashoffset: 0;
  }
  .step--first {
    opacity: 1;
  }
}
