@font-face{font-family:'Google Sans';font-weight:400;font-display:swap;src:url('/static/fonts/GoogleSans-400.woff2') format('woff2')}
@font-face{font-family:'Google Sans';font-weight:500;font-display:swap;src:url('/static/fonts/GoogleSans-500.woff2') format('woff2')}
@font-face{font-family:'Google Sans Text';font-weight:400;font-display:swap;src:url('/static/fonts/GoogleSansText-400.woff2') format('woff2')}
@font-face{font-family:'Google Sans Text';font-weight:500;font-display:swap;src:url('/static/fonts/GoogleSansText-500.woff2') format('woff2')}

:root {
  --display:'Google Sans',Roboto,system-ui,Helvetica,Arial,sans-serif;
  --text:'Google Sans Text','Google Sans',Roboto,system-ui,Helvetica,Arial,sans-serif;
  --ink:#1a1a1a; --cream:#F3EFEA; --white:#fff;
  --muted:#6b6660; --border:#e2dcd4; --ok:#1e7d43; --err:#c0352b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  background: var(--cream); color: var(--ink); min-height: 100vh;
  font-family: var(--text); -webkit-font-smoothing: antialiased;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.card {
  width: 100%; max-width: 420px; background: var(--white);
  border: 1px solid var(--border); border-radius: 20px; padding: 40px 36px;
  box-shadow: 0 2px 6px rgba(26,26,26,.04), 0 16px 40px rgba(26,26,26,.06);
}
.brand { text-align: center; margin-bottom: 28px; }
.brand .logo {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 500; font-size: 24px; letter-spacing: -.01em;
}
.brand .logo svg { width: 24px; height: 24px; flex: none; }
.brand .sub { color: var(--muted); font-size: 14px; margin-top: 8px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 16px 0 6px; }
input {
  width: 100%; padding: 12px 14px; border-radius: 12px; font-size: 15px;
  font-family: var(--text);
  background: #faf8f5; border: 1px solid var(--border); color: var(--ink);
  outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(26,26,26,.08); }
button {
  width: 100%; margin-top: 24px; padding: 14px; border: 0; border-radius: 9999rem;
  background: var(--ink); color: var(--white);
  font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: .01em;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, opacity .15s ease;
}
button:hover { box-shadow: 0 8px 24px rgba(26,26,26,.22); }
button:active { transform: translateY(1px); }
button:disabled { opacity: .55; cursor: wait; box-shadow: none; }
.msg { margin-top: 16px; font-size: 13px; line-height: 1.5; display: none; }
.msg.err { display: block; color: var(--err); }
.msg.ok { display: block; color: var(--ok); }
.links { margin-top: 20px; display: flex; justify-content: space-between; font-size: 13px; }
a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
a:hover { border-bottom-color: var(--ink); }
.hint { color: var(--muted); font-size: 12px; margin-top: 4px; }
