:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --fg: #f5f5f5;
  --accent: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #f59e0b 100%);
  --muted: #737373;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem 1.5rem;
  text-align: center;
}

h1 {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.brand {
  background: var(--accent);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.sub {
  font-size: clamp(1rem, 4vw, 1.25rem);
  color: var(--fg);
  opacity: 0.7;
  margin: 0 0 2rem;
  max-width: 32ch;
}

.meta {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  h1 .brand {
    background-size: 200% 100%;
    animation: shimmer 6s ease-in-out infinite;
  }
  @keyframes shimmer {
    0%,
    100% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
  }
}
