.download-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 28px 26px;
    width: 100%;
    animation: box-pop-in 0.5s var(--bounce);
}

@keyframes box-pop-in {
    0% { opacity: 0; transform: scale(0.9) translateY(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.download-box__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px dashed var(--line-bright);
    width: fit-content;
}

.download-box__eyebrow svg {
    width: 18px;
    height: 13px;
    flex-shrink: 0;
    animation: eyebrow-wiggle 2.4s ease-in-out infinite;
}

@keyframes eyebrow-wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

.download-box__title {
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 14px 0 24px;
    letter-spacing: -0.01em;
}

.download-box__controls-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.download-box__url-input-container {
    width: 70%;
}

@media (max-width: 640px) {
    .download-box {
        padding: 22px 18px 20px;
    }

    .download-box__title {
        font-size: 1.25rem;
        margin: 10px 0 18px;
    }

    /* Side-by-side input+button doesn't fit on a phone screen without
       crushing the input — stack them instead. */
    .download-box__controls-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .download-box__url-input-container {
        width: 100%;
    }

    .download-url-button {
        width: 100%;
    }
}