:root {
  --bg: #05050c;
  --bg-elev: #0b0d18;
  --text: #f4f7fb;
  --muted: #9aa6b8;
  --cyan: #00d8cc;
  --blue: #3b6cff;
  --indigo: #3b27e6;
  --glow: rgba(0, 216, 204, 0.22);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Sora", sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: var(--font-body);
  background: var(--bg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 70% 18%, rgba(0, 216, 204, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 45% at 18% 78%, rgba(59, 39, 230, 0.22), transparent 50%),
    linear-gradient(160deg, #05050c 0%, #0a1020 48%, #05050c 100%);
  animation: drift 16s ease-in-out infinite alternate;
}
.atmosphere.dim {
  opacity: 0.75;
  animation: none;
}

@keyframes drift {
  from { filter: saturate(1) brightness(1); transform: scale(1); }
  to { filter: saturate(1.12) brightness(1.05); transform: scale(1.03); }
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.brand-mark img {
  display: block;
  width: 4.5rem;
  height: auto;
  border-radius: 0.75rem;
  opacity: 0;
  animation: rise 0.9s ease forwards;
}
.brand-mark.compact img {
  width: 3rem;
}

.top-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.top-nav a:hover { color: var(--cyan); }

.hero {
  min-height: calc(100vh - 5.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 1.25rem 3rem;
  gap: 0.85rem;
}

.hero-logo {
  width: min(58vw, 22rem);
  height: auto;
  border-radius: 1.25rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 30px 80px var(--glow);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  animation: rise 1s ease 0.1s forwards;
}

.hero-line {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.2vw, 2.75rem);
  letter-spacing: -0.03em;
  max-width: 16ch;
  opacity: 0;
  animation: rise 0.9s ease 0.25s forwards;
}

.hero-sub {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.2vw, 1.15rem);
  max-width: 34ch;
  line-height: 1.45;
  opacity: 0;
  animation: rise 0.9s ease 0.4s forwards;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.85rem;
  opacity: 0;
  animation: rise 0.9s ease 0.55s forwards;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.7rem;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.cta.primary {
  background: linear-gradient(120deg, var(--indigo), var(--blue) 45%, var(--cyan));
  color: #fff;
  box-shadow: 0 10px 30px rgba(59, 108, 255, 0.28);
}
.cta.primary:hover { transform: translateY(-1px); }
.cta.ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.cta.ghost:hover {
  border-color: rgba(0, 216, 204, 0.45);
  color: var(--cyan);
}

.stub {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}
.stub .eyebrow {
  color: var(--cyan);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}
.stub h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.stub p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 1.5rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .top { padding: 0.9rem 1rem; }
  .hero { min-height: calc(100vh - 4.8rem); }
  .hero-logo { width: min(72vw, 18rem); }
}
