/* The emailed-link pages, in BeerMat's colours (brand/README.md). */
@font-face { font-family: Fredoka; src: url(/brand/fredoka.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
:root { color-scheme: dark; --bg: #140b2e; --card: #221447; --line: rgba(255, 243, 214, .14); --text: #fff8ec; --muted: #c8b9e4; --gold: #ffb21a; --bad: #ff7a90; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--bg); color: var(--text); font: 1rem/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
main { width: 100%; max-width: 26rem; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; }
.logo { width: 200px; max-width: 70%; height: auto; display: block; margin: 0 0 16px; }
h1 { font-family: Fredoka, system-ui, sans-serif; font-size: 1.5rem; margin: 0 0 12px; }
form[hidden] { display: none; }
label { display: grid; gap: 4px; font-weight: 600; margin: 12px 0; }
input { font: inherit; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: #0b0720; color: var(--text); width: 100%; }
input:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
button { font: inherit; font-weight: 700; width: 100%; min-height: 48px; border: 0; border-radius: 10px; background: var(--gold); color: #140b2e; margin-top: 8px; cursor: pointer; }
button:disabled { opacity: .6; }
#status { color: var(--muted); } #status.error { color: var(--bad); }
