/* HyperLap hero and brand scaling fixes */
.brand-icon {
    display: block;
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px;
    border-radius: 11px;
    object-fit: cover;
}

.footer-icon {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px;
    object-fit: cover;
    border-radius: 10px;
}

.footer-brand {
    gap: 10px;
    line-height: 1;
}

.hero {
    min-height: clamp(650px, 78vh, 820px);
}

.hero::before {
    background:
        linear-gradient(90deg,
            rgba(11, 15, 23, .96) 0%,
            rgba(11, 15, 23, .90) 24%,
            rgba(11, 15, 23, .66) 43%,
            rgba(11, 15, 23, .20) 67%,
            rgba(11, 15, 23, .05) 100%),
        linear-gradient(0deg, #0b0f17 0%, transparent 24%),
        url('../../images/HyperLapHero.png?v=4') 64% center / cover no-repeat;
}

.hero-content {
    width: calc(100% - clamp(56px, 10vw, 160px));
    max-width: none;
    margin-left: clamp(28px, 5vw, 80px);
    margin-right: 0;
}

.hero-content > * {
    max-width: 570px;
}

.hero-content h1 {
    display: block;
    margin: 24px 0 !important;
    font-size: clamp(52px, 5.4vw, 80px) !important;
    font-weight: 850 !important;
    line-height: .98 !important;
    letter-spacing: -.055em !important;
    color: #fff !important;
}

.hero-content .lead {
    font-size: clamp(17px, 1.45vw, 21px);
    max-width: 550px;
}

.mobile-line-break {
    display: none;
}

.desktop-space {
    display: inline;
}

@media (max-width: 800px) {
    .nav-inner {
        height: 66px;
        padding-inline: 18px;
    }

    .brand-icon {
        width: 38px !important;
        height: 38px !important;
        flex-basis: 38px;
    }

    .hero {
        min-height: 720px;
        align-items: flex-end;
        padding: 245px 0 62px;
    }

    .hero::before {
        background:
            linear-gradient(0deg,
                #0b0f17 4%,
                rgba(11, 15, 23, .96) 38%,
                rgba(11, 15, 23, .56) 63%,
                rgba(11, 15, 23, .08) 100%),
            linear-gradient(90deg, rgba(11, 15, 23, .60), rgba(11, 15, 23, .04)),
            url('../../images/HyperLapHero.png?v=4') 70% center / cover no-repeat;
    }

    .hero-content {
        width: calc(100% - 36px);
        margin-left: 18px;
        margin-right: 18px;
    }

    .hero-content h1 {
        font-size: clamp(43px, 11vw, 58px) !important;
    }

    .mobile-line-break {
        display: inline;
    }

    .desktop-space {
        display: none;
    }

    .hero-content .lead {
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-content .actions {
        display: grid;
        grid-template-columns: 1fr;
    }

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

    .signal-row {
        gap: 12px 16px;
        font-size: 10px;
    }
}

@media (max-width: 420px) {
    .brand {
        font-size: 18px;
    }

    .hero {
        min-height: 700px;
    }

    .hero-content h1 {
        font-size: 42px !important;
    }
}
