/* Shared type scale for public marketing pages, loaded after their base styles. */
/* Home headings use their semantic level, independently of the shared page scale. */
body.landing-home {
    --landing-heading-size: clamp(1.5rem, 1rem + 1.4vw, 2.125rem);
}

body.landing-home #main-content h1 {
    font-size: clamp(2rem, 1rem + 2.4vw, 3rem);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

body.landing-home #main-content h2 {
    font-size: var(--landing-heading-size);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

body.landing-home #main-content h3 {
    font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

body.landing-home #main-content .contact-heading h3 {
    margin-bottom: 14px;
    color: #fff;
    font-weight: 800;
}

body.landing-home #main-content .premium-faq-question-heading {
    margin: 0;
}

body.landing-home .premium-faq-question-heading .faq-question {
    border: 0;
    background: transparent;
    cursor: pointer;
}

body.landing-home .premium-faq-question-heading .faq-question:focus-visible {
    outline: 3px solid rgba(32, 201, 151, .6);
    outline-offset: -3px;
    border-radius: 16px;
}

body.landing-home .premium-faq-question-heading .faq-question i {
    transition: transform .2s ease;
}

body.landing-home .premium-faq-item.active .faq-question i {
    transform: rotate(45deg);
}

body.landing-home .premium-faq-question-text {
    font-size: clamp(1rem, .9rem + .3vw, 1.125rem);
}

body.landing-home #main-content .modal-title,
body.landing-home #main-content .domain-result-title {
    font-size: 1.25rem;
}

body.landing-home .official-document-text {
    font-size: 1.125rem;
    line-height: 1.8;
    font-weight: 600;
}

body.landing-home .footer-pro h2 {
    font-size: clamp(1.375rem, 1rem + 1vw, 1.75rem);
    line-height: 1.5;
}

/* Platform highlights follow the same readable scale as the page copy. */
body.landing-home .premium-signal-item strong {
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 800;
    overflow-wrap: anywhere;
}

body.landing-home .premium-signal-item small {
    font-size: var(--landing-body-size);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

body.landing-home .premium-signal-item > span:last-child {
    gap: 4px;
}

body.landing-home .premium-signal-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.375rem;
}

body {
    --landing-body-size: 1.125rem;
    --landing-detail-size: .875rem;
    --landing-heading-size: clamp(2.25rem, 4.5vw, 4rem);
    font-size: var(--landing-body-size);
    line-height: 1.7;
}

.hero-title {
    font-size: clamp(2.75rem, 5.6vw, 5rem);
}

.hero-description {
    font-size: clamp(1.125rem, 1.7vw, 1.375rem);
    line-height: 1.8;
}

.section-heading h1,
.section-heading h2,
.cta-box h2,
.registration-pricing-section .domain-prices-heading h2,
.premium-display-heading,
.premium-about-copy h2,
.premium-values-heading h2,
.premium-stats-header h2,
.premium-closing-copy h2,
.contact-heading h2 {
    font-size: var(--landing-heading-size);
    line-height: 1.3;
}

.section-heading p,
.premium-section-intro,
.premium-about-lead,
.premium-testimonials-copy > p,
.premium-faq-copy > p,
.premium-contact-heading > p,
.premium-closing-copy p,
.commerce-solution-card p,
.premium-service-body p,
.service-card p,
.about-feature,
.cta-box p,
.landing-hosting-card p,
.landing-hosting-card-head p,
.premium-testimonial-card > p,
.testimonial-card p,
.premium-faq-item .faq-body,
.faq-body {
    font-size: var(--landing-body-size);
    line-height: 1.8;
}

.commerce-solution-card h3,
.premium-service-body h3,
.service-card h3,
.landing-hosting-card h3,
.landing-hosting-card-head h3,
.premium-value-card h3,
.contact-form-heading h3 {
    font-size: clamp(1.5rem, 2.2vw, 1.875rem);
    line-height: 1.4;
}

.navbar .nav-link,
.btn-landing-primary,
.btn-landing-outline,
.cta-btn,
.landing-hosting-actions .btn,
.premium-closing-primary,
.premium-closing-secondary,
.registration-card-cta,
.domain-prices-view-all-btn,
.premium-text-link,
.premium-faq-contact-link,
.domain-extension-button,
.domain-extension-option,
.form-control,
.form-select,
.contact-item-content strong,
.registration-included,
.registration-hosting-benefit strong,
.landing-hosting-resources strong,
.landing-hosting-features li,
.premium-about-features > div,
.commerce-solution-card li {
    font-size: 1rem;
    line-height: 1.6;
}

.faq-item button,
.premium-faq-question-text {
    font-size: 1.25rem;
    line-height: 1.6;
    gap: 1rem;
}

.section-pill,
.premium-section-kicker,
.registration-pricing-section .domain-prices-heading > span,
.hero-live-badge,
.hero-live-code,
.hero-infra-brand small,
.hero-infra-ready,
.hero-infra-service-copy small,
.hero-infra-service-copy span,
.hero-infra-service-state,
.hero-infra-benefits span,
.hero-infra-tech,
.commerce-solution-tag,
.commerce-featured-badge,
.registration-featured-badge,
.registration-domain-name > span,
.registration-price-number > span,
.registration-price-period,
.registration-hosting-benefit small,
.landing-hosting-prices small,
.landing-hosting-prices strong span,
.landing-hosting-resources span,
.landing-hosting-discount,
.landing-hosting-footer,
.premium-about-metric span,
.premium-about-tech span,
.premium-testimonial-author small,
.premium-stat-item > span:last-child,
.premium-stats-live,
.contact-item-content small,
.contact-form .form-label,
.domain-prices-modal .domain-price-label,
.domain-prices-modal .current-price span,
.domain-prices-modal .domain-currency-meta,
.domain-prices-modal-kicker,
.domain-offer-badge,
.domain-offer-hosting,
.site-announcement-modal .modal-footer .btn {
    font-size: var(--landing-detail-size);
    line-height: 1.6;
}

.hero-infra-brand strong,
.hero-infra-service-copy strong {
    font-size: 1.125rem;
    line-height: 1.5;
}

.landing-hosting-prices > div:first-child strong {
    font-size: 2.5rem;
    line-height: 1.2;
}

.landing-hosting-prices > div:nth-child(2) strong {
    font-size: 1.75rem;
    line-height: 1.2;
}

/* Let longer Arabic and English labels wrap as the type grows. */
.hero-live-badge,
.hero-infra-header,
.registration-card-heading,
.registration-price-number {
    flex-wrap: wrap;
}

.hero-infra-ready,
.hero-infra-service-state,
.registration-featured-badge,
.domain-offer-badge {
    white-space: normal;
}

.landing-hosting-prices strong,
.landing-hosting-resources strong {
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    body {
        --landing-body-size: 1.0625rem;
    }

    .hero-infra-service {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
    }

    .hero-infra-service-state {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 575.98px) {
    .hero-live-badge {
        border-radius: 18px;
    }

    .hero-infra-card {
        padding: 18px;
    }

    .hero-infra-service {
        padding: 14px;
    }

    .landing-hosting-prices,
    .landing-hosting-actions {
        grid-template-columns: minmax(0, 1fr);
    }
}
