/*
 * Shared ecosystem heading scale.
 * Loaded last so every property inherits the same restrained proportions.
 */

.display {
    font-size: clamp(3.35rem, 6vw, 6.25rem);
    line-height: 0.92;
    letter-spacing: -0.055em;
}

.page-title {
    font-size: clamp(2.8rem, 5.5vw, 5.5rem);
    line-height: 0.94;
}

.section-title {
    font-size: clamp(2.15rem, 3.7vw, 4rem);
    line-height: 1;
}

.parallax-home .home-display {
    max-width: 760px;
    font-size: clamp(3.5rem, 5.2vw, 5rem);
    line-height: 0.93;
    letter-spacing: -0.052em;
}

.parallax-home .home-statement {
    font-size: clamp(2.4rem, 4vw, 3.9rem);
}

.parallax-home .home-section-title {
    font-size: clamp(2.2rem, 3.6vw, 3.7rem);
}

.application-header h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.received-card h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

@media (max-width: 800px) {
    .display {
        font-size: clamp(2.9rem, 12vw, 4.6rem);
    }

    .page-title {
        font-size: clamp(2.65rem, 11.5vw, 4.3rem);
    }

    .section-title {
        font-size: clamp(2rem, 8.5vw, 3.1rem);
    }

    .parallax-home .home-display {
        font-size: clamp(2.85rem, 11.5vw, 4rem);
        line-height: 0.96;
    }

    .parallax-home .home-statement {
        font-size: clamp(2.35rem, 9.5vw, 3.35rem);
    }

    .parallax-home .home-section-title {
        font-size: clamp(2.1rem, 8.5vw, 3rem);
    }
}

@media (max-width: 520px) {
    .display {
        font-size: clamp(2.65rem, 11vw, 3.6rem);
    }

    .page-title {
        font-size: clamp(2.5rem, 10.5vw, 3.6rem);
    }

    .section-title {
        font-size: clamp(1.95rem, 8.25vw, 2.75rem);
    }

    .parallax-home .home-display {
        font-size: clamp(2.7rem, 10.75vw, 3.6rem);
    }

    .parallax-home .home-statement {
        font-size: clamp(2.1rem, 8.75vw, 2.75rem);
    }

    .parallax-home .home-section-title {
        font-size: clamp(2rem, 8.25vw, 2.75rem);
    }

    .application-header h1,
    .received-card h1 {
        font-size: clamp(2.35rem, 10vw, 3.6rem);
    }
}
