:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1c2430;
  --muted: #5b6678;
  --accent: #1f6feb;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #11161d; --card: #1a212b; --text: #e8edf4; --muted: #9aa6b8; --accent: #5aa2ff; }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
header, main, footer { max-width: 680px; margin: 0 auto; padding: 24px 20px; }
header { padding-top: 48px; }
h1 { margin: 0 0 8px; font-size: 2rem; }
h2 { margin: 0 0 12px; font-size: 1.2rem; }
header p, footer p { color: var(--muted); margin: 0; }
section { background: var(--card); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
ul { margin: 0; padding-left: 20px; }
button {
  font: inherit; font-weight: 600; color: #fff; background: var(--accent);
  border: 0; border-radius: 8px; padding: 12px 20px; cursor: pointer;
}
button:hover { filter: brightness(1.08); }
button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
#msg { margin: 14px 0 0; min-height: 1.6em; font-weight: 600; }
