.download-page {
    min-height: 100vh;
}

.download-nav {
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.88);
}

.download-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
}

.download-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.download-brand {
    color: #f8fafc;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.download-brand span {
    color: #38bdf8;
}

.download-language-control {
    position: relative;
}

.download-language-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 6px 9px 6px 10px;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 8px;
    color: #e5e7eb;
    background: #172033;
    font: inherit;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.download-language-trigger:hover,
.download-language-trigger:focus-visible {
    border-color: #38bdf8;
    background: #1e293b;
    outline: none;
}

.download-language-flag {
    display: block;
    width: 22px;
    height: 15px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(2, 6, 23, 0.38);
}

.download-language-code {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.download-language-chevron {
    width: 6px;
    height: 6px;
    margin: -3px 1px 0;
    border-right: 1.5px solid #94a3b8;
    border-bottom: 1.5px solid #94a3b8;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
}

.download-language-trigger[aria-expanded="true"] .download-language-chevron {
    margin-top: 3px;
    transform: rotate(225deg);
}

.download-language-options {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    min-width: 184px;
    padding: 6px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 10px;
    background: #172033;
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.4);
}

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

.download-language-option {
    display: grid;
    grid-template-columns: 22px 1fr 16px;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    color: #cbd5e1;
    font-size: 0.9rem;
    text-align: left;
    text-decoration: none;
}

.download-language-option:hover,
.download-language-option:focus-visible,
.download-language-option.is-active {
    color: #ffffff;
    background: rgba(56, 189, 248, 0.14);
    outline: none;
    text-decoration: none;
}

.download-language-check {
    color: #38bdf8;
    font-weight: 700;
}

.download-page .hero-section {
    padding-bottom: 56px;
}

.download-page .hero-content {
    max-width: 800px;
}

.download-release-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.download-release-item {
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.72);
}

.download-release-item dt {
    margin-bottom: 7px;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.download-release-item dd {
    margin: 0;
    color: #f8fafc;
    font-weight: 700;
}

.download-checksum {
    overflow-wrap: anywhere;
    padding: 18px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 18px;
    background: rgba(8, 47, 73, 0.32);
    color: #cffafe;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.88rem;
    line-height: 1.65;
}

.download-checksum-label {
    display: block;
    margin-bottom: 8px;
    color: #67e8f9;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.download-note {
    margin-top: 20px;
    padding: 18px 20px;
    border-left: 3px solid #fbbf24;
    border-radius: 0 14px 14px 0;
    background: rgba(120, 53, 15, 0.16);
    color: #fde68a;
}

.download-steps {
    margin: 0;
    padding-left: 22px;
    color: #cbd5e1;
    line-height: 1.85;
}

.download-page .contact-panel {
    margin-top: 0;
}

@media (max-width: 960px) {
    .download-release-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .download-nav-inner {
        min-height: 64px;
    }

    .download-nav-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 14px 0;
    }

    .download-nav-actions {
        width: 100%;
        justify-content: space-between;
    }

    .download-release-grid {
        grid-template-columns: 1fr;
    }
}
