/* Shared newsletter section: one canonical UI on home, About, jobs, statistics and articles. */
.sc-home-newsletter {
    margin-top: 36px;
    padding: 24px 18px 26px;
    background: var(--sc-blue);
    color: var(--sc-white);
    border: 0; /* no black outline on the newsletter block, everywhere (owner, 7 Nov 2026) */
}

.sc-home-newsletter__title {
    margin: 0;
    font-size: var(--sc-type-section);
    line-height: var(--sc-leading-section);
    letter-spacing: var(--sc-tracking-section);
}

.sc-home-newsletter > p:not(.sc-kicker) {
    margin: 14px 0 0;
    font-weight: 700;
}

.sc-home-newsletter__schedule {
    font-size: var(--sc-type-meta);
    line-height: 1.5;
    opacity: .84;
}

.sc-home-newsletter__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 18px;
}

.sc-home-newsletter__form input,
.sc-home-newsletter__form button {
    min-height: 48px;
    border: 2px solid var(--sc-black);
    border-radius: 0;
}

.sc-home-newsletter__form input {
    min-width: 0;
    width: 100%;
    padding: 10px 12px;
    background: var(--sc-white);
    color: var(--sc-black);
}

.sc-home-newsletter__form button {
    background: var(--sc-black);
    color: var(--sc-white);
    font-family: var(--sc-font-display);
    font-weight: 950;
    text-transform: uppercase;
}

@media (min-width: 560px) {
    .sc-home-newsletter__form {
        max-width: 35rem;
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

.sc-home-newsletter__form .sc-newsletter-consent input[type="checkbox"] { width: 18px; min-width: 18px; height: 18px; min-height: 18px; margin: 1px 0 0; padding: 0; border: 1px solid var(--sc-black); border-radius: 2px; background: var(--sc-white); }

/* Silicon Cluny — accessible newsletter feedback sliding from the bottom. */
.sc-newsletter-subscribed-feedback {
    display: block;
    margin: 17px 0 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
}
.sc-home-newsletter[hidden],
.sc-home-newsletter[data-sc-newsletter-subscribed="1"] {
    display: none !important;
}

.sc-newsletter-bottom-modal {
    position: fixed;
    inset: 0;
    z-index: 2147480000;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: rgba(10, 22, 43, .52);
    opacity: 0;
    transition: opacity 240ms ease;
}
.sc-newsletter-bottom-modal__sheet {
    width: 100%;
    max-width: 620px;
    box-sizing: border-box;
    padding: 26px 24px calc(24px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
    background: #fff;
    color: #14223b;
    box-shadow: 0 -10px 50px rgba(0, 0, 0, .13);
    transform: translateY(105%);
    transition: transform 240ms cubic-bezier(.2, .7, .25, 1);
}
.sc-newsletter-bottom-modal.is-visible { opacity: 1; }
.sc-newsletter-bottom-modal.is-visible .sc-newsletter-bottom-modal__sheet {
    transform: translateY(0);
}
.sc-newsletter-bottom-modal__brand {
    margin: 0 0 12px;
    color: #002fa7;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.sc-newsletter-bottom-modal__sheet h2 {
    margin: 0 0 10px;
    font-size: clamp(26px, 6vw, 34px);
    line-height: 1.15;
    letter-spacing: -.04em;
}
.sc-newsletter-bottom-modal__sheet p {
    margin: 0 0 20px;
    line-height: 1.6;
    font-size: 16px;
}
.sc-newsletter-bottom-modal__close {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    border: 0;
    border-radius: 8px;
    background: #002fa7;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}
.sc-newsletter-bottom-modal__close:focus-visible {
    outline: 3px solid #112;
    outline-offset: 3px;
}
@media (min-width: 700px) {
    .sc-newsletter-bottom-modal {
        padding-bottom: 24px;
    }
    .sc-newsletter-bottom-modal__sheet {
        border-radius: 18px;
        padding-bottom: 26px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .sc-newsletter-bottom-modal, .sc-newsletter-bottom-modal__sheet {
        transition: none !important;
    }
}
/* Small newsletter signup sheet, separated from the post-submit feedback modal. */
.sc-newsletter-promo {
    position: fixed;
    z-index: 1000;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: min(460px, calc(100% - 24px));
    margin-inline: auto;
    padding: 23px 20px 20px;
    background: #fff;
    border: 1px solid var(--sc-gray-300);
    border-radius: 12px;
    box-shadow: 0 12px 45px rgba(0, 0, 0, .18);
    color: var(--sc-black);
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 44px));
    transition: opacity 240ms ease, transform 240ms cubic-bezier(.2, .7, .25, 1);
}
.sc-newsletter-promo[hidden] { display: none !important; }
.sc-newsletter-promo.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.sc-newsletter-promo__close {
    position: absolute;
    top: 8px;
    right: 9px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: var(--sc-gray-600);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.sc-newsletter-promo h2 {
    margin: 0 26px 16px 0;
    font-size: clamp(19px, 4.5vw, 23px);
    line-height: 1.25;
    letter-spacing: -.025em;
    font-weight: 850;
}
.sc-newsletter-promo .sc-home-newsletter__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin: 0;
    padding: 0;
    align-items: stretch;
}
.sc-newsletter-promo .sc-home-newsletter__form input[type="email"] {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--sc-gray-300);
    border-radius: 5px;
    background: #fff;
    color: #000;
    font-size: 16px;
    line-height: 1.3;
}
.sc-newsletter-promo .sc-home-newsletter__form button[type="submit"] {
    min-height: 46px;
    margin: 0;
    padding: 10px 16px;
    border: 0;
    border-radius: 5px;
    background: var(--sc-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}
.sc-newsletter-promo .sc-newsletter-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%);
    white-space: nowrap;
}
.sc-newsletter-promo .sc-newsletter-feedback { display: none; }
@media (max-width: 599px) {
    .sc-newsletter-promo {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        border-radius: 16px 16px 0 0;
        border-bottom: 0;
        padding: 24px 20px calc(20px + env(safe-area-inset-bottom));
    }
    .sc-newsletter-promo .sc-home-newsletter__form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .sc-newsletter-promo { transition: none !important; }
}
