@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  font-family: "Manrope", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: #0b0d10;
  color: #f1f2f3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

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

body {
  display: grid;
  min-height: 100svh;
  isolation: isolate;
}

main {
  align-self: center;
  justify-self: center;
  width: 100%;
  padding: 3rem 1.5rem;
  text-align: center;
  animation: arrive 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8.3vw, 7.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.065em;
}

.domain {
  color: #9299a4;
}

p {
  margin: 1.6rem 0 0;
  color: #9298a2;
  font-size: clamp(0.8125rem, 1.15vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.atmosphere {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 10%, #0b0d1040 70%),
    linear-gradient(145deg, #0b0d10 20%, #10141a 65%, #121820);
}

.glow {
  position: absolute;
  width: max(75vw, 650px);
  height: max(75vw, 650px);
  border-radius: 50%;
  will-change: transform;
}

.glow--blue {
  right: 0;
  bottom: 0;
  translate: 42% 50%;
  background: radial-gradient(ellipse, #6581a84a, #49617b16 42%, transparent 68%);
  animation: drift-blue 28s ease-in-out infinite alternate;
}

.glow--silver {
  top: 0;
  left: 0;
  translate: -50% -55%;
  background: radial-gradient(ellipse, #8e9ba921, #64748b0a 42%, transparent 68%);
  animation: drift-silver 32s ease-in-out infinite alternate;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(138vw, 850px);
  height: max(60vw, 420px);
  border: 1px solid #a7b6cc0d;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-28deg);
}

.orbit--inner {
  width: max(118vw, 720px);
  height: max(47vw, 320px);
  border-color: #a7b6cc08;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("/grain.svg");
}

::selection {
  color: #fff;
  background: #49617b;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift-blue {
  to {
    transform: translate(-7%, -6%) scale(1.08);
  }
}

@keyframes drift-silver {
  to {
    transform: translate(5%, 6%);
  }
}

@media (max-width: 600px) {
  p {
    margin-top: 1.25rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  main,
  .glow {
    animation: none;
    will-change: auto;
  }
}
