:root {
  --bg: #f7f8fa;
  --card-bg: #ffffff;
  --text-primary: #1c2127;
  --text-secondary: #5f6b7c;
  --border: #dce0e5;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --accent-border: rgba(37, 99, 235, 0.25);
  --shadow: 0 8px 30px rgba(17, 20, 24, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111418;
    --card-bg: #1c2127;
    --text-primary: #f5f8fa;
    --text-secondary: #a7b6c2;
    --border: #2f343c;
    --accent: #60a5fa;
    --accent-soft: rgba(96, 165, 250, 0.12);
    --accent-border: rgba(96, 165, 250, 0.3);
    --shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 560px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 16px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

p {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.link-pill:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.footer {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-align: center;
}

@media (max-width: 480px) {
  .card {
    padding: 28px 24px;
  }
}
