:root {
    font-family: "Noto Sans SC", "Microsoft YaHei UI", sans-serif;
    color-scheme: light;
    --bg-start: #f4efe6;
    --bg-end: #dce7f3;
    --ink: #1f2937;
    --muted: #607086;
    --line: rgba(148, 163, 184, 0.28);
    --card: rgba(255, 255, 255, 0.84);
    --accent: #0f766e;
    --accent-strong: #115e59;
    --shadow: 0 24px 56px rgba(51, 65, 85, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.18), transparent 34%),
        radial-gradient(circle at left center, rgba(148, 163, 184, 0.18), transparent 40%),
        linear-gradient(160deg, var(--bg-start), var(--bg-end));
}

a {
    color: inherit;
}

.downloads-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.downloads-hero {
    margin-bottom: 24px;
}

.downloads-kicker,
.card-kicker {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #64748b;
    font-size: 12px;
}

.downloads-hero h1,
.download-card h2,
.release-notes h3 {
    margin: 0;
}

.downloads-hero h1 {
    max-width: 720px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
}

.downloads-copy,
.card-copy,
.muted-copy {
    max-width: 720px;
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.hero-actions,
.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.downloads-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
    gap: 18px;
}

.download-card {
    padding: 24px;
    border-radius: 28px;
    background: var(--card);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.download-card.featured {
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(240,249,255,0.84));
}

.download-card.muted {
    background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(248,250,252,0.88));
}

.card-head,
.notes-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: var(--accent-strong);
    font-weight: 700;
    font-size: 14px;
}

.meta-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0 0;
}

.meta-list div {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.meta-list dt {
    margin-bottom: 6px;
    color: #64748b;
    font-size: 13px;
}

.meta-list dd {
    margin: 0;
    font-weight: 700;
    line-height: 1.5;
}

.primary-button,
.secondary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
    transform: translateY(-1px);
}

.primary-button {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
}

.secondary-button {
    background: rgba(15, 118, 110, 0.12);
    color: var(--accent-strong);
}

.ghost-button {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.disabled {
    pointer-events: none;
    opacity: 0.55;
}

.release-notes {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.release-notes ul,
.steps-list {
    margin: 14px 0 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.7;
}

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

    .meta-list {
        grid-template-columns: 1fr;
    }
}