@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500&display=swap");

:root {
  --left-edge: clamp(1.5rem, 20.7vw, 20rem);
  --top-edge: clamp(5rem, 23.6vh, 17.6rem);
  --text-color: rgba(255, 255, 255, 0.94);
  --muted-text: rgba(255, 255, 255, 0.9);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #000;
}

body {
  min-height: 100%;
  margin: 0;
  background: #000;
  color: var(--text-color);
  font-family: "Geist", "Avenir Next", "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

.landing {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
}

.device {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  animation: device-fade 1.4s ease-out 1.55s forwards;
}

.copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--top-edge) 1.5rem clamp(2rem, 7.2vh, 5.4rem) var(--left-edge);
}

.logo {
  display: block;
  width: clamp(9.8rem, 13.44vw, 12.95rem);
  height: auto;
  opacity: 0;
  animation: content-fade 0.9s ease-out 0.15s forwards;
}

.message {
  width: min(34rem, calc(100vw - var(--left-edge) - 1.5rem));
  margin-top: clamp(4.5rem, 8.7vh, 6.5rem);
  color: var(--muted-text);
  opacity: 0;
  animation: content-fade 0.9s ease-out 0.85s forwards;
}

.message h1 {
  margin: 0 0 clamp(2.1rem, 4.1vh, 3.1rem);
  font-size: 1.38rem;
  font-weight: 400;
  line-height: 1.42;
  white-space: nowrap;
}

.message p {
  margin: 0;
  max-width: 22.5rem;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.45;
}

.message .soon {
  display: inline-block;
  margin-top: clamp(4.4rem, 8.3vh, 6.2rem);
  font-size: 1.3rem;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.site-footer {
  margin-top: auto;
  color: var(--muted-text);
  font-size: 1.02rem;
  line-height: 1.5;
  opacity: 0;
  animation: content-fade 0.9s ease-out 0.85s forwards;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

@keyframes content-fade {
  from {
    opacity: 0;
    transform: translateY(0.45rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes device-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 760px) {
  :root {
    --left-edge: clamp(1.4rem, 7vw, 3rem);
    --top-edge: clamp(4rem, 12vh, 6rem);
  }

  .device {
    top: auto;
    right: clamp(-4rem, -8vw, -1.4rem);
    bottom: 0;
    left: auto;
    width: min(132vw, 42rem);
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: right bottom;
    filter: brightness(0.8);
  }

  .copy {
    padding-right: 1.25rem;
    padding-bottom: clamp(1.45rem, 4vh, 2rem);
  }

  .logo {
    width: min(47.6vw, 12.6rem);
  }

  .message {
    width: min(25rem, calc(100vw - var(--left-edge) - 1.25rem));
    margin-top: 3.5rem;
  }

  .message h1 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    white-space: normal;
  }

  .message p {
    max-width: 32ch;
    font-size: 0.98rem;
  }

  .message .soon {
    margin-top: 3.35rem;
    font-size: 1.1rem;
  }

  .site-footer {
    font-size: 0.92rem;
  }
}

@media (max-width: 760px) and (max-height: 760px) {
  .device {
    width: min(112vw, 36rem);
  }
}

@media (max-height: 680px) and (min-width: 761px) {
  :root {
    --top-edge: 4.5rem;
  }

  .message {
    margin-top: 3.2rem;
  }

  .message h1 {
    margin-bottom: 1.75rem;
  }

  .message .soon {
    margin-top: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
}
