.download-page {
    --download-navy: #082d55;
    --download-blue: #1679b8;
    --download-gold: #d5a853;
    --download-deep-gold: #8b6327;
    --download-paper: #fffaf0;
    display: grid;
    gap: clamp(30px, 5vw, 64px);
    color: #3f3527;
}

.download-page *,
.download-page *::before,
.download-page *::after {
    box-sizing: border-box;
}

.download-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(42px, 7vw, 82px) clamp(20px, 6vw, 72px);
    color: #fff9e8;
    border: 1px solid rgba(238, 205, 133, .76);
    border-radius: 24px;
    background:
        linear-gradient(115deg, rgba(3, 30, 62, .92), rgba(14, 83, 133, .76)),
        url("../images/hero-clean-v1.webp") center 43% / cover no-repeat;
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .06), 0 24px 60px rgba(2, 25, 52, .34);
    text-align: center;
}

.download-hero::before,
.download-hero::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.download-hero::before {
    inset: 10px;
    border: 1px solid rgba(238, 205, 133, .36);
    border-radius: 17px;
}

.download-hero::after {
    inset: auto 12% -70px;
    height: 140px;
    background: radial-gradient(ellipse, rgba(87, 185, 235, .28), transparent 70%);
}

.download-hero__sigil {
    display: grid;
    width: 54px;
    height: 54px;
    margin: 0 auto 13px;
    place-items: center;
    color: #fff5c5;
    border: 1px solid rgba(234, 198, 116, .82);
    border-radius: 50%;
    background: rgba(7, 47, 88, .66);
    box-shadow: 0 0 28px rgba(104, 202, 249, .42), inset 0 0 12px rgba(255, 236, 170, .2);
    font-size: 1.35rem;
}

.download-eyebrow,
.download-section-title > span,
.download-primary-panel__copy > span,
.download-support > div > span {
    color: #efd08c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .28em;
}

.download-hero h1 {
    margin: 9px 0 12px;
    font-family: var(--display-font);
    font-size: clamp(2rem, 5.5vw, 4.5rem);
    letter-spacing: .09em;
    line-height: 1.14;
    text-wrap: balance;
    text-shadow: 0 4px 18px rgba(0, 20, 44, .64);
}

.download-hero__lead {
    margin: 0 0 15px;
    color: #ffe6aa;
    font-family: var(--display-font);
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
    letter-spacing: .08em;
}

.download-hero__description {
    margin: 0;
    color: rgba(255, 255, 255, .91);
    font-size: clamp(.95rem, 1.5vw, 1.08rem);
    line-height: 1.9;
}

.download-client-card {
    position: relative;
    isolation: isolate;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid rgba(192, 144, 65, .76);
    border-radius: 22px;
    background:
        linear-gradient(rgba(255, 252, 240, .96), rgba(248, 236, 206, .96)),
        url("../ui-v2/panel-content-parchment-v1.webp") center / cover;
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .55), 0 24px 54px rgba(4, 30, 60, .28);
}

.download-client-card::before {
    position: absolute;
    z-index: -1;
    inset: 9px;
    content: "";
    border: 1px solid rgba(151, 105, 42, .26);
    border-radius: 15px;
    pointer-events: none;
}

.download-client-card__glow {
    position: absolute;
    z-index: -2;
    top: -30px;
    right: 8%;
    left: 8%;
    height: 90px;
    background: radial-gradient(ellipse, rgba(76, 177, 231, .33), transparent 70%);
    pointer-events: none;
}

.download-client-card__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-bottom: 28px;
    align-items: end;
    gap: 24px;
    border-bottom: 1px solid rgba(151, 105, 42, .32);
}

.download-recommended {
    display: inline-flex;
    min-height: 42px;
    margin-bottom: 12px;
    padding: 5px 15px;
    align-items: center;
    gap: 10px;
    color: #fffbea;
    border: 1px solid #f0cf84;
    border-radius: 999px;
    background: linear-gradient(135deg, #ad7424, #d2a34d 50%, #80551f);
    box-shadow: 0 7px 16px rgba(107, 68, 20, .2);
}

.download-recommended b {
    letter-spacing: .08em;
}

.download-recommended small {
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, .42);
    font-family: Georgia, serif;
    font-size: .62rem;
    letter-spacing: .16em;
}

.download-client-card h2 {
    margin: 0;
    color: #5b421f;
    font-family: var(--display-font);
    font-size: clamp(1.85rem, 4vw, 3.25rem);
    letter-spacing: .07em;
    line-height: 1.2;
}

.download-client-meta {
    display: grid;
    min-width: min(100%, 330px);
    margin: 0;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 8px;
}

.download-client-meta div {
    padding: 11px 13px;
    border: 1px solid rgba(164, 119, 49, .28);
    border-radius: 10px;
    background: rgba(255, 255, 255, .54);
}

.download-client-meta dt {
    color: #8b7658;
    font-size: .72rem;
    letter-spacing: .08em;
}

.download-client-meta dd {
    margin: 3px 0 0;
    color: #59401f;
    font-weight: 800;
}

.download-primary-panel {
    display: grid;
    margin: clamp(24px, 4vw, 38px) 0;
    padding: clamp(20px, 3vw, 30px);
    grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
    align-items: center;
    gap: 24px;
    color: #f8fbff;
    border: 1px solid rgba(121, 198, 239, .55);
    border-radius: 16px;
    background: linear-gradient(125deg, #082f5b, #0d6097 64%, #063a71);
    box-shadow: inset 0 0 28px rgba(102, 207, 255, .16), 0 15px 30px rgba(4, 39, 75, .22);
}

.download-primary-panel h3 {
    margin: 4px 0 5px;
    font-family: var(--display-font);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    letter-spacing: .08em;
}

.download-primary-panel p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
}

.download-primary-panel__actions {
    display: grid;
    min-width: 0;
    gap: 12px;
}

.download-primary-cta {
    position: relative;
    display: flex;
    min-height: 84px;
    padding: 14px 23px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    overflow: hidden;
    color: #533a16;
    border: 1px solid #fff2b7;
    border-radius: 13px;
    background: linear-gradient(135deg, #fff9d7, #e6bc61 50%, #fff5c4);
    box-shadow: 0 10px 26px rgba(0, 20, 42, .32), inset 0 0 0 3px rgba(255, 255, 255, .42);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.download-primary-cta::after {
    position: absolute;
    top: -80%;
    left: -30%;
    width: 22%;
    height: 260%;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .82), transparent);
    transform: rotate(18deg);
    transition: left .55s ease;
}

.download-primary-cta:hover,
.download-primary-cta:focus-visible {
    color: #3e2a0f;
    filter: brightness(1.06);
    box-shadow: 0 14px 34px rgba(0, 20, 42, .4), 0 0 28px rgba(112, 209, 255, .38), inset 0 0 0 3px rgba(255, 255, 255, .55);
    transform: translateY(-2px);
}

.download-primary-cta:hover::after,
.download-primary-cta:focus-visible::after {
    left: 115%;
}

.download-primary-cta__icon {
    font-size: 1.8rem;
}

.download-primary-cta > span:last-child {
    display: grid;
    text-align: left;
}

.download-primary-cta strong {
    font-family: var(--display-font);
    font-size: 1.22rem;
    letter-spacing: .08em;
}

.download-primary-cta small {
    font-family: Georgia, serif;
    font-size: .68rem;
    letter-spacing: .13em;
}

.download-section-title h2,
.download-section-title h3,
.download-support h2 {
    margin: 4px 0 8px;
    color: #5a411f;
    font-family: var(--display-font);
    letter-spacing: .08em;
}

.download-section-title h2,
.download-support h2 {
    font-size: clamp(1.7rem, 3.8vw, 2.7rem);
}

.download-section-title h3 {
    font-size: 1.55rem;
}

.download-steps {
    display: grid;
    margin: 19px 0 0;
    padding: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 26px;
    list-style: none;
}

.download-steps li {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 118px;
    padding: 14px 10px;
    align-content: center;
    justify-items: center;
    gap: 7px;
    color: #604720;
    border: 1px solid rgba(169, 125, 55, .34);
    border-radius: 12px;
    background: rgba(255, 255, 255, .54);
    text-align: center;
}

.download-steps li:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -22px;
    content: "→";
    color: #a77a34;
    font-size: 1.25rem;
    transform: translateY(-50%);
}

.download-steps span {
    color: #2377aa;
    font-family: Georgia, serif;
    font-size: .73rem;
    letter-spacing: .13em;
}

.download-steps strong {
    overflow-wrap: anywhere;
    font-size: .92rem;
    line-height: 1.55;
}

.download-storage-note {
    display: flex;
    margin-top: 25px;
    padding: 15px 17px;
    align-items: center;
    gap: 13px;
    color: #67441d;
    border: 1px solid rgba(188, 132, 44, .4);
    border-radius: 12px;
    background: rgba(255, 235, 178, .46);
}

.download-storage-note > span {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    place-items: center;
    color: #fffaf0;
    border-radius: 50%;
    background: #a7732a;
    font-family: Georgia, serif;
    font-weight: 800;
}

.download-storage-note p {
    margin: 0;
    line-height: 1.7;
}

.download-mirrors {
    padding: clamp(25px, 4vw, 44px);
    border: 1px solid rgba(221, 191, 126, .5);
    border-radius: 20px;
    background: rgba(6, 43, 80, .86);
    box-shadow: 0 22px 46px rgba(3, 26, 54, .28);
}

.download-section-title--centered {
    color: rgba(255, 255, 255, .84);
    text-align: center;
}

.download-section-title--centered h2 {
    color: #fff7de;
}

.download-section-title--centered p {
    margin: 0;
}

.download-mirror-grid {
    display: grid;
    margin-top: 26px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.download-mirror-card {
    display: grid;
    min-width: 0;
    min-height: 88px;
    padding: 15px 18px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    color: #59411f;
    border: 1px solid #d1ae67;
    border-radius: 13px;
    background: linear-gradient(150deg, #fffdf5, #eadcb8);
    box-shadow: 0 9px 22px rgba(0, 18, 38, .24);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.download-mirror-card:hover,
.download-mirror-card:focus-visible {
    color: #274f70;
    box-shadow: 0 13px 28px rgba(0, 18, 38, .32), 0 0 0 3px rgba(93, 191, 239, .24);
    transform: translateY(-2px);
}

.download-mirror-card__cloud {
    color: #2980b6;
    font-size: 1.7rem;
}

.download-mirror-card > span:nth-child(2) {
    display: grid;
    min-width: 0;
}

.download-mirror-card strong {
    overflow-wrap: anywhere;
    font-size: 1rem;
}

.download-mirror-card small {
    color: #8a7558;
    font-size: .72rem;
}

.download-mirror-card > b {
    color: #98713a;
    font-size: 1.2rem;
}

.download-google-notice {
    display: grid;
    margin-top: 20px;
    padding: 19px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    color: rgba(255, 255, 255, .88);
    border: 1px solid rgba(121, 194, 232, .38);
    border-radius: 13px;
    background: rgba(0, 20, 45, .38);
}

.download-google-notice > div:first-child {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #062c53;
    border-radius: 50%;
    background: #bfe9ff;
    font-family: Georgia, serif;
    font-weight: 800;
}

.download-google-notice h3 {
    margin: 1px 0 8px;
    color: #fff4cf;
    font-family: var(--display-font);
    letter-spacing: .06em;
}

.download-google-notice p {
    margin: 5px 0;
    line-height: 1.7;
}

.download-support {
    display: grid;
    padding: clamp(25px, 4vw, 42px);
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(18px, 3vw, 32px);
    color: #5d4525;
    border: 1px solid rgba(188, 143, 68, .7);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 252, 239, .97), rgba(238, 218, 174, .96));
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .52), 0 20px 42px rgba(4, 28, 56, .26);
}

.download-support__crest {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    color: #fff3c6;
    border: 1px solid #d6b66f;
    border-radius: 50%;
    background: linear-gradient(145deg, #0b5d93, #073966);
    box-shadow: 0 8px 20px rgba(4, 47, 83, .25);
}

.download-support h2 {
    margin-top: 3px;
}

.download-support p {
    margin: 5px 0;
    line-height: 1.7;
}

.download-support > a {
    min-width: 180px;
    padding: 14px 21px;
    color: #fff9e7;
    border: 1px solid #d9b66b;
    border-radius: 10px;
    background: linear-gradient(135deg, #0c659e, #073e72);
    box-shadow: 0 9px 20px rgba(4, 43, 77, .24), inset 0 0 0 2px rgba(255, 255, 255, .09);
    font-weight: 800;
    letter-spacing: .08em;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, filter .2s ease;
}

.download-support > a:hover,
.download-support > a:focus-visible {
    color: #fff;
    filter: brightness(1.12);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .download-client-card__header,
    .download-primary-panel {
        grid-template-columns: 1fr;
    }

    .download-client-meta {
        width: 100%;
    }

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

    .download-steps li:not(:last-child)::after {
        display: none;
    }

    .download-steps li:last-child {
        grid-column: 1 / -1;
    }

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

    .download-support > a {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .download-page {
        gap: 24px;
    }

    .download-hero {
        padding-right: 16px;
        padding-left: 16px;
        border-radius: 17px;
    }

    .download-hero__description br {
        display: none;
    }

    .download-client-card,
    .download-mirrors,
    .download-support {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .download-client-meta,
    .download-mirror-grid,
    .download-steps {
        grid-template-columns: 1fr;
    }

    .download-steps li:last-child {
        grid-column: auto;
    }

    .download-primary-panel {
        padding: 18px 14px;
        gap: 18px;
    }

    .download-primary-cta {
        width: 100%;
        min-height: 78px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .download-storage-note {
        align-items: flex-start;
    }

    .download-google-notice {
        padding: 15px 13px;
    }

    .download-support {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-support__crest {
        margin: 0 auto;
    }

    .download-support > a {
        grid-column: auto;
        width: 100%;
    }
}

@media (max-width: 390px) {
    .download-hero h1 {
        font-size: 1.85rem;
    }

    .download-eyebrow,
    .download-section-title > span,
    .download-primary-panel__copy > span,
    .download-support > div > span {
        font-size: .65rem;
        letter-spacing: .18em;
    }

    .download-client-card h2 {
        font-size: 1.65rem;
    }

    .download-recommended {
        width: 100%;
        justify-content: center;
    }

    .download-mirror-card {
        padding-right: 12px;
        padding-left: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .download-primary-cta,
    .download-mirror-card,
    .download-support > a {
        transition: none;
    }

    .download-primary-cta::after {
        display: none;
    }
}
