*, *::before, *::after { box-sizing: border-box; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 1.5rem;
  max-width: 40rem;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.75rem;
  background: var(--bg);
  color: var(--fg);
}

main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 0;
}

h1 {
  margin: 0 0 1.75rem;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 800;
}

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

.link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  text-decoration: none;
  background: var(--link-bg);
  color: var(--link-fg);
}

.link:hover { filter: brightness(0.9); }

.link svg {
  height: 1em;
  width: 1em;
}

footer {
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}
