* { box-sizing: border-box; }
:root {
  font: 1rem/1.5 system-ui, sans-serif;
  background: #f2f5fb;
  color: #17243e;
}
body { min-height: 100vh; margin: 0; padding: 1.5rem; display: grid; place-items: center; }
main { width: min(100%, 27rem); padding: clamp(1.25rem, 6vw, 2rem); background: white; border: 1px solid #dce3ee; border-radius: 1rem; }
img { border-radius: .75rem; }
h1 { font-size: 1.75rem; line-height: 1.2; margin: .75rem 0 0; }
p { margin: .6rem 0 1.5rem; }
form { display: grid; gap: .55rem; }
label { font-weight: 600; }
input, button { min-height: 2.75rem; padding: .5rem .75rem; border-radius: .55rem; font: inherit; }
input { min-width: 0; border: 1px solid #71839e; background: transparent; color: inherit; }
button { margin-top: .45rem; border: 0; color: white; background: #3158bd; font-weight: 600; cursor: pointer; }
a { display: inline-block; margin-top: 1rem; color: #3158bd; }
:focus-visible { outline: 3px solid #6886d4; outline-offset: 3px; }
@media (prefers-color-scheme: dark) {
  :root { background: #171717; color: #ededed; }
  main { background: #222; border-color: #484848; }
  input { border-color: #727272; }
  a { color: #a9beff; }
}
