:root {
    color-scheme: light dark;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    align-items: center;
    background: #0f172a;
    color: #111827;
    display: flex;
    justify-content: center;
    margin: 0;
    min-height: 100vh;
}

.card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 25px 60px rgb(0 0 0 / 35%);
    max-width: 32rem;
    padding: 2rem;
    width: min(90vw, 32rem);
}

h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin: 0 0 0.75rem;
}

.lede,
.context {
    color: #4b5563;
    line-height: 1.5;
}

label {
    display: block;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
}

input {
    border: 1px solid #9ca3af;
    border-radius: 0.5rem;
    box-sizing: border-box;
    font: inherit;
    padding: 0.75rem;
    width: 100%;
}

button {
    background: #1d4ed8;
    border: 0;
    border-radius: 0.5rem;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    width: 100%;
}

button:hover,
button:focus-visible {
    background: #1e40af;
}

.secondary-form {
    margin-top: 0.5rem;
}

button.secondary {
    background: transparent;
    border: 1px solid #9ca3af;
    color: #374151;
}

.alert {
    border-radius: 0.5rem;
    margin: 1rem 0;
    padding: 0.75rem 1rem;
}

.error {
    background: #fee2e2;
    color: #991b1b;
}

.success {
    background: #dcfce7;
    color: #166534;
}
