:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --navy: #0b1f3a;
  --navy-hover: #132f56;
  --text: #1a2433;
  --muted: #5a6678;
  --border: #e2e8f0;
  --focus: #1d4ed8;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

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

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.card {
  width: 100%;
  max-width: 34rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(2.25rem, 6vw, 3.5rem) clamp(1.5rem, 5vw, 3rem);
  text-align: center;
  box-shadow: 0 12px 32px -16px rgba(11, 31, 58, 0.14);
}

.logo {
  display: block;
  margin-inline: auto;
  width: min(17rem, 78%);
  height: auto;
}

.divider {
  width: 3rem;
  height: 2px;
  background-color: var(--navy);
  margin: 2rem auto 1.75rem;
  opacity: 0.22;
}

.title {
  margin: 0;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.subtitle {
  margin: 0.75rem auto 0;
  max-width: 36ch;
  font-size: 0.975rem;
  line-height: 1.55;
  color: var(--muted);
}

.actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: 8px;
  background-color: var(--navy);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}

.btn-primary:hover {
  background-color: var(--navy-hover);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.link-secondary {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  word-break: break-word;
}

.link-secondary:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

@media (prefers-reduced-motion: reduce) {
  .btn-primary {
    transition: none;
  }
  .btn-primary:hover {
    transform: none;
  }
}
