/* Download page: solid colors are the baseline for older Edge/WebView2. */
.download-page,
.download-page * {
    box-sizing: border-box;
}

.download-page {
    --download-bg: var(--xl-theme-bg, #0b0d12);
    --download-panel: var(--xl-theme-panel, #121720);
    --download-panel-2: var(--xl-theme-popup, #171d27);
    --download-fg: var(--xl-theme-fg, #f2eadb);
    --download-muted: var(--xl-theme-muted, #c6cbd3);
    --download-faint: #8993a2;
    --download-border: var(--xl-theme-border, #303846);
    --download-accent: var(--xl-theme-accent, #d4a843);
    --download-teal: #4fc6be;
    --download-blue: #76a9ff;
    width: 100%;
    min-height: calc(100vh - 96px);
    padding: 34px 0 72px;
    overflow: hidden;
    background: var(--download-bg);
    color: var(--download-fg);
}

.download-shell {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}

.download-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .86fr);
    gap: 52px;
    align-items: center;
    padding: 62px 62px 56px;
    overflow: hidden;
    border: 1px solid var(--download-border);
    border-radius: 18px;
    background-color: var(--download-panel);
    background-image: linear-gradient(125deg, rgba(255,255,255,.035), rgba(255,255,255,0) 55%), linear-gradient(320deg, rgba(79,198,190,.08), rgba(79,198,190,0) 50%);
}

.download-hero::after {
    position: absolute;
    right: -130px;
    bottom: -170px;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(79,198,190,.16);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.download-hero-copy,
.download-app-preview {
    position: relative;
    z-index: 1;
}

.download-kicker,
.download-hero-meta,
.download-hero-actions,
.download-checksum-heading,
.download-section-heading,
.download-preview-heading,
.download-preview-bottom {
    display: flex;
    align-items: center;
}

.download-kicker {
    gap: 10px;
    color: var(--download-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.download-kicker-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--download-accent);
    border-radius: 8px;
    background: #2b2414;
}

.download-kicker-icon svg,
.download-primary-action svg,
.download-secondary-action svg {
    width: 17px;
    height: 17px;
}

.download-kicker-status {
    padding: 5px 9px;
    border: 1px solid #317c6e;
    border-radius: 999px;
    background: #15352f;
    color: #7ee1cc;
    font-size: 11px;
    letter-spacing: 0;
}

.download-hero h1 {
    max-width: 580px;
    margin: 22px 0 14px;
    color: var(--download-fg);
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: 0;
}

.download-hero-lede {
    max-width: 570px;
    margin: 0;
    color: var(--download-muted);
    font-size: 17px;
    line-height: 1.85;
}

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

.download-primary-action,
.download-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.download-primary-action {
    gap: 10px;
    padding: 0 21px;
    border: 1px solid var(--download-accent);
    background: var(--download-accent);
    color: #17130a;
    box-shadow: 0 10px 24px rgba(212,168,67,.16);
}

.download-secondary-action {
    gap: 8px;
    padding: 0 15px;
    border: 1px solid #485465;
    background: #1a202a;
    color: var(--download-fg);
}

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

.download-primary-action:hover { background: #edc764; }
.download-secondary-action:hover { border-color: var(--download-teal); background: #202c35; }

.download-primary-action--android { border-color: #317c74; background: #15352f; color: #83d6cb; box-shadow: 0 10px 24px rgba(49,124,116,.16); }
.download-primary-action--android:hover { border-color: #73d4c8; background: #1d4a43; }
.download-access-action { border-color: #58616d; background: #2b323c; color: #e4e9ef; box-shadow: none; cursor: pointer; }
.download-access-action:hover { border-color: #7ee1cc; background: #39434f; }
.download-access-action.download-primary-action--android { border-color: #317c74; background: #15352f; color: #83d6cb; }
.download-access-action.download-primary-action--android:hover { border-color: #73d4c8; background: #1d4a43; }

.download-primary-action.is-disabled {
    border-color: #58616d;
    background: #2b323c;
    color: #aeb6c1;
    box-shadow: none;
    cursor: not-allowed;
}

.download-primary-action.is-disabled:hover {
    transform: none;
    background: #2b323c;
}

.download-access-note {
    margin: 12px 0 0;
    color: var(--download-faint);
    font-size: 12px;
    line-height: 1.6;
}

.download-hero-meta {
    gap: 12px;
    margin-top: 18px;
    color: var(--download-faint);
    font-size: 12px;
}

.download-hero-meta i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--download-faint);
}

.download-app-preview {
    overflow: hidden;
    border: 1px solid #3c4859;
    border-radius: 12px;
    background: #0d1219;
    box-shadow: 0 22px 52px rgba(0,0,0,.28);
}

.download-preview-topbar {
    display: flex;
    align-items: center;
    min-height: 38px;
    gap: 12px;
    padding: 0 15px;
    border-bottom: 1px solid #293342;
    background: #151c26;
    color: #bdc8d8;
    font-size: 11px;
}

.download-preview-dots { display: flex; gap: 5px; }
.download-preview-dots i { width: 7px; height: 7px; border-radius: 50%; background: #596576; }
.download-preview-dots i:first-child { background: #d4a843; }
.download-preview-version { margin-left: auto; color: #76859a; font-size: 9px; letter-spacing: 1px; }

.download-preview-main {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 292px;
}

.download-preview-sidebar {
    padding: 15px 10px;
    border-right: 1px solid #293342;
    background: #10161f;
}

.download-preview-side-mark {
    margin: 0 0 23px;
    color: #e6c96c;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
}

.download-preview-side-item {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 9px 0;
    padding: 8px 5px;
    border-radius: 6px;
    color: #728096;
    font-size: 10px;
}

.download-preview-side-item b { width: 7px; height: 7px; border: 1px solid #566377; border-radius: 2px; }
.download-preview-side-item.is-active { background: #282315; color: #f0d57c; }
.download-preview-side-item.is-active b { border-color: #d4a843; background: #d4a843; }

.download-preview-content { min-width: 0; padding: 18px 18px 15px; }
.download-preview-heading { justify-content: space-between; gap: 10px; }
.download-preview-heading small,
.download-preview-heading strong { display: block; }
.download-preview-heading small { color: #76859a; font-size: 9px; }
.download-preview-heading strong { margin-top: 4px; color: #f1f3f7; font-size: 14px; }

.download-preview-connected {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 7px;
    border: 1px solid #265b4f;
    border-radius: 5px;
    background: #142c27;
    color: #71d0bb;
    font-size: 9px;
    white-space: nowrap;
}

.download-preview-connected i { width: 5px; height: 5px; border-radius: 50%; background: #65d6a4; }

.download-preview-workspace {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 10px;
    margin-top: 18px;
}

.download-preview-upload,
.download-preview-result {
    min-height: 160px;
    padding: 13px;
    border: 1px solid #344153;
    border-radius: 7px;
    background: #141b25;
}

.download-preview-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-style: dashed;
    text-align: center;
}

.download-preview-upload-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    margin-bottom: 10px;
    border: 1px solid #caa649;
    border-radius: 50%;
    color: #e9c860;
    font-size: 22px;
    font-weight: 300;
}

.download-preview-upload strong { color: #d9e0e9; font-size: 11px; }
.download-preview-upload small { margin-top: 7px; color: #748196; font-size: 9px; }
.download-preview-result > span { display: block; color: #8692a3; font-size: 9px; }

.download-preview-art {
    position: relative;
    height: 119px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 5px;
    background-color: #202b37;
    background-image: linear-gradient(140deg, #1e3b43 0, #202c3c 46%, #4c3c21 100%);
}

.download-preview-art i,
.download-preview-art b,
.download-preview-art em { position: absolute; display: block; border-radius: 50%; }
.download-preview-art i { right: 12%; top: 17%; width: 27%; height: 35%; background: #d9b44e; opacity: .9; }
.download-preview-art b { left: 18%; bottom: -15%; width: 62%; height: 77%; border-radius: 42% 42% 0 0; background: #a9c8c3; opacity: .78; }
.download-preview-art em { left: 35%; top: 19%; width: 26%; height: 32%; border: 7px solid #e6ddc2; background: #364754; opacity: .9; }

.download-preview-bottom { gap: 7px; margin-top: 12px; color: #76859a; font-size: 9px; }
.download-preview-bottom i { width: 23px; height: 4px; border-radius: 2px; background: #364354; }
.download-preview-bottom b { margin-left: auto; padding: 6px 9px; border-radius: 4px; background: #d4a843; color: #1b160b; font-size: 9px; }

.download-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 2px;
    border-bottom: 1px solid var(--download-border);
}

.download-highlight {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 25px 24px;
    border-right: 1px solid var(--download-border);
}

.download-highlight:last-child { border-right: 0; }

.download-highlight-icon {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #806525;
    border-radius: 10px;
    background: #2b2414;
    color: var(--download-accent);
}

.download-highlight-icon--teal { border-color: #286c64; background: #142d2c; color: var(--download-teal); }
.download-highlight-icon--blue { border-color: #3d6097; background: #18243a; color: var(--download-blue); }
.download-highlight-icon svg { width: 20px; height: 20px; }
.download-highlight strong,
.download-highlight span { display: block; }
.download-highlight strong { color: var(--download-fg); font-size: 15px; }
.download-highlight div span { margin-top: 5px; overflow: hidden; color: var(--download-faint); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

.download-release-band,
.download-install-band { padding: 52px 4px 48px; border-bottom: 1px solid var(--download-border); }
.download-section-heading { justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.download-section-eyebrow { display: block; color: var(--download-accent); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; }

.download-section-heading h2,
.download-install-main h2 { margin: 8px 0 0; color: var(--download-fg); font-size: 28px; line-height: 1.25; }

.download-release-id { padding: 8px 11px; border: 1px solid #455265; border-radius: 6px; background: #171d27; color: var(--download-muted); font-family: Consolas, "Courier New", monospace; font-size: 12px; }

.download-release-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 28px; }
.download-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--download-border); border-left: 1px solid var(--download-border); }

.download-fact { min-width: 0; min-height: 91px; padding: 17px 19px; border-right: 1px solid var(--download-border); border-bottom: 1px solid var(--download-border); background: #11161e; }
.download-fact span,
.download-fact strong { display: block; }
.download-fact span { color: var(--download-faint); font-size: 12px; }
.download-fact strong { margin-top: 9px; overflow: hidden; color: var(--download-fg); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }

.download-checksum-box { min-width: 0; padding: 18px 20px; border: 1px solid var(--download-border); background: var(--download-panel-2); }
.download-checksum-heading { justify-content: space-between; gap: 12px; color: var(--download-muted); font-size: 13px; }

.download-checksum-heading button { min-width: 54px; padding: 5px 9px; border: 1px solid #59677b; border-radius: 5px; background: #202a38; color: var(--download-fg); cursor: pointer; font: inherit; font-size: 12px; }
.download-checksum-heading button:hover { border-color: var(--download-teal); background: #233c42; }
.download-checksum-box code { display: block; margin-top: 17px; overflow-wrap: anywhere; color: #dfc56d; font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 1.75; word-break: break-all; }
.download-copy-status { display: block; min-height: 18px; margin-top: 5px; color: var(--download-teal); font-size: 11px; }
.download-manifest-link { display: inline-flex; gap: 5px; align-items: center; margin-top: 14px; color: var(--download-muted); font-size: 12px; text-decoration: none; }
.download-manifest-link:hover { color: var(--download-teal); }
.download-manifest-link.is-disabled { color: var(--download-faint); cursor: not-allowed; text-decoration: none; }

.download-install-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 54px; }
.download-install-lede { max-width: 670px; margin: 14px 0 28px; color: var(--download-muted); font-size: 14px; line-height: 1.8; }
.download-step-list { margin: 0; padding: 0; list-style: none; }
.download-step-list li { display: flex; gap: 15px; padding: 15px 0; border-top: 1px solid var(--download-border); }
.download-step-list li > span { flex: 0 0 31px; color: var(--download-accent); font-family: Consolas, "Courier New", monospace; font-size: 12px; font-weight: 700; }
.download-step-list strong { display: block; color: var(--download-fg); font-size: 14px; }
.download-step-list p { margin: 5px 0 0; color: var(--download-faint); font-size: 12px; line-height: 1.7; }

.download-requirements { align-self: start; padding: 24px 25px; border-left: 2px solid var(--download-accent); background: #11161e; }
.download-requirements-mark { display: inline-flex; color: var(--download-accent); }
.download-requirements-mark svg { width: 24px; height: 24px; }
.download-requirements h3 { margin: 13px 0; color: var(--download-fg); font-size: 17px; }
.download-requirements ul { margin: 0; padding: 0; list-style: none; }
.download-requirements li { position: relative; padding: 7px 0 7px 17px; color: var(--download-muted); font-size: 13px; line-height: 1.55; }
.download-requirements li::before { position: absolute; left: 0; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: var(--download-teal); content: ""; }

.download-footer-note { margin: 25px 4px 0; color: var(--download-faint); font-size: 11px; line-height: 1.7; text-align: center; }
.download-footer-note span { color: var(--download-muted); }

.download-primary-action:focus-visible,
.download-secondary-action:focus-visible,
.download-checksum-heading button:focus-visible,
.download-manifest-link:focus-visible { outline: 2px solid var(--download-teal); outline-offset: 3px; }

body.download-page-active .footer { border-top-color: var(--download-border); background: var(--download-bg); color: var(--download-muted); }

html[data-theme="light"] .download-page {
    --download-bg: #f7f5ef;
    --download-panel: #fffdf8;
    --download-panel-2: #f1eee5;
    --download-fg: #26231e;
    --download-muted: #625c52;
    --download-faint: #81786a;
    --download-border: #ded8ca;
    --download-accent: #aa7920;
    background: var(--download-bg);
}

html[data-theme="light"] .download-hero { background-color: var(--download-panel); background-image: linear-gradient(125deg, rgba(255,255,255,.9), rgba(255,255,255,0) 58%), linear-gradient(320deg, rgba(79,198,190,.08), rgba(79,198,190,0) 50%); }
html[data-theme="light"] .download-kicker-icon,
html[data-theme="light"] .download-highlight-icon { background: #f4ead2; }
html[data-theme="light"] .download-secondary-action { border-color: #c9c0af; background: #fffdf8; color: #26231e; }
html[data-theme="light"] .download-release-id,
html[data-theme="light"] .download-fact,
html[data-theme="light"] .download-requirements { background: #fffdf8; }
html[data-theme="light"] .download-fact strong,
html[data-theme="light"] .download-section-heading h2,
html[data-theme="light"] .download-install-main h2,
html[data-theme="light"] .download-highlight strong,
html[data-theme="light"] .download-requirements h3 { color: #26231e; }
html[data-theme="light"] .download-app-preview { border-color: #c8bfae; }

@media screen and (max-width: 1100px) {
    .download-hero { grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); gap: 30px; padding: 48px 42px; }
    .download-hero h1 { font-size: 42px; }
    .download-highlight { padding-left: 15px; padding-right: 15px; }
}

@media screen and (max-width: 900px) {
    .download-hero { grid-template-columns: 1fr; }
    .download-app-preview { max-width: 680px; }
    .download-release-grid,
    .download-install-band { grid-template-columns: 1fr; }
    .download-requirements { max-width: 520px; }
}

@media screen and (max-width: 767px) {
    .download-page { min-height: 0; padding: 20px 0 42px; }
    .download-shell { width: calc(100% - 28px); }
    .download-hero { gap: 29px; padding: 30px 20px 24px; border-radius: 12px; }
    .download-kicker { flex-wrap: wrap; font-size: 10px; letter-spacing: 1px; }
    .download-hero h1 { margin-top: 16px; font-size: 34px; }
    .download-hero-lede { font-size: 14px; line-height: 1.7; }
    .download-hero-actions { align-items: stretch; flex-direction: column; }
    .download-primary-action,
    .download-secondary-action { width: 100%; }
    .download-hero-meta { align-items: flex-start; flex-direction: column; gap: 7px; }
    .download-hero-meta i { display: none; }
    .download-preview-main { grid-template-columns: 64px minmax(0, 1fr); min-height: 246px; }
    .download-preview-sidebar { padding-left: 5px; padding-right: 5px; }
    .download-preview-side-item { justify-content: center; padding: 7px 2px; }
    .download-preview-side-item span { display: none; }
    .download-preview-content { padding: 13px 10px 10px; }
    .download-preview-connected { max-width: 92px; overflow: hidden; text-overflow: ellipsis; }
    .download-preview-workspace { gap: 6px; margin-top: 12px; }
    .download-preview-upload,
    .download-preview-result { min-height: 135px; padding: 8px; }
    .download-preview-upload-icon { width: 25px; height: 25px; font-size: 18px; }
    .download-preview-upload strong { font-size: 9px; }
    .download-preview-art { height: 98px; }
    .download-preview-bottom { display: none; }
    .download-highlights { grid-template-columns: 1fr; margin: 0; }
    .download-highlight { padding: 16px 3px; border-right: 0; border-bottom: 1px solid var(--download-border); }
    .download-highlight:last-child { border-bottom: 0; }
    .download-release-band,
    .download-install-band { padding: 38px 3px 33px; }
    .download-section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 19px; }
    .download-section-heading h2,
    .download-install-main h2 { font-size: 24px; }
    .download-release-id { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .download-release-grid { gap: 15px; }
    .download-fact { min-height: 81px; padding: 13px 12px; }
    .download-fact strong { font-size: 13px; }
    .download-checksum-box { padding: 15px 13px; }
    .download-install-band { gap: 27px; }
    .download-requirements { padding: 19px 17px; }
    .download-footer-note { margin-left: 0; margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .download-primary-action,
    .download-secondary-action { transition: none; }
}

/* Dual-client release layout. Keep solid fallbacks first for older Edge/WebView2. */
.download-page {
    --download-accent: #e9783f;
    --download-teal: #4fc6be;
}

.download-hero {
    background-color: var(--download-panel);
    background-image: none;
}

.download-hero h1 { font-size: 52px; }
.download-highlight { align-items: flex-start; min-height: 112px; }
.download-highlight div { min-width: 0; }
.download-highlight div span { white-space: normal; line-height: 1.45; }
.download-highlight div em { display: block; margin-top: 8px; color: var(--download-accent); font-size: 10px; font-style: normal; }

.download-preview-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 13px;
    align-items: end;
    min-height: 346px;
    padding: 19px 17px 16px;
    background: #0d1219;
}

.download-preview-desktop {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #3c4859;
    border-radius: 8px;
    background: #10161f;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .25);
}

.download-preview-desktop-bar {
    display: flex;
    align-items: center;
    min-height: 29px;
    gap: 9px;
    padding: 0 10px;
    border-bottom: 1px solid #293342;
    background: #151c26;
    color: #9eacbc;
    font-size: 8px;
}

.download-preview-desktop-bar b { color: #f0c56d; font-weight: 600; }
.download-preview-desktop-bar i { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: #65d6a4; }

.download-preview-desktop-body {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 270px;
}

.download-preview-desktop-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 13px 6px;
    border-right: 1px solid #293342;
    background: #10161f;
    color: #6f7e91;
    font-size: 8px;
}

.download-preview-desktop-nav strong { margin: 0 0 12px; color: #f0c56d; font-size: 13px; text-align: center; }
.download-preview-desktop-nav span { padding: 7px 4px; border-radius: 4px; text-align: center; }
.download-preview-desktop-nav .is-active { background: #282315; color: #f0d57c; }

.download-preview-desktop-main { min-width: 0; padding: 15px 13px 12px; }
.download-preview-heading { justify-content: space-between; gap: 7px; }
.download-preview-heading strong { font-size: 11px; }
.download-preview-connected { padding: 4px 5px; font-size: 7px; }
.download-preview-workspace { gap: 7px; margin-top: 14px; }
.download-preview-upload,
.download-preview-result { min-height: 142px; padding: 9px; }
.download-preview-upload-icon { width: 26px; height: 26px; margin-bottom: 8px; font-size: 18px; }
.download-preview-upload strong { font-size: 8px; }
.download-preview-upload small,
.download-preview-result > span { font-size: 7px; }
.download-preview-art { height: 104px; background: #20313a; }
.download-preview-bottom { margin-top: 9px; font-size: 7px; }
.download-preview-bottom b { padding: 5px 7px; background: #e9783f; }

.download-preview-phone {
    position: relative;
    width: 132px;
    height: 275px;
    padding: 8px 6px;
    border: 2px solid #465564;
    border-radius: 20px;
    background: #080c11;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .32);
}

.download-preview-phone-speaker { width: 38px; height: 4px; margin: 0 auto 6px; border-radius: 3px; background: #35404d; }
.download-preview-phone-screen { position: relative; display: flex; height: 249px; flex-direction: column; overflow: hidden; border-radius: 13px; background: #f7f6f2; color: #24231f; }
.download-preview-phone-header { display: flex; justify-content: space-between; padding: 11px 10px 7px; color: #28251f; font-size: 9px; }
.download-preview-phone-header span { color: #81786c; letter-spacing: 1px; }
.download-preview-phone-status { display: flex; align-items: center; gap: 4px; margin: 0 8px; padding: 5px 6px; border-radius: 5px; background: #eee9df; color: #625b50; font-size: 7px; }
.download-preview-phone-status i { width: 5px; height: 5px; border-radius: 50%; background: #38a982; }
.download-preview-phone-status b { margin-left: auto; color: #328a6f; font-size: 6px; font-weight: 600; }
.download-preview-phone-card { display: flex; flex: 1; flex-direction: column; margin: 8px; padding: 10px 8px; border-radius: 8px; background: #fffefa; box-shadow: 0 3px 9px rgba(57, 48, 35, .1); }
.download-preview-phone-card small { color: #a16638; font-size: 7px; }
.download-preview-phone-card strong { margin-top: 4px; color: #332e27; font-size: 9px; line-height: 1.35; }
.download-preview-phone-drop { display: flex; flex: 1; align-items: center; justify-content: center; flex-direction: column; min-height: 92px; margin-top: 9px; border: 1px dashed #d5ad89; border-radius: 6px; background: #fff8f0; color: #a86d43; }
.download-preview-phone-drop span { font-size: 21px; line-height: 1; }
.download-preview-phone-drop em { margin-top: 4px; font-size: 7px; font-style: normal; }
.download-preview-phone-line { width: 62%; height: 4px; margin: 9px 0 7px; border-radius: 3px; background: #e8e1d7; }
.download-preview-phone-button { padding: 7px 0; border-radius: 5px; background: #e9783f; color: #fffaf5; font-size: 7px; text-align: center; }
.download-preview-phone-nav { display: flex; justify-content: space-around; padding: 6px 0 8px; border-top: 1px solid #eee8dd; color: #918678; font-size: 7px; }
.download-preview-phone-nav .is-active { color: #d45e2d; font-weight: 700; }

.download-release-band { padding-top: 58px; }
.download-section-heading { align-items: flex-end; }
.download-section-heading > div { min-width: 0; }
.download-section-lede { max-width: 680px; margin: 10px 0 0; color: var(--download-muted); font-size: 13px; line-height: 1.7; }
.download-release-id { white-space: nowrap; }

.download-client-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.download-client-card { display: flex; min-width: 0; flex-direction: column; padding: 23px; border: 1px solid var(--download-border); border-top: 2px solid var(--download-accent); background: var(--download-panel); }
.download-client-card--android { border-top-color: var(--download-teal); }
.download-client-card-head { display: flex; align-items: center; gap: 11px; min-width: 0; }
.download-client-card-head > div { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.download-client-icon { display: inline-flex; flex: 0 0 42px; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid #9c642f; border-radius: 10px; background: #342318; color: #f2a365; }
.download-client-card--android .download-client-icon { border-color: #317c74; background: #15302f; color: #73d4c8; }
.download-client-icon svg { width: 22px; height: 22px; }
.download-client-kind { color: var(--download-faint); font-size: 10px; letter-spacing: .8px; }
.download-client-card-head strong { overflow: hidden; color: var(--download-fg); font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.download-client-badge { flex: 0 0 auto; padding: 5px 8px; border: 1px solid #9c642f; border-radius: 5px; background: #342318; color: #f2a365; font-size: 10px; }
.download-client-card--android .download-client-badge { border-color: #317c74; background: #15302f; color: #73d4c8; }
.download-client-description { min-height: 48px; margin: 20px 0 0; color: var(--download-muted); font-size: 13px; line-height: 1.75; }
.download-capabilities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.download-capabilities span { padding: 5px 8px; border: 1px solid #72552c; border-radius: 4px; background: #241d14; color: #d9b66e; font-size: 10px; }
.download-capabilities--teal span { border-color: #2e625e; background: #142725; color: #83d6cb; }
.download-client-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 21px; border-top: 1px solid var(--download-border); border-left: 1px solid var(--download-border); }
.download-client-facts > div { min-width: 0; min-height: 62px; padding: 11px 12px; border-right: 1px solid var(--download-border); border-bottom: 1px solid var(--download-border); background: #11161e; }
.download-client-facts span { display: block; color: var(--download-faint); font-size: 10px; }
.download-client-facts strong { display: block; margin-top: 6px; overflow: hidden; color: var(--download-fg); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.download-client-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 20px; }
.download-client-primary,
.download-client-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; border-radius: 6px; font-size: 12px; font-weight: 700; text-decoration: none; }
.download-client-primary { gap: 7px; padding: 0 13px; border: 1px solid var(--download-accent); background: var(--download-accent); color: #25150e; }
.download-client-primary svg { width: 15px; height: 15px; }
.download-client-primary:hover { background: #f28d57; }
.download-client-secondary { padding: 0 10px; border: 1px solid #566273; background: #202a38; color: var(--download-fg); }
.download-client-secondary:hover { border-color: var(--download-teal); background: #233c42; }
.download-client-access-action { border-color: #58616d; background: #2b323c; color: #e4e9ef; cursor: pointer; }
.download-client-access-action:hover { border-color: #7ee1cc; background: #39434f; }
.download-client-card--android .download-client-access-action { border-color: #317c74; background: #15352f; color: #83d6cb; }
.download-client-card--android .download-client-access-action:hover { border-color: #73d4c8; background: #1d4a43; }
.download-client-primary.is-disabled,
.download-client-secondary.is-disabled { border-color: #58616d; background: #2b323c; color: #aeb6c1; cursor: not-allowed; }
.download-client-checksum { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--download-border); }
.download-client-checksum > div { min-width: 0; }
.download-client-checksum span { display: block; color: var(--download-faint); font-size: 10px; }
.download-client-checksum code { display: block; margin-top: 6px; overflow-wrap: anywhere; color: #dfc56d; font-family: Consolas, "Courier New", monospace; font-size: 10px; line-height: 1.55; word-break: break-all; }
.download-client-checksum button { flex: 0 0 auto; min-width: 48px; padding: 5px 7px; border: 1px solid #59677b; border-radius: 5px; background: #202a38; color: var(--download-fg); cursor: pointer; font: inherit; font-size: 11px; }
.download-client-checksum button:hover { border-color: var(--download-teal); background: #233c42; }
.download-client-card .download-copy-status { min-height: 16px; margin-top: 5px; color: var(--download-teal); font-size: 10px; }
.download-client-footnote { margin: 7px 0 0; color: var(--download-faint); font-size: 10px; line-height: 1.5; }

.download-install-band { gap: 46px; }
.download-install-lede { max-width: 710px; }

html[data-theme="light"] .download-page { --download-accent: #c85d2c; --download-teal: #2d9187; }
html[data-theme="light"] .download-client-card,
html[data-theme="light"] .download-client-facts > div { background: #fffdf8; }
html[data-theme="light"] .download-client-icon { border-color: #d49363; background: #fff0e5; color: #c85d2c; }
html[data-theme="light"] .download-client-card--android .download-client-icon { border-color: #73b6af; background: #e8f6f2; color: #2d9187; }
html[data-theme="light"] .download-client-badge { border-color: #d49363; background: #fff0e5; color: #a94d24; }
html[data-theme="light"] .download-client-card--android .download-client-badge { border-color: #73b6af; background: #e8f6f2; color: #267c74; }
html[data-theme="light"] .download-capabilities span { border-color: #e2be9c; background: #fff7ef; color: #a65c31; }
html[data-theme="light"] .download-capabilities--teal span { border-color: #9acbc5; background: #effaf7; color: #287d75; }
html[data-theme="light"] .download-client-primary { color: #fffaf5; }
html[data-theme="light"] .download-primary-action--android { border-color: #73b6af; background: #e8f6f2; color: #267c74; }
html[data-theme="light"] .download-primary-action--android:hover { border-color: #4b9c94; background: #d8efeb; }
html[data-theme="light"] .download-access-action { border-color: #a4abb3; background: #edf0f3; color: #3b424b; }
html[data-theme="light"] .download-access-action:hover { border-color: #4b9c94; background: #e1f1ee; }
html[data-theme="light"] .download-access-action.download-primary-action--android { border-color: #73b6af; background: #e8f6f2; color: #267c74; }
html[data-theme="light"] .download-access-action.download-primary-action--android:hover { border-color: #4b9c94; background: #d8efeb; }
html[data-theme="light"] .download-client-secondary { border-color: #c9c0af; background: #fffdf8; color: #26231e; }
html[data-theme="light"] .download-client-checksum code { color: #9a6919; }
html[data-theme="light"] .download-client-access-action { border-color: #a4abb3; background: #edf0f3; color: #3b424b; }
html[data-theme="light"] .download-client-access-action:hover { border-color: #4b9c94; background: #e1f1ee; }
html[data-theme="light"] .download-client-card--android .download-client-access-action { border-color: #73b6af; background: #e8f6f2; color: #267c74; }
html[data-theme="light"] .download-client-card--android .download-client-access-action:hover { border-color: #4b9c94; background: #d8efeb; }

@media screen and (max-width: 1100px) {
    .download-hero { grid-template-columns: 1fr; }
    .download-app-preview { max-width: 760px; }
    .download-hero h1 { font-size: 44px; }
}

@media screen and (max-width: 767px) {
    .download-hero h1 { font-size: 34px; }
    .download-preview-stage { grid-template-columns: minmax(0, 1fr) 104px; gap: 8px; min-height: 306px; padding: 13px 10px 11px; }
    .download-preview-phone { width: 104px; height: 242px; padding: 6px 5px; border-radius: 17px; }
    .download-preview-phone-speaker { width: 30px; height: 3px; margin-bottom: 4px; }
    .download-preview-phone-screen { height: 220px; border-radius: 11px; }
    .download-preview-phone-card { margin: 6px; padding: 7px 6px; }
    .download-preview-phone-drop { min-height: 75px; margin-top: 7px; }
    .download-preview-phone-header { padding: 8px 7px 5px; }
    .download-preview-phone-status { margin: 0 6px; }
    .download-preview-desktop-body { grid-template-columns: 43px minmax(0, 1fr); min-height: 233px; }
    .download-preview-desktop-nav { padding: 10px 4px; font-size: 7px; }
    .download-preview-desktop-nav strong { margin-bottom: 7px; font-size: 10px; }
    .download-preview-desktop-main { padding: 11px 8px 8px; }
    .download-preview-workspace { gap: 4px; margin-top: 10px; }
    .download-preview-upload,
    .download-preview-result { min-height: 120px; padding: 6px; }
    .download-preview-art { height: 88px; }
    .download-highlight { min-height: 0; }
    .download-section-heading { align-items: flex-start; }
    .download-section-lede { font-size: 12px; }
    .download-client-grid { grid-template-columns: 1fr; }
    .download-client-card { padding: 18px; }
    .download-client-description { min-height: 0; }
}

@media screen and (max-width: 500px) {
    .download-preview-stage { grid-template-columns: 1fr; min-height: 258px; }
    .download-preview-phone { display: none; }
    .download-preview-desktop-body { min-height: 215px; }
    .download-preview-desktop-nav { display: none; }
    .download-preview-desktop-body { display: block; }
    .download-preview-desktop-main { padding: 12px 10px 10px; }
    .download-client-card-head { align-items: flex-start; }
    .download-client-badge { margin-left: auto; }
    .download-client-actions { align-items: stretch; flex-direction: column; }
    .download-client-primary,
    .download-client-secondary { width: 100%; }
}
