:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #555;
  --accent: #2563eb;
  --border: #e5e5e5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0f;
    --fg: #f0f0f0;
    --muted: #a0a0a0;
    --accent: #6ea8fe;
    --border: #2a2a2e;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 42rem;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.links a:hover,
.links a:focus-visible {
  border-bottom-color: currentColor;
}

.footer {
  max-width: 42rem;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

.footer p {
  margin: 0;
}
