:root { color-scheme: light dark; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font-family: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif; background: #f7f4ee; color: #2b2722; display: grid; place-items: center; padding: env(safe-area-inset-top) 18px env(safe-area-inset-bottom); }
.card { width: 100%; max-width: 360px; text-align: center; }
.logo { width: 96px; height: 96px; object-fit: contain; }
h1 { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-weight: 400; font-size: 38px; margin: 6px 0 4px; letter-spacing: -.5px; }
.sub { color: #6c6458; margin: 0 0 26px; font-size: 15px; }
form { display: flex; flex-direction: column; gap: 10px; }
input { font: inherit; font-size: 17px; padding: 14px 16px; border-radius: 14px; border: 1px solid #e3dccd; background: #fffdf9; color: inherit; outline: 0; }
input:focus { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,.12); }
button { font: inherit; font-size: 17px; font-weight: 600; padding: 14px; border-radius: 14px; border: 0; color: #fff; background: linear-gradient(135deg, #8b5cf6, #6d28d9); cursor: pointer; }
button:disabled { opacity: .6; }
.err { color: #dc2626; min-height: 20px; margin: 4px 0 0; font-size: 14px; }
.dev { margin-top: 34px; font-size: 13px; color: #9a9183; }
.dev b { color: #7c3aed; }
@media (prefers-color-scheme: dark) {
  body { background: #1f1e1c; color: #ece8e1; }
  .logo { filter: invert(1); }
  .sub, .dev { color: #b0aaa0; }
  input { background: #2a2926; border-color: #34322e; }
  .dev b { color: #a78bfa; }
}
.hint { font-size: 13px; color: #8a8174; margin-top: 18px; line-height: 1.45; }
@media (prefers-color-scheme: dark) { .hint { color: #a39d93; } }
