:root {
    --bg: #fafaf9;
    --bg-elevated: #ffffff;
    --text: #1c1b1a;
    --text-muted: #6b6864;
    --border: #948b7d;
    --accent: #2e6fc1;
    --accent-text: #1f4f8f;
    --accent-contrast: #ffffff;
    --radius: 12px;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #171513;
        --bg-elevated: #201d1a;
        --text: #f2f0ec;
        --text-muted: #a39e97;
        --border: #726a5f;
        --accent: #4a8fe0;
        --accent-text: #7db2ec;
        --accent-contrast: #0a1420;
    }
}
* { box-sizing: border-box; }
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: var(--bg);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: system-ui, sans-serif;
}
.login-card {
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.wordmark {
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    margin: 0;
}
form { display: flex; flex-direction: column; gap: 0.75rem; }
input {
    padding: 0.7rem 0.9rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
input::placeholder { color: var(--text-muted); }
input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
button {
    padding: 0.7rem 0.9rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    background: var(--accent);
    color: var(--accent-contrast);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: filter 0.2s ease;
}
button:hover { filter: brightness(1.08); }
p.error { color: var(--accent-text); font-size: 0.875rem; font-weight: 500; margin: 0; }

.coming-soon {
    text-align: center;
}
.coming-soon h1 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
}
.coming-soon p {
    color: var(--text-muted);
    margin: 0;
}
