/* A plain base until the interface is designed (docs/architecture.md, "Interface"). */
:root {
  --bg: #fbfaf8;
  --text: #1f1d1a;
  --muted: #6b665e;
  --accent: #b5652b;
  --line: #e4e0d8;
  --panel: #ffffff;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1b19;
    --text: #ece9e3;
    --muted: #a39d93;
    --accent: #e08a4a;
    --line: #36332e;
    --panel: #252320;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}

header.top, main, footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem;
}

.brand {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

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

.notice {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
}

.note, footer { color: var(--muted); }
footer a { color: var(--muted); margin-right: 1rem; }

input[type="text"], input[type="email"] {
  font: inherit;
  padding: 0.35rem 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.check { display: flex; gap: 0.5rem; align-items: baseline; }

button {
  font: inherit;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.errorlist { color: #c0392b; margin: 0.25rem 0; padding-left: 1rem; }
