/* Sign-in and account pages. Brand: Char background, Linen text, one Amber light. */
@font-face { font-family: "Urbanist"; font-weight: 400; font-display: swap; src: url("../assets/fonts/Urbanist-Regular.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-weight: 600; font-display: swap; src: url("../assets/fonts/Urbanist-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-weight: 800; font-display: swap; src: url("../assets/fonts/Urbanist-ExtraBold.woff2") format("woff2"); }
:root { --char: #120A07; --stage: #1E100A; --linen: #FFF6EE; --ember: #FF6B4A; --amber: #FFB547; --muted: rgba(255,246,238,.66); --line: rgba(255,246,238,.16); }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: radial-gradient(900px 600px at 50% -10%, rgba(255,181,71,.14), transparent 60%), var(--char); color: var(--linen); font-family: "Urbanist", system-ui, sans-serif; }
[hidden] { display: none !important; }
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; gap: 22px; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--linen); text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.auth-brand svg { width: 30px; height: 30px; }
.auth-card { width: 100%; max-width: 420px; background: var(--stage); border: 1px solid var(--line); border-radius: 24px; padding: 34px 30px; }
h1 { margin: 0 0 8px; font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hl { color: var(--ember); }
.auth-lead { margin: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.auth-lead strong { color: var(--linen); font-weight: 600; word-break: break-all; }
label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
input { width: 100%; font: inherit; font-size: 18px; color: var(--linen); background: var(--char); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
#code { letter-spacing: .3em; font-weight: 600; }
input:focus-visible, .auth-btn:focus-visible, .auth-link:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.auth-btn { display: block; width: 100%; text-align: center; font: inherit; font-weight: 600; font-size: 17px; border: 0; border-radius: 999px; padding: 14px 20px; cursor: pointer; background: var(--amber); color: var(--char); text-decoration: none; }
.auth-btn[disabled] { opacity: .6; cursor: wait; }
.auth-btn--google { background: var(--linen); }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin: 18px 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-link { display: block; margin: 18px auto 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; }
.auth-msg { min-height: 1.4em; margin: 0; color: var(--muted); font-size: 15px; text-align: center; max-width: 420px; }
.auth-msg.is-error { color: var(--ember); }
