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

[data-theme="dark"] {
  --bg-secondary: #16161a;
  --text-primary: #f4f4f5;
  --text-muted: #71717a;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --border: #27272a;
  --orb-color: rgba(99, 102, 241, 0.08);
}

[data-theme="dark"] body {
  background: #0f0f12;
}

[data-theme="light"] {
  --bg-secondary: oklch(0.952 0.028 282);
  --text-primary: oklch(0.27 0.055 286);
  --text-muted: oklch(0.48 0.04 280);
  --accent: oklch(0.55 0.16 286);
  --accent-hover: oklch(0.49 0.17 286);
  --border: oklch(0.78 0.06 280);
}

[data-theme="light"] body {
  background:
    radial-gradient(ellipse 95% 80% at 0% 0%, oklch(0.92 0.075 152), transparent 68%),
    radial-gradient(ellipse 90% 75% at 100% 0%, oklch(0.93 0.06 82), transparent 68%),
    radial-gradient(ellipse 95% 80% at 100% 100%, oklch(0.89 0.075 220), transparent 68%),
    radial-gradient(ellipse 90% 75% at 0% 100%, oklch(0.92 0.07 292), transparent 68%),
    linear-gradient(150deg, oklch(0.91 0.06 318), oklch(0.92 0.055 292) 46%, oklch(0.92 0.06 334));
  background-size: 100% 100%;
  background-attachment: fixed;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] body::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--orb-color) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.container {
  max-width: 560px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4rem;
}

footer {
  position: absolute;
  bottom: 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

@keyframes gradient-text-flow {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

.animated-gradient-text {
  position: relative;
  display: inline-block;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
  line-height: 1.08;
  vertical-align: baseline;
}

.animated-gradient-text .invisible {
  visibility: hidden;
}

.animated-gradient-text-layer {
  position: absolute;
  inset: 0;
  color: transparent;
  background-size: 250% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradient-text-flow 12s ease-in-out infinite alternate;
}

[data-theme="light"] .animated-gradient-text-layer {
  background-image: linear-gradient(
    100deg,
    oklch(0.44 0.12 210),
    oklch(0.45 0.14 286) 24%,
    oklch(0.46 0.15 335) 48%,
    oklch(0.43 0.13 250) 72%,
    oklch(0.45 0.14 304)
  );
}

[data-theme="dark"] .animated-gradient-text-layer {
  background-image: linear-gradient(
    100deg,
    rgb(165 243 252),
    rgb(196 181 253) 22%,
    rgb(249 168 212) 42%,
    rgb(147 197 253) 62%,
    rgb(216 180 254) 82%,
    rgb(165 243 252)
  );
}

@media (prefers-reduced-motion: reduce) {
  .animated-gradient-text-layer {
    animation: none;
  }
}
