/* Front page hero */
.hero {
    position: relative;
    background:
        linear-gradient(135deg, rgba(0, 51, 102, 0.96) 0%, rgba(0, 88, 130, 0.92) 62%, rgba(0, 168, 232, 0.82) 100%),
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16), transparent 32%);
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 4.5rem 0 4rem;
    overflow: hidden;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 980px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0;
    background: rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 3.15rem;
    line-height: 1.18;
    font-weight: 800;
    margin: 0 0 1.15rem;
    letter-spacing: 0;
    min-height: 2.45em;
}

.hero-typing-line,
.hero-title-fixed {
    display: block;
}

.hero-typing-line {
    min-height: 1.18em;
}

#typing-title {
    position: relative;
    font-size: inherit;
}

#typing-title::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 0.88em;
    margin-left: 0.12em;
    background: rgba(255, 255, 255, 0.9);
    vertical-align: -0.06em;
    animation: heroCursorBlink 0.9s steps(1, end) infinite;
}

#typing-title.is-clearing::after {
    opacity: 0;
}

#typing-subtitle {
    max-width: 780px;
    margin: 0 auto 1.45rem;
    font-size: 1.18rem;
    font-weight: 400;
    line-height: 1.65;
    opacity: 0.92;
    min-height: 3.9em;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 0 auto 2rem;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.38rem 0.8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.hero-store-button {
    background: #12a150;
    box-shadow: 0 8px 20px rgba(18, 161, 80, 0.25);
}

.hero-store-button:hover,
.hero-store-button:focus {
    background: #ffffff;
    color: #0b7c3d;
}

.scroll-down {
    display: none;
}

@keyframes heroCursorBlink {
    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

@media (max-width: 1240px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 80%;
        margin: 0 auto;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    #typing-title {
        font-size: inherit;
    }

    #typing-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    .hero {
        min-height: 650px;
        padding: 3.5rem 0 3rem;
        box-sizing: border-box;
    }

    .hero-content {
        max-width: 92%;
    }

    .hero-title {
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-size: 2.25rem;
        line-height: 1.25;
        min-height: 3.75em;
        height: 3.75em;
        margin-bottom: 1rem;
    }

    .hero-typing-line {
        min-height: 2.5em;
    }

    .hero-title-fixed {
        min-height: 1.25em;
    }

    #typing-subtitle {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 6.4em;
        height: 6.4em;
        margin-bottom: 1.25rem;
    }

    .hero-highlights {
        gap: 0.45rem;
        margin-bottom: 1.6rem;
    }

    .hero-highlights span {
        min-height: 32px;
        font-size: 0.8rem;
        padding: 0.34rem 0.62rem;
    }

    .hero-buttons {
        width: min(100%, 360px);
    }

    .hero-buttons .button {
        padding: 0.9rem 1.2rem;
        box-sizing: border-box;
        white-space: nowrap;
    }
}
