.demo-block {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 86px);
  align-items: center;
  padding-top: 86px;
  padding-bottom: 94px;
  overflow: hidden;
  background: #1c2227;
  color: #f7f9fa;
}

.demo-story {
  grid-column: 2;
  grid-row: 1;
  max-width: 570px;
}

.demo-eyebrow {
  color: #9bbde9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.demo-story h2 {
  margin: 24px 0 30px;
  font-size: clamp(60px, 6.2vw, 100px);
  line-height: .93;
  letter-spacing: -.075em;
}

.demo-story h2 em {
  color: #89b9ff;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
}

.demo-story > p {
  max-width: 510px;
  margin: 0;
  color: #d4dde5;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
}

.demo-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 510px;
  margin-top: 34px;
}

.demo-offer > span {
  color: #f7f9fa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.demo-offer a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
  padding: 13px 17px;
  border: 1px solid #8ca9c8;
  border-radius: 999px;
  color: #f7f9fa;
  font-size: 13px;
  font-weight: 800;
}

.demo-offer a:hover {
  background: #f7f9fa;
  color: #1c2227;
}

.demo-motion {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  width: 100%;
  margin: 0;
}

.demo-motion-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.demo-motion video {
  width: min(100%, 520px);
  height: auto;
  max-height: none;
  object-fit: contain;
  filter: drop-shadow(0 28px 32px #040a1380);
}

@media (max-width: 980px) {
  .demo-block {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding-top: 76px;
    padding-bottom: 78px;
  }

  .demo-story {
    max-width: 680px;
  }

  .demo-story h2 {
    font-size: clamp(56px, 9vw, 88px);
  }

  .demo-motion video {
    width: min(100%, 470px);
  }
}

@media (max-width: 760px) {
  .demo-block {
    padding: 72px 22px 78px;
  }

  .demo-story h2 {
    font-size: clamp(50px, 12.5vw, 68px);
  }

  .demo-story > p {
    font-size: 17px;
  }

  .demo-offer {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-motion video {
    width: min(100%, 370px);
    max-height: none;
  }
}
