:root {
  color-scheme: dark;
  font-family:
    "Avenir Next",
    "Helvetica Neue",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --page-black: #000000;
  --text-primary: #f4f4f4;
  --turvio-yellow: #ffca0a;
}

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

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--page-black);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--page-black);
  color: var(--text-primary);
}

img,
video {
  display: block;
  max-width: 100%;
}

.coming-soon {
  display: flex;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  padding:
    max(0px, env(safe-area-inset-top))
    max(clamp(0.75rem, 2.8vw, 3rem), env(safe-area-inset-right))
    max(clamp(3.5rem, 7vw, 7.5rem), env(safe-area-inset-bottom))
    max(clamp(0.75rem, 2.8vw, 3rem), env(safe-area-inset-left));
  background: var(--page-black);
}

.brand {
  display: grid;
  width: min(100%, 67.5rem);
  place-items: center;
}

.brand__logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-showcase {
  width: min(100%, 73.75rem);
  margin-top: clamp(-1.5rem, -1vw, -0.5rem);
}

.video-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--page-black);
  isolation: isolate;
}

.video-stage::after {
  position: absolute;
  z-index: 1;
  inset: -1px;
  box-shadow: inset 0 0 clamp(1.5rem, 6vw, 6.25rem) clamp(0.25rem, 1.1vw, 1.25rem)
    var(--page-black);
  content: "";
  pointer-events: none;
}

.product-video {
  width: 100%;
  height: auto;
  aspect-ratio: 50 / 23;
  border: 0;
  background: var(--page-black);
  object-fit: contain;
}

.product-video::-webkit-media-controls,
.product-video::-webkit-media-controls-enclosure,
.product-video::-webkit-media-controls-panel {
  display: none !important;
  -webkit-appearance: none;
}

.announcement {
  width: min(100%, 60rem);
  margin-top: clamp(1.75rem, 3.7vw, 4.25rem);
  text-align: center;
}

.announcement h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.25rem, 1.05rem + 1.05vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
  text-wrap: balance;
}

.announcement p {
  margin: clamp(0.7rem, 1.4vw, 1.15rem) 0 0;
  color: var(--turvio-yellow);
  font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

@media (max-width: 37.5rem) {
  .product-showcase {
    margin-top: -0.5rem;
  }

  .video-stage::after {
    box-shadow: inset 0 0 1.75rem 0.35rem var(--page-black);
  }

  .announcement {
    margin-top: 1.75rem;
  }
}

@media (min-width: 37.501rem) {
  .coming-soon {
    justify-content: center;
    padding-top: max(clamp(0.75rem, 1.8vh, 1.35rem), env(safe-area-inset-top));
    padding-right: max(clamp(1rem, 2.5vw, 2.5rem), env(safe-area-inset-right));
    padding-bottom: max(clamp(0.75rem, 1.8vh, 1.35rem), env(safe-area-inset-bottom));
    padding-left: max(clamp(1rem, 2.5vw, 2.5rem), env(safe-area-inset-left));
  }

  .brand {
    width: min(64vw, 62vh, 58rem);
    width: min(64vw, 62svh, 58rem);
  }

  .brand__logo {
    max-height: 35vh;
    max-height: 35svh;
    margin-inline: auto;
  }

  .product-showcase {
    width: min(78vw, 84.8vh, 62.5rem);
    width: min(78vw, 84.8svh, 62.5rem);
    margin-top: clamp(-1rem, -1.2vh, -0.4rem);
  }

  .product-video {
    max-height: 39vh;
    max-height: 39svh;
    margin-inline: auto;
  }

  .announcement {
    margin-top: clamp(0.75rem, 1.8vh, 1.25rem);
  }

  .announcement h1 {
    font-size: clamp(1.15rem, 1rem + 0.55vw, 1.75rem);
  }

  .announcement p {
    margin-top: clamp(0.35rem, 0.75vh, 0.65rem);
    font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.2rem);
  }
}
