/* Colours from packages/ui/src/theme/theme.js, so the page matches the portal it leads to. */
:root {
  --primary: #3E6557;
  --primary-dark: #2B4A3E;
  --bg: #EEF3F0;
  --card: #FFFFFF;
  --text: #1C2420;
  --muted: #5B6862;
  --border: #DCE5E0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141F1A;
    --card: #1D2A24;
    --text: #E8EEEB;
    --muted: #A3B1AA;
    --border: #2C3B34;
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.55;
}

.card {
  width: 100%;
  max-width: 420px;
  padding: 40px 32px 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(25, 44, 37, 0.08);
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--primary);
}

h1 {
  margin: 20px 0 8px;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.button:hover { background: var(--primary-dark); }

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

.note {
  margin: 16px 0 0;
  font-size: 0.8rem;
}

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