

.theme-newsletter-main {
    --theme-newsletter-accent-primary: var(--theme-accent-primary);
    --theme-newsletter-accent-primary-soft: var(--theme-accent-primary-soft);
    --theme-newsletter-accent-highlight: var(--theme-accent-highlight);
    --theme-newsletter-accent-highlight-soft: var(--theme-accent-highlight-soft);
    --theme-newsletter-accent-secondary: var(--theme-accent-secondary);
    --theme-newsletter-accent-secondary-soft: var(--theme-accent-secondary-soft);

    min-height: 100vh;
    color: var(--theme-text-soft);
    background:
        radial-gradient(
            circle at 8% 12%,
            rgb(var(--theme-accent-primary-rgb) / 0.05),
            transparent 28rem
        ),
        radial-gradient(
            circle at 92% 16%,
            rgb(var(--theme-accent-secondary-rgb) / 0.045),
            transparent 26rem
        ),
        var(--theme-background);
}

.theme-newsletter-hero {
    position: relative;
    overflow: hidden;
    padding:
        54px
        0
        45px;
    border-bottom:
        1px solid
        rgb(var(--theme-accent-highlight-rgb) / 0.22);
    background:
        radial-gradient(
            ellipse at 50% 0,
            rgb(var(--theme-accent-primary-rgb) / 0.055),
            transparent 33rem
        ),
        linear-gradient(
            180deg,
            var(--theme-section-4),
            var(--theme-section-2)
        );
}

.theme-newsletter-hero::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            116deg,
            transparent 0 25%,
            rgb(var(--theme-accent-highlight-rgb) / 0.03) 25.15%,
            transparent 25.42% 74%,
            rgb(var(--theme-accent-secondary-rgb) / 0.018) 74.15%,
            transparent 74.42%
        );
    content: "";
}

.theme-newsletter-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-inline: 30px;
    text-align: center;
}

.theme-newsletter-title-icon {
    display: block;
    width: 24px;
    height: 24px;
    margin-bottom: 10px;
}

.theme-newsletter-title-icon .theme-icon {
    display: block;
    width: 100%;
    height: 100%;
}

.theme-newsletter-hero h1 {
    margin: 0;
    color:
        var(
            --theme-newsletter-accent-secondary-soft
        );
    font-family:
        var(
            --theme-serif,
            Georgia,
            serif
        );
    font-size:
        clamp(
            42px,
            5vw,
            64px
        );
    font-weight: 400;
    line-height: 1.05;
}

.theme-newsletter-title-line {
    position: relative;
    width: 140px;
    height: 1px;
    margin-top: 18px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(
                --theme-newsletter-accent-highlight
            ),
            transparent
        );
}

.theme-newsletter-title-line::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border:
        1px solid
        var(
            --theme-newsletter-accent-highlight
        );
    background: var(--theme-section-2);
    transform:
        translate(
            -50%,
            -50%
        )
        rotate(45deg);
    content: "";
}

.theme-newsletter-hero p {
    margin:
        15px
        0
        0;
    color: var(--theme-muted);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.theme-newsletter-shell {
    display: grid;
    gap: 26px;
    max-width: 1080px;
    padding:
        50px
        30px
        86px;
}

.theme-newsletter-intro {
    display: grid;
    grid-template-columns:
        minmax(
            0,
            1.2fr
        )
        minmax(
            280px,
            0.8fr
        );
    align-items: center;
    gap:
        clamp(
            34px,
            6vw,
            72px
        );
    padding:
        18px
        14px
        20px;
}

.theme-newsletter-kicker {
    margin:
        0
        0
        12px;
    color:
        var(
            --theme-newsletter-accent-primary
        );
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.theme-newsletter-intro-copy h2 {
    max-width: 680px;
    margin:
        0
        0
        24px;
    color: var(--theme-text-soft);
    font-family:
        var(
            --theme-serif,
            Georgia,
            serif
        );
    font-size:
        clamp(
            34px,
            4.2vw,
            52px
        );
    font-weight: 400;
    line-height: 1.35;
}

.theme-newsletter-intro-copy h2::first-line {
    color: var(--theme-text-soft);
}

.theme-newsletter-intro-copy p:not(.theme-newsletter-kicker) {
    max-width: 700px;
    margin:
        0
        0
        13px;
    color: var(--theme-text-dim);
    font-size: 14px;
    line-height: 1.9;
}

.theme-newsletter-intro-copy p:last-child {
    color:
        var(
            --theme-newsletter-accent-highlight-soft
        );
}

.theme-newsletter-intro-art {
    position: relative;
    min-width: 0;
}

.theme-newsletter-intro-art::before {
    position: absolute;
    inset:
        14%
        4%
        6%;
    z-index: -1;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgb(var(--theme-accent-primary-rgb) / 0.08),
            rgb(var(--theme-accent-secondary-rgb) / 0.025) 48%,
            transparent 72%
        );
    filter: blur(20px);
    content: "";
}

.theme-newsletter-intro-art img {
    display: block;
    width: 100%;
    max-width: 390px;
    height: auto;
    margin-inline: auto;
    border-radius: 12px;
}

.theme-newsletter-benefits,
.theme-newsletter-subscribe {
    border:
        1px solid
        rgb(var(--theme-accent-highlight-rgb) / 0.3);
    border-radius: 12px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgb(var(--theme-accent-secondary-rgb) / 0.025),
            transparent 24rem
        ),
        radial-gradient(
            circle at 0 100%,
            rgb(var(--theme-accent-primary-rgb) / 0.024),
            transparent 24rem
        ),
        rgb(var(--theme-section-3-rgb) / 0.78);
}

.theme-newsletter-benefits {
    padding:
        31px
        30px
        28px;
}

.theme-newsletter-section-title {
    display: grid;
    grid-template-columns:
        minmax(
            24px,
            80px
        )
        auto
        minmax(
            24px,
            80px
        );
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
}

.theme-newsletter-section-title > span {
    width: 100%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgb(var(--theme-accent-highlight-rgb) / 0.65)
        );
}

.theme-newsletter-section-title > span:last-child {
    background:
        linear-gradient(
            90deg,
            rgb(var(--theme-accent-highlight-rgb) / 0.65),
            transparent
        );
}

.theme-newsletter-section-title h2 {
    margin: 0;
    color:
        var(
            --theme-newsletter-accent-highlight-soft
        );
    font-family:
        var(
            --theme-serif,
            Georgia,
            serif
        );
    font-size:
        clamp(
            23px,
            3vw,
            30px
        );
    font-weight: 500;
}

.theme-newsletter-benefit-grid {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(
                0,
                1fr
            )
        );
    margin-top: 28px;
}

.theme-newsletter-benefit {
    min-width: 0;
    padding:
        8px
        28px
        3px;
    text-align: center;
}

.theme-newsletter-benefit
+ .theme-newsletter-benefit {
    border-left:
        1px solid
        rgb(var(--theme-accent-highlight-rgb) / 0.17);
}

.theme-newsletter-benefit-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin:
        0
        auto
        18px;
    place-items: center;
    border:
        1px solid
        rgb(var(--theme-accent-secondary-rgb) / 0.3);
    border-radius: 50%;
    background:
        rgb(var(--theme-accent-secondary-rgb) / 0.02);
}

.theme-newsletter-benefit-icon .theme-icon {
    width: 35px;
    height: 35px;
}

.theme-newsletter-benefit h3 {
    margin:
        0
        0
        10px;
    color:
        var(
            --theme-newsletter-accent-highlight-soft
        );
    font-family:
        var(
            --theme-serif,
            Georgia,
            serif
        );
    font-size: 18px;
    font-weight: 500;
}

.theme-newsletter-benefit p {
    margin: 0;
    color: var(--theme-muted);
    font-size: 11px;
    line-height: 1.8;
}

.theme-newsletter-subscribe {
    padding:
        34px
        clamp(
            24px,
            8vw,
            92px
        )
        32px;
}

.theme-newsletter-subscribe-copy {
    margin:
        17px
        0
        0;
    color: var(--theme-muted);
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

.theme-newsletter-response {
    display: none;
    max-width: 720px;
    margin:
        22px
        auto
        0;
    padding:
        13px
        15px;
    border:
        1px solid
        transparent;
    border-radius: 8px;
    outline: 0;
    font-size: 12px;
    line-height: 1.65;
}

.theme-newsletter-response.is-success,
.theme-newsletter-response.is-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.theme-newsletter-response.is-success {
    border-color:
        rgb(var(--theme-accent-primary-rgb) / 0.32);
    color:
        var(
            --theme-newsletter-accent-primary-soft
        );
    background:
        rgb(var(--theme-accent-primary-rgb) / 0.035);
}

.theme-newsletter-response.is-error {
    border-color:
        rgb(var(--theme-accent-secondary-rgb) / 0.34);
    color: var(--theme-text-dim);
    background:
        rgb(var(--theme-accent-secondary-rgb) / 0.04);
}

.theme-newsletter-response p {
    margin: 0;
}

.theme-newsletter-response-mark {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    border:
        1px solid
        currentColor;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.theme-newsletter-form {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(
            0,
            1fr
        )
        auto;
    gap: 10px;
    max-width: 720px;
    margin:
        23px
        auto
        0;
}

.theme-newsletter-email-control {
    position: relative;
    min-width: 0;
}

.theme-newsletter-email-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 21px;
    height: 21px;
    pointer-events: none;
    transform:
        translateY(
            -50%
        );
}

.theme-newsletter-email-icon .theme-icon {
    display: block;
    width: 100%;
    height: 100%;
}

.theme-newsletter-form input[type="email"] {
    width: 100%;
    min-height: 54px;
    padding:
        0
        17px
        0
        48px;
    border:
        1px solid
        rgb(var(--theme-accent-highlight-rgb) / 0.38);
    border-radius: 7px;
    outline: 0;
    color: var(--theme-text);
    background:
        rgb(var(--theme-section-1-rgb) / 0.88);
    font: inherit;
    font-size: 14px;
    transition:
        border-color
        160ms ease,
        box-shadow
        160ms ease,
        background
        160ms ease;
}

.theme-newsletter-form input[type="email"]::placeholder {
    color: var(--theme-muted-deep);
}

.theme-newsletter-form input[type="email"]:focus {
    border-color:
        rgb(var(--theme-accent-primary-rgb) / 0.66);
    background:
        rgb(var(--theme-accent-primary-rgb) / 0.018);
    box-shadow:
        0
        0
        0
        3px
        rgb(var(--theme-accent-primary-rgb) / 0.055);
}

.theme-newsletter-submit {
    display: inline-flex;
    min-width: 180px;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding:
        0
        22px;
    border:
        1px solid
        rgb(var(--theme-accent-secondary-rgb) / 0.68);
    border-radius: 7px;
    color: var(--theme-text);
    background:
        linear-gradient(
            100deg,
            rgb(var(--theme-accent-secondary-rgb) / 0.58),
            rgb(var(--theme-accent-secondary-rgb) / 0.34) 58%,
            rgb(var(--theme-accent-highlight-rgb) / 0.16)
        );
    cursor: pointer;
    font-family:
        var(
            --theme-serif,
            Georgia,
            serif
        );
    font-size: 14px;
    font-weight: 600;
    transition:
        border-color
        160ms ease,
        background
        160ms ease,
        transform
        160ms ease;
}

.theme-newsletter-submit .theme-icon {
    width: 18px;
    height: 18px;
}

.theme-newsletter-submit:hover {
    border-color:
        rgb(var(--theme-accent-highlight-rgb) / 0.78);
    background:
        linear-gradient(
            100deg,
            rgb(var(--theme-accent-secondary-rgb) / 0.66),
            rgb(var(--theme-accent-secondary-rgb) / 0.39) 58%,
            rgb(var(--theme-accent-highlight-rgb) / 0.2)
        );
    transform:
        translateY(
            -1px
        );
}

.theme-newsletter-submit:disabled {
    cursor: wait;
    opacity: 0.62;
    transform: none;
}

.theme-newsletter-small-note {
    margin:
        13px
        0
        0;
    color: var(--theme-muted-deep);
    font-size: 10px;
    line-height: 1.7;
    text-align: center;
}

.theme-newsletter-privacy {
    display: grid;
    grid-template-columns:
        34px
        minmax(
            0,
            1fr
        );
    gap: 13px;
    max-width: 720px;
    margin:
        24px
        auto
        0;
    padding:
        17px
        19px;
    border:
        1px solid
        rgb(var(--theme-accent-primary-rgb) / 0.28);
    border-radius: 8px;
    background:
        rgb(var(--theme-accent-primary-rgb) / 0.025);
}

.theme-newsletter-privacy-icon {
    width: 29px;
    height: 29px;
}

.theme-newsletter-privacy-icon .theme-icon {
    display: block;
    width: 100%;
    height: 100%;
}

.theme-newsletter-privacy h3 {
    margin:
        0
        0
        7px;
    color:
        var(
            --theme-newsletter-accent-primary-soft
        );
    font-family:
        var(
            --theme-serif,
            Georgia,
            serif
        );
    font-size: 15px;
    font-weight: 500;
}

.theme-newsletter-privacy p {
    margin: 0;
    color: var(--theme-muted);
    font-size: 10px;
    line-height: 1.75;
}

.theme-newsletter-privacy a {
    color:
        var(
            --theme-newsletter-accent-highlight-soft
        );
    text-decoration:
        underline;
    text-decoration-color:
        rgb(var(--theme-accent-highlight-rgb) / 0.38);
    text-underline-offset: 3px;
}

.theme-newsletter-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip:
        rect(
            0,
            0,
            0,
            0
        ) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 760px) {
    .theme-newsletter-intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .theme-newsletter-intro-art {
        order: -1;
        max-width: 350px;
        margin-inline: auto;
    }

    .theme-newsletter-intro-copy {
        text-align: center;
    }

    .theme-newsletter-intro-copy h2,
    .theme-newsletter-intro-copy p:not(.theme-newsletter-kicker) {
        margin-right: auto;
        margin-left: auto;
    }

    .theme-newsletter-benefit-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .theme-newsletter-benefit {
        padding:
            24px
            12px;
    }

    .theme-newsletter-benefit
    + .theme-newsletter-benefit {
        border-top:
            1px solid
            rgb(var(--theme-accent-highlight-rgb) / 0.17);
        border-left: 0;
    }
}

@media (max-width: 680px) {
    .theme-newsletter-hero {
        padding:
            42px
            0
            38px;
    }

    .theme-newsletter-hero-inner,
    .theme-newsletter-shell {
        padding-inline: 16px;
    }

    .theme-newsletter-hero h1 {
        font-size: 40px;
    }

    .theme-newsletter-shell {
        gap: 18px;
        padding-top: 32px;
        padding-bottom: 58px;
    }

    .theme-newsletter-intro {
        padding:
            4px
            3px
            10px;
    }

    .theme-newsletter-intro-copy h2 {
        font-size: 32px;
    }

    .theme-newsletter-benefits {
        padding:
            27px
            18px
            22px;
        border-radius: 10px;
    }

    .theme-newsletter-subscribe {
        padding:
            28px
            18px
            24px;
        border-radius: 10px;
    }

    .theme-newsletter-section-title {
        grid-template-columns:
            minmax(
                14px,
                38px
            )
            auto
            minmax(
                14px,
                38px
            );
        gap: 10px;
    }

    .theme-newsletter-form {
        grid-template-columns: 1fr;
    }

    .theme-newsletter-form input[type="email"] {
        min-height: 56px;
        font-size: 16px;
    }

    .theme-newsletter-submit {
        width: 100%;
        min-height: 56px;
    }

    .theme-newsletter-privacy {
        grid-template-columns:
            30px
            minmax(
                0,
                1fr
            );
        padding:
            16px
            14px;
    }
}

.theme-newsletter-response-mark .theme-icon { width: 12px; height: 12px; }


.theme-newsletter-hero h1 { font-size: clamp(36px, 4.2vw, 52px); line-height: 1.22; }
.theme-newsletter-intro-copy h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.3; }
.theme-newsletter-kicker,
.theme-newsletter-small-note,
.theme-newsletter-privacy p { font-size: 11px; line-height: 1.55; }
@media (max-width: 680px) {
    .theme-newsletter-hero h1 { font-size: 34px; }
    .theme-newsletter-intro-copy h2 { font-size: 30px; }
}

@media (min-width: 961px) {
    .theme-newsletter-hero h1 { font-size: clamp(38px, 4.2vw, 54px); }
    .theme-newsletter-intro-copy h2 { font-size: clamp(30px, 3.4vw, 44px); }
    .theme-newsletter-kicker,
    .theme-newsletter-small-note,
    .theme-newsletter-privacy p { font-size: 12px; }
}
