/* Landing hero: direct, editorial hierarchy with the laptop as the visual proof. */
.hero-section {
  background: #FBF9F5;
}

.hero-wordmark {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: max(1rem, calc((100vw - 82rem) / 2));
  width: min(55vw, 54rem);
  transform: translateY(-48%);
  opacity: 0.14;
  pointer-events: none;
}

.hero-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-shell {
  min-height: max(40rem, calc(100svh - 5rem));
}

.hero-layout {
  column-gap: clamp(1.5rem, 4vw, 4rem);
}

.hero-copy {
  z-index: 20;
  padding-block: 3rem;
}

.hero-title {
  max-width: 10ch;
  font-size: clamp(3.4rem, 6.4vw, 6rem);
  line-height: 0.93;
}

.hero-title span {
  color: #6342FF;
}

.hero-description {
  max-width: 31rem;
}

.hero-visual {
  z-index: 10;
  display: flex;
  min-width: 0;
  min-height: 28rem;
  align-items: center;
  justify-content: center;
  padding: 2.75rem 0;
}

.hero-stage {
  width: 100%;
  height: clamp(19rem, 39vw, 34rem);
  max-width: 42rem;
}

.hero-canvas {
  z-index: 2;
  display: block;
  pointer-events: none;
}

.hero-fallback {
  z-index: 1;
  transition: opacity 240ms ease;
}

.hero-stage.is-ready .hero-fallback {
  opacity: 0;
}

.hero-visual-label {
  line-height: 1.5;
}

.hero-bottom-services i {
  padding-inline: 0.35rem;
  color: #6342FF;
  font-style: normal;
}

@media (max-width: 1023px) {
  .hero-shell {
    min-height: 0;
  }

  .hero-layout {
    row-gap: 0;
    padding-block: 1rem 0;
  }

  .hero-copy {
    padding-block: 2.5rem 0.5rem;
  }

  .hero-title {
    max-width: 12ch;
    font-size: clamp(3.25rem, 9vw, 5.5rem);
  }

  .hero-visual {
    min-height: 0;
    padding-block: 2rem 2.5rem;
  }

  .hero-stage {
    width: min(100%, 38rem);
    height: clamp(18rem, 55vw, 28rem);
  }

  .hero-wordmark {
    top: auto;
    right: auto;
    bottom: 10rem;
    left: 50%;
    width: min(90vw, 34rem);
    transform: translateX(-50%);
    opacity: 0.1;
  }

  .hero-bottom-services {
    display: none;
  }
}

@media (max-width: 639px) {
  .hero-shell {
    padding-top: 1.25rem;
  }

  .hero-kicker {
    align-items: flex-start;
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .hero-copy {
    padding-top: 2rem;
  }

  .hero-title {
    font-size: clamp(3.15rem, 12vw, 4.3rem);
    letter-spacing: -0.07em;
  }

  .hero-description {
    margin-top: 1rem;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 1.5rem;
    column-gap: 1rem;
  }

  .hero-primary {
    padding-inline: 1rem;
  }

  .hero-visual {
    padding-block: 1.75rem 2rem;
  }

  .hero-stage {
    height: clamp(16rem, 70vw, 22rem);
  }

  .hero-visual-label {
    font-size: 8px;
  }

  .hero-bottom {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fallback {
    transition: none;
  }
}
