/* download/index.php — builds on assets/css/home.css (buttons, cards, section titles) */

.download-hero {
    min-height: 380px;
}

/* The art has ~45px of empty space under the figure; the next section
   tucks up into it (home page uses 48px) */
.download-hero + .home-section {
    margin-top: -38px;
    position: relative;
}

/* Stacked (art on top): the note is the last thing in the hero, keep some air */
@media (max-width: 900px) {
    .download-hero + .home-section {
        margin-top: 32px;
    }
}

/* Launcher card */
.download-card {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 560px;
    padding: 16px 18px;
    background: #1f2d46;
    border-left: 6px solid #e6552e;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    color: #fff;
}

.download-card__icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    font-size: 24px;
}

.download-card__info {
    flex: 1 1 180px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.download-card__info strong {
    font-size: 16px;
    font-weight: 800;
}

.download-card__info span {
    font-size: 12px;
    color: #c8ccd6;
}

.download-card__button {
    flex: 0 0 auto;
}

.download-card__button--soon {
    background: rgba(255, 255, 255, 0.12);
    color: #e3e5ea;
    cursor: default;
}

.download-note {
    max-width: 560px;
    margin: 10px 0 0;
    font-size: 13px;
    color: #666;
}

/* Steps */
.download-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.download-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.download-step__number {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e6552e;
    color: #fff;
    font-weight: 900;
    font-size: 16px;
}

.download-step .home-card__title i {
    color: #e6552e;
    margin-right: 4px;
}

.download-step .home-section__link {
    display: inline-block;
    margin-top: 8px;
}

/* Requirements + help, side by side */
.download-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.download-req {
    margin: 0;
}

.download-req__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #d6d3cb;
    font-size: 14px;
}

.download-req__row:last-child {
    border-bottom: 0;
}

.download-req dt {
    font-weight: 700;
    color: #1f2d46;
}

.download-req dt i {
    width: 18px;
    color: #e6552e;
}

.download-req dd {
    margin: 0;
    color: #555;
    text-align: right;
}

.download-help__actions {
    margin-top: 14px;
}

@media (max-width: 900px) {
    .download-steps,
    .download-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .download-card__button {
        flex: 1 1 100%;
        justify-content: center;
    }

    .download-req__row {
        flex-direction: column;
        gap: 2px;
    }

    .download-req dd {
        text-align: left;
    }
}
