:root { --ink: #111; --paper: #fbfaf7; --muted: #5f5f5f; --tint: #ece9e1; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width: 34rem; margin: 0 auto; padding: 6rem 1.25rem; display: flex; flex-direction: column; gap: 1.5rem; }
h1 { font-size: 2.4rem; line-height: 1.1; margin: 0 0 0.75rem; font-weight: 600; }
p { margin: 0; color: var(--muted); }
a { color: inherit; }
form { display: flex; flex-direction: column; gap: 0.5rem; }
label { font-size: 0.9rem; color: var(--muted); }
.row { display: flex; gap: 0.5rem; }
input, button { font: inherit; border-radius: 8px; border: 0; padding: 0.8rem 1rem; }
input { flex: 1; min-width: 0; background: var(--tint); color: var(--ink); }
button { background: var(--ink); color: var(--paper); cursor: pointer; }
.note { font-size: 0.85rem; }
.hidden { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Focus changes the thing itself: no outline, no ring. */
input:focus, button:focus, a:focus { outline: none; }
input:focus { background: #fff; }
button:focus-visible, button:hover { background: #333; }
a:focus-visible { background: var(--ink); color: var(--paper); text-decoration: none; }

@media (max-width: 30rem) { main { padding-top: 3rem; } .row { flex-direction: column; } h1 { font-size: 2rem; } }
