/**
 * MedMentor Typography System
 * Plus Jakarta Sans (Headings) + Inter (Body)
 * Professional, modern, medical-education focused
 */

/* Global Font Variables */
:root {
    --mm-font-heading: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --mm-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --mm-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --mm-font-headings: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

/* Apply to all headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.font-heading,
.mm-hero__copy h1,
.mm-services__title,
.courses-lists-header h1 {
    font-family: var(--mm-font-heading) !important;
    letter-spacing: -0.02em;
}

/* Apply to body text */
body,
p,
.font-body,
input,
textarea,
select,
button {
    font-family: var(--mm-font-body) !important;
}

/* Override legacy Archivo references */
.faq-hero h1,
.faq-hero h2,
.support-hero h1,
.contact-hero h1,
.pricing-hero h1,
.blog-hero-modern h1,
.courses-hero-modern h1,
.mm-course__title,
.aceternity-card-title,
.aceternity-accordion-question-text {
    font-family: var(--mm-font-heading) !important;
}

/* Body text overrides */
.faq-hero p,
.support-hero p,
.contact-hero p,
.pricing-hero p,
.blog-hero-modern p,
.courses-hero-modern p,
.aceternity-card-count,
.aceternity-accordion-answer-content {
    font-family: var(--mm-font-body) !important;
}

/* Phosphor Icons - Ensure proper rendering */
i[class^="ph-"],
i[class*=" ph-"] {
    font-family: "Phosphor" !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

