:root {
  color-scheme: light dark;
  font-family: system-ui, sans-serif;
  color: #17233c;
  background: #eaf3f7;
}
body { margin: 0; padding: 32px 16px; }
main { max-width: 460px; margin: auto; padding: 24px; border-radius: 20px; background: #fff; }
h1 { margin: 0 0 14px; font-size: 1.5rem; }
p { line-height: 1.8; }
form:not([hidden]) { display: grid; gap: 12px; }
input, select, button { box-sizing: border-box; padding: 12px; font: inherit; border-radius: 10px; }
input, select { border: 1px solid #8da3b2; width: 100%; }
button { border: 0; background: #096777; color: #fff; font-weight: 700; }
button:disabled { opacity: .6; }
button.secondary { background: #d7ecf2; color: #173a45; }
@media (prefers-color-scheme: dark) {
  :root { background: #0a1626; color: #f0f7ff; }
  main { background: #18253b; }
}
