/* Factsogy newsletter signup band (beehiiv embed). Requires base.css + chrome.css. */

.newsletter {
    position: relative;
    padding: clamp(56px, 8vw, 96px) 0;
    background: #0a0b0d;
    color: #f3f1ec;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    isolation: isolate;
}

/* Red glow + scanlines, same language as the hero */
.newsletter::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(600px 360px at 90% 0%, rgba(255, 59, 47, 0.25), transparent 60%),
        repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px);
}

.newsletter .eyebrow {
    color: #a3a6ad;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 32px clamp(32px, 6vw, 80px);
    align-items: center;
}

.newsletter h2 {
    font-size: clamp(44px, 6.5vw, 80px);
    margin-bottom: 18px;
}

.newsletter-copy > p {
    margin: 0;
    font-size: 18px;
    color: #c9cbd0;
}

.newsletter-points {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.newsletter-points li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
}

.newsletter-points li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background: #ff3b2f;
    transform: rotate(45deg);
}

.newsletter-slot {
    min-height: 120px;
    display: grid;
    align-items: center;
}

.newsletter-slot iframe {
    width: 100%;
    max-width: 100%;
    border: 0;
}

.newsletter-loading {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a3a6ad;
}

.newsletter-consent {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #a3a6ad;
}

.newsletter-consent a {
    color: #f3f1ec;
}

/* Compact variant under stories */
.newsletter--compact {
    padding: 40px 0;
    border-top: 1px solid var(--line);
}

.newsletter--compact h2 {
    font-size: clamp(34px, 5vw, 52px);
}

@media (max-width: 860px) {
    .newsletter-grid {
        grid-template-columns: 1fr;
    }
}
