/* A compact newsletter surface; keep form semantics and status feedback intact. */
.newsletter-section.container {
    grid-template-columns: 44px minmax(0, 1fr) minmax(360px, 1.05fr);
    gap: 20px;
    align-items: center;
    min-height: 136px;
    padding: 24px 28px;
    margin-top: 8px;
    margin-bottom: 32px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-surface);
    box-shadow: 0 4px 16px rgba(25, 40, 75, .025);
}

.newsletter-section .newsletter-art {
    display: grid;
    place-items: center;
    position: static;
    width: 44px;
    height: 44px;
    border: 1px solid color-mix(in srgb, var(--color-accent) 10%, var(--color-border));
    border-radius: 13px;
    background: color-mix(in srgb, var(--color-soft) 60%, var(--color-surface));
    color: var(--color-accent);
    line-height: 1;
}

.newsletter-section .newsletter-art svg {
    width: 23px;
    height: 23px;
    stroke-width: 1.6;
}

.newsletter-section .newsletter-copy {
    min-width: 0;
}

.newsletter-section .newsletter-copy .eyebrow {
    margin: 0 0 6px;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: .09em;
}

.newsletter-section .newsletter-copy h2 {
    max-width: 350px;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.newsletter-section .newsletter-form {
    min-width: 0;
    width: 100%;
    max-width: none;
}

.newsletter-section .newsletter-input {
    gap: 6px;
    min-height: 46px;
    padding: 3px;
    border-radius: 12px;
    background: var(--color-surface);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.newsletter-section .newsletter-input:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 10%, transparent);
}

.newsletter-section .newsletter-input input {
    min-width: 0;
    min-height: 38px;
    padding: 7px 11px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.5;
}

.newsletter-section .newsletter-input button {
    min-height: 38px;
    padding: 8px 15px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.5;
    gap: 8px;
}

.newsletter-section .newsletter-input button svg {
    display: block;
    width: 15px;
    height: 15px;
}

.newsletter-section .newsletter-consent {
    margin-top: 9px;
    gap: 7px;
    font-size: 11px;
    line-height: 1.6;
}

.newsletter-section .newsletter-consent input {
    width: 13px;
    height: 13px;
    margin: 2px 0 0;
    padding: 0;
}

.newsletter-section .newsletter-consent a {
    text-underline-offset: 2px;
}

.newsletter-section #newsletter-status {
    min-height: 0;
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.6;
}

.newsletter-section #newsletter-status:empty {
    margin: 0;
}

[data-theme=dark] .newsletter-section.container {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
}

@media (max-width: 950px) {
    .newsletter-section.container {
        grid-template-columns: 38px minmax(0, 1fr) minmax(300px, 1.1fr);
        gap: 16px;
        padding: 22px;
    }

    .newsletter-section .newsletter-art {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .newsletter-section .newsletter-copy h2 {
        font-size: 18px;
    }
}

@media (max-width: 760px) {
    .newsletter-section.container {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 17px 13px;
        min-height: 0;
        padding: 20px;
        margin-bottom: 26px;
        border-radius: 16px;
    }

    .newsletter-section .newsletter-copy h2 {
        max-width: 440px;
        font-size: 19px;
    }

    .newsletter-section .newsletter-form {
        grid-column: 1 / -1;
    }

    .newsletter-section .newsletter-input input {
        min-height: 44px;
        padding-inline: 10px;
        font-size: 16px;
    }

    .newsletter-section .newsletter-input button {
        min-height: 44px;
        padding-inline: 13px;
        font-size: 12px;
    }

    .newsletter-section .newsletter-consent {
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .newsletter-section.container {
        padding: 18px 16px;
    }

    .newsletter-section .newsletter-input button {
        padding-inline: 10px;
        gap: 5px;
    }

    .newsletter-section .newsletter-input button svg {
        display: none;
    }
}
