body {
  display: block;
  height: 100vh;
  overflow: hidden;
}

body {
  margin: 0;
  overflow: hidden;
  background: #061225;
  color: #fff;
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

.deck {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.18), transparent 35%),
    linear-gradient(180deg, #06111f 0%, #08172a 100%);
}

.slide {
  position: relative;
  width: calc(100vw / var(--overview-scale, 1)) !important;
  min-height: calc(100vh / var(--overview-scale, 1)) !important;
  height: calc(100vh / var(--overview-scale, 1)) !important;
  margin: 0 !important;
  display: grid;
  grid-template-columns:
    var(--overview-content-column, minmax(0, 1fr))
    var(--overview-visual-column, minmax(0, 1fr));
  column-gap: var(--overview-column-gap, 56px);
  align-items: start;
  align-content: start;
  padding:
    var(--overview-top-padding, 170px)
    calc(var(--overview-side-padding, 72px) + var(--overview-nav-reserve, 132px))
    48px
    var(--overview-side-padding, 72px);
  transform: scale(var(--overview-scale, 1));
  transform-origin: top left;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  box-sizing: border-box;
  background: radial-gradient(circle at 72% 20%, #0e376a 0, #07152d 45%, #040b18 100%);
}

.s1 {
  position: relative;
  background:
    linear-gradient(90deg, rgba(6, 18, 37, 0.8) 0%, rgba(6, 18, 37, 0.72) 28%, rgba(6, 18, 37, 0.6) 48%, rgba(6, 18, 37, 0.72) 100%),
    radial-gradient(circle at 35% 18%, rgba(14, 55, 106, 0.18) 0, rgba(7, 21, 45, 0.6) 52%, rgba(4, 11, 24, 0.92) 100%);
}

.s1::after {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: min(52%, 1040px);
  background:
    linear-gradient(90deg, rgba(6, 18, 37, 0) 0%, rgba(6, 18, 37, 0.05) 20%, rgba(6, 18, 37, 0.22) 62%, rgba(6, 18, 37, 0.46) 100%),
    url('./обложка_2.png') right top / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.slide + .slide {
  margin-top: 0 !important;
}

.logo {
  position: absolute;
  left: 56px;
  top: 44px;
}

.logo img {
  width: 180px;
}

.num {
  position: absolute;
  right: 58px;
  top: 48px;
  color: #a9c4e8;
  font-weight: 700;
  font-size: 22px;
}

.content {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  max-width: none;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  z-index: 1;
}

.content h1 {
  font-size: clamp(52px, 4vw, 78px);
  line-height: 1.05;
  margin: 0 0 24px;
  font-weight: 800;
}

.content p {
  font-size: clamp(21px, 1.8vw, 24px);
  line-height: 1.35;
  color: #cddbf1;
  margin: 0 0 30px;
}

.content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.content li {
  font-size: clamp(20px, 1.7vw, 22px);
  line-height: 1.25;
  color: #eaf2ff;
}

.content li:before {
  content: '✓';
  color: #22d3ee;
  margin-right: 14px;
}

.visual {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: calc(100vh - var(--overview-top-padding, 170px) - 48px) !important;
  min-height: 0;
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  display: flex;
  align-items: stretch;
  z-index: 1;
}

.screen {
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid #2d71d6;
  border-radius: 20px;
  background: #071a35;
  box-shadow: 0 20px 70px #0008;
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
}

.visual > * {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.visual > img {
  display: block;
  width: 100%;
  height: 100%;
}

.stacked-visual {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  height: 100%;
  width: 100%;
  min-height: 0;
}

.stacked-visual__item {
  overflow: hidden;
  border: 1px solid #2d71d6;
  border-radius: 20px;
  background: #071a35;
  box-shadow: 0 20px 70px #0008;
  height: 100%;
  min-height: 0;
}

.stacked-visual__item--clickable {
  display: block;
  width: 100%;
  padding: 0;
  appearance: none;
  cursor: pointer;
  text-align: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.stacked-visual__item--clickable:hover {
  transform: translateY(-4px);
  border-color: #22d3ee;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.stacked-visual__item--clickable:focus-visible {
  outline: 2px solid #22d3ee;
  outline-offset: 3px;
}

.stacked-visual__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.task-gallery {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
}

.task-gallery__item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: min(70vh, 740px);
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.task-gallery__item img {
  display: block;
  max-width: 100%;
  max-height: min(68vh, 700px);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: top center;
  border-radius: 0;
  box-shadow: none;
}

.slide-next-btn {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 35;
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34, 211, 238, 0.34);
  border-radius: 999px;
  background: rgba(8, 22, 43, 0.88);
  color: #eaf2ff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
  cursor: pointer;
  transform: translateX(-50%);
  animation: slideNextPulse 1.8s ease-in-out infinite;
}

.slide-next-btn:hover {
  background: rgba(10, 33, 67, 0.98);
  border-color: #22d3ee;
}

.slide-next-btn i {
  font-size: 1.7rem;
  animation: slideNextFloat 1.8s ease-in-out infinite;
}

.slide-dots {
  position: fixed;
  right: 28px;
  top: 50%;
  z-index: 34;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(-50%);
  padding: 16px 12px;
  border-radius: 999px;
  background: rgba(4, 11, 24, 0.28);
  backdrop-filter: blur(8px);
}

.slide-dots__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(169, 196, 232, 0.36);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.slide-dots__dot:hover {
  transform: scale(1.25);
  background: rgba(34, 211, 238, 0.72);
}

.slide-dots__dot--active {
  background: #22d3ee;
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.14);
  transform: scale(1.35);
}

@keyframes slideNextPulse {
  0%,
  100% {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
    transform: translateX(-50%) translateY(0);
  }

  50% {
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.46);
    transform: translateX(-50%) translateY(-4px);
  }
}

@keyframes slideNextFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

.advantages {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  width: min(800px, 100%);
  max-width: none;
}

.advantage {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 116px;
  padding: 24px 26px;
  border-radius: 22px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: linear-gradient(135deg, rgba(8, 22, 43, 0.92), rgba(10, 33, 67, 0.82));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  font-size: 28px;
  line-height: 1.08;
  font-weight: 500;
  color: #cddbf1;
}

.advantage__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  color: #05111f;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(34, 211, 238, 0.22);
}

.advantage__text {
  display: block;
}

.footer {
  position: absolute;
  left: 72px;
  right: 72px;
  bottom: 48px;
  border: 1px solid #1c5cbf;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  color: #22d3ee;
  font-weight: 700;
  font-size: 23px;
  background: #082146cc;
}

.diagram.split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px minmax(0, 1fr);
  align-items: center;
  column-gap: 40px;
  height: 100%;
}

.diagram.split::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.95), rgba(34, 211, 238, 0));
}

.box {
  width: 100%;
  padding: 30px;
  border-radius: 20px;
  background: #0b2449;
  border: 2px solid #3b82f6;
  font-size: 28px;
  display: flex;
  flex-direction: column;
  justify-self: stretch;
  position: relative;
}

.box--s3 {
  height: 60%;
}

.box--left {
  justify-self: end;
}

.box--right {
  justify-self: start;
}

.box--left::after,
.box--right::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.95));
}

.box--left::after {
  right: -40px;
}

.box--right::before {
  left: -40px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.95), rgba(34, 211, 238, 0));
}

.box__title {
  display: block;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 800;
  color: #f8fbff;
}

.box__subtitle {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.35;
  color: #cddbf1;
}

.box__list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
  flex: 1;
  align-content: start;
}

.box__list li {
  font-size: 24px;
  line-height: 1.2;
  color: #eaf2ff;
}

.box__list li:before {
  content: '•';
  color: #22d3ee;
  margin-right: 10px;
}

.box span {
  display: block;
  margin-top: 14px;
  font-size: 24px;
  color: #cddbf1;
}

.green {
  border-color: #34d399;
}

.box--plm {
  border-color: #3b82f6;
}

.box--pdm {
  border-color: #34d399;
}

.hub {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 3px solid #22d3ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  background: #08224a;
}

.hub {
  position: relative;
  z-index: 1;
  flex-direction: column;
  gap: 10px;
  justify-self: center;
}

.hub__logo {
  display: block;
  width: 220px;
  height: auto;
}

.box__list li:before {
  content: '•';
  color: #22d3ee;
  margin-right: 10px;
}

.diagram.radial {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px minmax(0, 1fr);
  grid-template-rows: auto 260px auto;
  align-items: center;
  justify-items: center;
  align-content: center;
  gap: 28px 36px;
  height: 100%;
}

.diagram.radial::before,
.diagram.radial::after {
  content: '';
  position: absolute;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.95), rgba(34, 211, 238, 0));
}

.diagram.radial::before {
  left: 10%;
  right: 10%;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
}

.diagram.radial::after {
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.95), rgba(34, 211, 238, 0));
}

.radial__node,
.radial__hub {
  z-index: 1;
}

.radial__hub {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  align-self: center;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 3px solid #22d3ee;
  background: #08224a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.36), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.radial__logo {
  display: block;
  width: 180px;
  height: auto;
}

.radial__node {
  width: min(100%, 340px);
  padding: 24px 26px;
  border-radius: 20px;
  border: 2px solid #3b82f6;
  background: linear-gradient(135deg, rgba(11, 36, 73, 0.96), rgba(8, 33, 70, 0.9));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.radial__title {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  color: #f8fbff;
}

.radial__meta {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.35;
  color: #cddbf1;
}

.radial__node--top {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.radial__node--right {
  grid-column: 3;
  grid-row: 2;
  justify-self: start;
}

.radial__node--bottom {
  grid-column: 2;
  grid-row: 3;
  align-self: start;
}

.radial__node--left {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
}

.radial__node--top::after,
.radial__node--bottom::before,
.radial__node--left::after,
.radial__node--right::before {
  content: '';
  position: absolute;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.95), rgba(34, 211, 238, 0));
}

.radial__node--top,
.radial__node--bottom,
.radial__node--left,
.radial__node--right {
  position: relative;
}

.radial__node--top::after {
  left: 50%;
  bottom: -34px;
  width: 2px;
  height: 34px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.95), rgba(34, 211, 238, 0));
}

.radial__node--bottom::before {
  left: 50%;
  top: -34px;
  width: 2px;
  height: 34px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.95));
}

.radial__node--left::after {
  right: -34px;
  top: 50%;
  width: 34px;
  height: 2px;
  transform: translateY(-50%);
}

.radial__node--right::before {
  left: -34px;
  top: 50%;
  width: 34px;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.95), rgba(34, 211, 238, 0));
}

.road {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
}

.road__column {
  padding: 26px;
  border: 1px solid rgba(34, 211, 238, 0.48);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(9, 42, 78, 0.96), rgba(7, 25, 51, 0.94));
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.34);
}

.road__column--progress {
  border-color: rgba(148, 163, 184, 0.42);
  background: linear-gradient(145deg, rgba(42, 49, 61, 0.96), rgba(20, 25, 33, 0.95));
}

.road__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(143, 196, 255, 0.16);
}

.road__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(34, 211, 238, 0.14);
  color: #22d3ee;
  font-size: 23px;
}

.road__column--progress .road__icon {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

.road__header strong,
.road__header small {
  display: block;
}

.road__header strong {
  color: #f8fbff;
  font-size: 21px;
}

.road__header small {
  margin-top: 4px;
  color: #8facd0;
  font-size: 13px;
}

.road__header b {
  min-width: 38px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7b7;
  font-size: 17px;
  text-align: center;
}

.road__column--progress .road__header b {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

.road__modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.road__modules span {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(143, 196, 255, 0.16);
  border-radius: 12px;
  background: rgba(15, 55, 98, 0.52);
  color: #eaf2ff;
  font-size: 14px;
  line-height: 1.18;
}

.road__modules span i {
  flex: 0 0 auto;
  color: #34d399;
}

.road__column--progress .road__modules span {
  border-color: rgba(203, 213, 225, 0.12);
  background: rgba(71, 79, 91, 0.3);
  color: #d1d5db;
}

.road__column--progress .road__modules span i {
  color: #9ca3af;
}

.content h1 {
  color: #8fc4ff !important;
  font-size: clamp(52px, 4vw, 78px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 18px !important;
  font-weight: 800 !important;
}

.s1 .content {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  max-width: none;
}

.s1 .content h1 {
  font-size: 180px !important;
  line-height: 0.92 !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 40px !important;
}

.s1 .content,
.s16 .content {
  width: 100%;
}

.s1 .footer,
.s18 .footer {
  display: none;
}

.s2 .content {
  width: 100%;
}

.s2 .copy {
  width: min(760px, 100%);
}

.s2 .visual {
  width: 100%;
  height: calc(100vh - var(--overview-top-padding, 170px) - 48px);
}

.s2 .issues-wrap {
  height: 100%;
  padding: 34px;
  border: 2px solid rgba(248, 113, 113, 0.72);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(69, 10, 10, 0.92), rgba(90, 35, 7, 0.86) 48%, rgba(12, 18, 34, 0.94));
  box-shadow: 0 24px 76px rgba(127, 29, 29, 0.46), inset 0 0 0 1px rgba(251, 191, 36, 0.18);
}

.s2 .issues-title {
  font-size: 58px;
  line-height: 1.05;
  margin: 0 0 28px;
  font-weight: 800;
  color: #fff;
}

.s2 .issues-title:before {
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-right: 16px;
  border-radius: 50%;
  background: #f97316;
  color: #1f1304;
  font-size: 36px;
  font-weight: 900;
  vertical-align: 8px;
  box-shadow: 0 10px 26px rgba(249, 115, 22, 0.35);
}

.s2 .issues {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.s2 .issue {
  padding: 16px 18px;
  border-left: 5px solid #f97316;
  border-radius: 12px;
  background: rgba(127, 29, 29, 0.34);
  font-size: 24px;
  line-height: 1.25;
  color: #fff7ed;
}

.s2 .issue:before {
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 14px;
  border-radius: 50%;
  background: #facc15;
  color: #2b1700;
  font-size: 18px;
  font-weight: 900;
}

.s16 .visual {
  width: 100%;
  height: calc(100vh - var(--overview-top-padding, 170px) - 48px);
}

.s16 .content {
  width: 100%;
}

.s16 .footer {
  display: block;
}

.s18 .visual {
  width: 100%;
  height: calc(100vh - var(--overview-top-padding, 170px) - 48px);
}

.s18 .content {
  width: clamp(320px, calc(100vw - 1020px), 720px);
  max-width: none;
}

.s18 .footer {
  display: none;
}

.s18 .contacts {
  position: absolute;
  left: var(--overview-side-padding, 72px);
  right: auto;
  bottom: 132px;
  width: clamp(320px, calc(100vw - 1020px), 720px);
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  z-index: 2;
}

.s18 .contacts__title {
  margin-bottom: 4px;
  color: #22d3ee;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.s18 .contacts__item {
  display: block;
  padding: 22px 24px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(8, 22, 43, 0.94), rgba(10, 33, 67, 0.84));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.s18 .contacts__item:hover {
  transform: translateY(-2px);
  border-color: #22d3ee;
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.32);
}

.s18 .contacts__label {
  display: block;
  color: #a9c4e8;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 8px;
}

.s18 .contacts__value {
  display: block;
  color: #f8fbff;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  word-break: break-word;
}

.s1 .advantage {
  align-items: flex-start;
  min-height: 116px;
  padding: 22px;
  border-color: rgba(34, 211, 238, 0.42);
  background: linear-gradient(135deg, rgba(7, 26, 53, 0.94), rgba(8, 48, 78, 0.82));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.s1 .advantage__icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #f0f0f0, #0058e6);
  font-size: 30px;
  color: #04111f;
}

.s1 .advantage__icon i {
  font-size: inherit;
  line-height: 1;
}

.s1 .advantage__text {
  padding-top: 4px;
}

@media (max-width: 1920px) {
  .slide {
    transform-origin: top left;
  }
}

@media (max-width: 1024px) {
  .slide-dots {
    right: 12px;
    gap: 10px;
    padding: 12px 10px;
  }

  .slide-dots__dot {
    width: 10px;
    height: 10px;
  }
}

.s1 {
  --overview-content-column: minmax(0, 1.5fr);
  --overview-visual-column: minmax(0, 0.5fr);
  --overview-column-gap: 50px;
  --overview-nav-reserve: 50px;
}

.s2 {
  --overview-content-column: minmax(0, 1.2fr);
  --overview-visual-column: minmax(0, 1fr);
  --overview-column-gap: 50px;
  --overview-nav-reserve: 50px;
}

.s3 {
  --overview-content-column: minmax(0, 0.8fr);
  --overview-visual-column: minmax(0, 1.2fr);
  --overview-column-gap: 50px;
  --overview-nav-reserve: 50px;
}

.s4 {
  --overview-content-column: minmax(0, 0.85fr);
  --overview-visual-column: minmax(0, 1.15fr);
  --overview-column-gap: 50px;
  --overview-nav-reserve: 50px;
}

.s4 .visual {
  align-self: end;
  align-items: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 10px;
}

.s4 .diagram.radial {
  align-self: end;
  height: 86%;
  margin-top: auto;
  transform: translateY(38px);
}

.s5,
.s6,
.s7,
.s8,
.s9,
.s10,
.s11,
.s12,
.s13,
.s14,
.s15,
.s16,
.s17,
.s18 {
  --overview-nav-reserve: 148px;
}

.s5 {
  --overview-content-column: minmax(0, 1fr);
  --overview-visual-column: minmax(0, 1fr);
}

.s6,
.s7,
.s8,
.s9,
.s10 {
  --overview-content-column: minmax(0, 1fr);
  --overview-visual-column: minmax(0, 1fr);
}

.s11,
.s12 {
  --overview-content-column: minmax(0, 1fr);
  --overview-visual-column: minmax(0, 1fr);
}
.s14,
.s13 {
  --overview-content-column: minmax(0, 0.82fr);
  --overview-visual-column: minmax(0, 1.18fr);
}


.s15 {
  --overview-content-column: minmax(0, 0.86fr);
  --overview-visual-column: minmax(0, 1.14fr);
}

.s16,
.s17 {
  --overview-content-column: minmax(0, 0.9fr);
  --overview-visual-column: minmax(0, 1.1fr);
}

.s17 {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  row-gap: 0;
}

.s17 .content {
  grid-column: 1;
  grid-row: 1;
}

.s17 .visual {
  grid-column: 1;
  grid-row: 2;
  height: 100% !important;
  align-items: stretch;
}

.s17 .road {
  width: 100%;
  height: 100% !important;
  align-self: stretch;
  align-items: stretch;
}

.s17 .road__column {
  height: 100%;
  box-sizing: border-box;
  min-height: 560px;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
}

.s17 .road__header {
  padding-bottom: 28px;
}

.s17 .road__modules {
  flex: 1 1 auto;
  align-content: start;
  gap: 14px;
}

.s17 .road__modules span {
  min-height: 64px;
}

.s18 {
  --overview-content-column: minmax(0, 0.8fr);
  --overview-visual-column: minmax(0, 1.2fr);
}

/* Keep every slide on the same presentation grid and reserve room for its footer. */
.slide {
  --overview-top-padding: 150px;
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  align-content: stretch;
  padding-bottom: 140px;
  margin-bottom: calc(100vh - (100vh / var(--overview-scale, 1))) !important;
}

.content {
  align-self: start;
}

.visual,
.s2 .visual,
.s16 .visual,
.s18 .visual {
  height: auto !important;
}

.content h1 {
  max-width: 900px;
  text-wrap: balance;
}

.content p,
.content li,
.advantage__text,
.issue,
.contacts__value {
  overflow-wrap: anywhere;
}

.footer {
  left: var(--overview-side-padding, 72px);
  right: calc(var(--overview-side-padding, 72px) + var(--overview-nav-reserve, 132px));
  bottom: 38px;
  padding: 16px 20px;
  font-size: 20px;
}

/* The cover remains the hero background; the fade keeps copy readable. */
.s1 {
  --overview-content-column: minmax(0, 0.98fr);
  --overview-visual-column: minmax(0, 1.02fr);
  padding-bottom: 54px;
  background: #061225;
}

.s1::after {
  inset: 0;
  width: 100%;
  background:
    linear-gradient(90deg, rgba(6, 18, 37, 0.98) 0%, rgba(6, 18, 37, 0.82) 38%, rgba(6, 18, 37, 0.28) 72%, rgba(6, 18, 37, 0.12) 100%),
    url('./обложка_2.png') center 58% / cover no-repeat;
  -webkit-mask-image: none;
  mask-image: none;
}

.s1 .content {
  max-width: 860px;
}

.s1 .content p {
  max-width: 820px;
  margin-bottom: 24px;
}

.s1 .advantages {
  gap: 20px;
  margin-top: 34px;
}

.s1 .advantage {
  min-height: 104px;
  padding: 20px 22px;
  font-size: 25px;
  backdrop-filter: blur(12px);
}

.s1 .advantage__icon {
  flex-basis: 56px;
  width: 56px;
  height: 56px;
  font-size: 26px;
}

.s4 .diagram.radial {
  height: 100%;
  transform: none;
}

.road {
  align-self: center;
  height: auto !important;
  margin-top: 0;
}

.s2 .visual,
.s14 .visual,
.s16 .visual {
  align-items: center;
}

.s2 .issues-wrap {
  height: auto;
}

.s18 .screen {
  overflow: hidden;
  padding: 72px;
  box-sizing: border-box;
}

.s18 .screen img {
  object-fit: cover;
  border-radius: 0;
}

@media (max-width: 1280px) {
  .deck {
    scroll-snap-type: y proximity;
  }

  .slide {
    --overview-scale: 1;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    row-gap: 32px;
    width: 100vw !important;
    min-height: 100svh !important;
    height: auto !important;
    padding: 118px 32px 96px;
    margin-bottom: 0 !important;
    transform: none;
    overflow: hidden;
  }

  .logo {
    left: 32px;
    top: 32px;
  }

  .logo img {
    width: 150px;
  }

  .num {
    right: 32px;
    top: 34px;
    font-size: 18px;
  }

  .content,
  .visual {
    grid-column: 1;
    grid-row: auto;
    width: 100% !important;
    min-width: 0;
  }

  .visual {
    min-height: 0;
  }

  .stacked-visual {
    grid-template-rows: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
  }

  .stacked-visual__item {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .s1 {
    grid-template-rows: auto;
    min-height: 100svh !important;
    padding-bottom: 88px;
  }

  .s1::after {
    inset: 0;
    width: 100%;
    background:
      linear-gradient(90deg, rgba(6, 18, 37, 0.96) 0%, rgba(6, 18, 37, 0.91) 45%, rgba(6, 18, 37, 0.48) 100%),
      url('./обложка_2.png') center / cover no-repeat;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .s1 .content {
    max-width: 780px;
  }

  .s1 .advantages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagram.split {
    grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr);
    column-gap: 20px;
    min-height: 520px;
  }

  .box--s3 {
    height: auto;
  }

  .hub,
  .radial__hub {
    width: 180px;
    height: 180px;
  }

  .hub__logo {
    width: 150px;
  }

  .diagram.radial {
    min-height: 650px;
  }

  .footer {
    position: static;
    grid-column: 1;
    width: 100%;
    margin-top: 8px;
    box-sizing: border-box;
  }

  .s18 .contacts {
    position: static;
    width: 100%;
    margin-top: 0;
  }

  .s17 .road {
    grid-template-columns: minmax(0, 1fr);
    height: auto !important;
  }

  .s17 .road__column {
    height: auto;
    min-height: 0;
  }
}

/* Neutral image placeholders for modules that are still in development. */
.s12 {
  background:
    radial-gradient(circle at 74% 22%, rgba(148, 163, 184, 0.16), transparent 34%),
    linear-gradient(145deg, #202631 0%, #151a22 52%, #0e1218 100%);
}

.s12 .logo img {
  filter: grayscale(1);
  opacity: 0.62;
}

.s12 .num,
.s12 .content p {
  color: #9ca3af;
}

.s12 .content h1 {
  color: #e5e7eb;
}

.s12 .content li {
  color: #c4c8ce;
}

.s12 .content li::before {
  color: #8b929d;
}

.development-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
  padding: 11px 18px;
  border: 1px solid rgba(203, 213, 225, 0.32);
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #d1d5db;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.development-status i {
  font-size: 16px;
}

.s12 .footer {
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(31, 37, 48, 0.86);
  color: #aeb4bd;
}

.media-placeholder {
  position: relative;
  display: grid;
  grid-template-rows: 58px 1fr;
  background:
    radial-gradient(circle at 78% 18%, rgba(34, 211, 238, 0.12), transparent 32%),
    linear-gradient(145deg, #0b2449, #081a35);
}

.s12 .media-placeholder {
  border-color: rgba(148, 163, 184, 0.26);
  background:
    radial-gradient(circle at 78% 18%, rgba(203, 213, 225, 0.08), transparent 32%),
    linear-gradient(145deg, #252c36, #171c24);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.3);
}

.s12 .media-placeholder__toolbar {
  border-bottom-color: rgba(203, 213, 225, 0.14);
}

.s12 .media-placeholder__toolbar i {
  background: rgba(203, 213, 225, 0.28);
}

.s12 .media-placeholder__shape {
  border-color: rgba(203, 213, 225, 0.14);
  background: linear-gradient(110deg, rgba(71, 79, 91, 0.7), rgba(100, 110, 123, 0.34), rgba(71, 79, 91, 0.7));
}

.s12 .media-placeholder__canvas--chart span {
  border-color: rgba(203, 213, 225, 0.18);
  background: linear-gradient(180deg, rgba(174, 183, 195, 0.38), rgba(89, 97, 109, 0.16));
}

.media-placeholder__toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(143, 196, 255, 0.18);
}

.media-placeholder__toolbar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(143, 196, 255, 0.34);
}

.media-placeholder__canvas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
}

.media-placeholder__shape {
  min-height: 72px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 14px;
  background: linear-gradient(110deg, rgba(25, 61, 108, 0.7), rgba(30, 89, 136, 0.36), rgba(25, 61, 108, 0.7));
}

.media-placeholder__shape--wide {
  grid-column: 1 / -1;
}

.media-placeholder__canvas--chart {
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 16px;
}

.media-placeholder__canvas--chart span {
  width: 13%;
  height: 36%;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 10px 10px 3px 3px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.42), rgba(59, 130, 246, 0.18));
}

.media-placeholder__canvas--chart span:nth-child(2) { height: 58%; }
.media-placeholder__canvas--chart span:nth-child(3) { height: 44%; }
.media-placeholder__canvas--chart span:nth-child(4) { height: 76%; }
.media-placeholder__canvas--chart span:nth-child(5) { height: 64%; }

/* Slide 13: four domains orbit one source of truth. */
.ecosystem-map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 620px;
}

.ecosystem-map__orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66%;
  aspect-ratio: 1;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 80px rgba(34, 211, 238, 0.06) inset;
}

.ecosystem-map__core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 260px;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 3px solid #22d3ee;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #16437a, #08224a 62%, #07172f);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 42px rgba(34, 211, 238, 0.18);
  transform: translate(-50%, -50%);
}

.ecosystem-map__core img {
  width: 190px;
}

.ecosystem-map__core span {
  color: #a9c4e8;
  font-size: 18px;
  font-weight: 700;
}

.ecosystem-card {
  position: absolute;
  z-index: 2;
  width: min(300px, 34%);
  min-height: 132px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-content: center;
  gap: 4px 16px;
  padding: 22px;
  border: 1px solid rgba(59, 130, 246, 0.72);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(11, 36, 73, 0.97), rgba(8, 33, 70, 0.92));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.ecosystem-card i {
  grid-row: 1 / 3;
  align-self: center;
  color: #22d3ee;
  font-size: 36px;
}

.ecosystem-card strong {
  color: #f8fbff;
  font-size: 25px;
}

.ecosystem-card span {
  color: #a9c4e8;
  font-size: 17px;
}

.ecosystem-card--data { left: 0; top: 8%; }
.ecosystem-card--process { right: 0; top: 8%; border-color: rgba(52, 211, 153, 0.72); }
.ecosystem-card--people { left: 0; bottom: 8%; border-color: rgba(251, 191, 36, 0.72); }
.ecosystem-card--control { right: 0; bottom: 8%; border-color: rgba(168, 85, 247, 0.72); }

.ecosystem-map__signal {
  position: absolute;
  z-index: 1;
  width: 26%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #22d3ee, transparent);
  transform-origin: center;
}

.ecosystem-map__signal--one { left: 24%; top: 31%; transform: rotate(30deg); }
.ecosystem-map__signal--two { right: 24%; top: 31%; transform: rotate(-30deg); }
.ecosystem-map__signal--three { left: 24%; bottom: 31%; transform: rotate(-30deg); }
.ecosystem-map__signal--four { right: 24%; bottom: 31%; transform: rotate(30deg); }

/* Slide 14: compact project-control dashboard. */
.control-console {
  align-self: center;
  height: auto !important;
  padding: 30px;
  border: 1px solid rgba(59, 130, 246, 0.7);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(9, 31, 65, 0.98), rgba(8, 24, 50, 0.94));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.control-console__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(143, 196, 255, 0.16);
  color: #f8fbff;
  font-size: 27px;
}

.control-console__pulse {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.12), 0 0 24px rgba(52, 211, 153, 0.6);
}

.control-console__live {
  margin-left: auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  color: #6ee7b7;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.control-console__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 0;
}

.control-console__metrics div {
  padding: 22px;
  border: 1px solid rgba(143, 196, 255, 0.18);
  border-radius: 18px;
  background: rgba(13, 50, 93, 0.56);
}

.control-console__metrics strong,
.control-console__metrics span {
  display: block;
}

.control-console__metrics strong {
  color: #8fc4ff;
  font-size: 36px;
}

.control-console__metrics span {
  margin-top: 6px;
  color: #a9c4e8;
  font-size: 16px;
}

.control-console__flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.control-console__flow > div {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 22px 12px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(18, 66, 115, 0.74), rgba(10, 39, 78, 0.78));
  color: #eaf2ff;
  font-size: 18px;
  font-weight: 700;
}

.control-console__flow > div i {
  color: #22d3ee;
  font-size: 30px;
}

.control-console__flow b {
  color: #4f86c8;
}

.control-console__trail {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(143, 196, 255, 0.16);
  color: #a9c4e8;
  font-size: 16px;
}

.control-console__trail i {
  margin-right: 8px;
  color: #22d3ee;
}

/* Slide 15: transformation pipeline and business outcomes. */
.efficiency-board {
  align-self: center;
  height: auto !important;
  padding: 30px;
  border: 1px solid rgba(59, 130, 246, 0.8);
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 12%, rgba(34, 211, 238, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(9, 31, 65, 0.98), rgba(7, 22, 46, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.efficiency-board__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(143, 196, 255, 0.16);
  color: #f8fbff;
  font-size: 24px;
  font-weight: 800;
}

.efficiency-board__header img {
  width: 150px;
}

.efficiency-board__pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 30px 0;
}

.efficiency-step {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-height: 142px;
  align-content: center;
  padding: 18px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(18, 66, 115, 0.72), rgba(10, 39, 78, 0.74));
  text-align: center;
}

.efficiency-step > i { color: #22d3ee; font-size: 34px; }
.efficiency-step strong { color: #f8fbff; font-size: 20px; }
.efficiency-step span { color: #a9c4e8; font-size: 15px; }
.efficiency-step--result { border-color: rgba(52, 211, 153, 0.65); background: linear-gradient(145deg, rgba(9, 88, 91, 0.62), rgba(10, 48, 76, 0.78)); }
.efficiency-board__arrow { color: #22d3ee; font-size: 24px; }

.efficiency-board__outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(143, 196, 255, 0.16);
}

.efficiency-board__outcomes > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  padding: 17px;
  border: 1px solid rgba(143, 196, 255, 0.18);
  border-radius: 17px;
  background: rgba(13, 50, 93, 0.54);
}

.efficiency-board__outcomes > div > i {
  grid-row: 1 / 3;
  align-self: center;
  color: #22d3ee;
  font-size: 25px;
}

.efficiency-board__outcomes span { color: #a9c4e8; font-size: 14px; }
.efficiency-board__outcomes strong { color: #34d399; font-size: 25px; line-height: 1; }
.efficiency-board__outcomes strong i { font-size: 21px; }

/* Slide 16: real desktop and mobile product screens. */
.chat-showcase {
  position: relative;
  height: 100%;
  min-height: 0;
}

.chat-showcase button {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(59, 130, 246, 0.58);
  background: #f5f7fb;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.chat-showcase button:hover {
  border-color: #22d3ee;
  transform: translateY(-4px);
}

.chat-showcase img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.chat-showcase__desktop {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  aspect-ratio: 3360 / 1794;
  border-radius: 22px;
}

.chat-showcase__mobile {
  position: absolute;
  bottom: 0;
  z-index: 2;
  width: 25%;
  aspect-ratio: 750 / 1620;
  border: 5px solid #0a2347 !important;
  border-radius: 20px;
}

.chat-showcase__mobile--list { right: 29%; }
.chat-showcase__mobile--dialog { right: 2%; }

.s18 .screen.final-image {
  padding: 0;
}

.s18 .screen.final-image img {
  object-position: center 58%;
}

@media (min-width: 1281px) {
  .s18 {
    background: #061225;
  }

  .s18::after {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(6, 18, 37, 0.96) 0%, rgba(6, 18, 37, 0.8) 40%, rgba(6, 18, 37, 0.26) 74%, rgba(6, 18, 37, 0.12) 100%),
      url('./обложка_2.png') center 58% / cover no-repeat;
    pointer-events: none;
  }

  .s18 .visual {
    display: none;
  }

  .s18 .logo,
  .s18 .num,
  .s18 .content,
  .s18 .contacts {
    z-index: 1;
  }
}

/* Smartphone mode: readable vertical slides with natural content height. */
@media (max-width: 720px) {
  body {
    height: 100vh;
    height: 100dvh;
  }

  .deck {
    height: 100vh;
    height: 100dvh;
    scroll-snap-type: y proximity;
  }

  .slide {
    width: 100vw !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    height: auto !important;
    max-height: none;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: start;
    row-gap: 20px;
    padding: 70px 16px 66px;
    overflow: hidden;
  }

  .logo {
    left: 16px;
    top: 17px;
  }

  .logo img {
    width: 112px;
  }

  .num {
    right: 16px;
    top: 20px;
    font-size: 14px;
  }

  .content {
    min-height: 0;
  }

  .content h1,
  .s1 .content h1 {
    max-width: 100%;
    font-size: clamp(28px, 8vw, 36px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
    margin: 0 0 12px !important;
    text-wrap: balance;
  }

  .content p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.4;
  }

  .content ul {
    gap: 5px;
  }

  .content li {
    font-size: 13.5px;
    line-height: 1.22;
  }

  .content li::before {
    margin-right: 8px;
  }

  .visual {
    height: auto !important;
    min-height: 0;
    overflow: visible;
  }

  .footer {
    display: none !important;
  }

  .slide-dots,
  .diagram.split::before,
  .box--left::after,
  .box--right::before,
  .diagram.radial::before,
  .diagram.radial::after,
  .radial__node::before,
  .radial__node::after,
  .ecosystem-map__orbit,
  .ecosystem-map__signal {
    display: none;
  }

  .slide-next-btn {
    display: none;
  }

  .slide-dots {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 10px;
    display: flex;
    flex-direction: row;
    gap: 7px;
    max-width: calc(100vw - 24px);
    padding: 10px 12px;
    transform: translateX(-50%);
  }

  .slide-dots__dot {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
  }

  .slide-dots__dot--active {
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
    transform: scale(1.35);
  }

  /* Cover */
  .s1 {
    grid-template-rows: auto;
    align-content: center;
    padding-top: 76px;
    padding-bottom: 66px;
  }

  .s1 .logo,
  .s1 .num {
    display: none;
  }

  .s1::after {
    inset: 0;
    background:
      linear-gradient(rgba(4, 11, 24, 0.52), rgba(4, 11, 24, 0.52)),
      url('./обложка_2.png') center / cover no-repeat;
  }

  .s1 .content {
    justify-content: center;
  }

  .s1 .content h1 {
    color: #f8fbff !important;
    font-size: 80px !important;
    line-height: 0.96 !important;
    margin-bottom: 18px !important;
    text-shadow: 0 2px 12px rgba(2, 8, 20, 0.58);
  }

  .s1 .content p {
    max-width: 92%;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    text-shadow: 0 2px 8px rgba(2, 8, 20, 0.72);
  }

  .s1 .advantages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .s1 .advantage {
    align-items: center;
    min-height: 62px;
    gap: 8px;
    padding: 9px;
    border-radius: 13px;
    font-size: 13px;
    line-height: 1.12;
  }

  .s1 .advantage__icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .s1 .advantage__text {
    padding-top: 0;
  }

  /* Problems */
  .s2 .content p:last-child {
    margin-bottom: 0;
  }

  .s2 .issues-wrap {
    align-self: stretch;
    padding: 12px;
    border-width: 1px;
    border-radius: 14px;
  }

  .s2 .issues-title {
    margin-bottom: 9px;
    font-size: 19px;
  }

  .s2 .issues-title::before {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    font-size: 16px;
    vertical-align: 1px;
  }

  .s2 .issues {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .s2 .issue {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 7px 8px;
    border-left-width: 3px;
    border-radius: 8px;
    font-size: 11px;
  }

  .s2 .issue::before {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin-right: 6px;
    font-size: 11px;
  }

  /* PLM/PDM and participants diagrams */
  .diagram.split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 58px auto;
    align-content: start;
    gap: 8px;
    height: 100%;
    min-height: 0;
  }

  .hub {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 58px;
    height: 58px;
  }

  .hub__logo {
    width: 48px;
  }

  .box--s3 {
    grid-row: 2;
    min-height: 210px;
    height: auto;
    padding: 10px;
    border-width: 1px;
    border-radius: 12px;
  }

  .box__title {
    font-size: 19px;
  }

  .box__subtitle {
    margin-top: 3px;
    font-size: 10px !important;
  }

  .box__list {
    gap: 3px;
    margin-top: 6px;
  }

  .box__list li,
  .box span {
    font-size: 11px;
  }

  .s4 .visual {
    padding-bottom: 0;
  }

  .s4 .diagram.radial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 58px repeat(2, 102px);
    align-content: start;
    gap: 7px;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    transform: none;
  }

  .radial__hub {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 58px;
    height: 58px;
  }

  .radial__logo {
    width: 45px;
  }

  .radial__node {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    justify-self: stretch;
    align-self: stretch;
    display: grid;
    place-content: center;
    padding: 8px;
    border-width: 1px;
    border-radius: 11px;
  }

  .radial__title {
    font-size: 14px;
  }

  .radial__meta {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.18;
  }

  /* Product screenshots */
  .stacked-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    gap: 8px;
    height: 100%;
  }

  .stacked-visual__item,
  .screen {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 11px;
  }

  .stacked-visual__item img,
  .screen img {
    border-radius: 11px;
  }

  .development-status {
    gap: 6px;
    margin-bottom: 8px;
    padding: 6px 10px;
    font-size: 10px;
  }

  .media-placeholder {
    grid-template-rows: 25px 1fr;
  }

  .media-placeholder__toolbar {
    gap: 5px;
    padding: 0 9px;
  }

  .media-placeholder__toolbar i {
    width: 5px;
    height: 5px;
  }

  .media-placeholder__canvas {
    gap: 7px;
    padding: 10px;
  }

  .media-placeholder__shape {
    min-height: 24px;
    border-radius: 6px;
  }

  /* Slides 13-16 */
  .ecosystem-map {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 58px repeat(2, 82px);
    align-content: start;
    gap: 7px;
    height: 100%;
    min-height: 0;
  }

  .ecosystem-map__core {
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    width: 58px;
    height: 58px;
    gap: 0;
    border-width: 1px;
    transform: none;
  }

  .ecosystem-map__core img {
    width: 48px;
  }

  .ecosystem-map__core span {
    display: none;
  }

  .ecosystem-card {
    position: relative;
    inset: auto;
    min-height: 0;
    height: 100%;
    width: 100%;
    grid-template-columns: 25px 1fr;
    gap: 2px 7px;
    padding: 8px;
    border-radius: 11px;
    box-sizing: border-box;
    transform: none;
  }

  .ecosystem-card i {
    font-size: 18px;
  }

  .ecosystem-card strong {
    font-size: 13px;
  }

  .ecosystem-card span {
    font-size: 9px;
  }

  .control-console,
  .efficiency-board {
    align-self: start;
    height: auto !important;
    padding: 10px;
    border-radius: 14px;
  }

  .control-console__header,
  .efficiency-board__header {
    min-height: 28px;
    padding-bottom: 7px;
    font-size: 13px;
  }

  .control-console__pulse {
    width: 7px;
    height: 7px;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
  }

  .control-console__live {
    padding: 3px 6px;
    font-size: 8px;
  }

  .control-console__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 0;
  }

  .control-console__metrics div {
    padding: 7px;
    border-radius: 8px;
  }

  .control-console__metrics strong {
    font-size: 17px;
  }

  .control-console__metrics span {
    margin-top: 2px;
    font-size: 8px;
  }

  .control-console__flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .control-console__flow > div {
    gap: 5px;
    padding: 8px 4px;
    border-radius: 8px;
    font-size: 9px;
    text-align: center;
  }

  .control-console__flow > div i {
    font-size: 16px;
  }

  .control-console__flow b {
    display: none;
  }

  .control-console__trail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-top: 7px;
    padding-top: 7px;
    font-size: 8px;
  }

  .efficiency-board__header img {
    width: 74px;
  }

  .efficiency-board__pipeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    padding: 8px 0;
  }

  .efficiency-board__arrow {
    display: none;
  }

  .efficiency-step {
    min-height: 74px;
    gap: 3px;
    padding: 6px 3px;
    border-radius: 9px;
  }

  .efficiency-step > i {
    font-size: 16px;
  }

  .efficiency-step strong {
    font-size: 9px;
  }

  .efficiency-step span {
    font-size: 7px;
  }

  .efficiency-board__outcomes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    padding-top: 8px;
  }

  .efficiency-board__outcomes > div {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2px;
    padding: 6px 2px;
    border-radius: 8px;
    text-align: center;
  }

  .efficiency-board__outcomes > div > i {
    grid-row: auto;
    font-size: 13px;
  }

  .efficiency-board__outcomes span {
    font-size: 7px;
  }

  .efficiency-board__outcomes strong {
    font-size: 13px;
  }

  .chat-showcase__desktop {
    border-radius: 11px;
  }

  .chat-showcase__mobile {
    width: 28%;
    border-width: 3px !important;
    border-radius: 10px;
  }

  .chat-showcase__mobile--list { right: 31%; }
  .chat-showcase__mobile--dialog { right: 1%; }

  /* Roadmap and contacts */
  .road {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: start;
    gap: 7px;
    width: 100%;
    margin: 0;
  }

  .s17 .road {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    height: auto !important;
    align-self: start;
  }

  .s17 .road__column {
    height: auto;
    min-height: 0;
  }

  .road__column {
    padding: 8px;
    border-radius: 12px;
  }

  .road__header {
    grid-template-columns: 26px 1fr;
    gap: 6px;
    padding-bottom: 7px;
  }

  .road__icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 12px;
  }

  .road__header strong {
    font-size: 10px;
  }

  .road__header small {
    margin-top: 1px;
    font-size: 7px;
  }

  .road__header b {
    display: none;
  }

  .road__modules {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    margin-top: 7px;
  }

  .road__modules span {
    min-height: 25px;
    gap: 4px;
    padding: 4px 5px;
    border-radius: 6px;
    font-size: 8px;
  }

  .s18 {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .s18::after {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 48px 0 -48px;
    background:
      linear-gradient(rgba(4, 11, 24, 0.52), rgba(4, 11, 24, 0.52)),
      url('./обложка_2.png') center / cover no-repeat;
    pointer-events: none;
  }

  .s18 .content {
    z-index: 1;
  }

  .s18 .content h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(2, 8, 20, 0.58);
  }

  .s18 .content p {
    margin-bottom: 0;
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(2, 8, 20, 0.72);
  }

  .s18 .logo,
  .s18 .num,
  .s18 .contacts {
    z-index: 1;
  }

  .s18 .visual {
    display: none;
  }

  .s18 .contacts {
    position: static;
    display: grid;
    align-content: center;
    gap: 7px;
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .s18 .contacts__title {
    margin: 0;
    font-size: 13px;
  }

  .s18 .contacts__item {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .s18 .contacts__label {
    margin-bottom: 3px;
    font-size: 10px;
  }

  .s18 .contacts__value {
    font-size: 13px;
  }

  /* Smartphone layouts stay readable instead of squeezing content into mini columns. */
  .s2 .issues,
  .stacked-visual,
  .control-console__metrics,
  .control-console__flow,
  .control-console__trail,
  .efficiency-board__pipeline,
  .efficiency-board__outcomes,
  .road {
    grid-template-columns: minmax(0, 1fr);
  }

  .stacked-visual {
    grid-template-rows: none;
    height: auto;
  }

  .stacked-visual__item,
  .screen {
    height: auto;
    aspect-ratio: 16 / 8.5;
    background: #071a35;
  }

  .stacked-visual__item img,
  .screen img {
    object-fit: contain;
    object-position: center;
  }

  .diagram.split {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 18px;
    height: auto;
  }

  .diagram.split::before {
    display: block;
    left: 50%;
    right: auto;
    top: 12%;
    bottom: 12%;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.2), #22d3ee 50%, rgba(52, 211, 153, 0.2));
  }

  .diagram.split .hub {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }

  .diagram.split .box--left {
    grid-column: 1;
    grid-row: 1;
  }

  .diagram.split .box--right {
    grid-column: 1;
    grid-row: 3;
  }

  .diagram.split .box--s3 {
    z-index: 1;
    justify-self: center;
    width: min(86%, 330px);
  }

  .box--s3 {
    min-height: 0;
  }

  .ecosystem-map {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(5, auto);
    gap: 14px;
    height: auto;
  }

  .ecosystem-map::before {
    content: '';
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 8%;
    bottom: 8%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.18), #22d3ee 50%, rgba(52, 211, 153, 0.18));
  }

  .ecosystem-map__core,
  .ecosystem-card {
    grid-column: 1;
    z-index: 1;
  }

  .ecosystem-card--data {
    grid-row: 1;
  }

  .ecosystem-card--process {
    grid-row: 2;
  }

  .ecosystem-map__core {
    grid-row: 3;
    justify-self: center;
  }

  .ecosystem-card--people {
    grid-row: 4;
  }

  .ecosystem-card--control {
    grid-row: 5;
  }

  .ecosystem-card {
    min-height: 72px;
    height: auto;
    justify-self: center;
    width: min(86%, 330px);
  }

  .control-console__flow > div,
  .efficiency-step {
    min-height: 68px;
  }

  .control-console__trail {
    font-size: 10px;
  }

  .s14 .control-console__metrics,
  .s14 .control-console__flow,
  .s14 .control-console__trail,
  .s15 .efficiency-board__pipeline,
  .s15 .efficiency-board__outcomes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .s14 .control-console__trail {
    gap: 5px;
  }

  .s14 .control-console__trail span {
    font-size: 8px;
    text-align: center;
  }

  .chat-showcase {
    height: clamp(260px, 78vw, 360px);
  }

  .chat-showcase img {
    object-fit: contain;
    object-position: center top;
  }

  .s17 {
    row-gap: 20px;
  }

  .s17 .road__column {
    padding: 12px;
  }

  .s17 .road__header {
    padding-bottom: 8px;
  }

  .s17 .road__modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-top: 5px;
  }

  .s17 .road__modules span {
    min-height: 30px;
    padding: 5px 7px;
    font-size: 10px;
    line-height: 1.15;
  }
}

@media (max-width: 720px) and (max-height: 700px) {
  .slide {
    row-gap: 16px;
    padding-top: 64px;
    padding-bottom: 58px;
  }

  .logo {
    top: 14px;
  }

  .num {
    top: 17px;
  }

  .content h1 {
    font-size: clamp(27px, 7.8vw, 34px) !important;
    line-height: 1.08 !important;
    margin-bottom: 10px !important;
  }

  .s1 .content h1 {
    font-size: clamp(48px, 15vw, 60px) !important;
    line-height: 0.96 !important;
    margin-bottom: 16px !important;
  }

  .content p {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .content li {
    font-size: 12.5px;
  }

  .s1 .advantages {
    margin-top: 9px;
  }

  .s1 .advantage {
    min-height: 52px;
  }
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
}

.task-gallery-dialog[hidden] {
  display: none;
}

.task-gallery-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.task-gallery-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 20, 0.78);
  backdrop-filter: blur(10px);
}

.task-gallery-dialog__panel {
  position: relative;
  width: min(1200px, 96vw);
  max-height: 92vh;
  z-index: 1;
}

.task-gallery-dialog__close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  background: rgba(8, 22, 43, 0.92);
  color: #eaf2ff;
  cursor: pointer;
}

.task-gallery-dialog__close:hover {
  border-color: #22d3ee;
  background: rgba(10, 33, 67, 0.98);
}

.task-gallery-dialog__close i {
  font-size: 1.1rem;
}
