/* Use the body content width: viewport units also include classic scrollbars. */
body { container-type: inline-size; }
.hero {
  position: relative; display: block; width: 100cqw;
  margin-left: calc(50% - 50cqw); aspect-ratio: 2 / 1;
  height: auto; min-height: 0; max-height: none; padding: 0;
  overflow: hidden; border-radius: 0; background: #10110f; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: #10110f; isolation: isolate; }
.hero-media video {
  display: block; width: 100%; height: 100%; object-fit: contain;
  background: #10110f; pointer-events: none;
  /* Darken the video itself so the side veil cannot detach during compositing. */
  filter: brightness(.78);
  -webkit-mask-image: linear-gradient(90deg, #0002 0%, #0008 18%, #000 43%, #000 65%, #0004 100%);
  mask-image: linear-gradient(90deg, #0002 0%, #0008 18%, #000 43%, #000 65%, #0004 100%);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.hero::after { display: none; }
.hero .copy { position: absolute; z-index: 2; left: 7%; top: clamp(202px, calc(24vh + 32px), 322px); bottom: auto; width: 60%; padding: 0; }
.hero-kicker { font-size: 11px; font-weight: 700; letter-spacing: 2.3px; color: #e4e4da; margin-bottom: 22px; }
.hero h1 { font-size: clamp(52px, 6.3vw, 120px); line-height: .98; letter-spacing: -.06em; margin-bottom: 24px; }
.hero .copy p { white-space: nowrap; width: max-content; max-width: none; font-size: min(17px, 3.4vw); line-height: 1.6; color: #dddcd4; margin-bottom: 27px; }
.hero .copy .cta { margin: 0; }
.hero .copy small { margin-top: 12px; text-align: left; color: #c2c2b8; }
.player-picker { position: absolute; top: 24px; left: 50%; right: auto; transform: translateX(-50%); z-index: 4; display: flex; gap: 10px; }
.player-option {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 3px;
  border: 1px solid #ffffff80; border-radius: 50%; background: #10110fb3;
  color: #f7f5ef; cursor: pointer; box-shadow: 0 2px 10px #0005;
}
.player-option img { width: 100%; height: 100%; min-height: 0; border-radius: 50%; object-fit: cover; object-position: center 12%; }
.player-option svg { width: 21px; height: 21px; fill: currentColor; }
.player-option[aria-pressed="true"] { border: 2px solid #ff5a19; padding: 2px; box-shadow: 0 0 0 2px #10110f80; }
.player-option:hover { border-color: #ff824a; }
.player-option:focus-visible { outline: 2px solid #ff824a; outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.features { padding-top: 48px; }
@media (min-width: 2000px) { .hero h1 { font-size: 120px; } }
@media (min-width: 701px) and (max-width: 1100px) {
  .hero .copy { left: 6%; top: 100px; bottom: auto; width: 47%; }
  .hero h1 { font-size: clamp(38px, 5.5vw, 60px); margin-bottom: 15px; }
  .hero-kicker { font-size: 9px; margin-bottom: 15px; }
  .hero .copy p { margin-bottom: 18px; }
  .hero .copy .cta { min-height: 48px; padding: 9px 17px; }
  .hero .copy .store-label strong { font-size: 20px; }
  .hero .copy small { font-size: 9px; }
  .player-picker { top: 16px; gap: 8px; }
}
@media (min-width: 1101px) and (max-height: 760px) {
  .hero h1 { font-size: min(6.3vw, 10vh); }
  .hero-kicker { margin-bottom: 16px; }
  .hero h1 { margin-bottom: 18px; }
  .hero .copy p { margin-bottom: 20px; }
}

/* Treat this as a background film, not a hoverable native video player. */
/* Keep the pointer shield above the background video; side shading is on video. */
.hero-media::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, #10110f 0%, #10110f00 28%, #10110f00 75%, #10110f40 100%);
}
@media (min-width: 1101px) and (max-height: 760px) {
  .hero .copy { top: clamp(154px, calc(21vh + 24px), 184px); }
}

/* Mobile uses the original full-background composition, with controls above CTA. */
@media (max-width: 700px) {
  .hero { display: block; height: calc(100svh - 72px); min-height: 480px; max-height: 820px; aspect-ratio: auto; }
  .hero-media { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
  .hero-media video { object-fit: cover; object-position: 65% center; }
  .hero-media::after { background: linear-gradient(180deg, #10110f80 0%, #10110f15 38%, #10110f15 57%, #10110fe6 91%, #10110f 100%); }
  .hero .copy { position: absolute; inset: 0; width: 100%; padding: 36px 5.5% 0; pointer-events: none; }
  .hero-kicker { display: none; }
  .hero h1 { font-size: clamp(30px, 11.5vw, 62px); line-height: 1.02; letter-spacing: -.055em; margin-bottom: 22px; white-space: nowrap; }
  .hero .copy p { width: max-content; max-width: none; white-space: nowrap; font-size: min(14px, 3.4vw); line-height: 1.65; margin: 0; }
  .hero .copy .cta { position: absolute; left: 50%; bottom: 62px; transform: translateX(-50%); display: inline-flex; width: max-content; max-width: 90%; margin: 0; padding: 12px 22px; min-height: 62px; pointer-events: auto; transition: background .2s; }
  .hero .copy small { position: absolute; bottom: 40px; left: 0; width: 100%; margin: 0; text-align: center; font-size: 10px; }
  .player-picker { top: auto; bottom: 140px; gap: 10px; }
  .player-option { width: 36px; height: 36px; }
  .player-option svg { width: 19px; height: 19px; }
  .features { padding-top: 32px; }
}

/* Compact mobile header with a disclosure menu. */
.nav-toggle { display: none; }
@media (max-width: 700px) {
  .site-header { position: relative; z-index: 10; height: 72px; display: flex; flex-wrap: nowrap; justify-content: space-between; }
  .site-logo { width: auto; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 6px; background: transparent; color: #f7f5ef; cursor: pointer; }
  .nav-toggle span { display: block; width: 23px; height: 2px; border-radius: 2px; background: currentColor; }
  .nav-toggle:focus-visible { outline: 2px solid #ff824a; outline-offset: 2px; }
  .nav-toggle[aria-expanded="true"] { background: #ffffff12; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; width: 100%; padding: 12px 6% 22px; gap: 0; background: #10110f; border-bottom: 1px solid #ffffff24; box-shadow: 0 18px 24px #0005; font-size: 15px; }
  .site-header.nav-open .site-nav { display: flex; flex-direction: column; align-items: stretch; }
  .site-nav a, .site-nav .nav-feature { display: block; padding: 14px 0; }
  .site-nav .nav-download { position: static; margin-top: 10px; padding: 13px 18px; text-align: center; font-size: 14px; }
  .hero { height: calc(100svh - 72px); }
}

/* Match supporting text to the surrounding brand typography. */
.site-nav, .site-nav a, .site-footer a[href^="mailto:"] {
  font-family: inherit;
  font-style: normal;
  font-weight: 600;
  letter-spacing: normal;
}

.hero .copy p { font-family: inherit; font-weight: 400; font-style: normal; letter-spacing: normal; }
