@font-face {
    font-family: "Vazirmatn";
    src: url("/fonts/Vazirmatn-VF.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Noto Naskh Arabic";
    src: url("/fonts/NotoNaskhArabic-VF.ttf") format("truetype");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

/*
 * Analix Iran typography
 */

html[lang="fa"],
html[lang="fa"] body {
    direction: rtl;
}

html[lang="fa"] body,
html[lang="fa"] input,
html[lang="fa"] button,
html[lang="fa"] textarea,
html[lang="fa"] select {
    font-family:
        "Vazirmatn",
        Tahoma,
        Arial,
        sans-serif !important;
}

/*
 * Persian headings must NOT inherit the Latin negative
 * letter-spacing used by the European pages.
 */
html[lang="fa"] h1 {
    font-family:
        "Noto Naskh Arabic",
        "Vazirmatn",
        serif !important;

    font-size: clamp(2.35rem, 6vw, 4.4rem) !important;
    font-weight: 650 !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;

    max-width: 900px;
    margin-inline: auto;
}

/* Supporting Persian copy */
html[lang="fa"] .lead {
    font-family: "Vazirmatn", Tahoma, sans-serif !important;
    line-height: 2 !important;
    letter-spacing: 0 !important;
    font-weight: 400;
}

/* Countdown */
html[lang="fa"] .countdown-heading,
html[lang="fa"] .time-card span,
html[lang="fa"] .time-card strong {
    font-family: "Vazirmatn", Tahoma, sans-serif !important;
    letter-spacing: 0 !important;
}

/* Form */
html[lang="fa"] .signup-row input,
html[lang="fa"] .signup-row button,
html[lang="fa"] .consent,
html[lang="fa"] .form-status {
    font-family: "Vazirmatn", Tahoma, sans-serif !important;
}

html[lang="fa"] .signup-row input {
    text-align: right;
}

/*
 * Contact section
 */
html[lang="fa"] .analix-contact {
    direction: rtl;
    text-align: right;
}

html[lang="fa"] .analix-contact__title {
    font-family:
        "Noto Naskh Arabic",
        "Vazirmatn",
        serif !important;

    font-size: 1.65rem;
    line-height: 1.6;
    letter-spacing: 0;
}

html[lang="fa"] .analix-contact__subtitle,
html[lang="fa"] .analix-contact__label,
html[lang="fa"] .analix-contact__value {
    font-family: "Vazirmatn", Tahoma, sans-serif !important;
    letter-spacing: 0;
}

html[lang="fa"] .analix-contact__grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
}

html[lang="fa"] .analix-contact__value[dir="ltr"] {
    text-align: left;
    direction: ltr;
}

/*
 * Mobile Persian heading.
 */
@media (max-width: 640px) {
    html[lang="fa"] h1 {
        font-size: clamp(2.1rem, 10vw, 3.25rem) !important;
        line-height: 1.5 !important;
    }

    html[lang="fa"] .lead {
        line-height: 1.9 !important;
    }
}

/* WhatsApp username contact */

.analix-whatsapp {
    width: 100%;
    text-align: inherit;
    font-family: inherit;
    cursor: pointer;
}

.analix-whatsapp__hint {
    display: block;
    margin-top: 3px;
    color: var(--analix-muted);
    font-size: .76rem;
    font-weight: 400;
}

.analix-whatsapp-status {
    margin: 14px 0 0;
    color: var(--analix-muted);
    text-align: center;
    font-family: "Vazirmatn", Tahoma, sans-serif;
    font-size: .82rem;
    line-height: 1.8;
}

/* ANALIX-PARASTOO-HOMA-BEGIN */

@font-face {
    font-family: "Analix Parastoo";
    src: url("/fonts/Parastoo.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Analix Parastoo";
    src: url("/fonts/Parastoo-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Analix Homa";
    src: url("/fonts/Homa.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}


/* ----------------------------------------------------------
   General Persian typography
   ---------------------------------------------------------- */

html[lang="fa"] body {
    font-family:
        "Analix Parastoo",
        Tahoma,
        Arial,
        sans-serif !important;

    letter-spacing: 0 !important;
}


/* Main Persian headline */

html[lang="fa"] h1 {
    font-family:
        "Analix Homa",
        "Analix Parastoo",
        Tahoma,
        sans-serif !important;

    font-weight: 400 !important;

    line-height: 1.55 !important;

    letter-spacing: 0 !important;
}


/* Section headings */

html[lang="fa"] h2,
html[lang="fa"] h3,
html[lang="fa"] .analix-contact__title {
    font-family:
        "Analix Homa",
        "Analix Parastoo",
        Tahoma,
        sans-serif !important;

    font-weight: 400 !important;

    line-height: 1.55 !important;

    letter-spacing: 0 !important;
}


/* Body copy */

html[lang="fa"] p,
html[lang="fa"] .lead,
html[lang="fa"] .consent,
html[lang="fa"] .form-status {
    font-family:
        "Analix Parastoo",
        Tahoma,
        Arial,
        sans-serif !important;

    letter-spacing: 0 !important;

    line-height: 2 !important;
}


/* Registration */

html[lang="fa"] input,
html[lang="fa"] button,
html[lang="fa"] select,
html[lang="fa"] textarea {
    font-family:
        "Analix Parastoo",
        Tahoma,
        Arial,
        sans-serif !important;

    letter-spacing: 0 !important;
}


/* Countdown */

html[lang="fa"] .countdown-heading,
html[lang="fa"] .time-card,
html[lang="fa"] .time-card span,
html[lang="fa"] .time-card strong {
    font-family:
        "Analix Parastoo",
        Tahoma,
        Arial,
        sans-serif !important;

    letter-spacing: 0 !important;
}


/* Contact section */

html[lang="fa"] .analix-contact__subtitle,
html[lang="fa"] .analix-contact__label,
html[lang="fa"] .analix-contact__value {
    font-family:
        "Analix Parastoo",
        Tahoma,
        Arial,
        sans-serif !important;

    letter-spacing: 0 !important;
}


/*
 * Keep the English Analix brand line Latin.
 * This also preserves the large branding treatment.
 */

html[lang="fa"] .analix-platform-title {
    font-family:
        Inter,
        Arial,
        sans-serif !important;

    direction: ltr;

    letter-spacing: -0.04em !important;
}


/* Mobile */

@media (max-width: 640px) {

    html[lang="fa"] h1 {
        line-height: 1.6 !important;
    }

}

/* ANALIX-PARASTOO-HOMA-END */
