.sp-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 16px;
}
.sp-modal[hidden] {
    display: none;
}
.sp-modal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.sp-modal.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}
.sp-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}
.sp-box {
    position: relative;
    width: 100%;
    max-width: 527px;
    box-sizing: border-box;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    text-align: center;
    background: #0e1015;
    border-radius: 20px;
    color: #fff;
    font-family: var(--font-sans);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.sp-modal.is-open .sp-box {
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .sp-modal,
    .sp-modal.is-open,
    .sp-box {
        transition: none;
    }
}
.sp-close {
    position: absolute;
    top: 30px;
    right: 30px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}
.sp-icon {
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
}
.sp-title {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 31px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1.3px;
    color: #fff;
}
.sp-text {
    margin: 0;
    font-size: 18px;
    line-height: 27px;
    color: rgba(237, 230, 215, 0.62);
}
@media (max-width: 560px) {
    .sp-box {
        padding: 32px 24px;
    }
    .sp-title {
        font-size: 26px;
    }
    .sp-text {
        font-size: 16px;
        line-height: 24px;
    }
}

.sp-box--form {
    max-width: 630px;
    padding: 30px;
    align-items: stretch;
    gap: 11px;
    max-height: calc(100vh - 32px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    text-align: left;
}
.sp-box--form::-webkit-scrollbar {
    display: none;
}
.sp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.92px;
    line-height: 18.6px;
    text-transform: uppercase;
    color: rgba(237, 230, 215, 0.62);
}
.sp-eyebrow-line {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--accent);
}
.sp-heading {
    margin: 0;
    padding-top: 10px;
    font-family: var(--font-sans);
    font-size: 31px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1.3px;
    color: #fff;
}
.sp-heading span {
    color: var(--accent);
}
.sp-box--form .sp-text {
    margin: 0;
}
.sp-box--form .sp-form {
    margin-top: 20px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
}
@media (max-width: 560px) {
    .sp-box--form .ff-row {
        grid-template-columns: 1fr;
    }
    .sp-heading {
        font-size: 26px;
    }
}
