:root {
  --bg-0: #06101c;
  --bg-1: #0a1a2e;
  --ink: #f5f7fa;
  --muted: rgba(245, 247, 250, 0.68);
  --faint: rgba(245, 247, 250, 0.42);
  --primary: #006bff;
  --secondary: #008cff;
  --accent: #00d9f5;
  --line: rgba(255, 255, 255, 0.1);
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(0, 140, 255, 0.22), transparent 55%),
    radial-gradient(900px 500px at 90% 10%, rgba(0, 217, 245, 0.14), transparent 50%),
    linear-gradient(165deg, var(--bg-0), var(--bg-1) 45%, #071422);
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-a {
  width: 420px;
  height: 420px;
  background: rgba(0, 107, 255, 0.28);
  top: -80px;
  left: -60px;
}

.glow-b {
  width: 360px;
  height: 360px;
  background: rgba(0, 217, 245, 0.18);
  right: -40px;
  bottom: 10%;
  animation-delay: -4s;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(24px, 18px, 0);
  }
}

.top,
main,
footer {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.ghost-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.ghost-link:hover,
.ghost-link:focus-visible {
  color: var(--ink);
  border-color: rgba(0, 217, 245, 0.45);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(3rem, 12vh, 7rem) 1.5rem 3rem;
  min-height: calc(100dvh - 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-mark {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  background: linear-gradient(105deg, #fff 10%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  animation: rise 700ms 80ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lede {
  margin: 1.1rem 0 0;
  font-size: 1.125rem;
  color: var(--muted);
  animation: rise 700ms 140ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.soon {
  margin: 0.85rem 0 0;
  color: var(--faint);
  font-size: 0.95rem;
  animation: rise 700ms 200ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cta {
  margin-top: 2rem;
  animation: rise 700ms 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.35rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: #f5f7fa;
  font-weight: 600;
  background: linear-gradient(120deg, var(--primary), var(--secondary) 55%, var(--accent));
  box-shadow: 0 12px 40px -16px rgba(0, 217, 245, 0.7);
  transition: transform 140ms ease, filter 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.pillars {
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
}

@media (min-width: 768px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pillars {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillars article {
  padding: 1rem 0.25rem;
  animation: rise 700ms calc(320ms + var(--i) * 70ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pillars h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.pillars p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 36ch;
}

footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--faint);
  font-size: 0.85rem;
}

footer a {
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .glow,
  .brand-mark,
  .hero h1,
  .lede,
  .soon,
  .cta,
  .pillars article {
    animation: none;
  }
}
