.hero {
  --top-gap: 20rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100svh;
  display: flex;
  position: relative;
  overflow-x: clip;
}

.hero .hero-container {
  grid-template-rows: auto auto;
  justify-items: center;
  gap: 0;
  width: 100%;
  height: 100%;
  padding: 0 0 5rem;
  display: grid;
  position: relative;
}

.hero .hero-glows {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.hero .hero-glow {
  --glow: 2, 132, 199;
  background: radial-gradient(ellipse closest-side, rgba(var(--glow), .1) 0%, rgba(var(--glow), .095) 45%, rgba(var(--glow), .06) 70%, rgba(var(--glow), .02) 88%, rgba(var(--glow), 0) 100%);
  will-change: transform;
  border-radius: 50%;
  width: 100rem;
  height: 60rem;
  position: absolute;
  bottom: 0;
}

.hero .hero-glow.is--1 {
  left: 0;
  transform: translate(-30%, 40%);
}

.hero .hero-glow.is--2 {
  right: 0;
  transform: translate(30%, 40%);
}

.hero .hero-lines {
  left: 50%;
  top: var(--top-gap);
  pointer-events: none;
  width: 100vw;
  height: auto;
  position: absolute;
  transform: translate(-50%);
}

.hero .hero-heading {
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 80rem;
  display: flex;
}

.hero .hero-heading .hero-title {
  color: #0f172a;
  letter-spacing: -3.2px;
  text-align: center;
  font-family: Manrope;
  font-size: max(40px, min(7rem + 5px, 150px));
  font-weight: 500;
  line-height: 100%;
}

.hero .hero-heading .hero-desc {
  color: gray;
  text-align: center;
  letter-spacing: -.18px;
  width: 85%;
  font-size: max(12px, min(1.6rem + 2px, 40px));
  font-weight: 500;
}

.hero .hero-heading .hero-actions {
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  display: flex;
}

.hero .hero-heading .hero-title, .hero .hero-heading .hero-desc, .hero .hero-heading .hero-actions, .hero .hero-meta > img {
  opacity: 0;
  visibility: hidden;
}

.hero .hero-meta {
  width: auto;
  height: 60vmin;
  padding-top: 5rem;
  position: relative;
}

.hero .hero-meta img {
  object-position: center center;
}

@media (orientation: portrait) {
  .hero .hero-container {
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding: 20rem 0 10rem;
  }

  .hero .hero-glow {
    display: none;
  }

  .hero .hero-meta {
    width: 100%;
    height: 100%;
    max-height: none;
    padding-top: 0;
    position: relative;
  }

  .hero .hero-meta img {
    object-position: center bottom;
    width: auto;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .hero .hero-lines {
    top: 0;
    transform: translate(-50%, -100%);
  }

  .hero .hero-heading {
    gap: 1.2rem;
    width: 100%;
    padding: 0 2.5rem;
  }

  .hero .hero-heading .hero-title {
    letter-spacing: -.1rem;
    font-size: 3.5rem;
    line-height: 105%;
  }

  .hero .hero-heading .hero-desc {
    letter-spacing: 0;
    width: 30rem;
    font-size: 1.2rem;
    line-height: 150%;
  }

  .hero .hero-heading .hero-actions {
    gap: 1rem;
    margin-top: .5rem;
  }
}

.text {
  justify-content: center;
  height: 180svh;
  display: flex;
  position: relative;
  overflow-x: clip;
}

.text .text-container {
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100svh;
  display: flex;
  position: sticky;
  top: 0;
}

.text .text-container .text-heading {
  isolation: isolate;
  width: 140rem;
  position: relative;
  transform: translateY(-20%);
}

.text .text-container .text-heading .text-title {
  color: #8e8e8e;
  letter-spacing: -3.2px;
  text-align: center;
  font-size: max(40px, min(7.5rem + 5px, 140px));
  line-height: 100%;
}

.text .text-glow__wrap {
  aspect-ratio: 1;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  justify-content: center;
  align-items: center;
  width: 105vw;
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (orientation: landscape) and (height <= 900px) {
  .text .text-container .text-heading {
    transform: translate(0);
  }
}

@media (orientation: portrait) {
  .text {
    height: 150svh;
  }

  .text .text-container .text-heading {
    width: 39rem;
    transform: translateY(-20%);
  }

  .text .text-container .text-heading .text-title {
    letter-spacing: -1.4px;
    font-size: 3.5rem;
  }

  .text .text-glow__wrap {
    width: 104rem;
  }
}

.why {
  flex-direction: column;
  align-items: center;
  gap: 12rem;
  width: 100%;
  padding: 25rem 0;
  display: flex;
  position: relative;
  overflow-x: clip;
}

.why .why-lines {
  pointer-events: none;
  width: 100vw;
  height: auto;
  position: absolute;
  top: 17rem;
  left: 0;
}

.why .why-container {
  z-index: 1;
  justify-content: center;
  width: 100%;
  padding: 0 20rem;
  display: flex;
  position: relative;
}

.why .why-container .why-heading {
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  width: 90rem;
  display: flex;
}

.why .why-container .why-heading .why-title {
  color: #0f172a;
  letter-spacing: -3.2px;
  text-align: center;
  font-size: max(40px, min(8rem + 5px, 150px));
  font-weight: 500;
  line-height: 100%;
}

.why .why-container .why-heading .why-desc {
  color: gray;
  letter-spacing: -.18px;
  text-align: center;
  width: 60rem;
  font-size: max(12px, min(1.6rem + 2px, 40px));
  font-weight: 500;
  line-height: 150%;
}

.why .why-track {
  z-index: 1;
  width: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.why .why-track .why-list {
  flex: none;
  align-items: center;
  gap: 9rem;
  padding-right: 9rem;
  animation: 40s linear infinite whyMarquee;
  display: flex;
}

.why .why-track .why-list img {
  width: auto;
  height: 6.5rem;
  display: block;
}

@keyframes whyMarquee {
  to {
    transform: translate(-100%);
  }
}

@media (orientation: portrait) {
  .why {
    gap: 9rem;
  }

  .why .why-lines {
    top: 20rem;
  }

  .why .why-container {
    padding: 0 2.5rem;
  }

  .why .why-container .why-heading {
    gap: 1rem;
    width: 38rem;
  }

  .why .why-container .why-heading .why-title {
    letter-spacing: -1.4px;
    font-size: 3.5rem;
  }

  .why .why-container .why-heading .why-desc {
    width: 100%;
    font-size: 1.2rem;
  }

  .why .why-track .why-list {
    gap: 4rem;
    padding-right: 4rem;
  }

  .why .why-track .why-list img {
    height: 3rem;
  }
}
