/* Draft. System fonts only, on purpose: a privacy page that loads a web font from a third party sends every visitor's address to that third party. */
:root { color-scheme: light dark; --bg: #faf8f5; --fg: #2b2a28; --muted: #6b675f; --line: #e4dfd6; --accent: #8a5a44; --draft: #b3261e; }
@media (prefers-color-scheme: dark) { :root { --bg: #1d1c1a; --fg: #ece8e1; --muted: #a8a299; --line: #3a3733; --accent: #d9a78d; --draft: #f2b8b5; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
main, header, footer { max-width: 40rem; margin: 0 auto; padding: 1rem 1.25rem; }
header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); }
header a.brand { font-weight: 700; text-decoration: none; color: var(--fg); letter-spacing: 0.04em; }
nav a { margin-left: 1rem; color: var(--muted); text-decoration: none; }
nav a:hover, a { color: var(--accent); }
h1 { font-size: 1.7rem; line-height: 1.25; margin: 1.5rem 0 0.5rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.25rem; }
p, li { margin: 0.5rem 0; }
footer { color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); margin-top: 3rem; }
.beta { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.version { color: var(--muted); font-size: 0.9rem; margin: 0 0 1rem; }
.legal-placeholder { border-left: 4px solid var(--draft); padding: 0.25rem 0.75rem; color: var(--muted); }
.code { font: 700 1.9rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.25em; padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: 8px; display: inline-block; margin: 0.5rem 0; }
button, .button { font: inherit; padding: 0.6rem 1rem; border-radius: 8px; border: 1px solid var(--accent); background: transparent; color: var(--accent); cursor: pointer; text-decoration: none; display: inline-block; }
button[disabled], .button[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
[hidden] { display: none !important; }

/* The email-confirmation page (verified.html): the lockup, a calm centred column, and the check. The lockup is inline SVG in currentColor, so it takes --fg. */
.verified-page main { text-align: center; padding-top: 3rem; }
.verified-page .lockup { width: 220px; max-width: 70%; margin: 0 auto 2rem; color: var(--fg); }
.verified-page .lockup svg { display: block; width: 100%; height: auto; }
.verified-page .check { width: 56px; height: 56px; border-radius: 50%; background: #a8b5a0; color: #faf7f2; margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; }
.verified-page .check svg { width: 28px; height: 28px; }
.verified-page .code-line { color: var(--muted); font-size: 0.85rem; }

/* The choose-a-new-password page (reset.html). */
.reset-page form { text-align: left; max-width: 22rem; margin: 1.25rem auto 0; }
.reset-page label { display: block; font-weight: 600; margin: 0 0 0.35rem; }
.reset-page input[type="password"], .reset-page input[type="text"] { width: 100%; font: inherit; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--fg); }
.reset-page input:focus-visible, .reset-page button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.reset-page .hint { color: var(--muted); font-size: 0.9rem; margin: 0.35rem 0 0.75rem; }
.reset-page .check-row { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; margin: 0 0 1rem; }
.reset-page .form-note { border-left: 4px solid var(--draft); padding: 0.1rem 0.75rem; margin: 0 0 1rem; }
.reset-page .button.primary { width: 100%; background: var(--fg); border-color: var(--fg); color: var(--bg); font-weight: 600; }
