:root {
    --bg: #f6f8fb;
    --card-bg: #ffffff;
    --text: #1f2430;
    --heading: #14181f;
    --muted: #667085;
    --border: #e2e6ee;
    --input-border: #cdd3df;
    --btn: #002C87;
    --btn-hover: #0148DB;
    --error: #C4001A;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.card {
    width: 100%;
    max-width: 540px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 44px 32px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(20, 24, 31, 0.06);
}

.logo {
    height: auto;
    margin-bottom: 28px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(20, 24, 31, 0.14);
}

h1 {
    font-size: 25px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--heading);
    margin-bottom: 16px;
}

.lead {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 20px;
}

.prompt {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 28px;
}

form { text-align: left; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    margin-bottom: 18px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--btn-hover);
    box-shadow: 0 0 0 3px rgba(1, 72, 219, 0.12);
}

input[type="email"]::placeholder { color: #98a2b3; }

.cf-turnstile { margin-bottom: 18px; }

.form-error {
    color: var(--error);
    font-size: 14px;
    margin-bottom: 16px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: var(--btn);
    border: 2px solid var(--btn);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn__spinner {
    display: none;
    width: 18px; height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.btn.is-loading .btn__spinner { display: inline-block; }

@keyframes spin { to { transform: rotate(360deg); } }

.footer {
    margin-top: 32px;
    font-size: 13px;
    color: #98a2b3;
}

@media (max-width: 540px) {
    .card { padding: 40px 24px 26px; }
    h1 { font-size: 22px; }
}
