:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --ink: #15181e;
  --ink2: #565d6b;
  --accent: #2563eb;
  --accentink: #ffffff;
  --err: #b42318;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #101216;
    --ink: #e9ebef;
    --ink2: #a1a8b5;
    --accent: #6ea0ff;
    --accentink: #0b1020;
    --err: #fb8a7e;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 16px;
  text-align: center;
}

h1 {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 600;
}

p {
  max-width: 24rem;
  margin: 0;
  line-height: 1.45;
}

#note {
  color: var(--ink2);
}

#problem {
  color: var(--err);
}

button {
  min-height: 44px;
  width: 100%;
  max-width: 24rem;
  margin-top: 8px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accentink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button:disabled {
  opacity: 0.6;
}

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
