:root {
  --bg: #0b0e14;
  --panel: #131826;
  --line: #26304a;
  --text: #e6e9f2;
  --muted: #9aa3b8;
  --gold: #e0b357;
  --gold-dark: #b8902f;
  --blue: #4aa3ff;
  --error: #ff6b6b;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(1200px 600px at 50% -10%, #1b2440 0%, var(--bg) 60%);
  color: var(--text);
  font: 16px/1.55 "Segoe UI", Roboto, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--blue); }
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; border-bottom: 1px solid var(--line);
}
header .brand { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); text-decoration: none; font-size: 18px; }
header nav a { color: var(--muted); text-decoration: none; margin-left: 22px; }
header nav a:hover { color: var(--text); }
main { flex: 1; width: 100%; max-width: 880px; margin: 0 auto; padding: 40px 24px 60px; }
h1 { font-size: 40px; margin: 0 0 12px; color: var(--gold); line-height: 1.15; }
h2 { font-size: 24px; margin: 36px 0 12px; }
p.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 28px; margin: 24px 0; }
.button {
  display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600;
  background: var(--gold); color: #1a1400; text-decoration: none; border: 0; cursor: pointer; font-size: 16px;
}
.button:hover { background: var(--gold-dark); }
.button.secondary { background: transparent; color: var(--text); border: 1px solid var(--line); }
.button.secondary:hover { border-color: var(--gold); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
label { display: block; margin: 16px 0 6px; color: var(--muted); }
input[type=email], input[type=password] {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line);
  background: #0e1220; color: var(--text); font-size: 16px;
}
input:focus { outline: none; border-color: var(--gold); }
.hint { color: var(--muted); font-size: 14px; margin-top: 6px; }
.error { color: var(--error); }
ol.steps { padding-left: 22px; }
ol.steps li { margin: 14px 0; }
code { background: #0e1220; border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; font-size: 15px; }
footer { border-top: 1px solid var(--line); padding: 18px 28px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
@media (max-width: 600px) {
  h1 { font-size: 30px; }
  header { flex-direction: column; gap: 10px; }
  header nav a { margin: 0 10px; }
}
