:root {
  --bg: #fafafa;
  --fg: #111;
  --muted: #6b6b6b;
  --card-bg: #ffffff;
  --border: #eaeaea;
  --accent: #111;
}

* { box-sizing: border-box; }

html { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 28rem;
  padding: clamp(1.75rem, 5vw, 3rem);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
  text-align: center;
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1.muted {
  color: var(--muted);
  font-size: clamp(2.4rem, 8vw, 3rem);
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

a:hover { color: var(--muted); border-bottom-color: var(--border); }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}