.scf-wrapper {
    max-width: var(--scf-max-width, 960px);
}

.scf-title,
.scf-intro {
    margin-bottom: 1rem;
}

.scf-form {
    display: grid;
    gap: 1.5rem;
}

.scf-grid {
    display: grid;
    gap: 1.5rem;
}

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

.scf-field {
    display: grid;
    gap: 0.5rem;
}

.scf-field label {
    font: inherit;
    font-weight: 600;
    color: inherit;
}

.scf-field input,
.scf-field textarea,
.scf-button {
    font: inherit;
}

.scf-field input,
.scf-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.8em 0.9em;
    border-radius: 0;
    border: 1px solid currentColor;
    color: inherit;
    background: transparent;
    line-height: inherit;
    box-shadow: none;
}

.scf-field textarea {
    min-height: 9rem;
    resize: vertical;
}

.scf-field input:focus,
.scf-field textarea:focus {
    outline: 1px auto;
    outline-offset: 2px;
}

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

.scf-actions {
    display: grid;
    gap: 0.75rem;
    align-items: start;
}

.scf-button {
    display: inline-block;
    width: auto;
    max-width: max-content;
    padding: 0.8em 1.2em;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    cursor: pointer;
    border-radius: 0;
}

.scf-button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.scf-response {
    min-height: 1.25rem;
    font-size: 0.95em;
}

.scf-response.is-success,
.scf-response.is-error {
    color: inherit;
}

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