:root {
    --download-ink: #07152f;
    --download-muted: #65758f;
    --download-blue: #2165f5;
    --download-line: #dce6f5;
}

* { box-sizing: border-box; }

body.download-page {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: #f4f7fd;
    color: var(--download-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.download-page a { color: inherit; }

.download-background {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 76% 15%, rgba(106, 75, 255, .14), transparent 28rem),
        radial-gradient(circle at 16% 30%, rgba(38, 127, 255, .14), transparent 30rem),
        linear-gradient(180deg, #f8faff 0%, #eef4fc 100%);
}

.download-background::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .38;
    background-image: linear-gradient(rgba(83, 112, 160, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(83, 112, 160, .08) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, #000, transparent 76%);
}

.download-header { padding: 22px 28px 0; }

.download-nav {
    width: min(1240px, 100%);
    min-height: 74px;
    margin: 0 auto;
    padding: 12px 14px 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgba(205, 218, 239, .88);
    border-radius: 22px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 16px 50px rgba(40, 61, 101, .08);
    backdrop-filter: blur(18px);
}

.download-brand { display: inline-flex; align-items: center; text-decoration: none; }
.download-brand img { display: block; width: auto; height: 43px; }
.download-nav-actions { display: flex; align-items: center; gap: 10px; }

.download-text-link,
.download-panel-link {
    min-height: 46px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 13px;
    color: #40516e;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.download-text-link:hover { color: var(--download-blue); background: #edf4ff; }
.download-panel-link { border: 1px solid #d7e2f2; background: #fff; color: #13223f; }
.download-panel-link:hover { transform: translateY(-2px); border-color: #aac6fa; color: var(--download-blue); }

.download-main { width: min(1240px, calc(100% - 56px)); margin: 0 auto; }

.download-hero {
    min-height: 660px;
    padding: 76px 18px 62px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(460px, .92fr);
    align-items: center;
    gap: clamp(46px, 7vw, 100px);
}

.download-copy { max-width: 650px; min-width: 0; }

.download-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid #cee0fa;
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
    color: #2758b8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 10px 28px rgba(38, 100, 220, .08);
}

.download-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #24c996; box-shadow: 0 0 0 5px rgba(36, 201, 150, .12); }

.download-copy h1 {
    max-width: 690px;
    margin: 24px 0 0;
    font-size: clamp(3.15rem, 5.1vw, 5.15rem);
    line-height: .98;
    letter-spacing: -.065em;
    text-wrap: balance;
}

.download-lead {
    max-width: 610px;
    margin: 25px 0 0;
    color: var(--download-muted);
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    line-height: 1.75;
}

.download-action-card {
    max-width: 610px;
    margin-top: 30px;
    padding: 10px;
    display: grid;
    grid-template-columns: minmax(250px, 1fr) auto;
    align-items: center;
    gap: 12px;
    border: 1px solid #d5e2f5;
    border-radius: 22px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 20px 55px rgba(26, 64, 132, .12);
}

.download-primary-button {
    min-height: 72px;
    padding: 11px 17px;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 12px;
    border-radius: 15px;
    background: linear-gradient(135deg, #2875ff, #1a51e2);
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(32, 98, 238, .27);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.download-primary-button:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(32, 98, 238, .35); filter: saturate(1.08); }
.download-primary-button > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.download-primary-button strong { font-size: 15px; line-height: 1.2; }
.download-primary-button small { color: rgba(255, 255, 255, .72); font-size: 11px; font-weight: 650; }

.download-button-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .14); }
.download-button-icon svg { width: 21px; height: 21px; }

.download-release-meta { margin: 0; padding: 0 10px; display: flex; gap: 15px; }
.download-release-meta div { min-width: 57px; }
.download-release-meta dt { margin: 0 0 4px; color: #8391a8; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.download-release-meta dd { margin: 0; color: #14223d; font-size: 12px; font-weight: 850; white-space: nowrap; }

.download-file-name { margin: 14px 0 0 5px; display: flex; align-items: center; gap: 7px; color: #74839a; font-size: 11px; line-height: 1.45; }
.download-file-name svg { flex: 0 0 auto; color: #18a979; }
.download-file-name strong { color: #52617a; overflow-wrap: anywhere; }

.download-benefits { margin: 27px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; list-style: none; }
.download-benefits li { display: flex; align-items: center; gap: 7px; color: #50617c; font-size: 12px; font-weight: 750; }
.download-benefits svg { padding: 2px; border-radius: 50%; background: #daf7eb; color: #07956a; }

.download-empty { max-width: 610px; margin-top: 30px; padding: 18px; display: flex; align-items: center; gap: 13px; border: 1px solid #fed7aa; border-radius: 17px; background: #fffaf2; color: #9a4a12; }
.download-empty div { display: flex; flex-direction: column; gap: 3px; }
.download-empty span { font-size: 12px; color: #a86536; }

.download-showcase { position: relative; min-height: 505px; display: grid; place-items: center; isolation: isolate; }
.download-showcase::before { content: ""; position: absolute; width: 390px; height: 390px; border-radius: 50%; background: linear-gradient(135deg, rgba(33, 101, 245, .2), rgba(112, 70, 255, .16)); filter: blur(2px); z-index: -2; }
.download-orbit { position: absolute; border: 1px solid rgba(59, 115, 237, .18); border-radius: 50%; z-index: -1; }
.orbit-one { width: 470px; height: 470px; }
.orbit-two { width: 350px; height: 350px; border-style: dashed; animation: download-spin 28s linear infinite; }

.download-device {
    width: min(100%, 505px);
    aspect-ratio: 1.32;
    position: relative;
    padding: 13px;
    border: 1px solid #233657;
    border-radius: 31px;
    background: linear-gradient(145deg, #152744, #071329);
    box-shadow: 0 42px 85px rgba(16, 35, 72, .3), inset 0 0 0 2px rgba(255, 255, 255, .06);
    transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
}

.download-device-camera { position: absolute; top: 5px; left: 50%; width: 5px; height: 5px; transform: translateX(-50%); border-radius: 50%; background: #60708b; z-index: 3; }
.download-device-screen { width: 100%; height: 100%; overflow: hidden; border-radius: 20px; background: #f3f7ff; }

.device-toolbar { height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid #e1e8f4; }
.device-toolbar img { height: 25px; width: auto; }
.device-toolbar > span { padding: 7px 9px; display: flex; align-items: center; gap: 6px; border-radius: 8px; background: #edf9f5; color: #31735e; font-size: 8px; font-weight: 800; }
.device-toolbar i { width: 6px; height: 6px; border-radius: 50%; background: #1cc792; }

.device-content { padding: 21px; }
.device-intro { display: flex; align-items: center; gap: 12px; }
.device-intro > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; background: #e8f1ff; color: var(--download-blue); }
.device-intro div { display: flex; flex-direction: column; gap: 3px; }
.device-intro strong { font-size: 15px; }
.device-intro small { color: #8290a6; font-size: 8px; }

.device-scanner { height: 185px; margin-top: 15px; position: relative; overflow: hidden; display: grid; place-items: center; border-radius: 17px; background: radial-gradient(circle at 50% 30%, #173266, #071633 75%); color: #fff; }
.device-scanner::after { content: ""; position: absolute; inset: 0; opacity: .19; background-image: radial-gradient(circle, #fff 1px, transparent 1px); background-size: 22px 22px; }
.device-scanner > div { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 9px; z-index: 2; }
.device-scanner .corner { position: absolute; width: 35px; height: 35px; border-color: rgba(255, 255, 255, .9); border-style: solid; z-index: 2; }
.corner-a { top: 24px; left: 31px; border-width: 2px 0 0 2px; border-radius: 8px 0 0; }
.corner-b { top: 24px; right: 31px; border-width: 2px 2px 0 0; border-radius: 0 8px 0 0; }
.corner-c { bottom: 24px; left: 31px; border-width: 0 0 2px 2px; border-radius: 0 0 0 8px; }
.corner-d { right: 31px; bottom: 24px; border-width: 0 2px 2px 0; border-radius: 0 0 8px; }
.scanner-line { position: absolute; left: 42px; right: 42px; top: 36%; height: 1px; background: linear-gradient(90deg, transparent, #4ad5ff, transparent); box-shadow: 0 0 12px #4ad5ff; animation: download-scan 3.4s ease-in-out infinite; }

.device-content button { width: 100%; height: 34px; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #cddcf5; border-radius: 10px; background: #eef5ff; color: #2862cf; font: 800 8px/1 Inter, sans-serif; }

.download-floating-card { position: absolute; z-index: 3; display: flex; align-items: center; border: 1px solid rgba(211, 223, 241, .9); background: rgba(255, 255, 255, .94); box-shadow: 0 18px 42px rgba(21, 50, 101, .18); backdrop-filter: blur(14px); }
.card-status { top: 26px; right: -23px; padding: 12px 15px; gap: 10px; border-radius: 15px; }
.card-status > span { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; background: #e1f9ef; color: #08a777; }
.card-status div { display: flex; flex-direction: column; gap: 3px; }
.card-status strong { font-size: 10px; }
.card-status small { color: #8491a5; font-size: 7px; }
.card-version { left: -15px; bottom: 23px; padding: 13px 17px; flex-direction: column; align-items: flex-start; gap: 3px; border-radius: 14px; }
.card-version small { color: #8491a6; font-size: 7px; font-weight: 900; letter-spacing: .07em; }
.card-version strong { color: var(--download-blue); font-size: 18px; }

.download-install {
    margin-bottom: 34px;
    padding: 36px;
    display: grid;
    grid-template-columns: .78fr 1.5fr;
    gap: 42px;
    border: 1px solid rgba(210, 223, 242, .92);
    border-radius: 28px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 24px 65px rgba(29, 57, 104, .08);
    backdrop-filter: blur(16px);
}

.download-install-heading > span { color: var(--download-blue); font-size: 9px; font-weight: 950; letter-spacing: .13em; }
.download-install-heading h2 { margin: 10px 0 0; font-size: clamp(1.65rem, 2.6vw, 2.25rem); line-height: 1.08; letter-spacing: -.04em; }
.download-install-heading p { margin: 14px 0 0; color: var(--download-muted); font-size: 12px; line-height: 1.65; }

.download-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; }
.download-steps li { min-height: 160px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; border: 1px solid #dfe7f4; border-radius: 18px; background: #fff; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.download-steps li:hover { transform: translateY(-4px); border-color: #b9cff4; box-shadow: 0 16px 32px rgba(32, 74, 148, .1); }
.download-steps li > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #eaf2ff; color: var(--download-blue); font-size: 9px; font-weight: 900; }
.download-steps li div { display: flex; flex-direction: column; gap: 7px; }
.download-steps strong { font-size: 13px; }
.download-steps p { margin: 0; color: #74839b; font-size: 10px; line-height: 1.55; }

.download-footer { width: min(1240px, calc(100% - 56px)); min-height: 76px; margin: 0 auto; padding: 18px 4px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #8290a5; font-size: 11px; }
.download-footer div { display: flex; gap: 20px; }
.download-footer a { text-decoration: none; transition: color .2s ease; }
.download-footer a:hover { color: var(--download-blue); }

@keyframes download-spin { to { transform: rotate(360deg); } }
@keyframes download-scan { 0%, 100% { transform: translateY(-35px); opacity: .5; } 50% { transform: translateY(65px); opacity: 1; } }

@media (max-width: 1020px) {
    .download-hero { grid-template-columns: 1fr; padding-top: 60px; }
    .download-copy { max-width: 760px; text-align: center; margin: 0 auto; }
    .download-copy h1, .download-lead, .download-action-card { margin-left: auto; margin-right: auto; }
    .download-benefits, .download-file-name { justify-content: center; }
    .download-showcase { width: min(600px, 100%); margin: 0 auto; }
    .download-install { grid-template-columns: 1fr; }
    .download-install-heading { max-width: 620px; }
}

@media (max-width: 700px) {
    .download-header { padding: 10px 10px 0; }
    .download-nav { min-height: 62px; padding: 9px 10px 9px 14px; border-radius: 17px; }
    .download-brand img { height: 34px; }
    .download-text-link { display: none; }
    .download-panel-link { min-height: 40px; padding: 0 12px; font-size: 11px; }
    .download-main { width: min(calc(100% - 24px), 600px); }
    .download-hero { min-height: auto; padding: 52px 2px 42px; gap: 45px; }
    .download-eyebrow { font-size: 9px; }
    .download-copy h1 { margin-top: 20px; font-size: clamp(2.4rem, 11.5vw, 3.15rem); line-height: .98; }
    .download-lead { margin-top: 20px; font-size: 14px; line-height: 1.65; }
    .download-action-card { padding: 8px; grid-template-columns: 1fr; border-radius: 19px; }
    .download-primary-button { min-height: 67px; text-align: left; }
    .download-release-meta { padding: 8px 7px 6px; justify-content: space-around; }
    .download-file-name { align-items: flex-start; text-align: left; }
    .download-benefits { align-items: center; flex-direction: column; }
    .download-showcase { min-height: 330px; }
    .download-showcase::before { width: 280px; height: 280px; }
    .orbit-one { width: 330px; height: 330px; }
    .orbit-two { width: 245px; height: 245px; }
    .download-device { width: min(92%, 430px); padding: 8px; border-radius: 22px; transform: none; }
    .download-device-screen { border-radius: 15px; }
    .device-toolbar { height: 37px; padding: 0 10px; }
    .device-toolbar img { height: 19px; }
    .device-toolbar > span { font-size: 6px; }
    .device-content { padding: 13px; }
    .device-intro > span { width: 34px; height: 34px; }
    .device-intro strong { font-size: 11px; }
    .device-intro small { font-size: 6px; }
    .device-scanner { height: 125px; margin-top: 10px; }
    .device-content button { height: 27px; margin-top: 8px; }
    .card-status { top: 0; right: -1px; padding: 9px; }
    .card-version { left: 0; bottom: 0; padding: 10px 13px; }
    .download-install { margin-bottom: 18px; padding: 25px 18px; gap: 25px; border-radius: 22px; }
    .download-install-heading { text-align: center; }
    .download-steps { grid-template-columns: 1fr; }
    .download-steps li { min-height: 0; padding: 16px; flex-direction: row; justify-content: flex-start; align-items: flex-start; gap: 14px; text-align: left; }
    .download-steps li > span { flex: 0 0 auto; }
    .download-footer { width: calc(100% - 28px); padding-top: 14px; flex-direction: column; justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .orbit-two, .scanner-line { animation: none; }
    .download-primary-button, .download-panel-link, .download-steps li { transition: none; }
}
