/* Professional typography scoped strictly to the AI Tools homepage UI. */
body.performance-home {
    --ai-tools-font: "Manrope", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

body.performance-home .ai-tools-section-title,
body.performance-home .ai-tools-categories .ai-tool-card,
body.performance-home #allcourses .ai-plan-card {
    font-family: var(--ai-tools-font);
    font-optical-sizing: auto;
    font-synthesis: none;
    font-feature-settings: "kern" 1, "liga" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.performance-home .ai-tools-section-title {
    color: #111827 !important;
    font-size: clamp(1.75rem, 3vw, 2.35rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.045em !important;
    line-height: 1.12 !important;
    text-wrap: balance;
}

body.performance-home .ai-tools-section-title span {
    font-weight: 800 !important;
    letter-spacing: -0.04em;
}

body.performance-home .ai-tools-section-title i {
    font-size: 0.82em !important;
}

body.performance-home .ai-tool-card__copy small {
    font-family: var(--ai-tools-font);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

body.performance-home .ai-tool-card__copy strong {
    font-family: var(--ai-tools-font);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

body.performance-home .cy-exam-row.ai-tools-categories .card .ai-tool-card .ai-tool-card__copy > span {
    font-family: var(--ai-tools-font);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.012em;
    line-height: 1.55;
}

body.performance-home .ai-plan-card__tool,
body.performance-home .ai-plan-card__popular {
    font-family: var(--ai-tools-font);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

body.performance-home .ai-plan-card__top p {
    font-family: var(--ai-tools-font);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.085em;
}

body.performance-home .ai-plan-card__top h3 {
    font-family: var(--ai-tools-font);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

body.performance-home .ai-course-card__description {
    font-family: var(--ai-tools-font);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: -0.012em;
    line-height: 1.65;
}

body.performance-home .ai-course-card__from > span,
body.performance-home .ai-course-card__capacity {
    font-family: var(--ai-tools-font);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: -0.012em;
}

body.performance-home .ai-course-card__from strong {
    font-family: var(--ai-tools-font);
    font-size: 35px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.055em;
}

body.performance-home .ai-course-card__tiers span {
    font-family: var(--ai-tools-font);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.035em;
}

body.performance-home .ai-plan-card__cta {
    font-family: var(--ai-tools-font);
    font-size: 13.5px;
    font-weight: 750;
    letter-spacing: -0.015em;
}

@media (max-width: 767.98px) {
    body.performance-home .ai-tools-section-title {
        font-size: clamp(1.45rem, 7vw, 1.85rem) !important;
        letter-spacing: -0.04em !important;
    }

    body.performance-home .ai-tool-card__copy strong {
        font-size: 17px;
    }

    body.performance-home .ai-plan-card__top h3 {
        font-size: 27px;
    }
}
