.brex-app {
    min-height: 540px;
    background:
        radial-gradient(circle at 50% 12%, rgba(86, 54, 31, .46) 0%, rgba(30, 18, 11, .56) 42%, transparent 70%),
        linear-gradient(180deg, #080504 0%, #21140d 54%, #120b07 100%);
    color: #ffffff;
    padding: 88px 24px 96px;
}

.brex-app__inner {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.brex-app__header {
    text-align: center;
}

.brex-app__header h1 {
    margin: 0;
    color: #ffffff;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: 0;
    text-transform: uppercase;
}

.brex-app__header h1 span {
    color: #c29673;
}

.brex-app__header p {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 18px;
    font-weight: 200;
    line-height: 24px;
    letter-spacing: 0;
}

.brex-app__header p + p {
    margin-top: 0;
}

.brex-app__banner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 0;
    aspect-ratio: 3 / 1;
    margin: 34px 0 0;
    border-radius: 10px;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .46) 39%, rgba(0, 0, 0, .04) 68%, rgba(0, 0, 0, 0) 100%),
        url("../../../upload/platform/application/brex-capital-application.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .26);
}

.brex-app__banner-content {
    position: relative;
    z-index: 1;
    width: 68%;
    padding: 46px 44px;
}

.brex-app__banner-content h2 {
    margin: 0;
    color: #ffffff;
    font-size: 58px;
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.brex-app__banner-content h2 span {
    color: #efc7a8;
}

.brex-app__banner-content p {
    max-width: 690px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .68);
    font-size: 23px;
    font-weight: 300;
    line-height: 1.46;
    letter-spacing: 0;
}

.brex-app__downloads {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 26px;
}

.brex-app__download-link {
    display: block;
    width: 150px;
    transition: transform .22s ease, filter .22s ease;
}

.brex-app__download-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.brex-app__download-link img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .brex-app__banner {
        background-position: 58% center;
    }

    .brex-app__banner-content {
        width: 72%;
        padding: 34px 32px;
    }

    .brex-app__banner-content h2 {
        font-size: 44px;
    }

    .brex-app__banner-content p {
        margin-top: 16px;
        font-size: 18px;
    }

    .brex-app__downloads {
        gap: 12px;
        margin-top: 20px;
    }

    .brex-app__download-link {
        width: 130px;
    }
}

@media (max-width: 767px) {
    .brex-app {
        padding: 42px 20px 48px;
    }

    .brex-app__header h1 {
        font-size: 28px;
    }

    .brex-app__header p {
        font-size: 17px;
    }

    .brex-app__banner {
        align-items: center;
        aspect-ratio: auto;
        min-height: 300px;
        margin-top: 28px;
        background-image:
            linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .56) 52%, rgba(0, 0, 0, .08) 100%),
            url("../../../upload/platform/application/brex-capital-application.jpg");
        background-position: 63% center;
    }

    .brex-app__banner-content {
        width: 78%;
        padding: 30px 24px;
    }

    .brex-app__banner-content h2 {
        font-size: 30px;
    }

    .brex-app__banner-content p {
        max-width: 340px;
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.45;
    }

    .brex-app__downloads {
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 18px;
    }

    .brex-app__download-link {
        width: 122px;
    }
}

@media (max-width: 420px) {
    .brex-app__header h1 {
        font-size: 28px;
    }

    .brex-app__banner {
        min-height: 250px;
    }

    .brex-app__banner-content h2 {
        font-size: 26px;
    }

    .brex-app__download-link {
        width: 112px;
    }
}
