.release-alert {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    padding: 28px 32px;
}

.release-alert-host {
    display: block;
}

.release-alert__copy {
    min-width: 0;
}

.release-alert__eyebrow {
    color: var(--red);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.release-alert__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 3px;
    line-height: 1;
    margin: 0 0 10px;
}

.release-alert__sub {
    color: var(--dim);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.release-alert__form {
    min-width: 0;
}

.release-alert__label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.release-alert__controls {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.release-alert__input {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--text);
    flex: 1;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    min-width: 0;
    outline: none;
    padding: 14px 16px;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.release-alert__input::placeholder {
    color: var(--dim);
}

.release-alert__input:focus {
    background: rgba(255,255,255,0.06);
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}

.release-alert__form.is-error .release-alert__input {
    border-color: var(--red);
}

.release-alert__form.is-success .release-alert__input {
    border-color: #2ecc71;
}

.release-alert__submit {
    background: var(--red);
    border: 0;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 14px 22px;
    text-transform: uppercase;
    transition: background 0.2s, opacity 0.2s;
}

.release-alert__submit:hover {
    background: var(--red-bright, var(--red));
}

.release-alert__submit:disabled {
    cursor: wait;
    opacity: 0.65;
}

.release-alert__status {
    color: var(--dim);
    font-size: 0.8rem;
    line-height: 1.4;
    margin-top: 10px;
    min-height: 1.1em;
}

.release-alert__status.is-error {
    color: var(--red-bright, var(--red));
}

.release-alert__status.is-success {
    color: #2ecc71;
}

.download-panel {
    background: rgba(46, 204, 113, 0.06);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 8px;
    margin-top: 18px;
    padding: 16px;
}

.download-panel[hidden] {
    display: none;
}

.download-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 10px 0 0;
}

.download-heading {
    color: #2ecc71;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.download-list a {
    color: #2ecc71;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.download-list a:hover {
    color: var(--text);
}

.release-alert__form.is-success + .download-panel {
    animation: release-alert-unlock 0.25s ease-out;
}

@keyframes release-alert-unlock {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.release-alert--hero {
    display: grid;
    gap: 24px 32px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    margin-top: 32px;
    max-width: 860px;
    padding: 24px 28px;
}

.release-alert--detail {
    display: grid;
    gap: 24px 32px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
    margin: 0 auto 40px;
    max-width: 900px;
}

.release-alert--footer {
    display: grid;
    gap: 20px 32px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    margin: 0 auto 28px;
    max-width: 1040px;
}

.release-alert-footer-meta {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.release-alert-footer-meta a {
    color: var(--dim);
    text-decoration: none;
}

.release-alert-footer-meta a:hover {
    color: var(--text);
}

.release-alert__visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

@media (max-width: 768px) {
    .release-alert--hero,
    .release-alert--detail,
    .release-alert--footer {
        grid-template-columns: 1fr;
    }

    .release-alert--hero,
    .release-alert--detail {
        padding: 24px;
    }

    .release-alert--footer {
        padding: 22px 20px;
    }

    .release-alert__controls,
    .release-alert-footer-meta {
        align-items: stretch;
        flex-direction: column;
    }

    .release-alert__submit {
        width: 100%;
    }
}
