* { box-sizing: border-box; }
html { min-height: 100%; background: #05060d; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
  color: #eef1ff; font: 16px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}
/* The sky sits in a fixed layer of its own: phones (iOS Safari) ignore `background-attachment: fixed`. Sized to the
   large viewport so it doesn't jump when the browser's address bar shows or hides. The glow sits behind the logo and
   fades to the page colour well before the top and bottom edges, so it meets the phone's status bar and Safari's
   toolbar (both tinted #05060d by theme-color) without a seam. */
body::before {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100lvh; z-index: -2;
  background:
    radial-gradient(ellipse 70% 32% at 50% 52%, rgba(70, 100, 255, .16) 0%, rgba(70, 100, 255, 0) 100%),
    radial-gradient(ellipse 130% 50% at 50% 56%, #141c42 0%, #0b1026 45%, #05060d 82%);
}
#sky { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none; }
main {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right))
           max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  text-align: center; animation: rise 1.4s cubic-bezier(.2,.7,.2,1) both;
}
.logo {
  width: clamp(120px, 24vmin, 200px); height: auto; border-radius: 22.5%;
  box-shadow: 0 18px 60px rgba(70, 100, 255, .28), 0 0 0 1px rgba(255, 255, 255, .06);
}
h1 { margin: clamp(22px, 3.6vh, 34px) 0 0; line-height: 0; }
.name { width: clamp(220px, 52vmin, 440px); max-width: 100%; height: auto; }
.tagline {
  margin: clamp(10px, 1.6vh, 16px) 0 0; font-size: clamp(16px, 2.3vmin, 20px); font-weight: 400;
  color: rgba(238, 241, 255, .78); letter-spacing: .01em;
}
.soon {
  margin: clamp(26px, 4.4vh, 40px) 0 0; padding: .7em 1.4em .7em calc(1.4em + .3em);
  font-size: clamp(12px, 1.7vmin, 14px); font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: #c3ccff; border: 1px solid rgba(143, 168, 255, .35); border-radius: 999px;
  background: rgba(143, 168, 255, .08); box-shadow: 0 0 28px rgba(90, 120, 255, .18);
}
.platforms { margin: clamp(12px, 1.8vh, 16px) 0 0; font-size: clamp(13px, 1.8vmin, 15px); color: rgba(170, 182, 255, .62); }

/* Phones held upright: size by the width (the short side) so the mark fills the screen, and sit the group a little
   above the middle, where the eye expects the centre to be. */
@media (max-width: 600px) and (orientation: portrait) {
  main { padding-bottom: calc(max(24px, env(safe-area-inset-bottom)) + 7vh); }
  .logo { width: clamp(112px, 40vw, 180px); }
  .name { width: clamp(200px, 76vw, 400px); }
  .tagline { font-size: clamp(16px, 4.6vw, 20px); }
  .soon { font-size: clamp(11px, 3.1vw, 13px); }
  .platforms { font-size: clamp(13px, 3.6vw, 15px); }
}
/* Phones on their side: little height, so keep it compact (and the page scrolls if it still doesn't fit). */
@media (max-height: 480px) and (orientation: landscape) {
  main { padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .logo { width: clamp(64px, 22vh, 110px); }
  h1 { margin-top: 12px; }
  .name { width: clamp(170px, 48vh, 240px); }
  .tagline { margin-top: 6px; font-size: 14px; }
  .soon { margin-top: 12px; font-size: 11px; }
  .platforms { margin-top: 8px; font-size: 12px; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { main { animation: none; } }
