
:root {
  --bg: #f7f6f3;
  --ink: #1f2421;
  --muted: #5d655f;
  --line: #d9d6ce;
  --accent: #2f6f6b;
  --accent-ink: #ffffff;
  --danger: #a33a2a;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171a18;
    --ink: #ecebe6;
    --muted: #a3a89f;
    --line: #363b37;
    --accent: #5fb2ad;
    --accent-ink: #0d1a19;
    --danger: #e0715f;
  }
}
* { box-sizing: border-box; }
html { font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--ink); }
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 16px; }
main { width: 100%; max-width: 380px; }
h1 { font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
h2 { font-size: 1.4rem; margin: 0 0 12px; }
p { margin: 0 0 12px; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 4px; font-weight: 600; }
input { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: inherit; min-height: 44px; }
button { font: inherit; font-weight: 600; min-height: 44px; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); cursor: pointer; }
button.quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; }
.muted { color: var(--muted); }
.error { color: var(--danger); font-weight: 600; }
ul { padding-left: 20px; margin: 0 0 12px; }
a { color: var(--accent); }
/* The other way in, as a real tap target rather than a word in a sentence. */
.alt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.alt a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-weight: 600; }
small { color: var(--muted); font-weight: 400; }
