.dl-page {
    width: min(calc(100% - 40px), 860px);
    margin: 0 auto;
    padding: 140px 0 120px;
}

.dl-hero {
    display: grid;
    justify-items: center;
    text-align: center;
}

.dl-hero__mark {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    filter: drop-shadow(0 10px 30px rgba(40, 103, 245, .35));
}

.dl-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5.4vw, 58px);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.02;
}

.dl-hero p {
    max-width: 600px;
    margin: 16px 0 0;
    color: var(--aurora-muted);
    font-size: 17px;
    line-height: 1.55;
}

.dl-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 40px;
}

.dl-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 16px;
    padding: 14px 14px 14px 16px;
    background: linear-gradient(180deg, #0f0f13, #08080a);
    transition: border-color .2s ease;
}

.dl-card::before {
    position: absolute;
    top: -60px;
    left: -40px;
    width: 200px;
    height: 140px;
    background: radial-gradient(closest-side, rgba(40, 103, 245, .2), transparent);
    content: "";
    pointer-events: none;
}

.dl-card:hover { border-color: rgba(255, 255, 255, .16); }

.dl-card__os {
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 11px;
    background: #18181c;
    color: #fff;
}

.dl-card__os .ic { width: 20px; height: 20px; }

.dl-card__txt {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dl-card h2 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.dl-card small {
    color: #77777f;
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}

.dl-card small a { color: var(--aurora-muted); }
.dl-card small a:hover { color: #fff; }

.dl-page .dl-btn {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    height: 38px;
    border-radius: 10px;
    padding: 0 14px;
    background: #fff;
    color: #000;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease;
}

.dl-page .dl-btn .ic { width: 16px; height: 16px; }
.dl-page .dl-btn:hover { background: #e7e7ec; }
.dl-page .dl-btn:focus-visible { outline: 2px solid var(--aurora-blue-lift); outline-offset: 3px; }
.dl-page .dl-btn.is-off { background: rgba(255, 255, 255, .06); color: var(--aurora-muted); cursor: default; }

.dl-help {
    position: relative;
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 18px 20px 20px;
    background: #060607;
}

.dl-help header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.dl-help h2 {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.dl-help__pick {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.dl-tabs {
    display: flex;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 11px;
    padding: 4px;
    background: #0b0b0d;
}

.dl-tabs label {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 32px;
    border-radius: 8px;
    padding: 0 13px;
    color: #77777f;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease;
}

.dl-tabs label:hover { color: #fff; }
.dl-tabs .ic { width: 14px; height: 14px; }

.dl-help:has(#dl-os-win:checked) label[for="dl-os-win"],
.dl-help:has(#dl-os-mac:checked) label[for="dl-os-mac"] {
    background: #161618;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .1);
    color: #fff;
}

.dl-help:has(#dl-os-win:focus-visible) label[for="dl-os-win"],
.dl-help:has(#dl-os-mac:focus-visible) label[for="dl-os-mac"] {
    outline: 2px solid var(--aurora-blue-lift);
    outline-offset: 1px;
}

.dl-help:has(#dl-os-win:checked) .dl-steps[data-os="mac"],
.dl-help:has(#dl-os-mac:checked) .dl-steps[data-os="win"] {
    display: none;
}

.dl-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: dl-step;
}

.dl-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding-left: 34px;
    counter-increment: dl-step;
}

.dl-steps li::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(40, 103, 245, .16);
    color: #7d9bff;
    content: counter(dl-step);
    font-size: 12px;
    font-weight: 700;
}

.dl-steps b { color: #fff; font-size: 14.5px; }
.dl-steps span { color: var(--aurora-muted); font-size: 13.5px; line-height: 1.55; }

.dl-steps code {
    margin-top: 6px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 9px;
    padding: 7px 9px;
    background: #0d0d10;
    color: #e4e4e7;
    font: 11.5px/1.5 ui-monospace, "SF Mono", Consolas, monospace;
    overflow-wrap: anywhere;
    -webkit-user-select: all;
    user-select: all;
}

@media (max-width: 820px) {
    .dl-page { padding-top: 116px; }
    .dl-cards, .dl-steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .dl-card, .dl-btn, .dl-tabs label { transition: none; }
}
