:root {
  --bg: #f6f4ef;
  --text: #15171a;
  --muted: #565b63;
  --line: #d6d2c8;
  --accent: #b6400f;
  --danger: #a3261b;
  --focus: #1a5fd6;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --text: #f2f0eb;
    --muted: #b5b9c0;
    --line: #3a3e45;
    --accent: #f08a5b;
    --danger: #ff8a7f;
    --focus: #8fb4ff;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
main {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}
h1 {
  font-size: 1.8rem;
  line-height: 1.2;
}
h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
}
.faint {
  color: var(--muted);
  font-size: 0.95rem;
}
label {
  display: block;
  margin: 14px 0 4px;
  font-weight: 600;
}
input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}
button {
  min-height: 48px;
  margin-top: 16px;
  margin-right: 8px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--text);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
button.secondary {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}
button.danger {
  background: var(--danger);
  color: #fff;
}
button:disabled,
input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
a {
  color: var(--accent);
}
.or {
  color: var(--muted);
  margin: 12px 0 0;
}
#status {
  min-height: 1.5em;
  margin-top: 20px;
  font-weight: 600;
}
#status.error {
  color: var(--danger);
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
