.nksa-form {
    box-sizing: border-box;
    max-width: 550px;
    margin: 1.25rem 0;
    padding: 1rem;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 22%, transparent);
    border-radius: 6px;
}

.nksa-form[hidden] {
    display: none !important;
}

.nksa-form *,
.nksa-form *::before,
.nksa-form *::after {
    box-sizing: border-box;
}

.nksa-heading {
    margin: 0 0 .75rem;
    font: inherit;
    font-weight: 600;
}

.nksa-subscribe-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .5rem;
    align-items: end;
}

.nksa-subscribe-form label {
    grid-column: 1 / -1;
    font-size: .9375rem;
}

.nksa-subscribe-form input[type="email"] {
    width: 100%;
    min-height: 2.75rem;
    padding: .625rem .75rem;
    font: inherit;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 45%, transparent);
    border-radius: 4px;
}

.nksa-form button {
    min-height: 2.75rem;
    padding: .625rem 1rem;
    font: inherit;
    cursor: pointer;
}

.nksa-form button:disabled {
    cursor: wait;
    opacity: .65;
}

.nksa-form :focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.nksa-feedback,
.nksa-loading {
    margin: .75rem 0 0;
}

.nksa-feedback--error {
    color: #b42318;
}

.nksa-cancel,
.nksa-retry {
    margin-top: .75rem;
}

.nksa-privacy {
    margin: .75rem 0 0;
    font-size: .875rem;
}

.nksa-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

@media (max-width: 480px) {
    .nksa-form {
        padding: .875rem;
    }

    .nksa-subscribe-form {
        grid-template-columns: 1fr;
    }

    .nksa-form button {
        width: 100%;
    }
}
