/* Approved first-screen hero. Loaded last to replace the older spacious hero rules. */

.hero-header {
  width: min(1540px, calc(100% - 64px)) !important;
  height: clamp(66px, 8svh, 86px) !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.hero-header-cta span {
  white-space: nowrap;
}

.hero.wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1280px, calc(100% - 48px));
  min-height: 0;
  padding: clamp(12px, 1.8svh, 22px) 0 0;
}

.hero .eyebrow {
  flex: 0 0 auto;
}

.hero h1 {
  width: min(100%, 1180px);
  margin: clamp(14px, 1.8svh, 22px) auto 0;
  font-size: clamp(45px, min(4.15vw, 7svh), 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero h1 > span {
  display: block;
  white-space: nowrap;
}

.hero h1 em {
  color: #a66bff;
}

.hero .video-shell {
  flex: 0 1 auto;
  width: auto;
  min-width: 520px;
  max-width: 100%;
  height: min(453px, 41.625vw, calc(100svh - 410px)) !important;
  aspect-ratio: 16 / 9 !important;
  margin: clamp(22px, 2.6svh, 32px) auto 0;
  border-radius: 13px;
}

.hero .hero-actions,
.hero .video-shell + .hero-actions {
  flex: 0 0 auto;
  margin-top: clamp(18px, 2.1svh, 25px);
}

.hero .hero-demo-cta {
  min-width: 320px;
  justify-content: center;
  padding: 15px 26px;
  border-radius: 10px;
  box-shadow: 0 14px 42px rgba(89, 40, 158, 0.28);
}

.hero-proof-marquee {
  position: relative;
  left: auto;
  align-self: center;
  flex: 0 0 auto;
  width: 100dvw;
  max-width: none;
  height: 48px;
  margin-right: 0;
  margin-left: 0;
  margin-top: clamp(30px, 4svh, 42px);
  transform: none;
  overflow: hidden;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  box-sizing: border-box;
}

.hero-proof-track {
  min-width: max-content;
  will-change: transform;
}

.hero-proof-track span {
  flex: 0 0 auto;
}

@media (max-height: 760px) and (min-width: 801px) {
  .hero-header {
    height: 62px !important;
  }

  .hero.wrap {
    min-height: 0;
    padding-top: 8px;
  }

  .hero .eyebrow {
    padding: 4px 13px;
    font-size: 8px;
  }

  .hero h1 {
    margin-top: 10px;
    font-size: clamp(40px, 5.8svh, 50px);
  }

  .hero .video-shell {
    width: auto;
    min-width: 460px;
    height: min(366px, 38.25vw, calc(100svh - 326px)) !important;
    margin-top: 10px;
  }

  .hero .hero-actions,
  .hero .video-shell + .hero-actions {
    margin-top: 10px;
  }

  .hero .hero-demo-cta {
    min-width: 260px;
    padding: 11px 20px;
  }

  .hero-proof-marquee {
    height: 40px;
    margin-top: 24px;
  }
}

@media (max-width: 800px) {
  .hero-header {
    width: calc(100% - 34px) !important;
    height: 72px !important;
  }

  .hero-header-cta {
    gap: 8px;
    padding: 10px 11px;
    font-size: 9px;
  }

  .hero.wrap {
    display: flex;
    width: min(100% - 34px, 680px);
    min-height: auto;
    padding: 34px 0 0;
  }

  .hero h1 {
    width: 100%;
    margin-top: 24px;
    font-size: clamp(40px, 11.5vw, 58px);
    line-height: 1;
  }

  .hero h1 > span {
    white-space: normal;
  }

  .hero .video-shell {
    width: 100%;
    min-width: 0;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    margin-top: 28px;
  }

  .hero .hero-actions,
  .hero .video-shell + .hero-actions {
    margin-top: 20px;
  }

  .hero-proof-marquee {
    height: 42px;
    margin-top: 28px;
  }
}

@media (max-width: 480px) {
  .hero-wordmark {
    font-size: 14px;
  }

  .hero-header-cta {
    padding: 9px;
    font-size: 8px;
  }

  .hero-header-cta b {
    font-size: 14px;
  }

  .hero.wrap {
    padding-top: 26px;
  }

  .hero h1 {
    font-size: clamp(38px, 11.3vw, 50px);
  }

  .hero .hero-demo-cta {
    min-width: min(292px, 100%);
  }
}
