.cfm-jp-footer {
    background: #050b14;
    color: #ffffff;
    font-family: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cfm-jp-footer *,
.cfm-jp-footer *::before,
.cfm-jp-footer *::after {
    box-sizing: border-box;
}

.cfm-jp-footer a {
    color: inherit;
    text-decoration: none;
}

.cfm-jp-footer__inner,
.cfm-jp-footer__bottom {
    margin-inline: auto;
    max-width: 1440px;
    padding-inline: 52px;
}

.cfm-jp-footer__inner {
    display: grid;
    gap: 90px;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    padding-block: 68px 62px;
}

.cfm-jp-footer__brand {
    max-width: 420px;
}

.cfm-jp-footer__logo {
    align-items: center;
    display: inline-flex;
    gap: 12px;
}

.cfm-jp-footer__logo img {
    border-radius: 50%;
    display: block;
    height: 42px;
    object-fit: cover;
    width: 42px;
}

.cfm-jp-footer__logo span {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
}

.cfm-jp-footer__brand p {
    color: #cbd8d5;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
    margin: 23px 0 0;
    max-width: 38ch;
}

.cfm-jp-footer__button {
    align-items: center;
    background: #9ce0cd;
    border-radius: 10px;
    color: #063f35 !important;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
    margin-top: 26px;
    min-height: 46px;
    padding: 0 17px;
}

.cfm-jp-footer__button:hover,
.cfm-jp-footer__button:focus-visible {
    background: #bcebdc;
}

.cfm-jp-footer__nav {
    display: grid;
    gap: 54px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cfm-jp-footer__nav section {
    display: flex;
    flex-direction: column;
}

.cfm-jp-footer__nav h2 {
    color: #9ce0cd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.cfm-jp-footer__nav a {
    color: #d6dfdd;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.5;
    margin-top: 13px;
}

.cfm-jp-footer__nav h2 + a {
    margin-top: 0;
}

.cfm-jp-footer__nav a:hover,
.cfm-jp-footer__nav a:focus-visible {
    color: #ffffff;
}

.cfm-jp-footer__bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    display: grid;
    gap: 20px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 86px;
}

.cfm-jp-footer__bottom p {
    color: #8fa09d;
    font-size: 10px;
    font-weight: 600;
    margin: 0;
}

.cfm-jp-footer :focus-visible {
    outline: 3px solid #9ce0cd;
    outline-offset: 4px;
}

@media (max-width: 820px) {
    .cfm-jp-footer__inner,
    .cfm-jp-footer__bottom {
        padding-inline: 28px;
    }

    .cfm-jp-footer__inner {
        gap: 48px;
        grid-template-columns: 1fr;
        padding-block: 56px 50px;
    }

    .cfm-jp-footer__bottom {
        align-items: flex-start;
        grid-template-columns: 1fr;
        padding-block: 24px;
    }
}

@media (max-width: 560px) {
    .cfm-jp-footer__inner,
    .cfm-jp-footer__bottom {
        padding-inline: 20px;
    }

    .cfm-jp-footer__nav {
        gap: 38px;
        grid-template-columns: 1fr;
    }

    .cfm-jp-footer__button {
        min-height: 50px;
        width: 100%;
    }
}
