:root{
  --bg:#f4f6f9;
  --card:#ffffff;
  --ink:#1a202c;
  --text:#4a5568;
  --muted:#718096;
  --line:#e2e8f0;
  --accent:#2b6cb0;
  --accent-dark:#245a94;
  --danger:#c53030;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  background:var(--bg);
  color:#333;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:100vh;
  padding:24px;
}
.container{
  background:var(--card);
  padding:40px;
  border-radius:8px;
  box-shadow:0 4px 12px rgba(0,0,0,.1);
  max-width:450px;
  width:100%;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}
.brand .mark{
  width:26px;height:26px;border-radius:6px;
  background:var(--ink);color:#fff;
  display:grid;place-items:center;
  font-size:13px;font-weight:700;letter-spacing:0;
}
h1{font-size:24px;color:var(--ink);margin:0 0 8px}
p{font-size:14px;color:var(--text);line-height:1.5;margin:0 0 24px}
.form-group{margin-bottom:16px}
label{display:block;font-size:12px;font-weight:600;margin-bottom:6px;color:#4a5568}
input{
  width:100%;
  padding:10px 12px;
  border:1px solid #cbd5e0;
  border-radius:6px;
  font-size:14px;
  color:var(--ink);
  background:#fff;
  outline:none;
  transition:border-color .15s, box-shadow .15s;
}
input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(43,108,176,.15)}
button{
  width:100%;
  padding:11px 16px;
  background:var(--accent);
  color:#fff;
  border:0;
  border-radius:6px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:background .15s;
}
button:hover{background:var(--accent-dark)}
.alert{
  background:#fff5f5;
  border:1px solid #feb2b2;
  color:var(--danger);
  border-radius:6px;
  padding:10px 12px;
  font-size:13px;
  margin-bottom:16px;
}
.footer{
  margin-top:24px;
  padding-top:16px;
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--muted);
  text-align:center;
}
.meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:12px;
  color:var(--muted);
  margin-top:14px;
}
.err-code{
  font-size:44px;
  font-weight:700;
  letter-spacing:-.03em;
  color:var(--ink);
  margin:0 0 6px;
}
.err-actions{display:flex;gap:10px;margin-top:20px}
.err-actions a{
  flex:1;
  text-align:center;
  padding:10px 14px;
  border-radius:6px;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  border:1px solid #cbd5e0;
  color:var(--ink);
  background:#fff;
}
.err-actions a.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.err-actions a:hover{opacity:.92}
