:root {
  color-scheme: light dark;
  --bg: #f6f4fb;
  --card: #ffffff;
  --text: #1d1b22;
  --muted: #5d5868;
  --accent: #6f5bb5;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #141218; --card: #1f1c25; --text: #f1eef7; --muted: #b9b3c6; --accent: #b6a6ee; }
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.card {
  width: 100%;
  max-width: 440px;
  padding: 32px 24px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.brand { margin: 0 0 16px; font-weight: 700; color: var(--accent); }
h1 { margin: 0 0 12px; font-size: 24px; line-height: 1.25; }
#body { margin: 0 0 24px; color: var(--muted); }
.badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.badge[hidden], button[hidden] { display: none; }
button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--muted);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
