:root {
  color-scheme: light dark;
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #16181d;
  --muted: #5b6270;
  --border: #d9dde4;
  --accent: #3355ff;
  --accent-text: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --card: #181b21;
    --text: #eceef2;
    --muted: #9aa1ad;
    --border: #2c313a;
    --accent: #6f86ff;
    --accent-text: #0f1115;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--bg);
  color: var(--text);
}

main {
  width: 100%;
  max-width: 380px;
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}

h1 { font-size: 1.4rem; margin: 0 0 24px; }
p { color: var(--muted); line-height: 1.45; margin: 0 0 16px; }
p strong { color: var(--text); }

button, .button {
  display: block;
  width: 100%;
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-text);
  cursor: pointer;
}

button:disabled { opacity: 0.6; cursor: progress; }
button:focus-visible, .button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
