:root {
    --download-bg: #07080b;
    --download-surface: #0d0f14;
    --download-surface-raised: #12151b;
    --download-border: rgba(255, 255, 255, 0.09);
    --download-border-strong: rgba(225, 38, 54, 0.32);
    --download-text: #f7f7f8;
    --download-muted: #8e96a5;
    --download-red: #e12636;
    --download-red-bright: #ff4053;
    --download-green: #4ade80;
    --download-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

body.cl-download-page {
    min-width: 320px;
    overflow-x: hidden;
    color: var(--download-text);
    background: var(--download-bg);
    font-family: "Plus Jakarta Sans", sans-serif;
}

.cl-download-page::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.download-skip {
    position: fixed;
    z-index: 3000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #fff;
    background: var(--download-red);
    font-weight: 800;
    transform: translateY(-180%);
    transition: transform 180ms ease;
}

.download-skip:focus {
    transform: translateY(0);
}

.download-shell {
    width: min(1240px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.download-hero {
    position: relative;
    min-height: 780px;
    padding: 9.5rem 0 5rem;
    overflow: hidden;
    border-bottom: 1px solid var(--download-border);
    background: radial-gradient(circle at 72% 45%, rgba(177, 20, 37, 0.19), transparent 32%), linear-gradient(135deg, #08090d 0%, #06070a 60%, #0b080b 100%);
}

.download-hero::before {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background: url("../../img/home-redesign/hero-city-background.webp") center/cover no-repeat;
    filter: grayscale(1) contrast(1.15);
    content: "";
}

.download-hero::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 8, 11, 0.98) 5%, rgba(7, 8, 11, 0.85) 42%, rgba(7, 8, 11, 0.25) 74%, rgba(7, 8, 11, 0.78));
    content: "";
}

.download-hero__ambient {
    position: absolute;
    z-index: 1;
    top: 14%;
    right: 12%;
    width: 30rem;
    height: 30rem;
    border: 1px solid rgba(225, 38, 54, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(225, 38, 54, 0.025), 0 0 0 10rem rgba(225, 38, 54, 0.018);
}

.download-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
    gap: 4rem;
    align-items: center;
}

.download-kicker,
.download-section__heading p,
.download-support__inner > div > p {
    margin: 0;
    color: #98a0af;
    font: 700 0.7rem/1 "JetBrains Mono", monospace;
    letter-spacing: 0.13em;
}

.download-kicker span,
.download-section__heading p,
.download-support__inner > div > p {
    color: var(--download-red-bright);
}

.download-hero h1 {
    max-width: 740px;
    margin: 1.25rem 0 1.5rem;
    color: #f8f8f9;
    font: 700 clamp(3.8rem, 7vw, 6.7rem)/0.82 "Rajdhani", sans-serif;
    letter-spacing: -0.055em;
    text-transform: uppercase;
}

.download-hero h1 em {
    color: var(--download-red);
    font-style: normal;
    text-shadow: 0 0 2.5rem rgba(225, 38, 54, 0.25);
}

.download-hero__lead {
    max-width: 660px;
    margin: 0;
    color: #a3aab7;
    font-size: 1rem;
    line-height: 1.8;
}

.download-hero__actions {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 2rem;
}

.download-primary,
.download-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.download-primary {
    min-width: 330px;
    gap: 0.875rem;
    padding: 0.75rem 1.125rem 0.75rem 0.75rem;
    color: #fff;
    background: linear-gradient(135deg, #f03547, #c7142a);
    box-shadow: 0 1rem 2.5rem rgba(210, 20, 42, 0.24), inset 0 1px rgba(255, 255, 255, 0.22);
}

.download-primary__icon {
    display: grid;
    flex: 0 0 3rem;
    place-items: center;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.625rem;
    background: rgba(0, 0, 0, 0.16);
    font-size: 1.25rem;
}

.download-primary > span:nth-child(2) {
    display: grid;
    flex: 1;
    gap: 0.15rem;
}

.download-primary small {
    opacity: 0.68;
    font: 700 0.6rem/1 "JetBrains Mono", monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.download-primary strong {
    font-size: 0.86rem;
    font-weight: 800;
}

.download-secondary {
    gap: 0.5rem;
    min-width: 155px;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #d5d9e0;
    background: rgba(15, 17, 23, 0.78);
    font-size: 0.75rem;
    font-weight: 800;
}

.download-primary:hover,
.download-secondary:hover {
    transform: translateY(-2px);
}

.download-primary:hover {
    box-shadow: 0 1.25rem 3rem rgba(210, 20, 42, 0.34);
}

.download-secondary:hover {
    border-color: rgba(225, 38, 54, 0.42);
    color: #fff;
}

.download-primary:focus-visible,
.download-secondary:focus-visible,
.download-build a:focus-visible,
.download-hash button:focus-visible,
.download-support a:focus-visible,
.download-faq summary:focus-visible {
    outline: 3px solid rgba(255, 64, 83, 0.45);
    outline-offset: 3px;
}

.download-hero__meta {
    display: flex;
    gap: 0;
    margin-top: 2rem;
}

.download-hero__meta span {
    display: grid;
    gap: 0.25rem;
    min-width: 115px;
    padding: 0 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.download-hero__meta span:first-child {
    padding-left: 0;
    border-left: 0;
}

.download-hero__meta small {
    color: #737b8a;
    font: 700 0.58rem "JetBrains Mono", monospace;
    text-transform: uppercase;
}

.download-hero__meta strong {
    color: #f6f7f9;
    font-size: 0.82rem;
}

.download-hero__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 570px;
}

.download-hero__orbit {
    position: absolute;
    width: min(34rem, 92%);
    aspect-ratio: 1;
    border: 1px solid rgba(225, 38, 54, 0.24);
    border-radius: 50%;
}

.download-hero__orbit::before,
.download-hero__orbit::after {
    position: absolute;
    inset: 11%;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: inherit;
    content: "";
}

.download-hero__orbit::after {
    inset: 24%;
    border-style: solid;
}

.download-hero__device {
    position: relative;
    z-index: 2;
    width: 280px;
    height: 530px;
    padding: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 2.25rem;
    background: #08090d;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.58), 0 0 4rem rgba(225, 38, 54, 0.13), inset 0 0 0 3px #12141a;
    transform: rotate(3deg);
}

.download-hero__device::after {
    position: absolute;
    inset: 0.5rem;
    border-radius: 1.75rem;
    background: linear-gradient(to bottom, transparent 48%, rgba(5, 6, 9, 0.96));
    content: "";
}

.download-hero__device img {
    width: 100%;
    height: 100%;
    border-radius: 1.75rem;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.78) contrast(1.08);
}

.download-hero__device-top {
    position: absolute;
    z-index: 4;
    top: 0.95rem;
    left: 50%;
    width: 5rem;
    height: 1.35rem;
    border-radius: 999px;
    background: #050609;
    transform: translateX(-50%);
}

.download-hero__device-ui {
    position: absolute;
    z-index: 3;
    right: 1.5rem;
    bottom: 2rem;
    left: 1.5rem;
    display: grid;
}

.download-hero__device-ui span {
    color: var(--download-green);
    font: 700 0.52rem "JetBrains Mono", monospace;
    letter-spacing: 0.05em;
}

.download-hero__device-ui strong {
    margin-top: 0.35rem;
    font: 700 1.65rem "Rajdhani", sans-serif;
}

.download-hero__device-ui small {
    color: #9aa2af;
}

.download-float {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    background: rgba(11, 13, 18, 0.9);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(12px);
}

.download-float > i {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.55rem;
    color: var(--download-red-bright);
    background: rgba(225, 38, 54, 0.11);
}

.download-float span {
    display: grid;
}

.download-float small {
    color: #69717f;
    font: 700 0.52rem "JetBrains Mono", monospace;
    text-transform: uppercase;
}

.download-float strong {
    margin-top: 0.2rem;
    font-size: 0.7rem;
}

.download-float--secure {
    top: 23%;
    left: 0;
}

.download-float--update {
    right: -1rem;
    bottom: 18%;
}

.download-trust {
    border-bottom: 1px solid var(--download-border);
    background: #090a0e;
}

.download-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.download-trust article {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 96px;
    padding: 1.25rem;
    border-left: 1px solid var(--download-border);
}

.download-trust article:last-child {
    border-right: 1px solid var(--download-border);
}

.download-trust i {
    color: var(--download-red-bright);
}

.download-trust article div {
    display: grid;
    gap: 0.2rem;
}

.download-trust strong {
    font-size: 0.75rem;
}

.download-trust span {
    color: #747c89;
    font-size: 0.65rem;
    line-height: 1.45;
}

.download-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 2rem;
    padding-block: 4rem 5rem;
}

.download-content-column {
    display: grid;
    gap: 1.25rem;
    min-width: 0;
}

.download-section {
    padding: 2rem;
    border: 1px solid var(--download-border);
    border-radius: 1rem;
    background: var(--download-surface);
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.16);
}

.download-section__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.download-section__heading h2 {
    margin: 0.45rem 0 0;
    font: 700 clamp(1.8rem, 3vw, 2.7rem)/1 "Rajdhani", sans-serif;
    letter-spacing: -0.035em;
}

.download-section__heading > span {
    color: #747c89;
    font: 600 0.64rem "JetBrains Mono", monospace;
}

.download-quickstart__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
}

.download-quickstart__steps li {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--download-border);
    border-left: 0;
    background: #0a0c10;
}

.download-quickstart__steps li:first-child {
    border-left: 1px solid var(--download-border);
    border-radius: 0.75rem 0 0 0.75rem;
}

.download-quickstart__steps li:last-child {
    border-radius: 0 0.75rem 0.75rem 0;
}

.download-quickstart__steps li > span {
    color: rgba(225, 38, 54, 0.52);
    font: 700 0.62rem "JetBrains Mono", monospace;
}

.download-quickstart__steps i {
    color: var(--download-red-bright);
}

.download-quickstart__steps h3 {
    margin: 0.75rem 0 0.4rem;
    font-size: 0.82rem;
    font-weight: 800;
}

.download-quickstart__steps p,
.download-build > p,
.download-section__intro,
.download-architecture-help p,
.download-installation p,
.download-command-help p {
    margin: 0;
    color: var(--download-muted);
    font-size: 0.72rem;
    line-height: 1.65;
}

.download-builds {
    display: grid;
    gap: 0.75rem;
}

.download-build {
    display: grid;
    grid-template-columns: minmax(210px, 0.75fr) minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--download-border);
    border-radius: 0.75rem;
    background: #0a0c10;
}

.download-build.is-recommended {
    border-color: var(--download-border-strong);
    background: linear-gradient(90deg, rgba(225, 38, 54, 0.075), #0a0c10 48%);
}

.download-build__identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.download-build__icon {
    display: grid;
    flex: 0 0 2.75rem;
    place-items: center;
    height: 2.75rem;
    border-radius: 0.625rem;
    color: #fff;
    background: rgba(225, 38, 54, 0.14);
}

.download-build__identity div {
    display: grid;
    gap: 0.15rem;
}

.download-build__identity small {
    color: var(--download-red-bright);
    font: 700 0.52rem "JetBrains Mono", monospace;
}

.download-build h3 {
    margin: 0;
    font-size: 0.8rem;
}

.download-build code {
    color: #737b89;
    font-size: 0.6rem;
}

.download-build__action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.download-build__action span {
    color: #7f8795;
    font: 600 0.64rem "JetBrains Mono", monospace;
}

.download-build__action a,
.download-sidebar__sticky > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.5rem;
    padding: 0 0.875rem;
    border-radius: 0.55rem;
    color: #fff;
    background: var(--download-red);
    font-size: 0.7rem;
    font-weight: 800;
    text-decoration: none;
}

.download-architecture-help {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    border-left: 2px solid var(--download-red);
    background: rgba(225, 38, 54, 0.05);
}

.download-architecture-help > i {
    color: var(--download-red-bright);
}

.download-architecture-help strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
}

.download-installation {
    margin: 0;
    padding: 0;
    list-style: none;
}

.download-installation li {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) 2.5rem;
    gap: 1rem;
    align-items: start;
    padding: 1.15rem 0;
    border-top: 1px solid var(--download-border);
}

.download-installation li:first-child {
    border-top: 0;
}

.download-installation li > span {
    color: var(--download-red-bright);
    font: 700 0.65rem "JetBrains Mono", monospace;
}

.download-installation h3 {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
}

.download-installation code {
    color: #d6dae1;
}

.download-installation li > i {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    color: #969eac;
    background: #161920;
}

.download-release-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--download-border);
    border-left: 1px solid var(--download-border);
}

.download-release-grid article {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    min-height: 95px;
    padding: 1rem;
    border-right: 1px solid var(--download-border);
    border-bottom: 1px solid var(--download-border);
    background: #0a0c10;
}

.download-release-grid i {
    margin-top: 0.15rem;
    color: var(--download-red-bright);
}

.download-release-grid p {
    margin: 0;
    color: #a0a7b4;
    font-size: 0.7rem;
    line-height: 1.55;
}

.download-section__intro {
    margin: -0.5rem 0 1.25rem;
}

.download-hashes {
    display: grid;
    gap: 0.625rem;
}

.download-hashes article {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 0.875rem;
    border: 1px solid var(--download-border);
    border-radius: 0.625rem;
    background: #090b0f;
}

.download-hashes article > div:first-child {
    display: grid;
    gap: 0.2rem;
}

.download-hashes strong {
    font-size: 0.72rem;
}

.download-hashes article > div:first-child span {
    overflow: hidden;
    color: #626a77;
    font: 500 0.55rem "JetBrains Mono", monospace;
    text-overflow: ellipsis;
}

.download-hash {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2.25rem;
    gap: 0.5rem;
    align-items: center;
    min-width: 0;
}

.download-hash code {
    overflow: hidden;
    color: #9ba3b1;
    font-size: 0.61rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.download-hash button {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--download-border);
    border-radius: 0.5rem;
    color: #b9bec7;
    background: #161920;
    cursor: pointer;
}

.download-hash button:hover {
    border-color: var(--download-border-strong);
    color: #fff;
}

.download-command-help,
.download-faq details {
    border: 1px solid var(--download-border);
    border-radius: 0.625rem;
    background: #0a0c10;
}

.download-command-help {
    margin-top: 1rem;
}

.download-command-help summary,
.download-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    color: #d9dce2;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.download-command-help summary {
    justify-content: flex-start;
}

.download-command-help summary::-webkit-details-marker,
.download-faq summary::-webkit-details-marker {
    display: none;
}

.download-command-help > div,
.download-faq details > div {
    padding: 0 1rem 1rem;
    color: var(--download-muted);
    font-size: 0.72rem;
    line-height: 1.65;
}

.download-command-help > div > code {
    display: block;
    margin: 0.75rem 0;
    padding: 0.75rem;
    overflow-x: auto;
    border: 1px solid var(--download-border);
    border-radius: 0.5rem;
    color: #f2f3f5;
    background: #06070a;
    font-size: 0.65rem;
}

.download-faq {
    display: grid;
    gap: 0.625rem;
}

.download-faq details[open] summary i {
    transform: rotate(45deg);
}

.download-faq summary i {
    color: var(--download-red-bright);
    transition: transform 180ms ease;
}

.download-sidebar {
    position: relative;
}

.download-sidebar__sticky {
    position: sticky;
    top: 7rem;
    display: grid;
    justify-items: center;
    padding: 1.5rem;
    border: 1px solid var(--download-border-strong);
    border-radius: 1rem;
    background: radial-gradient(circle at 50% 0, rgba(225, 38, 54, 0.13), transparent 38%), #0d0f14;
    box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.28);
}

.download-sidebar__status {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    color: var(--download-green);
    font: 700 0.55rem "JetBrains Mono", monospace;
}

.download-sidebar__status span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0.75rem currentColor;
}

.download-sidebar img {
    margin: 1.5rem 0 0.75rem;
    filter: drop-shadow(0 0 1.5rem rgba(225, 38, 54, 0.34));
}

.download-sidebar p {
    margin: 0;
    color: #8b93a1;
    font-size: 0.68rem;
}

.download-sidebar h2 {
    margin: 0.25rem 0 1.25rem;
    font: 700 1.65rem "Rajdhani", sans-serif;
}

.download-sidebar dl {
    width: 100%;
    margin: 0 0 1rem;
}

.download-sidebar dl div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.625rem 0;
    border-top: 1px solid var(--download-border);
    font-size: 0.65rem;
}

.download-sidebar dt {
    color: #6f7785;
}

.download-sidebar dd {
    margin: 0;
    color: #dfe2e7;
    font-weight: 700;
}

.download-sidebar__sticky > a {
    width: 100%;
    min-height: 2.75rem;
}

.download-sidebar__sticky > small {
    margin-top: 0.75rem;
    color: #727a87;
    font-size: 0.58rem;
}

.download-sidebar__sticky > small i {
    color: var(--download-green);
}

.download-support {
    padding: 4.5rem 0;
    border-block: 1px solid var(--download-border);
    background: radial-gradient(circle at 12% 50%, rgba(225, 38, 54, 0.11), transparent 31%), #0a0b0f;
}

.download-support__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.download-support h2 {
    margin: 0.6rem 0;
    font: 700 clamp(2rem, 4vw, 3.5rem)/1 "Rajdhani", sans-serif;
}

.download-support__inner > div > span {
    display: block;
    max-width: 650px;
    color: var(--download-muted);
    font-size: 0.82rem;
    line-height: 1.7;
}

.download-support__inner > div:last-child {
    display: flex;
    gap: 0.75rem;
}

.download-support a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0 1rem;
    border: 1px solid var(--download-border);
    border-radius: 0.625rem;
    color: #d9dde4;
    background: #13161c;
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
}

.download-support a:first-child {
    border-color: rgba(88, 101, 242, 0.35);
    color: #fff;
    background: #5865f2;
}

.download-toast {
    position: fixed;
    z-index: 2000;
    right: 1.25rem;
    bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(74, 222, 128, 0.26);
    border-radius: 0.625rem;
    color: #dfffea;
    background: #101a15;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.36);
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translateY(1rem);
    transition: opacity 180ms ease, transform 180ms ease;
}

.download-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.download-toast i {
    color: var(--download-green);
}

[data-download-reveal] {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 700ms ease, transform 700ms var(--download-ease);
}

[data-download-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .download-hero {
        min-height: auto;
    }

    .download-hero__grid {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 2rem;
    }

    .download-hero__device {
        width: 240px;
        height: 470px;
    }

    .download-float--secure {
        left: -1rem;
    }

    .download-trust__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-trust article:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--download-border);
    }

    .download-trust article:nth-child(4) {
        border-top: 1px solid var(--download-border);
    }

    .download-main-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .download-sidebar {
        grid-row: 1;
    }

    .download-sidebar__sticky {
        position: static;
        grid-template-columns: auto 1fr auto;
        justify-items: start;
        gap: 0 1rem;
    }

    .download-sidebar__status {
        grid-column: 1 / -1;
    }

    .download-sidebar img {
        grid-row: 2 / 5;
        margin: 1rem 0 0;
    }

    .download-sidebar p {
        align-self: end;
        margin-top: 1rem;
    }

    .download-sidebar h2 {
        align-self: start;
        margin-bottom: 0;
    }

    .download-sidebar dl {
        display: none;
    }

    .download-sidebar__sticky > a {
        grid-row: 2 / 4;
        grid-column: 3;
        align-self: center;
        width: auto;
    }

    .download-sidebar__sticky > small {
        grid-column: 2;
    }
}

@media (max-width: 820px) {
    .download-hero {
        padding-top: 8rem;
    }

    .download-hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .download-hero__copy {
        max-width: 690px;
    }

    .download-hero__visual {
        min-height: 500px;
    }

    .download-build {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .download-build > p {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .download-release-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-support__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .download-shell {
        width: min(100% - 1.25rem, 1240px);
    }

    .download-hero {
        padding: 7.5rem 0 3rem;
    }

    .download-hero h1 {
        font-size: clamp(3.25rem, 18vw, 4.8rem);
    }

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

    .download-primary,
    .download-secondary {
        width: 100%;
        min-width: 0;
    }

    .download-hero__meta span {
        min-width: 0;
        padding-inline: 0.75rem;
    }

    .download-hero__visual {
        min-height: 440px;
    }

    .download-hero__device {
        width: 210px;
        height: 410px;
    }

    .download-float {
        padding: 0.55rem;
    }

    .download-float--secure {
        top: 18%;
        left: 0;
    }

    .download-float--update {
        right: 0;
        bottom: 10%;
    }

    .download-trust__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .download-trust article,
    .download-trust article:nth-child(3),
    .download-trust article:last-child {
        min-height: 78px;
        border: 0;
        border-bottom: 1px solid var(--download-border);
    }

    .download-main-grid {
        gap: 1rem;
        padding-block: 2rem 3rem;
    }

    .download-section {
        padding: 1.25rem;
        border-radius: 0.75rem;
    }

    .download-section__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .download-quickstart__steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .download-quickstart__steps li,
    .download-quickstart__steps li:first-child,
    .download-quickstart__steps li:last-child {
        border: 1px solid var(--download-border);
        border-top: 0;
        border-radius: 0;
    }

    .download-quickstart__steps li:first-child {
        border-top: 1px solid var(--download-border);
        border-radius: 0.625rem 0.625rem 0 0;
    }

    .download-quickstart__steps li:last-child {
        border-radius: 0 0 0.625rem 0.625rem;
    }

    .download-build {
        grid-template-columns: minmax(0, 1fr);
    }

    .download-build > p {
        grid-column: auto;
        grid-row: auto;
    }

    .download-build__action {
        justify-content: space-between;
    }

    .download-release-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .download-hashes article {
        grid-template-columns: minmax(0, 1fr);
    }

    .download-sidebar__sticky {
        grid-template-columns: 4rem minmax(0, 1fr);
    }

    .download-sidebar img {
        grid-row: 2 / 4;
        width: 4rem;
        height: 4rem;
    }

    .download-sidebar__sticky > a,
    .download-sidebar__sticky > small {
        grid-column: 1 / -1;
        width: 100%;
    }

    .download-sidebar__sticky > a {
        grid-row: auto;
        margin-top: 1rem;
    }

    .download-support__inner > div:last-child {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    [data-download-reveal] {
        opacity: 1;
        transform: none;
    }
}
