:root {
  --bg: #0f1115;
  --fg: #e8e8ea;
  --muted: #9aa0a8;
  --line: #2a2e35;
  --accent: #e8e8ea;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.stage {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(1.5rem, 6vw, 6rem);
}

.card {
  max-width: 32rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.title {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
}

.title span { margin: 0 0.4em; opacity: 0.6; }

.links {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.link {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg);
  text-decoration: none;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.link:hover,
.link:focus-visible {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
}

.link.primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.link.primary:hover,
.link.primary:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
}

.link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .link { transition: none; }
}
