/* Rehab / fix-and-flip landing (/Home/Rehab) */

.rehab-hero {
    background: var(--tv-grad-hero, linear-gradient(145deg, #0c1a2e 0%, #1e3a5f 45%, #1d4ed8 100%));
    color: #fff;
    padding: 4.25rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.rehab-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.09) 1px, transparent 0);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at top, black 35%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at top, black 35%, transparent 75%);
    pointer-events: none;
}

.rehab-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 46rem;
    margin: 0 auto;
    text-align: center;
}

.public-main .rehab-hero .rehab-brand,
.public-main .rehab-hero p.rehab-brand {
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.75rem;
    color: #fff;
}

.rehab-hero h1 {
    font-size: clamp(1.5rem, 3.2vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 1rem;
    color: #fff;
}

.public-main .rehab-hero .rehab-lead,
.public-main .rehab-hero p.rehab-lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: #f8fafc;
    margin: 0 0 1.5rem;
}

.rehab-hero .campaign-frames {
    margin: 0 0 1.6rem;
    text-align: left;
}

.rehab-hero .campaign-frame figcaption {
    color: #cbd5e1;
}

.rehab-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.rehab-hero .btn {
    font-weight: 700;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
}

.public-main .rehab-hero .rehab-quiet,
.public-main .rehab-hero p.rehab-quiet {
    margin: 1.15rem 0 0;
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.5;
}

.rehab-split {
    padding: 3.25rem 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.rehab-split-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .rehab-split-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
}

.rehab-split-card {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.4rem 1.45rem;
    background: #f8fafc;
}

.rehab-split-card--on {
    background: #fff;
    border-color: #bfdbfe;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
}

.rehab-split-card h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.75rem;
}

.rehab-split-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rehab-split-card li {
    padding: 0.4rem 0;
    color: #374151;
    font-size: 0.98rem;
    line-height: 1.5;
}

.rehab-map {
    padding: 3.25rem 0 2.75rem;
    background: var(--tv-grad-soft, linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%));
}

.rehab-section-head {
    text-align: center;
    max-width: 38rem;
    margin: 0 auto 1.75rem;
}

.rehab-section-head h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin: 0 0 0.55rem;
}

.rehab-section-head p {
    margin: 0;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.6;
}

.rehab-pillar-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .rehab-pillar-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.rehab-pillar-grid h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.4rem;
}

.rehab-pillar-grid p {
    margin: 0;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.55;
}

.rehab-score {
    padding: 2.75rem 0;
    background: #0f172a;
    color: #e2e8f0;
}

.rehab-score-inner {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

.rehab-score h2 {
    font-size: clamp(1.25rem, 2.3vw, 1.6rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.7rem;
}

.public-main .rehab-score p {
    margin: 0;
    color: #cbd5e1;
    font-size: 1.02rem;
    line-height: 1.65;
}

.rehab-close {
    padding: 3rem 0 2.25rem;
    background: #fff;
}

.rehab-close-panel {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
}

.rehab-close-panel h2 {
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.65rem;
}

.rehab-close-panel p {
    color: #374151;
    margin: 0 0 1.25rem;
    line-height: 1.6;
}

.rehab-close-panel .btn {
    font-weight: 700;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
}

@media (max-width: 575.98px) {
    .rehab-hero {
        padding: 3.1rem 0 2.75rem;
    }

    .rehab-cta-row .btn,
    .rehab-close-panel .btn {
        width: 100%;
    }
}
