.newsletter-block {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 1rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(30, 208, 127, 0.16), transparent 34%),
        rgba(255, 255, 255, 0.07);
    padding: 1.25rem;
    margin-bottom: 1.2rem;
}

.newsletter-copy h3 {
    margin: 0 0 0.35rem;
    color: #fff;
    font-size: 1.18rem;
    font-weight: 800;
}

.newsletter-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.newsletter-controls {
    display: flex;
    gap: 0.65rem;
    align-items: stretch;
}

.newsletter-controls input {
    flex: 1 1 auto;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #0b1b1e;
    padding: 0.86rem 1rem;
    font: inherit;
    outline: none;
}

.newsletter-controls input:focus {
    border-color: rgba(30, 208, 127, 0.8);
    box-shadow: 0 0 0 4px rgba(30, 208, 127, 0.16);
}

.newsletter-controls button {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8c37, #1ed07f);
    color: #071315;
    font-weight: 900;
    padding: 0.86rem 1.1rem;
    cursor: pointer;
}

.newsletter-controls button:disabled {
    cursor: progress;
    opacity: 0.72;
}

.newsletter-status {
    grid-column: 1 / -1;
    min-height: 1.35rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.newsletter-status.is-success {
    color: #9df0c4;
}

.newsletter-status.is-error {
    color: #ffd0c2;
}

/* Slim legal/account row under the newsletter block (replaces the old
   logo + primary-nav footer, which duplicated the top navbar). */
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 22px;
    margin-top: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #fff;
}

@media (max-width: 767.98px) {
    .newsletter-block {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .newsletter-controls {
        flex-direction: column;
    }

    .newsletter-controls button,
    .newsletter-controls input {
        width: 100%;
    }
}
