* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    gap: 48px;
}

.card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 40px 32px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.logo {
    display: block;
    margin: 0 auto 24px;
    width: 240px;
    height: auto;
}

.card h1 {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.card .subhead {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 24px;
}

.card label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #6b7280;
    margin-bottom: 6px;
}

.card input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #1a1a1a;
    margin-bottom: 20px;
    transition: border-color 0.15s;
}

.card input[type="email"]:focus {
    outline: none;
    border-color: #1e3a5f;
    box-shadow: 0 0 0 2px rgba(30, 58, 95, 0.15);
}

.card button {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: #1e293b;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

.card button:hover:not(:disabled) {
    background: #0f172a;
}

.card button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.form-message {
    margin-top: 16px;
    padding: 10px 12px;
    font-size: 14px;
    text-align: center;
    border-radius: 6px;
    background: #f3f4f6;
    color: #374151;
}

.form-message.error {
    background: #fef2f2;
    color: #991b1b;
}

.illustration {
    flex-shrink: 0;
    max-width: 440px;
}

.illustration img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .illustration {
        display: none;
    }
    .page {
        gap: 0;
    }
}