/**
 * Hero Text - Flex Part Styles
 * Left-aligned title + description on transparent bg (page gradient shows through)
 * Figma: Poppins 58/700 #1D004B, Funnel Sans 22/400 #000, 860px wide, pad 120/120/80/240
 */

.hero-text {
    padding: 120px 0 80px;
}

.hero-text__wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 860px;
}

/* Title - Poppins 58/700 */
.hero-text__title {
    font-family: "Poppins", sans-serif;
    font-size: 58px;
    font-weight: 700;
    line-height: 120%;
    color: var(--color-purple-dark, #1D004B);
    text-wrap-style: balance;
    margin: 0;
}

.hero-text__title sup {
    font-size: 0.4em;
    vertical-align: super;
}

/* Variant: Funnel Sans Semibold */
.hero-text__title--funnel {
    font-family: "Funnel Sans", sans-serif;
    font-size: 60px;
    font-weight: 600;
}

/* Content - Funnel Sans 22/400 */
.hero-text__content {
    font-family: "Funnel Sans", sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-text, #000);
}

.hero-text__content p {
    margin: 0;
}

.hero-text__content p + p {
    margin-top: 16px;
}

/* CTA */
.hero-text__cta {
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-text {
        padding: 80px 0 60px;
    }

    .hero-text__wrapper {
        max-width: 100%;
    }

    .hero-text__title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .hero-text {
        padding: 60px 0 40px;
    }

    .hero-text__title {
        font-size: 42px;
    }

    .hero-text__content {
        font-size: 18px;
    }
}
