* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.card {
    background: #fff;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
}

.card.centered {
    text-align: center;
}

h1 {
    font-size: 24px;
    margin-bottom: 8px;
    text-align: center;
}

p.sub {
    color: #666;
    margin-bottom: 32px;
    font-size: 15px;
    text-align: center;
}

p.lead {
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
}

input[type=email] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color .2s;
}

input[type=email]:focus {
    border-color: #000;
}

button,
a.btn {
    width: 100%;
    display: block;
    padding: 12px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

button {
    margin-top: 16px;
}

button:hover,
a.btn:hover {
    background: #1d4ed8;
}

button:disabled {
    background: #999;
    cursor: default;
}

#status {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

#status.success {
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
    padding: 1rem;
    border-radius: 8px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error,
#status.error {
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
    padding: 1rem;
    border-radius: 8px;
    background: #fdecea;
    border: 1px solid #f5c2c7;
    color: #842029;
}

a.btn {
    margin-top: 16px;
}

@media (max-width: 600px) {
    body {
        align-items: flex-start;
        background: #fff;
        padding: 2rem 1rem;
    }

    .card {
        background: transparent;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        max-width: 100%;
    }
}
