.spf-wrap {
    width: 100%;
    max-width: 760px;
}

.spf-form {
    display: grid;
    gap: 1.25rem;
}

.spf-grid {
    display: grid;
    gap: 1.25rem;
}

.spf-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.spf-field {
    display: grid;
    gap: 0.45rem;
}

.spf-field label {
    font-weight: 600;
    line-height: 1.35;
}

.spf-field input,
.spf-field textarea,
.spf-field select {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 0.9rem;
    border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1.4;
}

.spf-field textarea {
    min-height: 130px;
    resize: vertical;
}

.spf-field input:focus,
.spf-field textarea:focus,
.spf-field select:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.spf-submit {
    min-height: 48px;
    padding: 0.8rem 1.25rem;
    border: 0;
    border-radius: 6px;
    background: #ff008a;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.spf-submit:hover {
    opacity: 0.86;
}

.spf-submit:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.spf-note {
    margin: -0.35rem 0 0;
    font-size: 0.92em;
    opacity: 0.75;
}

.spf-message {
    margin-bottom: 1.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid currentColor;
    border-radius: 6px;
}

.spf-message--success {
    background: color-mix(in srgb, #1f7a3f 10%, transparent);
}

.spf-message--error {
    background: color-mix(in srgb, #b42318 10%, transparent);
}

.spf-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.spf-turnstile {
    min-height: 65px;
}

@media (max-width: 640px) {
    .spf-grid--two {
        grid-template-columns: 1fr;
    }

    .spf-submit {
        width: 100%;
    }
}
