[hidden] { display: none !important; }
body:has(.download-page) { background: #f7f7f8; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.download-page { flex: 1; width: 100%; max-width: 1080px; padding: 78px 24px 64px; margin: 0 auto; }
body:has(.download-page) .site-footer { width: 100%; }
.download-intro { text-align: center; margin: 0 auto 26px; }
.download-intro h1 { font-family: 'Geist',sans-serif; font-size: clamp(32px,4vw,42px); font-weight: 500; line-height: 1.15; letter-spacing: -.04em; margin: 0 0 18px; }
.download-intro p { color: #707078; font-size: 16px; line-height: 1.6; }
.download-picker { text-align: center; max-width: 610px; margin: 0 auto 30px; }
.platform-tabs { display: flex; justify-content: center; gap: 6px; margin-bottom: 18px; }
.platform-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #78787e; font: inherit; font-size: 14px; cursor: pointer; }
.platform-tabs svg { width: 19px; height: 19px; fill: currentColor; }
.platform-tabs button[aria-pressed="true"] { color: #202024; background: #fff; border-color: #dedee3; box-shadow: 0 2px 3px #00000003; }
.platform-tabs button:hover { color: #202024; }
.build-choice { margin-bottom: 18px; }
#download-single-build { margin: 0; padding: 8px 0; font-size: 14px; color: #77777f; }
.build-choice select { width: 300px; max-width: 100%; min-height: 46px; appearance: none; font: inherit; font-size: 14px; font-weight: 500; color: #35353d; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2377777f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 15px center; border: 1px solid #dddde5; border-radius: 12px; padding: 12px 42px 12px 16px; box-shadow: 0 2px 5px #24202e05; cursor: pointer; transition: border-color .18s, box-shadow .18s; }
.build-choice select:hover { border-color: #aaa3bc; }
.build-choice select:disabled { opacity: .55; cursor: not-allowed; }
@supports (appearance: base-select) {
  .build-choice select, .build-choice select::picker(select) { appearance: base-select; }
  .build-choice select { background-image: none; padding-right: 15px; text-align: left; }
  .build-choice select::picker-icon { color: #77777f; transition: rotate .18s; }
  .build-choice select:open { border-color: #7854db; box-shadow: 0 0 0 3px #7854db12; }
  .build-choice select:open::picker-icon { rotate: 180deg; }
  .build-choice select::picker(select) { top: anchor(bottom); bottom: auto; margin-top: 6px; padding: 5px; border: 1px solid #e1dfe8; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px #24202e16; }
  .build-choice option { min-height: 40px; padding: 10px 12px; border-radius: 8px; color: #53515d; font-size: 14px; cursor: pointer; }
  .build-choice option:hover, .build-choice option:focus { background: #f4f1fa; color: #5f3cb5; }
  .build-choice option:checked { background: #f0ebfa; color: #6542bd; font-weight: 500; }
  .build-choice option::checkmark { color: #7854db; }
}
.download-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 224px; padding: 14px 25px; color: #fff; background: #7854db; border: 1px solid #6947c7; box-shadow: inset 0 1px 0 #ffffff26,0 2px 3px #49299014; border-radius: 999px; font-size: 15px; font-weight: 500; }
.download-primary::before { content: '↓'; font-size: 21px; line-height: 1; }
.download-primary:hover { color: #fff; background: #6947c7; text-decoration: none; }
#download-status { color: #77777f; font-size: 13px; line-height: 1.5; margin: 14px 0 0; }
.download-detail { color: #85858d; font-size: 12px; margin: 5px 0 0; }
#download-guidance { font-size: 12px; color: #85858d; line-height: 1.6; margin: 14px 0 0; }
#download-retry { margin-top: 14px; border: 1px solid #dddde2; border-radius: 999px; padding: 8px 18px; background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.install-panel { max-width: 600px; margin: 32px auto 0; padding: 24px 26px; border: 1px solid #e1e1e6; border-radius: 16px; background: #ffffffb3; text-align: left; }
.install-panel > h2 { font-family: 'Geist',sans-serif; font-size: 16px; font-weight: 550; letter-spacing: -.015em; margin: 0 0 20px; }
.install-description { font-size: 13px; color: #77777f; line-height: 1.6; margin-bottom: 20px; }
.install-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 18px; }
.install-steps li { counter-increment: step; position: relative; padding-left: 36px; }
.install-steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 24px; height: 24px; display: grid; place-items: center; color: #77777f; background: #efeff2; border-radius: 50%; font-size: 12px; }
.install-steps h3 { font-family: 'Geist',sans-serif; font-size: 14px; font-weight: 500; margin: 1px 0 5px; letter-spacing: 0; }
.install-steps p { color: #77777f; font-size: 13px; line-height: 1.6; margin: 0; }
.install-steps strong { font-weight: 500; }
.install-steps code { background: #ededf2; padding: 2px 5px; border-radius: 4px; font-size: 12px; }
.other-downloads { max-width: 760px; margin: 27px auto 0; text-align: center; }
.other-downloads h2 { color: #77777f; font: inherit; font-size: 13px; font-weight: 500; margin: 0 0 10px; }
#download-alternatives { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 16px; margin-bottom: 9px; }
#download-alternatives button { padding: 3px 0; border: 0; background: transparent; color: #77777f; font: inherit; font-size: 12px; cursor: pointer; }
#download-alternatives button:hover, .other-downloads a:hover { color: #6847bd; text-decoration: underline; }
.other-downloads a { color: #77777f; font-size: 12px; }
.download-help { margin: 34px auto 0; padding-top: 22px; border-top: 1px solid #e3e3e8; text-align: center; max-width: 760px; }
.download-help h2 { display: none; }
.download-help p { font-size: 12px; color: #85858d; margin: 0; }
.download-help a { color: #66666f; text-decoration: underline; text-underline-offset: 3px; }
.download-page button:focus-visible, .download-page select:focus-visible, .download-page a:focus-visible { outline: 2px solid #7854db; outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width: 600px) { .download-page { padding: 46px 20px 44px; } .download-intro p { font-size: 14px; } .install-panel { padding: 22px 20px; } .platform-tabs button { padding: 9px 11px; } }
