#nott-newsletter-popup {
    position: fixed;
    inset: 0;
    margin: auto;
    height: fit-content;
    box-sizing: border-box;
    width: min(720px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    padding: 0;
    overflow: auto;
    border: 1px solid #344d6a;
    border-radius: 12px;
    background: #040d26;
    color: #fff;
    box-shadow: 0 20px 70px #0008;
    font: 16px/1.45 system-ui, sans-serif;
}

#nott-newsletter-popup[open] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}

#nott-newsletter-popup::backdrop { background: #040d26c9; }
.nott-popup-portrait { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.nott-popup-content { position: relative; padding: 32px; }
.nott-popup-content h2 { margin: 0 32px 20px 0; font-size: clamp(24px, 4vw, 38px); line-height: 1.06; color: #fff; }
.nott-popup-content label { display: grid; gap: 5px; font-weight: 600; }
.nott-popup-content form p { margin: 0 0 14px; }
.nott-popup-content input:not([type="hidden"]) {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #b9c8db;
    border-radius: 4px;
    background: #fff;
    color: #040d26;
    font: inherit;
}

.nott-popup-content button { font: inherit; cursor: pointer; }
.nott-popup-content button[type="submit"] {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 4px;
    background: #71d9de;
    color: #040d26;
    font-weight: 700;
}

.nott-popup-content .nott-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #516983;
    border-radius: 50%;
    background: #040d26;
    color: #fff;
    font-size: 26px;
}

.nott-popup-content :focus-visible { outline: 3px solid #71d9de; outline-offset: 3px; }
@media (max-width: 580px) {
    #nott-newsletter-popup[open] { grid-template-columns: minmax(0, 1fr); }
    .nott-popup-portrait { display: none; }
    .nott-popup-content { padding: 26px 20px; }
}
