:root {
  color-scheme: dark;
  font: 16px/1.45 "Segoe UI", Arial, sans-serif;
  color: #fff7ec;
  background: #05080b;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }

.landing-hero {
  position: relative;
  isolation: isolate;
  margin: 0 auto;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: clamp(24px, 4.1vw, 88px);
}

.landing-scene {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: #05080b;
}

.landing-scene video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.landing-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #05080b 0%, #05080bda 9%, #05080b26 28%, transparent 42%);
  pointer-events: none;
}

.landing-content { max-width: 33rem; padding-bottom: clamp(12px, 3.2vh, 38px); }
.landing-content h1 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.landing-tagline { margin: 0 0 1.15rem; color: #efe7dd; max-width: 27rem; font-size: clamp(1.05rem, 1.75vw, 1.45rem); text-wrap: balance; }
.landing-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.landing-button {
  min-height: 3rem;
  padding: .65rem 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: .45rem;
  color: inherit;
  font-weight: 650;
  text-decoration: none;
}
.landing-signin { color: #171008; background: #ffce90; }
.landing-signin:hover { background: #ffe5bc; }
.landing-status { margin: .85rem 0 0; max-width: 26rem; font-size: .94rem; color: #ffdbb0; }
.landing-button:focus-visible, .landing-motion:focus-visible { outline: 2px solid #fff4d8; outline-offset: 4px; }

.landing-motion {
  position: absolute;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  color: #fff0dd;
  background: #0b0c11bf;
  border: 1px solid #d3bda862;
  border-radius: 50%;
  cursor: pointer;
}
.landing-motion[hidden] { display: none; }
.motion-icon { display: block; width: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; }
.landing-motion[data-playing] .motion-icon { width: 9px; height: 12px; border: 0; border-inline: 3px solid currentColor; }

@media (min-aspect-ratio: 21/10) {
  .landing-scene video { object-fit: contain; object-position: center 42%; }
  .landing-hero { padding-inline: max(4.1vw, calc((100vw - 165svh) / 2)); }
}

@media (max-aspect-ratio: 4/3), (max-width: 680px) {
  .landing-hero { align-content: start; padding: 0 1.25rem 4.25rem; }
  .landing-scene { inset: 0 0 auto; height: clamp(14rem, 55svh, 33rem); }
  .landing-scene video { width: 186%; margin-left: -86%; object-position: right center; }
  .landing-scene::after { background: linear-gradient(0deg, #05080b 0%, transparent 36%), linear-gradient(90deg, #05080b 0%, transparent 28%); }
  .landing-content { position: relative; margin-top: clamp(13rem, 51svh, 29rem); padding-bottom: 0; }
  .landing-content h1 { position: static; width: auto; height: auto; clip-path: none; margin: 0 0 .65rem; line-height: 1; font-size: clamp(2.4rem, 8vw, 4.8rem); letter-spacing: -.05em; }
  .landing-motion { bottom: auto; top: max(1rem, env(safe-area-inset-top)); }
}
