body {
    background:
        radial-gradient(circle at top right, rgba(71, 126, 255, 0.12), transparent 30%),
        linear-gradient(180deg, #eef3fb 0%, #f6f8fc 100%);
}

.download-shell {
    padding: 2.75rem 0 5rem;
}

.download-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 360px);
    gap: 1.5rem;
    padding: 1.8rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(14, 24, 44, 0.95) 0%, rgba(21, 36, 66, 0.9) 100%);
    box-shadow: 0 28px 60px rgba(24, 38, 70, 0.2);
    color: #eef4ff;
}

.download-eyebrow,
.download-section-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(229, 238, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.download-hero h1 {
    margin: 1rem 0 0.8rem;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.download-hero-copy p {
    max-width: 48rem;
    margin: 0;
    color: rgba(227, 235, 251, 0.82);
    font-size: 1rem;
    line-height: 1.9;
}

.download-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.download-hero-chips span {
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f6ff;
    font-size: 0.9rem;
    font-weight: 600;
}

.download-hero-stats {
    display: grid;
    gap: 1rem;
}

.download-stat-card {
    padding: 1.25rem 1.35rem;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.download-stat-card strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
}

.download-stat-card span {
    display: block;
    margin-top: 0.3rem;
    color: rgba(226, 236, 255, 0.76);
    font-size: 0.92rem;
}

.download-section {
    margin-top: 2.25rem;
}

.download-section-heading {
    margin-bottom: 1.1rem;
}

.download-section-heading h2 {
    margin: 0.95rem 0 0.45rem;
    color: #13203c;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.download-section-heading p {
    margin: 0;
    color: #5d6f8d;
    line-height: 1.8;
}

.download-featured-grid,
.download-grid {
    display: grid;
    gap: 1.15rem;
}

.download-featured-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.download-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.download-category-block + .download-category-block {
    margin-top: 2rem;
}

.download-category-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.download-category-heading h3 {
    margin: 0;
    color: #172542;
    font-size: 1.3rem;
    font-weight: 800;
}

.download-category-heading span {
    color: #66789a;
    font-weight: 700;
    font-size: 0.88rem;
}

.download-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    padding: 1.35rem;
    border-radius: 1.55rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(99, 121, 167, 0.12);
    box-shadow: 0 20px 42px rgba(78, 98, 142, 0.11);
}

.download-card-featured {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(245, 249, 255, 0.95) 100%);
    border-color: rgba(54, 97, 214, 0.14);
}

.download-card-top,
.download-card-badges,
.download-meta-row,
.download-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.download-card-top {
    justify-content: space-between;
    align-items: start;
}

.download-file-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #2f6dff 0%, #5c85ff 100%);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 12px 26px rgba(47, 109, 255, 0.2);
}

.download-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(35, 55, 95, 0.08);
    color: #475879;
    font-size: 0.78rem;
    font-weight: 700;
}

.download-badge-accent {
    background: rgba(255, 193, 7, 0.18);
    color: #8b5d00;
}

.download-card-copy h3,
.download-card-copy h4 {
    margin: 0;
    color: #15243f;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.download-card-copy h3 {
    font-size: 1.35rem;
}

.download-card-copy h4 {
    font-size: 1.18rem;
}

.download-summary {
    margin: 0.55rem 0 0;
    color: #40526f;
    font-weight: 700;
    line-height: 1.7;
}

.download-description {
    margin: 0.55rem 0 0;
    color: #687a98;
    line-height: 1.8;
}

.download-meta-row span,
.download-card-footnote span,
.download-card-footnote strong {
    color: #627590;
    font-size: 0.88rem;
}

.download-meta-row i {
    margin-right: 0.3rem;
}

.download-card-footer {
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(100, 123, 168, 0.12);
}

.download-card-footnote {
    display: grid;
    gap: 0.22rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0 1.05rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #2f6dff 0%, #4c7cff 100%);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(47, 109, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
    transform: translateY(-1px);
    color: #fff;
}

.download-empty {
    padding: 3rem 1.5rem;
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px dashed rgba(110, 132, 178, 0.24);
    text-align: center;
    color: #617290;
}

.download-empty i {
    font-size: 2rem;
    color: #2f6dff;
}

.download-empty h3 {
    margin: 1rem 0 0.5rem;
    color: #162746;
    font-size: 1.3rem;
    font-weight: 800;
}

@media (max-width: 980px) {
    .download-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .download-shell {
        padding: 1.4rem 0 4rem;
    }

    .download-hero {
        padding: 1.35rem;
        border-radius: 1.5rem;
    }

    .download-card,
    .download-card-featured {
        padding: 1.1rem;
        border-radius: 1.25rem;
    }

    .download-card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .download-btn {
        width: 100%;
    }
}
