.store-downloads { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 20px 0; }
.store-downloads .store-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: #6130c8; color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; font-weight: 650; line-height: 1.35; text-decoration: none; text-align: center; }
.store-downloads .store-link--android { background: #136b46; }
.store-downloads .store-link:hover { filter: brightness(1.12); }
.store-downloads .store-link:focus-visible { outline: 3px solid #d69a00; outline-offset: 4px; }
.download-page { margin: 0; padding: 40px 24px; background: #0a0a14; color: #fff; font: 18px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.download-page main { max-width: 680px; margin: 8vh auto; }
.download-page h1 { font-size: clamp(30px, 6vw, 48px); line-height: 1.15; }
.download-page a { color: #c0a2ff; }
.download-page .store-downloads { justify-content: flex-start; }
@media (max-width: 540px) { .store-downloads { width: 100%; } .store-downloads .store-link { width: 100%; box-sizing: border-box; } }
/* Android mirrors the device-specific store entry point; iOS keeps Safari's native banner. */
.android-store-banner { box-sizing: border-box; position: fixed; inset: 0 0 auto; z-index: 1100; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left)); background: #f7f5fc; border-bottom: 1px solid #d6d1e0; color: #211733; font: 14px/1.35 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.android-store-banner[hidden] { display: none; }
.android-store-banner-copy { min-width: 0; flex: 1; max-width: 520px; }
.android-store-banner-copy strong { display: block; font-size: 14px; }
.android-store-banner-copy span { color: #51465f; font-size: 12px; }
.android-store-banner a { flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 8px; background: #136b46; color: #fff; font-weight: 700; text-decoration: none; }
.android-store-banner button { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; background: transparent; color: #51465f; border: 0; border-radius: 8px; font: 24px/1 system-ui, sans-serif; cursor: pointer; }
.android-store-banner a:focus-visible, .android-store-banner button:focus-visible { outline: 3px solid #7147e8; outline-offset: 2px; }
body.has-android-store-banner { padding-top: var(--android-store-banner-height, 0px); }
body[data-page-kind="home"].has-android-store-banner .site-nav { top: var(--android-store-banner-height, 0px); }
body[data-page-kind="download"].has-android-store-banner { padding-top: calc(40px + var(--android-store-banner-height, 0px)); }
