:root {
  --bg0: #071018;
  --bg1: #0c1a28;
  --ink: #e8eef6;
  --muted: #9bb0c7;
  --line: rgba(232, 238, 246, 0.14);
  --accent: #3b82f6;
  --accent-2: #38bdf8;
  --font-display: "Syne", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
body {
  color: var(--ink);
  font-family: var(--font-body);
  background: radial-gradient(1200px 700px at 70% 10%, #12314a 0%, transparent 55%),
    linear-gradient(160deg, var(--bg1), var(--bg0) 55%, #050a10);
  overflow-x: hidden;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  opacity: 0.35;
  animation: drift 28s linear infinite;
}
.glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -10vw;
  top: -10vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.28), transparent 65%);
  filter: blur(8px);
  animation: pulse 8s ease-in-out infinite;
}
.routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.route {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 10 14;
}
.r1 {
  stroke: var(--accent);
  animation: dash 18s linear infinite;
}
.r2 {
  stroke: var(--accent-2);
  animation: dash 22s linear infinite reverse;
}
.r3 {
  stroke: rgba(232, 238, 246, 0.35);
  animation: dash 26s linear infinite;
}

.top,
.hero {
  position: relative;
  z-index: 1;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.15rem;
}
nav {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}
.brand-hero {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  background: linear-gradient(120deg, #fff 20%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.9s ease-out both;
}
h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.4vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  animation: rise 1s ease-out 0.08s both;
}
.lede {
  margin: 1.1rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  animation: rise 1s ease-out 0.16s both;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise 1s ease-out 0.24s both;
}
.cta,
.cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.cta {
  background: var(--accent);
  color: #fff;
}
.cta:hover {
  background: #2563eb;
}
.cta-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.cta-ghost:hover {
  border-color: rgba(232, 238, 246, 0.35);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 72px 72px, 72px 72px;
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}
@keyframes dash {
  to {
    stroke-dashoffset: -240;
  }
}

@media (max-width: 640px) {
  .top {
    padding: 1rem;
  }
  .hero {
    padding: 1.25rem 1rem 3rem;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
}
