.community-matcher-page {
    --section-divider-oval-height: 19rem;
    --section-divider-oval-offset: 1rem;
        background: var(--clr-primary-30);

}

.community-matcher-page .hg-section .hg-title {
    top: clamp(1.75rem, 7vw, 2.2rem);
    max-width: min(18rem, 90%);
    padding: 0;
    font-size: clamp(2.45rem, 5vw, 3.85rem);
    line-height: 1.18;
}

.community-matcher-seo {
    background: var(--clr-navy-100);
    padding: 2rem 0 4rem;
}

.community-matcher-seo__layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.community-matcher-seo__card,
.community-matcher-seo__step-panel,
.community-matcher-seo__footer-note {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.community-matcher-seo__card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
}

.community-matcher-seo__intro {
    color: #f3f4f6;
}

.community-matcher-seo__intro-copy {
    margin: 0;
    color: #f3f4f6;
    font-size: 1rem;
    line-height: 1.65;
}

.community-matcher-seo__highlight {
    color: #5dd9c1;
    font-weight: var(--fw-bold);
}

.community-matcher-seo__cta {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    background: linear-gradient(180deg, #5dd9c1 0%, #4bc4ad 100%);
    color: #0f1f2e;
    font-size: 1rem;
    font-weight: var(--fw-bold);
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.community-matcher-seo__cta:hover,
.community-matcher-seo__cta:focus-visible {
    color: #0f1f2e;
    filter: brightness(1.03);
}

.community-matcher-seo__login-note {
    margin: 0.75rem 0 0;
    color: #99a1af;
    font-size: 0.75rem;
    line-height: 1.35;
    text-align: center;
}

.community-matcher-seo__feature-grid {
    display: grid;
    gap: 1.25rem;
}

.community-matcher-seo__feature-card {
    min-height: 11rem;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: white;
}

.community-matcher-seo__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    background: linear-gradient(180deg, #5dd9c1 0%, #4bc4ad 100%);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.12);
    color: #0f1f2e;
    font-size: 1rem;
}

.community-matcher-seo__feature-title {
    margin: 1rem 0 0;
    color: white;
    font-size: 1.25rem;
    font-weight: var(--fw-bold);
    line-height: 1.35;
}

.community-matcher-seo__feature-text {
    margin: 0.5rem 0 0;
    color: #d1d5dc;
    font-size: 0.875rem;
    line-height: 1.65;
}

.community-matcher-seo__step-panel {
    background: linear-gradient(180deg, #1a2332 0%, #0d1520 100%);
    padding: 1.25rem;
}

.community-matcher-seo__step-heading {
    margin: 0 0 1rem;
    color: white;
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    text-align: center;
}

.community-matcher-seo__step-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.community-matcher-seo__step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.community-matcher-seo__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: linear-gradient(180deg, #5dd9c1 0%, #4bc4ad 100%);
    color: #0f1f2e;
    font-size: 1rem;
    font-weight: var(--fw-bold);
}

.community-matcher-seo__step-text {
    margin: 0;
    color: #e5e7eb;
    font-size: 0.875rem;
    line-height: 1.6;
}

.community-matcher-seo__footer-note {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
}

.community-matcher-seo__footer-note p {
    margin: 0;
    color: #e5e7eb;
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: center;
}

@media (min-width: 768px) {
    .community-matcher-page {
        --section-divider-oval-height: 21rem;
        --section-divider-oval-offset: 1rem;
    }

    .community-matcher-page .hg-section .hg-title {
        top: 2rem;
        max-width: 21rem;
        font-size: 3.8rem;
        line-height: 1.2;
    }

    .community-matcher-seo {
        padding: 3.5rem 0 5rem;
    }

    .community-matcher-seo__layout {
        gap: 2.5rem;
    }

    .community-matcher-seo__card {
        padding: 2rem;
        border-radius: 16px;
    }

    .community-matcher-seo__intro {
        max-width: 70rem;
        margin-inline: auto;
        padding: 2rem;
    }

    .community-matcher-seo__intro-copy {
        font-size: 1.25rem;
        line-height: 1.625;
    }

    .community-matcher-seo__cta {
        margin-top: 1.5rem;
        padding-block: 1.1rem;
        border-radius: 14px;
        font-size: 1.125rem;
    }

    .community-matcher-seo__login-note {
        margin-top: 0.875rem;
        font-size: 1rem;
        line-height: 1.5;
    }

    .community-matcher-seo__feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .community-matcher-seo__feature-card {
        min-height: 18.375rem;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .community-matcher-seo__feature-icon {
        width: 3rem;
        height: 3rem;
        border-radius: 14px;
    }

    .community-matcher-seo__feature-title {
        margin-top: 1.5rem;
        font-size: 1.5rem;
        line-height: 1.333;
    }

    .community-matcher-seo__feature-text {
        font-size: 1rem;
        line-height: 1.625;
    }

    .community-matcher-seo__step-panel {
        padding: 2rem;
        border-radius: 16px;
    }

    .community-matcher-seo__step-heading {
        margin-bottom: 2rem;
        font-size: 2.25rem;
        line-height: 1.1;
    }

    .community-matcher-seo__step-list {
        gap: 1.25rem;
    }

    .community-matcher-seo__step {
        grid-template-columns: 2.5rem 1fr;
        gap: 1rem;
        align-items: center;
        padding: 1.05rem 1.15rem;
        border-radius: 14px;
    }

    .community-matcher-seo__step-number {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 14px;
        font-size: 1.125rem;
    }

    .community-matcher-seo__step-text,
    .community-matcher-seo__footer-note p {
        font-size: 1.125rem;
        line-height: 1.625;
    }

    .community-matcher-seo__footer-note {
        padding: 2rem;
        border-radius: 16px;
    }
}
