@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #07060a;
  --ink: #f3eee6;
  --muted: #9a9188;
  --soft: #d6ccc0;
  --orange: #ff8d46;
  --flame: #ff2205;
  --violet: #413da0;
  --green: #50854c;
  color-scheme: dark;
}

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

html,
body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 68% 28%, rgba(255, 103, 42, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 60% at 28% 62%, rgba(65, 61, 160, 0.2), transparent 62%),
    radial-gradient(ellipse 50% 40% at 52% 48%, rgba(80, 133, 76, 0.1), transparent 70%);
}

.grain {
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

main {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
}

.logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 0 2.25rem;
}

.logo-wrap::before {
  content: "";
  position: absolute;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 141, 70, 0.22), rgba(65, 61, 160, 0.08) 45%, transparent 70%);
  filter: blur(8px);
  z-index: -1;
}

.logo {
  width: auto;
  height: 11.5rem;
  max-width: 72vw;
  display: block;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.soon {
  margin: 0;
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--soft);
  line-height: 1.4;
}

.rule {
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 1.35rem auto 1.2rem;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--orange) 20%, #ff5322 50%, var(--violet) 80%, transparent);
  opacity: 0.85;
}

.domain {
  margin: 0;
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.2;
}

.logo-wrap,
.soon,
.rule,
.domain {
  animation: rise 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo-wrap { animation-delay: 0.05s; }
.soon { animation-delay: 0.28s; }
.rule { animation-delay: 0.4s; }
.domain { animation-delay: 0.52s; }

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

@media (prefers-reduced-motion: reduce) {
  .logo-wrap,
  .soon,
  .rule,
  .domain {
    animation: none;
  }
}

@media (max-width: 40rem) {
  .logo {
    height: 9.25rem;
  }

  main {
    padding: 5rem 1.25rem 4rem;
  }

  .soon {
    letter-spacing: 0.32em;
  }
}

@media (max-height: 32rem) and (orientation: landscape) {
  main {
    padding: 2rem 1rem;
  }

  .logo {
    height: 6.5rem;
  }

  .logo-wrap {
    margin-bottom: 1.1rem;
  }
}
