body.blurred {
    overflow: hidden;
}
body.blurred > *:not(.modal-overlay) {
    filter: blur(10px);
    pointer-events: none;
    user-select: none;
    position: relative;
}
body.blurred::before {
    content: "";
    position: fixed;
    inset: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    z-index: 999;
}
.modal-overlay {
    position: fixed;
    overflow-y: auto;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-overlay.hidden {
    display: none;
}
.modal {
    background: url("/assets/images/modal-bg.svg") no-repeat center center;
    background-size: 100% 100%;
    padding: 3.3rem 3.8rem 2.6rem;
    width: 100%;
    max-width: 67.2rem;
    height: 53.7rem;
    position: relative;
    display: flex;
    flex-direction: column;
}
.modal h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 7.4rem;
}
.modal h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 2.4rem;
}
.modal p {
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 2.4rem;
    line-height: 120%;
}
.modal button {
    cursor: pointer;
    border: none;
}
.modal a {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 500;
    color: #002BFF;
    text-decoration: underline;
    margin-bottom: 2.4rem;
}
.modal a:hover {
    text-decoration: none;
}
.modal .checkbox {
    cursor: pointer;
    display: block;
    width: 2.2rem;
    height: 2.2rem;
    appearance: none;
    background: url("/assets/images/checkbox.svg") no-repeat center;
    background-size: contain;
    flex-shrink: 0;
}
.modal .checkbox:checked {
    background: url("/assets/images/checkbox-checked.svg") no-repeat center;
    background-size: contain;
}
.modal .checkbox-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.7ch;
    margin-bottom: 2.4rem;
}
.modal .checkbox-wrapper * {
    cursor: pointer;
    font-size: 1.6rem;
    font-weight: 500;
    white-space: nowrap;
}
.modal .modal-close {
    position: absolute;
    right: 2.4rem;
    top: 2.9rem;
    background: transparent;
}
.modal .modal-close img {
    width: 2.4rem;
}
.modal .modal-submit {
    width: 33.5rem;
    height: 4.9rem;
    background: url("/assets/images/modal-submit.svg") no-repeat center;
    background-size: cover;
    color: #FFFFFF;
    margin-left: auto;
    margin-right: auto;

}
.modal hr {
    border-bottom: 3px solid transparent;
    border-image-source: repeating-linear-gradient(to right, #FF7A00 0, #FF7A00 4px, transparent 4px, transparent 12px);
    border-image-slice: 1;
    margin-bottom: 3.5rem;
}
@media (max-width: 743px) {
    body.blurred {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    .modal-overlay {
        overflow: auto;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
    }
    .modal {
        height: 100%;
        flex-grow: 1;
        padding: 4rem 3rem 2.2rem;
        background: #FFFFFF;
    }
    .modal h2 {
        font-size: 2.2rem;
        margin-bottom: 3.6rem;
        padding-right: 3rem;
    }
    .modal h3 {
        font-size: 1.8rem;
    }
    .modal hr {
        margin-bottom: 1.9rem;
    }
    .modal p,
    .modal a,
    .modal .checkbox-wrapper * {
        font-size: 1.4rem;
    }
    .modal .modal-submit {
        width: 100%;
        height: 4.5rem;
    }
}
