:root{
  --bg: #121520;
  --bg-deep: #0b0e15;
  --glow-1: #1a2233;
  --glow-2: #15192a;
  --glow-3: #0f1422;
  --text: #ffffff;
  --muted: rgba(255,255,255,0.72);
  --soft: rgba(255,255,255,0.14);
  --accent: rgba(255,255,255,0.9);
  --letter-tight: -0.04em;
  --radius: 18px;
}

*{
  box-sizing: border-box;
}

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

body{
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(900px 700px at 10% 18%, rgba(90,130,220,0.45), transparent 62%),
    radial-gradient(1100px 900px at 85% 12%, rgba(120,80,210,0.5), transparent 60%),
    radial-gradient(800px 600px at 55% 92%, rgba(60,120,200,0.5), transparent 60%),
    radial-gradient(700px 500px at 20% 70%, rgba(80,160,210,0.35), transparent 58%),
    radial-gradient(1000px 700px at 78% 75%, rgba(140,110,240,0.38), transparent 60%),
    linear-gradient(160deg, var(--bg-deep) 0%, var(--bg) 60%);
  background-size: 140% 140%, 150% 150%, 140% 140%, 130% 130%, 150% 150%, 120% 120%;
  background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  color: var(--text);
  display: grid;
  place-items: center;
  padding: 32px 20px;
  position: relative;
  overflow: hidden;
  animation: ambientShift 18s ease-in-out infinite;
}

body::before,
body::after{
  content: "";
  position: absolute;
  width: 820px;
  height: 820px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(140,190,255,0.5), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(170,120,255,0.45), transparent 65%);
  filter: blur(14px);
  opacity: 0.95;
  animation: floatGlow 14s ease-in-out infinite, hueShift 18s linear infinite;
  pointer-events: none;
}

body::before{
  top: -180px;
  left: -140px;
}

body::after{
  bottom: -200px;
  right: -160px;
  animation-delay: -6s;
}

.page{
  width: min(680px, 92vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  position: relative;
  isolation: isolate;
  z-index: 1;
  align-items: center;
  justify-items: center;
  min-height: 100vh;
}

.page::before{
  content: none;
}

.logo{
  font-size: clamp(30px, 6.5vw, 60px);
  letter-spacing: var(--letter-tight);
  text-transform: lowercase;
  margin: 0;
  font-weight: 600;
}

.tagline{
  font-size: clamp(16px, 2.6vw, 20px);
  letter-spacing: -0.01em;
  color: var(--muted);
  margin: 0;
}

.contact{
  font-size: 16px;
  letter-spacing: -0.01em;
  margin: 0;
}

.contact a{
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  padding-bottom: 2px;
}

.contact a:hover,
.contact a:focus-visible{
  border-bottom-color: rgba(255,255,255,0.6);
}

.mono{
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes floatGlow{
  0%, 100%{ transform: translate3d(0, 0, 0) scale(1); }
  50%{ transform: translate3d(70px, 50px, 0) scale(1.08); }
}

@keyframes sheen{
  0%, 100%{ opacity: 0.35; }
  50%{ opacity: 0.8; }
}

@keyframes ambientShift{
  0%{
    background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }
  50%{
    background-position: 35% 25%, 60% 15%, 45% 70%, 20% 55%, 70% 60%, 0% 0%;
  }
  100%{
    background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }
}

@keyframes hueShift{
  0%{ filter: blur(14px) hue-rotate(0deg); }
  50%{ filter: blur(18px) hue-rotate(35deg); }
  100%{ filter: blur(14px) hue-rotate(70deg); }
}

@media (max-width: 520px){
  .page{
    padding: 0;
  }
}
