.credifas-legal-header-shell {
    width: 100%;
    padding: 32px 24px;
    background: linear-gradient(180deg, #f4f6fb 0%, #fff 100%);
    font-family: "Open Sans", "Lato", sans-serif;
}

.credifas-legal-header,
.credifas-legal-header *,
.credifas-legal-header *::before,
.credifas-legal-header *::after {
    box-sizing: border-box;
}

.credifas-legal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1552px, 100%);
    height: 96px;
    margin: 0 auto;
    padding: 0 29px 0 37px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(22, 29, 42, .06);
}

.credifas-legal-header__logo {
    display: block;
    flex: 0 0 auto;
    line-height: 0;
}

.credifas-legal-header__logo img {
    display: block;
    width: 162px;
    height: auto;
}

.credifas-legal-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 171px;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 999px;
    background: #5c51d1;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease;
}

.credifas-legal-header__cta:hover,
.credifas-legal-header__cta:focus-visible {
    background: #4b41be;
    color: #fff;
    transform: translateY(-1px);
}

.credifas-legal-header__cta:focus-visible {
    outline: 2px solid #5c51d1;
    outline-offset: 3px;
}

@media (max-width: 560px) {
    .credifas-legal-header-shell {
        padding: 16px;
    }

    .credifas-legal-header {
        height: 68px;
        padding: 0 14px 0 18px;
        border-radius: 16px;
    }

    .credifas-legal-header__logo img {
        width: 126px;
    }

    .credifas-legal-header__cta {
        min-width: 132px;
        min-height: 44px;
        padding: 0 16px;
        font-size: 13px;
    }
}

@media (max-width: 390px) {
    .credifas-legal-header__logo img {
        width: 116px;
    }

    .credifas-legal-header__cta {
        min-width: 118px;
        padding: 0 12px;
        font-size: 12px;
    }
}
