:root {
  color-scheme: dark;
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bg: radial-gradient(circle at top, #1f3b66 0%, #0b1220 55%, #05070f 100%);
  --text: #f4f7ff;
  --muted: #94a3b8;
  --accent: #5fe4c8;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 200ms ease;
}

a:hover {
  opacity: 1;
}

.hero {
  min-height: 100vh;
  padding: 2rem clamp(1.5rem, 4vw, 5rem) 3rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.status {
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-content {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-size: 0.9rem;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin: 0;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

footer {
  font-size: 0.9rem;
  color: var(--muted);
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: #05070f;
  display: grid;
  place-items: center;
  z-index: 100;
  transition: opacity 400ms ease;
}

.loading-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  header,
  footer {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    text-align: center;
    align-items: center;
  }

}
