:root {
  color-scheme: light dark;
  --bg: #000;
  --fg: #f5f5f7;
  --muted: #86868b;
  --accent: #2997ff;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: radial-gradient(circle at 50% 0%, #1d1d1f 0%, #000 60%);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow-x: hidden;
}

main {
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.eyebrow {
  font-size: clamp(14px, 2vw, 19px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent);
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

h1 {
  font-size: clamp(48px, 9vw, 112px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  background: linear-gradient(180deg, #fff 0%, #d2d2d7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.15s forwards;
}

p.subhead {
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 40px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.3s forwards;
}

.buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.45s forwards;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-secondary {
  color: var(--accent);
}

.btn-secondary:hover {
  text-decoration: underline;
}

.btn:active {
  transform: scale(0.97);
}

footer {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  color: #424245;
}

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

@media (prefers-color-scheme: light) {
  body {
    background: radial-gradient(circle at 50% 0%, #fbfbfd 0%, #f5f5f7 60%);
  }
  h1 {
    background: linear-gradient(180deg, #1d1d1f 0%, #3a3a3c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  p.subhead {
    color: #6e6e73;
  }
  footer {
    color: #86868b;
  }
}

#auth {
  position: fixed;
  top: 20px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

#auth .btn {
  padding: 8px 18px;
  font-size: 14px;
}
