/* The video stays dark in either theme. Its text uses the dark palette for contrast. */
.home-hero {
  --header-frame: min(100% - 72px, 1360px);
}
.home-hero .wrap { width: var(--header-frame); }
.home-hero {
  color-scheme: dark;
  --bg: #07080c;
  --text: #eef0f6;
  --muted: #8b91a3;
  --lime: var(--hero-gradient-start);
  --sky: var(--hero-gradient-end);
  --line-2: rgb(255 255 255 / 16%);
  color: var(--text);
}
.home-hero .btn {
  min-height: 44px;
  border-radius: 999px;
  padding: 0 18px;
  white-space: nowrap;
}

.home-hero::before { content: none; }
.home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: linear-gradient(160deg, #2a0b02, #120400 75%);
  overflow: hidden;
}
.home-hero .hero__media { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.home-hero .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgb(10 3 0 / 91%), rgb(14 4 0 / 78%) 26%, rgb(20 6 0 / 35%) 48%, transparent 69%),
    linear-gradient(0deg, rgb(9 2 0 / 89%), rgb(9 2 0 / 22%) 29%, transparent 54%),
    linear-gradient(180deg, rgb(8 2 0 / 32%), transparent 29%);
}
.home-hero .hero__poster { display: block; width: 100%; height: 100%; }
.home-hero .hero__poster img, .home-hero .hero__video {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 68% center;
}
.home-hero .hero__video { position: absolute; inset: 0; opacity: 0; }
.home-hero .hero__video.is-ready { opacity: 1; }
.home-hero .hero__copy {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; text-align: left;
  padding-block: clamp(100px, 13svh, 116px) clamp(60px, 9svh, 86px);
}
.home-hero .hero__value {
  font-size: clamp(4rem, 8.2vw, 8.1rem); line-height: .99;
  letter-spacing: -.065em;
}
.home-hero .hero__copy h1 {
  margin: 20px 0 0;
  font-size: calc(clamp(1.7rem, 3.05vw, 3.125rem) - 2px); line-height: 1.12;
  font-weight: 700; letter-spacing: -.055em;
}
.hero-community { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.hero-community__logos { display: flex; align-items: center; padding-left: 2px; }
.hero-community__logo, .hero-community__more {
  display: grid; place-items: center; width: 39px; height: 39px; flex: none;
  border: 2px solid #757d89; border-radius: 50%; background: #171b24;
  box-shadow: 0 2px 12px rgb(0 0 0 / 25%);
}
.hero-community__logo + .hero-community__logo, .hero-community__more { margin-left: -10px; }
.hero-community__logo img { width: 24px; height: 24px; object-fit: contain; }
.hero-community__logo--light img { filter: brightness(0) invert(1); }
.hero-community__more { background: #252b36; color: #f4f5f7; font-size: .8rem; font-weight: 700; }
.hero-community__proof { display: flex; flex-direction: column; gap: 1px; color: #e5e6ec; font-size: .875rem; line-height: 1.35; white-space: nowrap; }
.hero-community__stars { color: #ffaf24; font-size: 1.25rem; letter-spacing: .075em; line-height: 1; }
.home-hero .hero__copy .lead { margin: 22px 0 0; max-width: none; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.home-hero .hero__copy .cta-row { display: flex; justify-content: flex-start; gap: 10px; flex-wrap: wrap; margin-top: 27px; }
.home-hero .cta-row .btn { flex: none; min-height: 48px; }
.home-hero .video-toggle {
  width: 44px; height: 44px; padding: 0;
  position: absolute; right: max(20px, calc((100% - 1360px) / 2)); bottom: 67px;
  color: var(--text); border-color: var(--line-2); background: rgb(7 8 12 / 35%);
}
.home-hero .video-toggle span {
  width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor; margin-left: 2px;
}
.home-hero .video-toggle[data-playing="true"] span {
  width: 10px; height: 12px; margin: 0;
  border: 0; border-inline: 3px solid currentColor;
}

.home-hero .ticker {
  margin-top: 0; -webkit-mask-image: none; mask-image: none; border-bottom: 0;
  min-height: 53px; background: rgb(20 5 0 / 68%); border-top-color: var(--line-2);
}
.home-hero .tk {
  gap: 8px; min-height: 52px; padding: 0 17px; border-inline-end: 1px solid var(--line-2);
}

@media (width > 700px) {
  .home-hero .hero__summary { width: max-content; max-width: 100%; }
  /* The amount establishes the column width. The description wraps to that width. */
  .home-hero .hero__summary :is(h1, .lead) { contain: inline-size; }
  .home-hero .hero__summary h1 { white-space: nowrap; }
}

@media (max-width: 700px) {
  .home-hero { --header-frame: calc(100% - 40px); }
  .home-hero .hero__copy { padding-block: clamp(100px, calc(90svh - 420px), 395px) 60px; }
  .home-hero .hero__media { bottom: auto; height: min(550px, 100%); }
  .home-hero .hero__poster img { object-position: 62% top; }
  .home-hero .hero__video, .home-hero .video-toggle { display: none; }
  .home-hero .hero__media::after {
    background: linear-gradient(180deg, rgb(12 4 0 / 28%), transparent 26%, rgb(18 4 0 / 64%) 63%, #120400 99%);
  }
  .home-hero .hero__value { font-size: clamp(3.3rem, 12.5vw, 5.4rem); }
  .hero-community { flex-wrap: wrap; gap: 12px 16px; margin-top: 16px; }
  .hero-community__logo, .hero-community__more { width: 35px; height: 35px; }
  .hero-community__logo img { width: 21px; height: 21px; }
  .hero-community__logo + .hero-community__logo, .hero-community__more { margin-left: -9px; }
  .hero-community__stars { font-size: 1.1rem; }
  .home-hero .hero__copy .lead { margin-top: 16px; }
  .home-hero .hero__copy .cta-row { margin-top: 18px; }
}
