:root {
  --bg: #f4f6f7;
  --text: #16242b;
  --muted: #566973;
  --accent: #0f6b5c;
  --accent-text: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101a1f;
    --text: #e8eef0;
    --muted: #93a6ae;
    --accent: #5fd0bb;
    --accent-text: #0b1a17;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  display: grid;
  place-items: center;
  padding: 24px;
}

main {
  width: 100%;
  max-width: 420px;
}

h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  letter-spacing: -0.01em;
}

.intro {
  margin: 0 0 24px;
  color: var(--muted);
}

button {
  width: 100%;
  padding: 14px 20px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button:disabled {
  opacity: 0.7;
  cursor: default;
}

#status {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

#status a {
  color: var(--accent);
}

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