.ak-consult-popup {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 20px;
    pointer-events: none;
    position: fixed;
    transition: opacity .28s ease;
    z-index: 99999;
}

.ak-consult-popup.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.ak-consult-popup__backdrop {
    background: rgba(44, 36, 34, .48);
    inset: 0;
    position: absolute;
}

.ak-consult-popup__dialog {
    background: #FAF9F8;
    border: 1px solid #E9DEDA;
    border-radius: 8px;
    box-sizing: border-box;
    box-shadow: 0 30px 80px rgba(44, 36, 34, .22);
    color: #2C2422;
    max-height: calc(100vh - 40px);
    max-width: 620px;
    outline: none;
    overflow: auto;
    padding: 34px;
    position: relative;
    transform: translateY(14px) scale(.985);
    transition: transform .28s ease;
    width: calc(100vw - 40px);
}

html body .ak-consult-popup .ak-consult-popup__dialog {
    max-width: min(620px, calc(100vw - 40px));
    width: min(620px, calc(100vw - 40px));
}

.ak-consult-popup.is-visible .ak-consult-popup__dialog {
    transform: translateY(0) scale(1);
}

.ak-consult-popup__close {
    align-items: center;
    background: #F6F0EF;
    border: 1px solid #E9DEDA;
    border-radius: 999px;
    color: #8A5B68;
    cursor: pointer;
    display: flex;
    font-size: 24px;
    height: 38px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 18px;
    top: 18px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
    width: 38px;
}

.ak-consult-popup__close:hover,
.ak-consult-popup__close:focus {
    background: #A06C7A;
    color: #fff;
    transform: translateY(-1px);
}

.ak-consult-popup__eyebrow {
    color: #A06C7A;
    font-family: Outfit, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.4;
    margin: 0 46px 14px 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.ak-consult-popup__title {
    color: #2C2422;
    font-family: "Cormorant Garamond", serif;
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1.05;
    margin: 0 28px 18px 0;
}

.ak-consult-popup__lead {
    color: #4A4A4A;
    font-family: Outfit, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    margin: 0 0 22px;
    overflow-wrap: anywhere;
}

.ak-consult-popup__body {
    background: #FBECEB;
    border: 1px solid #EADDD7;
    border-radius: 8px;
    margin: 0 0 20px;
    padding: 20px 22px;
}

.ak-consult-popup__body p {
    color: #2C2422;
    font-family: Outfit, sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px;
}

.ak-consult-popup__body ul {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ak-consult-popup__body li {
    color: #4A4A4A;
    font-family: Outfit, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    padding-left: 22px;
    position: relative;
    overflow-wrap: anywhere;
}

.ak-consult-popup__body li::before {
    background: #A06C7A;
    border-radius: 999px;
    content: "";
    height: 6px;
    left: 2px;
    position: absolute;
    top: .7em;
    width: 6px;
}

.ak-consult-popup__system {
    border-left: 2px solid #A06C7A;
    display: grid;
    gap: 4px;
    margin: 0 0 24px;
    padding-left: 16px;
}

.ak-consult-popup__system strong {
    color: #8A5B68;
    font-family: Outfit, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ak-consult-popup__system span {
    color: #2C2422;
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    font-style: italic;
    line-height: 1.25;
}

.ak-consult-popup__button {
    align-items: center;
    background: #A06C7A;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-family: Outfit, sans-serif;
    font-size: 12px;
    font-weight: 700;
    justify-content: center;
    letter-spacing: .16em;
    line-height: 1.2;
    min-height: 48px;
    padding: 16px 24px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
    width: 100%;
}

.ak-consult-popup__button:hover,
.ak-consult-popup__button:focus {
    background: #8A5B68;
    box-shadow: 0 14px 30px rgba(160, 108, 122, .24);
    color: #fff;
    transform: translateY(-1px);
}

body.ak-consult-popup-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .ak-consult-popup {
        align-items: flex-end;
        padding: 12px;
    }

    .ak-consult-popup__dialog {
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        padding: 28px 20px 22px;
        width: calc(100vw - 24px);
    }

    html body .ak-consult-popup .ak-consult-popup__dialog {
        max-width: calc(100vw - 24px);
        width: calc(100vw - 24px);
    }

    .ak-consult-popup__close {
        height: 34px;
        right: 14px;
        top: 14px;
        width: 34px;
    }

    .ak-consult-popup__eyebrow {
        font-size: 10px;
        margin-right: 42px;
    }

    .ak-consult-popup__title {
        font-size: 34px;
        margin-right: 0;
    }

    .ak-consult-popup__lead {
        font-size: 16px;
    }

    .ak-consult-popup__body {
        padding: 18px;
    }

    .ak-consult-popup__system span {
        font-size: 22px;
    }
}
