/* Application downloads, sharing the terminal's light/dark color tokens. */
html:not([data-desktop="true"]) .nav{gap:20px}
html:not([data-desktop="true"]) .nav button{flex-shrink:0}
body[data-view="downloads"] .demo-session-banner{display:none}
.downloads-page{max-width:1384px;margin:0 auto 48px}
.downloads-hero{display:grid;grid-template-columns:1.05fr 1fr;gap:32px;align-items:center;min-height:440px;padding:42px 20px 50px;border-bottom:1px solid var(--line)}
.downloads-intro .eyebrow{display:flex;align-items:center;gap:9px;font-size:10px}.download-accent{height:6px;width:6px;background:#e88781;display:inline-block}
.downloads-intro h1{font-size:58px;line-height:1.08;letter-spacing:-2.4px;font-weight:500;margin:28px 0 22px}.downloads-intro h1 span{color:var(--muted)}
.downloads-intro>p{color:var(--muted);font-size:14px;line-height:1.9;max-width:395px;margin:0}
.downloads-hero-actions{display:flex;gap:25px;align-items:center;margin-top:29px}.downloads-hero-actions .primary{display:flex;align-items:center;justify-content:space-between;gap:27px;font-size:12px;min-height:46px}.downloads-hero-actions .quiet-link{font-size:12px;gap:12px}
.downloads-hero-note{margin-top:21px;display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted)}.download-note-dot{width:5px;height:5px;border-radius:50%;background:#999}
.download-art{height:340px;position:relative;isolation:isolate;min-width:0}.download-art-grid{position:absolute;inset:-12px;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:36px 36px;opacity:.35;mask-image:radial-gradient(ellipse at center,#000,transparent 72%)}
.download-window{position:absolute;left:2%;right:12%;top:35px;border:1px solid #4c4c4c;border-radius:11px;background:var(--panel);box-shadow:0 24px 65px #0005;transform:rotate(-4deg);overflow:hidden}
.download-window-bar{height:36px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:6px;padding:0 13px;background:var(--surface-raised)}.download-window-bar img{height:15px;width:15px}.download-window-bar>span{font-size:8px;letter-spacing:1.1px;font-weight:650;margin-right:auto}.download-window-bar i{height:4px;width:4px;background:#676767;border-radius:50%}
.download-window-body{padding:18px}.download-window-title{display:flex;align-items:center;justify-content:space-between;font-size:14px;letter-spacing:-.3px}.download-window-title small{font:7px var(--mono);color:var(--muted);letter-spacing:1px;border:1px solid var(--line);padding:3px 5px;border-radius:3px}
.download-window-content{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:16px;margin:17px 0 14px}.download-mini-chart{border-right:1px solid var(--line);padding-right:15px}.download-mini-chart svg{width:100%;height:112px;display:block}.download-grid-lines{fill:none;stroke:var(--line);stroke-dasharray:3 5}.download-graph-line{fill:none;stroke:#aaa;stroke-width:2}
.download-mini-bars{display:flex;gap:5px;align-items:flex-end;height:24px;margin-top:2px}.download-mini-bars i{flex:1;height:30%;background:#686868;border-radius:1px}.download-mini-bars i:nth-child(3n){height:62%}.download-mini-bars i:nth-child(2n){height:45%}.download-mini-bars i:nth-last-child(2){height:90%}.download-mini-bars i:last-child{height:70%}
.download-mini-book{display:flex;flex-direction:column;align-items:flex-end;gap:7px;padding-top:4px}.download-mini-book span{height:6px;background:#b9706b99;width:100%;border-right:7px solid #d48079}.download-mini-book span:nth-child(3n){width:70%}.download-mini-book span:nth-child(2n){width:85%}.download-mini-book b{height:1px;width:100%;background:var(--line);margin:4px 0}.download-mini-book b~span{background:#56836988;border-color:#77aa8b}
.download-window-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;color:var(--muted);font-size:7px}
.download-phone{position:absolute;right:3%;top:100px;height:222px;width:118px;background:var(--panel);border:3px solid #535353;box-shadow:0 20px 45px #0005;border-radius:22px;padding:28px 11px 12px;transform:rotate(7deg)}
.download-phone-notch{position:absolute;left:34px;right:34px;height:8px;top:8px;border-radius:8px;background:#444}.download-phone>img{width:15px;height:15px;vertical-align:middle}.download-phone>span{font-size:7px;letter-spacing:.6px;font-weight:650;margin-left:3px}.download-phone-label{font-size:10px;margin-top:21px;letter-spacing:-.2px}.download-phone-chart{display:flex;align-items:center;justify-content:space-between;height:68px;padding:10px 0}.download-phone-chart i{display:block;width:6px;height:24px;position:relative;background:#797979}.download-phone-chart i:before{content:'';position:absolute;left:2px;top:-6px;bottom:-6px;width:1px;background:#a2a2a2}.download-phone-chart i:nth-child(2n){height:16px;transform:translateY(6px)}.download-phone-chart i:nth-child(3n){height:28px;transform:translateY(-6px)}.download-phone-actions{display:flex;gap:4px;margin-top:5px}.download-phone-actions span{width:50%;font-size:6px;text-align:center;border-radius:3px;padding:6px 0;background:#58ce89;color:#102318}.download-phone-actions span+span{background:#ee817b;color:#2b1413}.download-art-caption{position:absolute;left:16%;right:10%;bottom:-4px;text-align:center;color:var(--muted);font-size:9px;letter-spacing:1px}
.downloads-platform-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-top:35px;scroll-margin-top:30px}.downloads-platform-heading:focus{outline:none}.downloads-platform-heading h2{font-size:29px;font-weight:500;letter-spacing:-.8px;margin:12px 0 0}.downloads-platform-count{font:10px var(--mono);color:var(--muted);padding-bottom:5px}
.download-catalog-message{font-size:11px;line-height:1.7;color:var(--muted);margin:16px 0 24px;min-height:19px}
.download-platform-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.download-platform-card{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:23px;display:flex;flex-direction:column;min-width:0;position:relative}.download-platform-card.is-recommended{border-color:#707070}.download-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:25px}.download-platform-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);background:var(--surface-raised);border-radius:10px;flex-shrink:0}.download-platform-icon svg{width:26px;height:26px;fill:none;stroke:var(--text);stroke-width:1.3;stroke-linejoin:round;stroke-linecap:round}.download-build-state{font-size:8px;letter-spacing:.2px;color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:6px 7px;text-align:center;line-height:1.4}.download-build-state.is-test{color:#eaa29d;border-color:#67413e;background:#e8878109}
.download-platform-name{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.download-platform-name h3{font-size:22px;font-weight:500;letter-spacing:-.6px;margin:0}.download-recommended{font-size:8px;color:var(--muted)}.download-platform-description{font-size:11px;color:var(--muted);line-height:1.7;margin:11px 0 15px;min-height:37px}.download-requirement{font-size:10px;color:var(--muted);margin-bottom:19px}
.download-architectures,.download-arch-static{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;min-height:44px;gap:3px;padding:3px;background:var(--bg)}.download-architectures button{flex:1;font-size:10px;min-height:36px;border-radius:4px;padding:8px 5px;color:var(--muted);white-space:nowrap}.download-architectures button[aria-pressed="true"]{background:var(--surface-selected);color:var(--text)}.download-arch-static{justify-content:space-between;padding:0 12px;font-size:10px;color:var(--text)}.download-arch-static span{font:9px var(--mono);color:var(--muted)}
.download-build-detail{font-size:10px;color:var(--muted);line-height:1.7;margin:15px 0 22px;min-height:35px}.download-card-bottom{margin-top:auto;display:flex;flex-direction:column}.download-action,.download-pending{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;font-size:11px;padding:12px 8px;text-align:center}.download-pending:disabled{opacity:1;color:var(--muted);background:var(--surface-raised);cursor:default}.download-action[hidden],.download-pending[hidden]{display:none}.download-build-note{color:var(--muted);font-size:9px;line-height:1.8;min-height:49px;margin:13px 0 0}
.download-web-banner{display:flex;align-items:center;gap:22px;background:var(--surface-raised);border:1px solid var(--line);border-radius:12px;padding:27px;margin-top:22px}.download-web-symbol{display:grid;place-items:center;font-size:27px;border:1px solid var(--line);width:49px;height:49px;border-radius:11px;flex-shrink:0}.download-web-banner h2{font-size:17px;font-weight:500;letter-spacing:-.3px;margin:0 0 9px}.download-web-banner p{font-size:11px;line-height:1.8;color:var(--muted);margin:0;max-width:650px}.download-web-banner>.secondary{margin-left:auto;font-size:11px;white-space:nowrap;min-height:44px;display:flex;align-items:center;gap:22px}
.download-help{display:grid;grid-template-columns:1fr 1.4fr;gap:70px;padding-top:50px;margin-top:12px}.download-help h2{font-size:25px;letter-spacing:-.6px;font-weight:500;margin:12px 0 13px}.download-help>div>p{font-size:11px;color:var(--muted);line-height:1.9;max-width:335px}.download-faq details{border-bottom:1px solid var(--line)}.download-faq details:first-child{border-top:1px solid var(--line)}.download-faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;min-height:59px;font-size:12px;gap:15px}.download-faq summary::-webkit-details-marker{display:none}.download-faq summary:after{content:'+';font-size:19px;color:var(--muted)}.download-faq details[open] summary:after{content:'−'}.download-faq p{font-size:11px;line-height:1.9;color:var(--muted);margin:0 26px 22px 0}.download-faq summary:focus-visible{outline:2px solid var(--text);outline-offset:4px;border-radius:3px}
html[data-theme="light"] .download-window{border-color:#c9c9c9;box-shadow:0 24px 65px #0000000d}html[data-theme="light"] .download-phone{border-color:#bababa;box-shadow:0 20px 45px #00000015}html[data-theme="light"] .download-build-state.is-test{color:#a44d46;border-color:#dab3ae;background:#e8878108}html[data-theme="light"] .download-graph-line{stroke:#777}html[data-theme="light"] .download-mini-bars i{background:#aaa}html[data-theme="light"] .download-platform-card.is-recommended{border-color:#929292}
html[data-desktop="true"] .downloads-footer-link{display:none}
@media(max-width:1200px){.downloads-hero{padding:35px 0 42px;gap:18px;min-height:400px}.downloads-intro h1{font-size:49px}.download-platform-card{padding:19px}.downloads-hero-actions{gap:16px}.download-window{right:9%}.download-phone{right:0}.download-build-state{font-size:7px;padding:5px}.download-card-top{gap:6px}}
@media(max-width:1000px){.download-platform-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.download-platform-card{padding:24px}.download-card-top{margin-bottom:22px}.download-platform-description{min-height:0}.download-build-detail{min-height:0}.download-build-note{min-height:33px}.download-build-state{font-size:9px}.download-help{gap:40px}.downloads-hero-actions{align-items:flex-start;flex-direction:column;gap:7px}.downloads-intro h1{font-size:44px}.download-window-content{grid-template-columns:minmax(0,1fr) 55px;gap:12px}.download-window{top:42px}.download-window-body{padding:16px}.download-phone{top:132px}}
@media(max-width:720px){html:not([data-desktop="true"]) .nav{gap:25px;overflow-x:auto;max-width:100%;scrollbar-width:none}html:not([data-desktop="true"]) .nav::-webkit-scrollbar{display:none}.downloads-page{margin-bottom:25px}.downloads-hero{grid-template-columns:1fr;gap:14px;padding:22px 4px 28px}.downloads-intro h1{font-size:43px;margin:24px 0 19px;letter-spacing:-1.9px}.downloads-intro>p{font-size:12px;max-width:345px;line-height:1.9}.downloads-hero-actions{flex-direction:row;align-items:center;gap:17px;flex-wrap:wrap;margin-top:23px}.downloads-hero-actions .primary{font-size:11px;gap:15px;padding:13px 14px}.downloads-hero-actions .quiet-link{font-size:11px;gap:7px}.downloads-hero-note{font-size:9px;margin-top:17px}.download-art{height:289px;margin:0 5px;max-width:460px;width:100%;justify-self:center}.download-window{left:1%;right:10%;top:27px}.download-window-bar{height:29px}.download-window-body{padding:14px}.download-mini-chart svg{height:95px}.download-window-content{margin:12px 0 11px}.download-phone{height:200px;width:107px;top:85px;right:3%;padding:26px 10px 10px;border-radius:19px}.download-phone-notch{left:30px;right:30px}.download-phone-label{margin-top:18px}.download-phone-chart{height:57px}.download-phone>span{font-size:6px}.download-art-caption{bottom:-5px;left:2%;right:0;font-size:8px}.downloads-platform-heading{padding-top:27px;gap:12px}.downloads-platform-heading h2{font-size:25px}.downloads-platform-heading .eyebrow{font-size:9px}.downloads-platform-count{font-size:9px;white-space:nowrap}.download-catalog-message{font-size:10px;line-height:1.9;margin-bottom:18px}.download-platform-grid{gap:14px}.download-platform-card{padding:20px}.download-platform-name h3{font-size:23px}.download-build-state{font-size:8px}.download-web-banner{padding:22px;flex-wrap:wrap;gap:15px}.download-web-symbol{display:none}.download-web-banner>.secondary{margin-left:0;width:100%;justify-content:space-between}.download-web-banner h2{font-size:18px}.download-web-banner p{font-size:11px}.download-help{grid-template-columns:1fr;gap:20px;padding:31px 4px 0;margin-top:0}.download-help h2{font-size:25px}.download-help>div>p{max-width:none}.download-faq summary{font-size:11px;min-height:57px}.statusbar .right{gap:15px}.statusbar .right>span{display:none}}
@media(max-width:520px){.download-platform-grid{grid-template-columns:minmax(0,1fr)}.download-build-note{min-height:0}.download-platform-description{margin-bottom:12px}.download-platform-card{padding:22px}.download-card-top{margin-bottom:21px}.download-platform-card .download-platform-icon{width:46px;height:46px}.download-build-state{font-size:9px}.download-build-detail{margin-bottom:20px}.download-architectures button{min-height:38px}.download-card-bottom{margin-top:0}.download-action,.download-pending{min-height:46px}.download-platform-description{font-size:12px}.download-build-note{font-size:10px}.download-build-detail{font-size:11px}.download-platform-name{gap:12px}}
@media(min-width:721px) and (max-width:1100px){html:not([data-desktop="true"]) .nav{gap:14px;min-width:0;overflow-x:auto;scrollbar-width:none}html:not([data-desktop="true"]) .nav::-webkit-scrollbar{display:none}}
