/* ============================================================
   /book/who — Welcome / routing page styles
   ============================================================ */

:root {
    /* Book-flow design tokens not yet in style.css */
    --book-dark: #15202c; /* deep dark heading text */
    --book-muted: #4a5560; /* muted blue-grey body text */
    --book-warm-border: #d8d0c6; /* warm beige border */
    --book-warm-accent: #f6e8d4; /* warm peach selected/accent bg */
    --book-warm-white: #fff8f7; /* very light warm white bg */
    --book-warm-surface: #f7f3f0; /* warm off-white hover bg */
}

/* Page layout */
.who-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 12px 20px;
    font-family: 'Inter', sans-serif;
}

/* Badge */
.who-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(23, 72, 78, 0.08);
    border: 1.5px solid var(--tertiary-color);
    border-radius: 99px;
    padding: 6px 16px;
}
.who-badge span {
    font-size: 13px;
    font-weight: 400;
    color: var(--tertiary-color);
}

/* Text sections */
.who-headline {
    font-size: 32px;
    font-weight: 500;
    color: var(--book-dark);
    line-height: 1.2;
}
.who-subheadline {
    font-size: 14px;
    color: var(--book-muted);
    line-height: 1.6;
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto;
}
.who-question {
    font-size: 20px;
    font-weight: 500;
    color: var(--book-dark);
}

/* Value prop tags */
.who-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.who-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(23, 72, 78, 0.08);
    border-radius: 99px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 400;
    color: var(--tertiary-color);
}

/* Routing cards */
.who-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto 18px;
}
.who-card {
    border: 2px solid var(--book-warm-border);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--surface-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.15s ease;
}
.who-card:hover {
    border-color: var(--primary-color);
}
.who-card.selected {
    border-color: var(--primary-color);
    background: var(--book-warm-white);
    box-shadow: 0 2px 8px rgba(250, 114, 104, 0.12);
}
.who-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--book-warm-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.who-card.selected .who-card-icon {
    background: var(--book-warm-accent);
}
.who-card-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--book-dark);
    margin-bottom: 2px;
}
.who-card-desc {
    font-size: 13px;
    color: var(--book-muted);
    font-weight: 300;
}
.who-card-radio {
    margin-left: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--book-warm-border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.who-card.selected .who-card-radio {
    background: var(--primary-color);
    border: none;
}

/* CTA button */
.who-cta {
    font-size: 14px;
    font-weight: 600;
    padding: 11px 44px;
    border-radius: 99px;
    background: var(--primary-color);
    color: var(--background-color);
    cursor: pointer;
    border: none;
    font-family: inherit;
    letter-spacing: -0.01em;
    transition: opacity 0.15s;
}
.who-cta:hover {
    opacity: 0.9;
}
.who-cta:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Insurance row */
.who-insurers {
    font-size: 13px;
    color: var(--book-muted);
    font-weight: 400;
}
.who-insurer-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 12px 20px;
}
.who-insurer {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
}

/* Trust + contact footer */
.who-footer-strip {
    border-top: 1px solid var(--book-warm-border);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.who-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.who-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--book-muted);
    font-weight: 300;
}
.who-contact {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.who-contact span {
    font-size: 13px;
    color: var(--book-muted);
    font-weight: 300;
}
.who-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--tertiary-color);
    text-decoration: none;
}

/* Spacing utilities used inline */
.who-center {
    text-align: center;
}
.who-mb-sm {
    margin-bottom: 8px;
}
.who-mb-md {
    margin-bottom: 12px;
}
.who-mb-lg {
    margin-bottom: 14px;
}
.who-mb-xl {
    margin-bottom: 16px;
}
.who-mb-2xl {
    margin-bottom: 18px;
}

/* Insurer brand colors */
.who-insurer--medicare {
    color: #003087;
}
.who-insurer--uhc {
    color: #0a6eb4;
}
.who-insurer--aetna {
    color: #7b1fa2;
}
.who-insurer--bcbs {
    color: #00539f;
}
.who-insurer--cigna {
    color: #004b87;
}
.who-insurer--magellan {
    color: #0066cc;
}

/* Responsive */
@media (max-width: 640px) {
    .who-page {
        padding: 20px 16px;
    }
    .who-cards {
        grid-template-columns: 1fr;
    }
    .who-headline {
        font-size: 24px;
    }
    .who-tags {
        flex-direction: column;
        align-items: center;
    }
    .who-insurer-row {
        gap: 12px;
    }
}
