:root { color-scheme: light dark; font-family: system-ui, sans-serif; line-height: 1.65; }
body { margin: 0; background: #faf9f6; color: #25232b; }
header, main, footer { max-width: 48rem; margin: auto; padding: 1.5rem; }
header { border-bottom: 1px solid #d8d5df; }
nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
a { color: #584096; text-underline-offset: .2em; overflow-wrap: anywhere; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
a:focus-visible { outline: 3px solid #9675e1; outline-offset: 4px; }
h1 { font-size: clamp(1.8rem, 5vw, 2.7rem); line-height: 1.2; }
h2 { margin-top: 2rem; font-size: 1.3rem; }
address { font-style: normal; }
input, button { font: inherit; max-width: 100%; box-sizing: border-box; }
input[type="password"], button { min-height: 44px; padding: .6rem .9rem; border: 1px solid #888; border-radius: .5rem; }
button { cursor: pointer; }
label { display: inline-block; padding: .35rem 0; }
footer { border-top: 1px solid #d8d5df; font-size: .9rem; }
@media (prefers-color-scheme: dark) {
  body { background: #19171e; color: #ece9f2; }
  a { color: #c5adfb; }
  header, footer { border-color: #48414f; }
}
