:root {
  --bg: #07070a;
  --fg: #f4f5f8;
  --muted: rgba(244, 245, 248, 0.62);
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.045);
  --accent: #b7c4ff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family:
    "SF Pro Display",
    "SF Pro Text",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 18s var(--ease) infinite alternate;
}

.orb-a {
  width: 42vw;
  height: 42vw;
  min-width: 280px;
  min-height: 280px;
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, #3d4dff 0%, transparent 70%);
}

.orb-b {
  width: 38vw;
  height: 38vw;
  min-width: 240px;
  min-height: 240px;
  right: -10%;
  top: 18%;
  background: radial-gradient(circle, #7a3dff 0%, transparent 70%);
  animation-duration: 22s;
  animation-delay: -4s;
}

.orb-c {
  width: 30vw;
  height: 30vw;
  min-width: 200px;
  min-height: 200px;
  left: 30%;
  bottom: -16%;
  background: radial-gradient(circle, #2ec5ff 0%, transparent 70%);
  animation-duration: 26s;
  animation-delay: -8s;
}

.grid {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  animation: gridshift 28s linear infinite;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.top,
.hero,
.cards,
.foot,
.legal {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 28px 0;
  animation: rise 0.9s var(--ease) both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--accent);
  animation: spin-slow 18s linear infinite;
}

.mark svg {
  width: 34px;
  height: 34px;
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-chip {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(16px);
}

.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 14vh 28px 48px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  animation: rise 1s var(--ease) 0.1s both;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6dffb0;
  box-shadow: 0 0 0 0 rgba(109, 255, 176, 0.7);
  animation: ping 2.2s ease-out infinite;
}

h1 {
  font-size: clamp(40px, 8vw, 84px);
  font-weight: 580;
  letter-spacing: -0.045em;
  line-height: 1.02;
  animation: rise 1.05s var(--ease) 0.18s both;
}

.shine {
  display: block;
  background: linear-gradient(100deg, #ffffff 10%, #9eb0ff 42%, #ffffff 70%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 5.5s ease-in-out infinite;
}

.lede {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 18px;
  color: var(--muted);
  animation: rise 1.1s var(--ease) 0.28s both;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin-top: 36px;
  animation: rise 1.15s var(--ease) 0.38s both;
}

.pills li {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(16px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px 80px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--glass);
  backdrop-filter: blur(22px);
  animation: rise 1s var(--ease) var(--d) both;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(183, 196, 255, 0.35);
}

.card h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px 36px;
  font-size: 13px;
  color: var(--muted);
  animation: rise 1.2s var(--ease) 0.5s both;
}

.foot a {
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.foot a:hover {
  color: var(--fg);
  border-bottom-color: var(--fg);
}

.page .hero,
.legal {
  animation: rise 0.9s var(--ease) both;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 10vh 28px 80px;
}

.legal h1 {
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 8px;
}

.legal h2 {
  margin: 36px 0 10px;
  font-size: 18px;
}

.legal p {
  color: var(--muted);
  margin-bottom: 14px;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(6%, 8%, 0) scale(1.12);
  }
}

@keyframes gridshift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(72px);
  }
}

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

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(109, 255, 176, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(109, 255, 176, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(109, 255, 176, 0);
  }
}

@keyframes sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 800px) {
  .top {
    padding: 20px 20px 0;
    gap: 12px;
  }

  .legal-chip {
    font-size: 11px;
    padding: 6px 10px;
    flex-shrink: 0;
  }

  .hero {
    padding: 12vh 20px 40px;
  }

  .cards {
    grid-template-columns: 1fr;
    padding: 0 20px 64px;
  }

  .foot {
    padding: 0 20px 28px;
  }

  .legal {
    padding: 8vh 20px 64px;
  }
}

@media (max-width: 420px) {
  .pills li {
    font-size: 12px;
    padding: 8px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
