/* Comparison hub — card grid + CTA section.
   Builds on legal-v2.css chrome; only adds the card-specific bits. */

.compare-hub .lgl-section {
    margin-bottom: 32px;
}

.ch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.ch-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 26px;
    background: #FFFFFF;
    border: 1px solid #E4E2DC;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ch-card:hover,
.ch-card:focus-visible {
    border-color: #2D6BFF;
    box-shadow: 0 12px 28px rgba(15, 30, 61, 0.08);
    transform: translateY(-2px);
    outline: none;
}

.ch-card-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5A5F6C;
    margin-bottom: 8px;
}

.ch-card-title {
    font: 700 18px/1.3 'Inter Tight', 'Inter', system-ui, sans-serif;
    letter-spacing: -0.01em;
    color: #0F1E3D;
    margin: 0 0 10px;
    border: none;
    padding: 0;
}

.ch-card-summary {
    font-size: 14px;
    color: #2A2F3A;
    line-height: 1.55;
    margin: 0 0 14px;
}

.ch-card-meta {
    font-size: 12px;
    color: #8A8F9A;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: 0.01em;
    margin-bottom: 14px;
    display: block;
}

.ch-card-cta {
    font-size: 14px;
    font-weight: 600;
    color: #2D6BFF;
    margin-top: auto;
}

.ch-card:hover .ch-card-cta {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* "In research" list — soft, less prominent than active cards */
.ch-coming {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ch-coming li {
    padding: 14px 16px;
    background: #F5F3EC;
    border-left: 3px solid #C9C5BC;
    border-radius: 8px;
    color: #2A2F3A;
    font-size: 14px;
    line-height: 1.55;
}

.ch-coming li strong {
    color: #0F1E3D;
}

.ch-coming-cta {
    margin-top: 18px;
    font-size: 14px;
    color: #5A5F6C;
}

/* Bottom CTA section */
.ch-cta-section {
    margin-top: 56px;
    padding: 40px 36px;
    background: linear-gradient(135deg, #0F1E3D 0%, #1A2D55 100%);
    color: #FFFFFF;
    border-radius: 18px;
    border: none;
}

.ch-cta-section h2 {
    color: #FFFFFF;
    font: 700 28px/1.2 'Inter Tight', 'Inter', system-ui, sans-serif;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    border: none;
    padding: 0;
}

.ch-cta-section h2 .lgl-num { display: none; }

.ch-cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.55;
    margin: 0 0 16px;
}

.ch-cta-actions {
    display: flex;
    gap: 12px;
    margin: 18px 0 12px;
    flex-wrap: wrap;
}

.ch-cta-section .btn {
    text-decoration: none;
    border-bottom: 0;
    padding: 12px 22px;
    border-radius: 12px;
    font: 600 15px/1 'Inter', system-ui, sans-serif;
    transition: background-color 160ms ease-out, transform 160ms ease-out;
    display: inline-flex;
    align-items: center;
}

.ch-cta-section .btn--primary {
    background: #2D6BFF;
    color: #FFFFFF;
}

.ch-cta-section .btn--primary:hover {
    background: #4A82FF;
    transform: translateY(-1px);
}

.ch-cta-section a.btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.ch-cta-section a.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #FFFFFF;
}

.ch-cta-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 8px 0 0;
}

.ch-cta-meta a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ch-cta-meta a:hover {
    color: #FFFFFF;
}

/* Small screens */
@media (max-width: 640px) {
    .ch-grid {
        grid-template-columns: 1fr;
    }

    .ch-cta-section {
        padding: 28px 22px;
    }

    .ch-cta-section h2 {
        font-size: 22px;
    }

    .ch-cta-actions {
        flex-direction: column;
    }

    .ch-cta-section .btn {
        text-align: center;
        justify-content: center;
    }
}
