/* Downloads follow each app's established logo accent and keep native links. */
.hero-download{display:flex;flex-direction:column;align-items:center;min-width:0}.hero-download .hero-art{width:100%;flex-shrink:0}
.macos-download{--download-color:var(--download-accent,var(--accent,#79d4ff));display:inline-flex;align-items:center;justify-content:center;gap:12px;max-width:100%;box-sizing:border-box;padding:15px 25px;min-height:58px;border:1px solid transparent;border-radius:999px;background:var(--download-color);color:#0b1421!important;font:650 clamp(15px,1.4vw,18px)/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:center;text-decoration:none;white-space:nowrap;box-shadow:inset 0 1px #fff7,0 8px 26px #0003;transition:filter .15s,transform .15s}
.macos-download:hover{filter:brightness(1.09);transform:translateY(-1px)}.macos-download:focus-visible{outline:3px solid var(--download-color);outline-offset:5px}.download-apple{width:25px;height:25px;flex-shrink:0}.hero-download>.macos-download{margin-top:22px}
.download-trust{display:flex;align-items:flex-start;justify-content:center;gap:6px;max-width:300px;margin:13px 0 0;color:#dce8fa;font-size:11px;line-height:1.6;text-align:center}.download-trust>svg{color:var(--accent,#79d4ff);flex-shrink:0;margin-top:1px}
.bundle-art-download{--accent:#79d4ff;display:flex;flex-direction:column;align-items:center;min-width:0;gap:0}.bundle-icon-button{padding:0;margin:0 0 22px;border:0;background:none;color:inherit;cursor:pointer;max-width:100%}.bundle-icon-button:focus-visible{outline:3px solid #79d4ff;outline-offset:7px;border-radius:28px}.bundle-icon-button .bundle-art{display:block}.bundle-view-button{font:inherit;cursor:pointer}
.bundle-dialog{--accent:#79d4ff;box-sizing:border-box;width:min(850px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:34px;border:1px solid #c5e1ff80;border-radius:28px;background:linear-gradient(140deg,#24364ff7,#0c1728fa);color:#eef5ff;box-shadow:inset 0 1px #fff3,0 30px 100px #0009;overflow:auto;overscroll-behavior:contain;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6;text-align:left}
.bundle-dialog::backdrop{background:#020916b8;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.bundle-dialog[open]{display:block}.bundle-close{position:absolute;right:15px;top:15px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #fff4;border-radius:50%;background:#fff1;color:#fff;cursor:pointer}.bundle-close:focus-visible,.bundle-continue:focus-visible{outline:3px solid #79d4ff;outline-offset:3px}
.bundle-dialog-heading{display:flex;align-items:center;gap:24px;padding-right:22px}.bundle-dialog-heading>img{width:130px;height:130px;object-fit:contain;flex-shrink:0}.bundle-dialog-kicker{font-size:10px;letter-spacing:2px;color:#c5d9f5;margin:0 0 8px}.bundle-dialog h2{font-size:clamp(24px,3vw,34px);font-weight:650;line-height:1.2;letter-spacing:-.6px;margin:0 0 10px;color:#fff}.bundle-dialog-heading>div>p:not(.bundle-dialog-kicker){font-size:16px;margin:0 0 8px;color:#dae7f9}.bundle-dialog-version{font-size:12px;color:#c5d9f5}.bundle-dialog-lead{font-size:15px;color:#e0eafa;margin:24px 0 20px}
.bundle-dialog-apps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bundle-dialog-app{display:flex;gap:12px;align-items:center;min-width:0;padding:12px;border:1px solid #b1d0f540;border-radius:16px;background:#ffffff08;color:inherit!important;text-decoration:none}.bundle-dialog-app:hover{border-color:#79d4ff}.bundle-dialog-app:focus-visible{outline:3px solid #79d4ff;outline-offset:2px}.bundle-dialog-app>img{width:38px;height:38px;object-fit:contain;flex-shrink:0}.bundle-dialog-app>span{min-width:0;display:flex;flex-direction:column}.bundle-dialog-app strong{font-size:14px;font-weight:600}.bundle-dialog-app small{font-size:11px;line-height:1.5;color:#c5d6ed}
.bundle-dialog-trust{display:flex;align-items:flex-start;gap:10px;margin:22px 0 13px;padding:14px 16px;border:1px solid #8cd7cf5c;border-radius:14px;background:#4fbcae12}.bundle-dialog-trust>svg{width:22px;height:22px;color:#8ce9cb;flex-shrink:0;margin-top:1px}.bundle-dialog-trust p{margin:0;font-size:13px;color:#e4f4ef}.bundle-dialog-compatibility,.bundle-dialog-sales{font-size:12px;color:#c5d6ed;margin:12px 0;line-height:1.75}.bundle-dialog-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:23px}.bundle-dialog .macos-download{--download-color:#79d4ff;font-size:16px;min-height:52px;padding:13px 22px}.bundle-continue{font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;border:1px solid #fff5;border-radius:999px;padding:12px 20px;background:#fff1;color:#fff;cursor:pointer}.bundle-download-notice{margin:0 28px 20px 0;padding:12px 15px;border:1px solid #a5d4ff66;border-radius:12px;background:#79d4ff12;color:#def0ff;font-size:13px}.bundle-download-notice[hidden]{display:none}
@media(max-width:650px){.hero-download>.macos-download{margin-top:18px}.macos-download{font-size:16px;min-height:55px;padding:14px 22px;gap:10px}.download-apple{width:23px;height:23px}.bundle-icon-button .bundle-art{max-width:210px}.bundle-dialog{padding:27px 21px;max-height:calc(100dvh - 24px);width:calc(100% - 22px);border-radius:22px}.bundle-dialog-heading{gap:15px;padding-right:10px;align-items:center}.bundle-dialog-heading>img{width:82px;height:82px}.bundle-dialog h2{font-size:25px}.bundle-dialog-kicker{font-size:8px;letter-spacing:1.3px}.bundle-dialog-heading>div>p:not(.bundle-dialog-kicker){font-size:13px}.bundle-dialog-apps{gap:8px}.bundle-dialog-app{padding:10px;gap:8px;align-items:flex-start}.bundle-dialog-app>img{width:30px;height:30px}.bundle-dialog-app strong{font-size:12px}.bundle-dialog-app small{font-size:10px}.bundle-dialog-actions{flex-direction:column;align-items:stretch}.bundle-dialog-actions .macos-download,.bundle-continue{width:100%}}
@media(max-width:360px){.bundle-dialog-apps{grid-template-columns:1fr}.bundle-dialog-heading{align-items:flex-start}.bundle-dialog-heading>img{width:60px;height:60px}}
@media(prefers-reduced-motion:reduce){.macos-download{transition:none}.macos-download:hover{transform:none}}

@media(max-width:650px){.bundle-dialog-app{flex-direction:column;align-items:flex-start;gap:7px}.bundle-dialog-app>span{width:100%}}

/* Keep trust, download and close actions visible while the app list scrolls. */
.bundle-dialog[open]{display:flex;flex-direction:column;overflow:hidden}
.bundle-dialog-heading,.bundle-download-notice,.bundle-dialog-trust,.bundle-dialog-actions,.bundle-dialog-sales{flex-shrink:0}
.bundle-dialog-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;margin-top:4px;padding-right:5px}
.bundle-dialog-content .bundle-dialog-lead{margin-top:16px}
.bundle-dialog-content .bundle-dialog-compatibility{margin-bottom:6px}
.bundle-dialog-trust{margin-top:17px;margin-bottom:0}
.bundle-dialog-actions{margin-top:17px}
.bundle-dialog-sales{margin-bottom:0}
@media(max-width:650px){.bundle-dialog-heading>img{width:70px;height:70px}.bundle-dialog h2{font-size:23px}.bundle-dialog-trust{padding:10px 12px;margin-top:12px}.bundle-dialog-trust p{font-size:11px}.bundle-dialog-actions{margin-top:12px;gap:8px}.bundle-dialog-actions .macos-download{padding:11px 18px;min-height:46px}.bundle-dialog-actions .bundle-continue{padding:9px 15px}.bundle-dialog-sales{font-size:10px;line-height:1.6;margin-top:10px}}

.bundle-close{z-index:5}.bundle-dialog-heading>div{min-width:0;flex:1}
@media(max-width:650px){.bundle-dialog-heading{padding-right:26px}}

.bundle-dialog-top{display:flex;justify-content:flex-end;align-items:center;flex:0 0 auto;height:36px;margin:-18px -14px -8px 0}.bundle-dialog-top .bundle-close{position:relative;right:auto;top:auto;flex-shrink:0}.bundle-close>span{margin:0;font:400 29px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
@media(max-width:650px){.bundle-dialog-top{margin:-12px -7px -5px 0}}

/* Purchase actions retain the current app accent and rounded controls. */
.bundle-buy{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:46px;max-width:100%;padding:12px 20px;border:1px solid #b5e8ff;border-radius:999px;background:#79d4ff;color:#0b1421!important;font:650 14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-decoration:none;text-align:center}
.bundle-buy:hover{filter:brightness(1.1)}.bundle-buy:focus-visible{outline:3px solid #79d4ff;outline-offset:4px}
.download-license{max-width:300px;margin:10px 0 0;color:#dce8fa;font-size:11px;line-height:1.6;text-align:center}
@media(max-width:650px){.bundle-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.bundle-dialog-actions .bundle-buy{grid-column:1/-1;min-height:43px;padding:10px}.bundle-dialog-actions .macos-download{font-size:12px;gap:5px;padding:10px 8px;min-height:43px;white-space:normal}.bundle-dialog-actions .download-apple{width:18px;height:18px}.bundle-dialog-actions .bundle-continue{font-size:12px;padding:10px 8px;min-height:43px}}
