:root {
    --cohort-register-bg: #efe7d7;
    --cohort-register-surface: #fffdf8;
    --cohort-register-ink: #1c2b22;
    --cohort-register-muted: #657066;
    --cohort-register-line: #d9ccb8;
    --cohort-register-brand: #1d5b45;
    --cohort-register-accent: #b96b2c;
}

body.cohort-register-page {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 22px;
    font-family: Georgia, 'Times New Roman', serif;
    background: radial-gradient(circle at 18% 12%, #fff5dd, var(--cohort-register-bg) 46%, #e5d7c3);
    color: var(--cohort-register-ink);
}

.cohort-register-card {
    width: min(720px, 100%);
    background: var(--cohort-register-surface);
    border: 1px solid var(--cohort-register-line);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 24px 70px rgba(64, 42, 18, 0.16);
}

.cohort-register-eyebrow {
    margin: 0 0 8px;
    color: var(--cohort-register-brand);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
}

.cohort-register-card h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
}

.cohort-register-lead {
    color: var(--cohort-register-muted);
    line-height: 1.7;
}

.cohort-register-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 24px;
}

.cohort-register-pill {
    border-radius: 999px;
    padding: 6px 10px;
    background: #e5f0e8;
    color: var(--cohort-register-brand);
}

.cohort-register-field {
    margin-bottom: 16px;
}

.cohort-register-card label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.cohort-register-card input {
    width: 100%;
    border: 1px solid var(--cohort-register-line);
    border-radius: 12px;
    padding: 12px;
    font: inherit;
}

.cohort-register-button,
.cohort-register-button-link {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    background: var(--cohort-register-brand);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    display: inline-block;
}

.cohort-register-button-link.secondary {
    background: transparent;
    color: var(--cohort-register-brand);
    border: 1px solid var(--cohort-register-line);
}

.cohort-register-alert {
    border-radius: 16px;
    padding: 14px 16px;
    margin: 16px 0;
    background: #fde4e4;
    color: #8d2c2c;
}

.cohort-register-alert.info {
    background: #e8f1ea;
    color: var(--cohort-register-brand);
}

.cohort-register-alert.success {
    background: #e1f2e5;
    color: var(--cohort-register-brand);
}

.cohort-register-hint {
    color: var(--cohort-register-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-top: 6px;
}

.cohort-register-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.cohort-register-card input:focus-visible,
.cohort-register-button:focus-visible,
.cohort-register-button-link:focus-visible {
    outline: 3px solid rgba(29, 91, 69, 0.34);
    outline-offset: 3px;
}

.cohort-register-status-line {
    min-height: 1.4em;
}

@media (max-width: 640px) {
    body.cohort-register-page {
        padding: 16px;
    }

    .cohort-register-card {
        padding: 24px;
        border-radius: 22px;
    }
}