:root {
  color-scheme: light dark;
  --bg: #f7f7f8;
  --fg: #1c1c1f;
  --muted: #5c5c66;
  --accent: #2f5d8a;
  --accent-contrast: #ffffff;
  --focus: #b3541e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141417;
    --fg: #ececf0;
    --muted: #a2a2ad;
    --accent: #7fa8cc;
    --accent-contrast: #101013;
    --focus: #e08a4e;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem 1.25rem;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  text-align: center;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.title {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.subtitle {
  color: var(--muted);
  font-size: 1rem;
}

.action {
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.9rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: filter 0.15s ease;
}

.button:hover {
  filter: brightness(1.1);
}

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

.footer {
  color: var(--muted);
  font-size: 0.8rem;
}
