:root {
  color-scheme: dark;
  --bg: #09090b;
  --card: #131316;
  --muted: #9ca3af;
  --text: #f3f4f6;
  --line: rgba(255,255,255,.12);
  --accent: #8b5cf6;
  --accent2: #22c55e;
  --danger: #ef4444;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: radial-gradient(circle at top, #1b1330, var(--bg) 45%);
  color: var(--text);
}
.shell { max-width: 1080px; margin: 0 auto; padding: 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.hero { margin-bottom: 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: #c4b5fd; margin-bottom: 10px; }
h1, h2 { margin: 0 0 12px; }
.lead, .context { color: var(--muted); line-height: 1.6; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.badges span {
  padding: 8px 12px; border-radius: 999px; background: rgba(139,92,246,.14); border: 1px solid rgba(139,92,246,.28);
}
form { display: grid; gap: 14px; }
label { display: grid; gap: 8px; font-size: 14px; }
small { color: var(--muted); }
input, select, textarea, button {
  width: 100%; border-radius: 12px; border: 1px solid var(--line); background: #0d0d10; color: var(--text); padding: 12px 14px; font: inherit;
}
.secondary-button,
button {
  cursor: pointer; background: linear-gradient(135deg, var(--accent), #2563eb); border: none; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
}
.secondary-button {
  background: transparent;
  border: 1px solid var(--line);
}
button:hover, .secondary-button:hover { opacity: .95; }
button:disabled { cursor: not-allowed; opacity: .7; }
.flow ol { padding-left: 18px; color: var(--muted); }
.login-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 14px; }
.login-actions > * { flex: 1 1 220px; }
.result {
  white-space: pre-wrap; word-break: break-word; background: #0a0a0d; border: 1px solid var(--line); border-radius: 16px; padding: 16px; min-height: 220px;
}
.result--success {
  border-color: rgba(34,197,94,.5);
  background: rgba(20, 83, 45, .18);
}
.result--error {
  border-color: rgba(239,68,68,.5);
  background: rgba(127, 29, 29, .18);
}
