/* 5. Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  height: 100svh;
  min-height: 610px;
  padding: 0 var(--page-gutter);
  overflow: hidden;
  background: #09161f;
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(3 12 18 / 72%) 0%, rgb(3 12 18 / 55%) 36%, rgb(3 12 18 / 22%) 66%, rgb(3 12 18 / 6%) 100%),
    linear-gradient(0deg, rgb(0 0 0 / 16%) 0%, transparent 42%);
  content: "";
  pointer-events: none;
}

.hero-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
}

.hero-title-line {
  white-space: nowrap;
}

.hero-sap-logo {
  width: 300px;
  height: 40px;
  margin-top: 30px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
}

.eyebrow span {
  width: 18px;
  height: 3px;
  background: var(--color-red);
}

.hero-description {
  max-width: 590px;
  margin: 0 0 28px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.25;
}

.hero-actions {
  display: flex;
  gap: 36px;
}

.corner-graphic {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: min(23.3vw, 334px);
}

/* 7. Trusted companies
   ========================================================================== */

.trusted {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  height: 153px;
  padding: 8px 0;
  overflow: hidden;
  background: var(--color-red-dark);
}

.trusted-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  white-space: nowrap;
}

.trusted-heading h2 {
  width: auto;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.022em;
}

.testimonial-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 1px 7px;
  border: 1px solid var(--color-white);
  border-radius: 30px;
  font-size: 15px;
  line-height: 1.1;
}

.testimonial-button img {
  width: 14px;
  height: 14px;
}

.logo-marquee {
  width: 100%;
  overflow: hidden;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

.logo-set {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
}

.logo-set > a,
.logo-set > span {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 40px;
}

.logo-set > .wide {
  width: 200px;
}

.logo-set > * > img {
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.logo-set .vista {
  width: 100px;
}

.logo-set .vista > span {
  display: grid;
  grid-template-columns: 41px 1fr;
  align-items: center;
  width: 100%;
  height: 33px;
}

.logo-set .vista img {
  max-width: 100%;
  max-height: 32px;
}

@media (min-width: 901px) {
  .hero {
    height: calc(100svh - 140px);
    min-height: 500px;
  }
}

@media (max-width: 900px) {
  .trusted {
    height: 160px;
  }
}

@media (max-width: 580px) {
  .hero {
    height: calc(100svh - 150px);
    min-height: 0;
  }

  .hero::after {
    background: linear-gradient(90deg, rgb(3 12 18 / 76%) 0%, rgb(3 12 18 / 56%) 72%, rgb(3 12 18 / 25%) 100%);
  }

  .hero h1 {
    font-size: clamp(1.55rem, 8.2vw, 2rem);
  }

  .hero-sap-logo {
    width: 240px;
    height: 32px;
    margin-top: 22px;
  }

  .hero-description {
    margin-bottom: 24px;
    font-size: 18px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .corner-graphic {
    width: 42vw;
  }

  .trusted-heading {
    gap: 10px;
  }

  .trusted {
    height: 150px;
  }

  .trusted-heading h2 {
    font-size: 17px;
  }

  .logo-set {
    gap: 44px;
    padding-right: 44px;
  }

  .testimonial-button {
    font-size: 13px;
  }
}
