:root {
  --bg: #07090d;
  --ink: #f4f7fb;
  --muted: #9aa8bc;
  --accent: #4a9eff;
  --accent-hover: #6bb0ff;
  --line: rgba(255, 255, 255, 0.1);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(74, 158, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #0b1018 0%, #07090d 55%, #050608 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-a {
  width: 42vw;
  height: 42vw;
  left: -8%;
  top: 18%;
  background: rgba(74, 158, 255, 0.28);
}

.glow-b {
  width: 36vw;
  height: 36vw;
  right: -6%;
  bottom: 8%;
  background: rgba(120, 90, 255, 0.12);
  animation-delay: -4s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.top,
.hero,
.strip,
.foot {
  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 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.top-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 160ms ease;
}

.top-cta:hover {
  color: var(--accent-hover);
}

.hero {
  min-height: calc(100dvh - 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.brand-mark {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
  animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: rgba(244, 247, 251, 0.92);
  animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}

.lede {
  margin: 1.15rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
  animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) 200ms both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--accent);
  color: #061018;
}

.btn.primary:hover {
  background: var(--accent-hover);
}

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}

.btn.ghost:hover {
  border-color: rgba(74, 158, 255, 0.45);
}

.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}

.strip a {
  position: relative;
  transition: color 160ms ease;
}

.strip a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.strip a:hover {
  color: var(--accent);
}

.strip a:hover::after {
  transform: scaleX(1);
}

.foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.foot a {
  color: var(--accent);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(3%, -4%, 0) scale(1.08);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: calc(100dvh - 6rem);
    padding-top: 1rem;
  }

  .actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow,
  .brand-mark,
  .hero h1,
  .lede,
  .actions {
    animation: none;
  }
}
