:root {
  color-scheme: dark;
  background: #101113;
  color: #fff;
}

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

html,
body {
  margin: 0;
  min-width: 280px;
  min-height: 100%;
}

body {
  -webkit-tap-highlight-color: transparent;
}

.stage {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: max(24px, env(safe-area-inset-top)) clamp(28px, 6vw, 144px)
    max(24px, env(safe-area-inset-bottom));
}

.stage__visual {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  user-select: none;
}

.stage__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand {
  width: clamp(260px, 34vw, 560px);
  margin: 0;
  line-height: 0;
  animation: brand-enter 850ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

@keyframes brand-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) and (orientation: portrait) {
  .stage {
    align-items: flex-start;
    justify-content: center;
    padding-top: max(15svh, calc(env(safe-area-inset-top) + 40px));
  }

  .brand {
    width: clamp(228px, 66vw, 350px);
  }
}

@media (max-height: 480px) and (orientation: landscape) {
  .brand {
    width: clamp(220px, 34vw, 340px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand {
    animation: none;
  }
}
