:root {
  color-scheme: dark;
  background: #1e1e1e;
  color: #e4e4e4;
  font: 16px system-ui, sans-serif;
}

body {
  margin: 0;
  display: grid;
  min-height: 100dvh;
  place-items: center;
}

main {
  box-sizing: border-box;
  width: min(100%, 28rem);
  padding: 2rem 1.5rem;
}

form, label { display: grid; gap: .75rem; }
form, button { margin: .75rem 0; }
h1 { margin: 0 0 1.5rem; font-size: clamp(1.5rem, 5vw, 2rem); }
p { line-height: 1.5; color: #bdbdbd; }

input, button {
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #747474;
  border-radius: .4rem;
  padding: .5rem .75rem;
  font: inherit;
}

input { width: 100%; }
button { background: #165f98; color: white; cursor: pointer; }
button:disabled { opacity: .7; }
#account button { margin-left: 1rem; background: #333; }
a { color: #80c4ff; }
[hidden] { display: none; }
