/**
 * فائض طعام — Typography للشاشات الكبيرة (Desktop / Laptop)
 * IBM Plex Sans Arabic يحتاج line-height أوسع من الخطوط اللاتينية.
 * قواعد الموبايل تبقى في mobile-app.css و Tailwind — لا تُغيَّر هنا إلا عبر min-width.
 */

/* ---- طبقات العناوين (أساس آمن لكل المقاسات) ---- */
.faid-hero-title {
    font-weight: 900;
    letter-spacing: 0;
    font-size: 1.875rem;
    line-height: 1.35;
}

.faid-hero-title--compact {
    font-weight: 900;
    letter-spacing: 0;
    font-size: 1.75rem;
    line-height: 1.35;
}

.faid-section-title {
    font-weight: 900;
    letter-spacing: 0;
    font-size: 1.875rem;
    line-height: 1.35;
}

.faid-cta-title {
    font-weight: 900;
    letter-spacing: 0;
    font-size: 1.875rem;
    line-height: 1.35;
}

.faid-page-title {
    font-weight: 900;
    letter-spacing: 0;
    font-size: 1.5rem;
    line-height: 1.35;
}

.faid-section-subtitle {
    font-weight: 800;
    letter-spacing: 0;
    font-size: 1.125rem;
    line-height: 1.4;
}

.faid-card-title {
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.45;
}

.faid-body-text {
    font-weight: 500;
    line-height: 1.75;
}

.faid-text-highlight {
    display: inline;
}

/* ---- Desktop / Laptop (≥1024px) ---- */
@media (min-width: 1024px) {
    .faid-hero-copy {
        max-width: min(720px, 100%);
    }

    .faid-hero-title {
        font-size: clamp(3rem, 4.5vw, 4.75rem);
        line-height: 1.28;
        letter-spacing: -0.02em;
    }

    .faid-hero-title--compact {
        font-size: clamp(2rem, 3vw, 2.75rem);
        line-height: 1.3;
        letter-spacing: -0.015em;
    }

    .faid-section-title {
        font-size: clamp(1.875rem, 2.5vw, 2.5rem);
        line-height: 1.35;
        letter-spacing: -0.01em;
    }

    .faid-cta-title {
        font-size: clamp(2rem, 3.5vw, 3.25rem);
        line-height: 1.32;
        letter-spacing: -0.015em;
    }

    .faid-page-title {
        font-size: clamp(1.75rem, 2vw, 2.25rem);
        line-height: 1.35;
    }

    .faid-section-subtitle {
        font-size: clamp(1.25rem, 1.5vw, 1.75rem);
        line-height: 1.4;
    }

    .faid-card-title {
        line-height: 1.45;
    }

    .faid-body-text {
        line-height: 1.85;
    }

    .faid-text-highlight {
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
        padding: 0.02em 0.16em 0.08em;
        line-height: 1.35;
    }

    .faid-text-highlight--mark {
        background: rgba(22, 163, 74, 0.12);
        border-radius: 0.2em;
    }

    #hero .lg\:grid-cols-2 {
        gap: 3.5rem;
        align-items: center;
    }

    .faid-faq-answer {
        line-height: 1.85;
    }

    .faid-testimonial-text {
        line-height: 1.85;
    }
}

/* ---- شاشات متوسطة (768–1023) — تابلت أفقي / لابتوب صغير ---- */
@media (min-width: 768px) and (max-width: 1023px) {
    .faid-hero-title {
        font-size: clamp(2.25rem, 5vw, 3rem);
        line-height: 1.3;
    }

    .faid-section-title {
        font-size: clamp(1.75rem, 3vw, 2.25rem);
        line-height: 1.35;
    }

    .faid-cta-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
        line-height: 1.33;
    }

    .faid-body-text {
        line-height: 1.8;
    }
}
