.thank-you-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(6px)
}

.thank-you-overlay[hidden] {
    display: none
}

.thank-you-modal {
    width: min(460px, 100%);
    padding: 42px 30px;
    text-align: center;
    border: 1px solid #333;
    border-radius: 24px;
    background: #111;
    color: #fff;
    position: relative;
    box-shadow: 0 25px 80px #000
}

.thank-you-check {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #35c96f;
    color: #07130b;
    font-size: 42px;
    font-weight: 800
}

.thank-you-modal h2 {
    font-size: 34px;
    margin: 0 0 12px
}

.thank-you-modal p {
    color: #bbb;
    line-height: 1.7
}

.thank-you-close {
    position: absolute;
    right: 16px;
    top: 12px;
    border: 0;
    background: none;
    color: #aaa;
    font-size: 30px;
    cursor: pointer
}

.thank-you-back {
    margin-top: 16px
}