:root {
  color-scheme: dark;
  font: 16px/1.5 system-ui, sans-serif;
  color: #e2e8f0;
  background: #0b1120;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}
main {
  width: min(100%, 380px);
  padding: clamp(22px, 6vw, 32px);
  border: 1px solid #27354d;
  border-radius: 16px;
  background: #121d31;
}
header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
header img { border-radius: 10px; }
h1 { margin: 0; font-size: 1.2rem; line-height: 1.25; }
header small { color: #a9b9cf; }
form, label { display: grid; gap: 6px; }
form { gap: 16px; }
label { font-size: .875rem; font-weight: 600; }
input, button {
  width: 100%;
  min-height: 44px;
  border: 1px solid #3a4a65;
  border-radius: 8px;
  background: #0b1324;
  color: inherit;
  font: inherit;
  padding: 9px 12px;
}
input { font-size: 16px; }
button {
  background: #2459cb;
  border-color: #477bee;
  color: white;
  cursor: pointer;
  font-weight: 700;
}
button:hover { background: #3064d3; }
:focus-visible { outline: 2px solid #9cc6ff; outline-offset: 3px; }
nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font-size: .875rem; }
a { color: #a5caff; text-underline-offset: 3px; }
.message { margin: 0 0 14px; font-size: .875rem; color: #a9f0c3; }
.message.error { color: #ffc2c2; }
