.download-page {
    overflow: hidden;
    background: #f5f7fb;
    color: #111827;
}

.download-page .container {
    position: relative;
}

.download-hero {
    padding: 136px 0 76px;
    border-bottom: 1px solid #e6edf5;
    background:
        linear-gradient(180deg, #f6fbff 0%, #ffffff 70%),
        #ffffff;
}

.download-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 72px;
    align-items: center;
}

.download-eyebrow,
.download-section-heading > span {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border: 1px solid rgba(0, 127, 255, 0.18);
    border-radius: 6px;
    background: #f2f8ff;
    color: #007fff;
    font-size: 13px;
    font-weight: 500;
}

.download-hero-copy h1 {
    margin-top: 20px;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: 0;
}

.download-hero-copy p {
    max-width: 720px;
    margin-top: 22px;
    color: #4b5563;
    font-size: 19px;
    line-height: 1.85;
}

.download-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.download-btn,
.download-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.download-btn {
    padding: 0 20px;
    border: 1px solid transparent;
}

.download-btn i,
.download-text-link i {
    flex: 0 0 18px;
    width: 18px;
    text-align: center;
}

.download-btn span,
.download-text-link span {
    min-width: 0;
}

.download-btn.primary {
    background: #007fff;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(0, 127, 255, 0.18);
}

.download-btn.secondary,
.download-btn.ghost {
    border-color: #d8e1ec;
    background: #ffffff;
    color: #111827;
}

.download-btn.primary:hover {
    background: #006fdf;
    color: #ffffff;
}

.download-btn.secondary:hover,
.download-btn.ghost:hover {
    border-color: rgba(0, 127, 255, 0.38);
    color: #007fff;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
}

.download-release-panel,
.download-main-card,
.download-list-card,
.download-os-card,
.download-support-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
}

.download-release-panel {
    padding: 24px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.download-release-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid #edf2f7;
}

.download-release-top span {
    display: block;
    color: #64748b;
    font-size: 13px;
}

.download-release-top strong {
    display: block;
    margin-top: 7px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
}

.download-release-top i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: #eef6ff;
    color: #007fff;
    font-size: 22px;
}

.download-release-meta {
    display: grid;
    gap: 15px;
    margin-top: 22px;
}

.download-release-meta div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: #475569;
    font-size: 14px;
}

.download-release-meta dt {
    color: #64748b;
}

.download-release-meta dd {
    color: #111827;
    font-weight: 500;
    text-align: right;
}

.download-release-link,
.download-text-link {
    width: fit-content;
    color: #007fff;
}

.download-release-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: #007fff;
    font-size: 15px;
    font-weight: 500;
}

.download-anchor-bar {
    position: sticky;
    top: 60px;
    z-index: 20;
    border-bottom: 1px solid #e5edf5;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
}

.download-anchor-inner {
    display: flex;
    gap: 4px;
    min-height: 58px;
    align-items: center;
}

.download-anchor-inner a {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 18px;
    border-radius: 6px;
    color: #475569;
    font-size: 14px;
    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.download-anchor-inner a:hover,
.download-anchor-inner a.active {
    background: #111827;
    color: #ffffff;
}

.download-section {
    padding: 72px 0 82px;
    background: #ffffff;
}

.download-section.muted {
    background: #f5f7fb;
}

.download-section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.download-section-heading:not(.align-left) {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.download-section-heading h2 {
    margin-top: 14px;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: 0;
}

.download-section-heading p {
    margin-top: 12px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}

.download-main-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 24px 26px;
    align-items: start;
    padding: 30px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}

.download-app-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    font-size: 27px;
}

.download-app-mark.ecp {
    background: #eef6ff;
    color: #007fff;
}

.download-app-mark.tax {
    background: #fff7ed;
    color: #ea7a1f;
}

.download-app-mark.lead {
    background: #ecfdf5;
    color: #10a36f;
}

.download-title-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.download-title-row h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
}

.download-title-row span {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border-radius: 4px;
    background: #eef6ff;
    color: #007fff;
    font-size: 12px;
    font-weight: 500;
}

.download-main-info > p,
.download-list-info > p {
    margin-top: 10px;
    color: #526071;
    font-size: 15px;
    line-height: 1.75;
}

.download-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
}

.download-spec-grid strong {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
}

.download-spec-grid span {
    display: block;
    margin-top: 6px;
    color: #111827;
    font-size: 14px;
    font-weight: 500;
}

.download-action-panel,
.download-list-actions {
    display: grid;
    grid-column: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 10px;
    align-items: center;
}

.download-action-panel .download-btn,
.download-list-actions .download-btn {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 14px;
}

.download-action-panel .download-text-link,
.download-list-actions .download-text-link {
    min-height: 42px;
    padding: 0 4px 0 10px;
    justify-self: start;
}

.download-list {
    display: grid;
    gap: 16px;
}

.download-list-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px 24px;
    align-items: start;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.download-list-card:hover,
.download-os-card:not(.disabled):hover,
.download-support-card:hover {
    border-color: rgba(0, 127, 255, 0.28);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.download-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.download-meta-line span {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #526071;
    font-size: 13px;
}

.download-mobile-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
    gap: 58px;
    align-items: center;
}

.download-mobile-card-group {
    display: grid;
    gap: 14px;
}

.download-os-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 40px;
    gap: 18px;
    align-items: center;
    min-height: 104px;
    padding: 22px;
    color: #111827;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.download-os-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #111827;
    font-size: 0;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.download-os-icon::before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    line-height: 1;
    text-align: center;
    transform: translate(-50%, -50%);
    transform-origin: center center;
}

.download-os-icon.android {
    background: #e9fbf3;
    color: #18a86f;
}

.download-os-icon.android::before {
    font-size: 31px;
}

.download-os-icon.ios {
    background: #f3f6fb;
    color: #111827;
}

.download-os-icon.ios::before {
    font-size: 29px;
}

.download-os-icon.harmony {
    background: #f1f5f9;
    color: #94a3b8;
}

.download-os-icon.harmony::before {
    font-size: 25px;
}

.download-os-card strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
}

.download-os-card span {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 14px;
}

.download-os-card > i:not(.download-os-icon) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eef6ff;
    color: #007fff;
    font-size: 14px;
}

.download-os-card.disabled {
    border-color: #e5eaf1;
    background: #f8fafc;
    color: #94a3b8;
    cursor: not-allowed;
}

.download-os-card.disabled strong,
.download-os-card.disabled span {
    color: #94a3b8;
}

.download-os-card.disabled > i:not(.download-os-icon) {
    background: #edf2f7;
    color: #b8c2cf;
}

.download-support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.download-support-card {
    min-height: 168px;
    padding: 24px;
    color: #111827;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.download-support-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #eef6ff;
    color: #007fff;
    font-size: 18px;
}

.download-support-card strong {
    display: block;
    margin-top: 18px;
    font-size: 19px;
    font-weight: 600;
}

.download-support-card span {
    display: block;
    margin-top: 9px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 1200px) {
    .download-hero-layout {
        grid-template-columns: minmax(0, 1fr) 350px;
        gap: 44px;
    }

    .download-hero-copy h1 {
        font-size: 48px;
    }

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

@media (max-width: 1024px) {
    .download-hero-layout,
    .download-mobile-layout {
        grid-template-columns: 1fr;
    }

    .download-release-panel {
        max-width: 560px;
    }

    .download-action-panel,
    .download-list-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .download-action-panel .download-text-link,
    .download-list-actions .download-text-link {
        grid-column: 1 / -1;
    }

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

@media (max-width: 900px) {
    .download-hero {
        padding: 112px 0 58px;
    }

    .download-anchor-bar {
        top: 60px;
    }

    .download-hero-copy h1 {
        font-size: 40px;
    }

    .download-hero-copy p {
        font-size: 17px;
    }

    .download-section {
        padding: 58px 0 64px;
    }

    .download-section-heading h2 {
        font-size: 31px;
    }
}

@media (max-width: 640px) {
    .download-hero {
        padding: 94px 0 46px;
    }

    .download-hero-layout {
        gap: 32px;
    }

    .download-eyebrow,
    .download-section-heading > span {
        height: 26px;
        font-size: 12px;
    }

    .download-hero-copy h1 {
        font-size: 34px;
    }

    .download-hero-copy p,
    .download-section-heading p {
        font-size: 15px;
        line-height: 1.75;
    }

    .download-hero-actions,
    .download-action-panel,
    .download-list-actions {
        grid-template-columns: 1fr;
        display: grid;
        width: 100%;
    }

    .download-btn,
    .download-text-link {
        width: 100%;
    }

    .download-release-panel {
        padding: 20px;
    }

    .download-anchor-inner {
        overflow-x: auto;
        gap: 8px;
        margin-right: -4vw;
        padding-right: 4vw;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .download-anchor-inner::-webkit-scrollbar {
        display: none;
    }

    .download-anchor-inner a {
        flex: 0 0 auto;
        padding: 0 14px;
    }

    .download-section-heading:not(.align-left) {
        text-align: left;
    }

    .download-section-heading h2 {
        font-size: 28px;
    }

    .download-main-card,
    .download-list-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px;
    }

    .download-action-panel,
    .download-list-actions {
        grid-column: auto;
        max-width: none;
        grid-template-columns: 1fr;
    }

    .download-spec-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .download-app-mark {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .download-title-row h3 {
        font-size: 22px;
    }

    .download-os-card {
        grid-template-columns: 52px minmax(0, 1fr) 36px;
        padding: 18px;
    }

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

@media (max-width: 420px) {
    .download-hero-copy h1 {
        font-size: 31px;
    }

    .download-release-top {
        gap: 14px;
    }

    .download-release-top strong {
        font-size: 20px;
    }

    .download-release-top i {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .download-main-card,
    .download-list-card,
    .download-support-card {
        padding: 18px;
    }

    .download-os-card {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .download-os-icon {
        width: 46px;
        height: 46px;
    }

    .download-os-icon.android::before {
        font-size: 30px;
    }

    .download-os-icon.ios::before {
        font-size: 26px;
    }

    .download-os-icon.harmony::before {
        font-size: 23px;
    }

    .download-os-card > i:not(.download-os-icon) {
        display: none;
    }
}
