.brand-logo {
    display: block;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.65);
    border-radius: 0.55rem;
    object-fit: contain;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
    width: auto;
}

.brand-logo--nav {
    height: 3.1rem;
    padding: 0.3rem 0.45rem;
}

.brand-logo--footer {
    height: 3.45rem;
    padding: 0.28rem 0.48rem;
    border-radius: 0.65rem;
}

.inner-hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(165px, 21vh, 205px);
    display: flex;
    align-items: center;
    background: #1e293b;
    color: #ffffff;
}

.inner-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inner-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(30, 41, 59, 0.76) 46%, rgba(30, 92, 200, 0.26));
}

.inner-hero .container {
    position: relative;
    z-index: 1;
}

.inner-hero__content {
    max-width: 42rem;
    margin: 0 auto;
    padding: 2.5rem 0 2.15rem;
    text-align: center;
}

.inner-hero__eyebrow {
    margin: 0 0 0.6rem;
    color: #2d8b5a;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.inner-hero__title {
    margin: 0;
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.inner-hero__copy {
    margin: 0.75rem auto 0;
    max-width: 36rem;
    color: rgba(226, 232, 240, 0.92);
    font-size: clamp(0.95rem, 1.35vw, 1.12rem);
    line-height: 1.45;
}

@media (max-width: 768px) {
    .inner-hero {
        min-height: 155px;
    }

    .inner-hero__content {
        padding: 2rem 0 1.7rem;
    }

    .inner-hero__eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.2em;
    }

    .inner-hero__title {
        font-size: clamp(1.75rem, 7vw, 2.45rem);
    }

    .inner-hero__copy {
        max-width: 28rem;
        font-size: 0.92rem;
    }
}

.nav-auth-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.25rem;
    padding: 0.62rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-auth-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-auth-link--primary {
    background: #2d8b5a;
    border-color: #2d8b5a;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(45, 139, 90, 0.22);
}

.nav-auth-link--primary:hover {
    background: #256f48;
    border-color: #256f48;
}

.nav-auth-link--active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.nav-mobile-auth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-mobile-auth:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.nav-mobile-auth--primary {
    background: #2d8b5a;
    border-color: #2d8b5a;
    color: #ffffff;
}

.nav-mobile-auth--active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }

    .hero-slider-container {
        height: min(86vh, 760px);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }

    .hero-slider-container {
        height: min(78vh, 680px);
        min-height: 540px;
    }

    .slide .max-w-5xl {
        max-width: 38rem;
    }

    .slide .word-animation {
        max-width: 32rem;
        margin-left: auto;
        margin-right: auto;
    }

    [class~="py-24"] {
        padding-top: 4.5rem !important;
        padding-bottom: 4.5rem !important;
    }

    [class~="py-20"] {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    [class~="text-7xl"] {
        font-size: 3rem !important;
        line-height: 1.04 !important;
    }

    [class~="text-6xl"] {
        font-size: 2.55rem !important;
        line-height: 1.08 !important;
    }

    [class~="text-5xl"] {
        font-size: 2.15rem !important;
        line-height: 1.1 !important;
    }

    [class~="text-4xl"] {
        font-size: 1.75rem !important;
        line-height: 1.15 !important;
    }

    [class~="px-10"] {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    [class~="py-5"] {
        padding-top: 0.9rem !important;
        padding-bottom: 0.9rem !important;
    }

    [class~="py-4"] {
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }

    [class~="mb-16"] {
        margin-bottom: 3rem !important;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 16px;
    }

    .hero-slider-container {
        height: min(74vh, 600px);
        min-height: 500px;
    }

    [class~="text-6xl"] {
        font-size: 2.15rem !important;
    }

    [class~="text-5xl"] {
        font-size: 1.85rem !important;
    }

    [class~="text-4xl"] {
        font-size: 1.55rem !important;
    }

    [class~="px-10"] {
        padding-left: 1.15rem !important;
        padding-right: 1.15rem !important;
    }
}
