.download-content {
    display: grid;
    gap: 1.25rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(.875rem, 2vw, 1.5rem);
}

.download-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid #49605a;
    border-top: 3px solid #bfa26d;
    border-radius: .5rem;
    background: linear-gradient(125deg, #213c37, #152925);
    color: #fff5df;
    box-shadow: 0 4px 14px #12251f1a;
}

.download-card-heading, .download-file, .download-actions, .download-mirror {
    display: flex;
    align-items: center;
}

.download-card-heading { gap: 1rem; }
.download-card-heading h2 { margin: 0; color: inherit; font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.15; }
.download-card-heading p { margin: .25rem 0 0; color: #d4ded1; line-height: 1.45; }
.download-platform-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 3rem;
    height: 3rem;
    border: 1px solid #708371;
    border-radius: .5rem;
    color: #f5d599;
    background: #ffffff09;
    font-size: 1.75rem;
}

.download-file {
    flex-wrap: wrap;
    gap: .5rem .8rem;
    margin: 1.2rem 0 1rem;
    color: #e2e8da;
    font: .875rem/1.35 system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
}
.download-file span:first-child { padding: .16rem .45rem; border: 1px solid #708371; border-radius: .25rem; font-weight: 650; }
.download-file span:last-child { border-inline-start: 1px solid #708371; padding-inline-start: .8rem; }

.download-actions {
    flex-wrap: wrap;
    gap: .4rem 1.25rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #ffffff30;
}
.download-actions .btn { min-height: 44px; max-width: 100%; white-space: normal; text-align: center; }
.download-mirror { gap: .4rem; min-height: 44px; color: #f1d6a3; text-decoration: underline; text-underline-offset: .2em; }
.download-mirror:hover { color: #fff5df; }
.download-actions a:focus-visible { outline: 3px solid #fff5df; outline-offset: 3px; }

.download-content .download-stores {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-radius: .5rem;
}
.download-stores li + li { border-top: 0; border-inline-start: 1px solid #c6bba5; }
.download-content .download-checklist { width: 100%; max-width: none; margin: 0; }

@media (max-width: 44rem) {
    .download-grid, .download-content .download-stores { grid-template-columns: minmax(0, 1fr); }
    .download-stores li + li { border-inline-start: 0; border-top: 1px solid #c6bba5; }
}
