.downloads-page { --purple: #a17aff; }
.page-wrap { width: min(1260px, calc(100% - 96px)); margin-inline: auto; }
.downloads-hero { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 50px; padding-block: 54px 66px; }
.downloads-hero h1 { margin: 18px 0 17px; font-size: clamp(3.6rem, 7vw, 5.7rem); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; }
.downloads-hero h1 em { color: var(--purple-light); font-style: normal; }
.downloads-hero > div > p:last-child { max-width: 390px; margin: 0; color: #bfbbc7; font-size: 17px; line-height: 1.72; }
.downloads-hero figure { height: 370px; margin: 0; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; background: #28222f; }
.downloads-hero figure img { width: 100%; height: 100%; object-fit: cover; object-position: 51% 53%; }
.downloads-hero figure::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(0deg,rgba(15,14,20,.62),transparent); }
.downloads-hero figcaption { position: absolute; left: 20px; bottom: 17px; z-index: 1; color: #f4efff; font-size: 10px; letter-spacing: .14em; }
.download-files { padding-block: 8px 68px; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.section-title h2,.parts-heading h2 { margin: 14px 0 0; font-size: clamp(2.35rem,4.2vw,3.4rem); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; }
.section-title > p { max-width: 300px; margin: 0 0 3px; color: #aaa6b3; font-size: 14px; line-height: 1.65; }
.file-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.file-card { min-height: 260px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; border: 1px solid rgba(255,255,255,.1); border-radius: 25px; background: var(--surface); }
.file-card-featured { border-color: rgba(177,147,255,.4); background: radial-gradient(ellipse at 90% 0%,rgba(142,103,221,.22),transparent 56%),var(--surface); }
.file-card-soon { border-style: dashed; background: #15141a; }
.file-top { width: 100%; display: flex; align-items: center; justify-content: space-between; color: #aaa5b4; font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.file-icon { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; color: var(--purple-light); font-size: 18px; }
.file-card h3 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.22; letter-spacing: -.015em; }
.file-card p { margin: 6px 0 0; color: #aaa6b3; font-size: 13px; line-height: 1.5; }
.logo-preview-link { color: var(--purple-light); text-decoration: underline; text-underline-offset: 3px; }
.logo-preview-link:hover { color: #fff; }
.download-button { min-height: 43px; padding-inline: 17px; text-decoration: none; }
.coming-soon { display: inline-flex; min-height: 39px; padding: 0 16px; align-items: center; border: 1px solid rgba(192,168,255,.3); border-radius: 999px; color: var(--purple-light); font-size: 13px; font-weight: 700; }
.file-check { width: 100%; min-height: 34px; padding-top: 10px; display: flex; align-items: center; gap: 9px; border-top: 1px solid rgba(255,255,255,.09); color: #bcb6c8; font-size: 12px; font-weight: 700; cursor: pointer; }
.file-check input { width: 17px; height: 17px; margin: 0; accent-color: #a17aff; cursor: pointer; }
.file-card:has(.file-check input:checked) { border-color: rgba(192,168,255,.55); }
.files-note { margin: 13px 0 0; color: #898592; font-size: 12px; line-height: 1.6; }
.source-callout { margin-bottom: 62px; padding: 23px 26px; display: flex; align-items: center; gap: 19px; border: 1px solid rgba(177,147,255,.3); border-radius: 26px; background: radial-gradient(ellipse at 0% 0%,rgba(142,103,221,.2),transparent 48%),var(--surface); }
.source-icon { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(192,168,255,.3); border-radius: 17px; background: rgba(142,103,221,.16); color: var(--purple-light); font: 700 15px/1 ui-monospace,monospace; }
.source-copy { flex: 1; }.source-copy .eyebrow { margin: 0 0 6px; }.source-copy h2 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }.source-copy > p:last-child { margin: 5px 0 0; color: #aaa6b3; font-size: 13px; line-height: 1.55; }
.source-button { min-height: 42px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; flex: 0 0 auto; border: 1px solid rgba(192,168,255,.33); border-radius: 999px; background: rgba(142,103,221,.17); color: #e7deff; font-size: 12px; font-weight: 750; text-decoration: none; transition: background .18s ease,transform .18s ease; }.source-button:hover { background: rgba(142,103,221,.3); transform: translateY(-1px); }
.parts-section { padding-block: 62px 75px; background: #eee9f7; color: #19151f; }
.parts-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.parts-heading .eyebrow { color: #625b6d; }
.parts-heading h2 { margin-top: 12px; }
.parts-heading > div:first-child > p:last-child { margin: 10px 0 0; color: #686273; font-size: 14px; line-height: 1.6; }
.check-progress { width: 142px; flex: 0 0 auto; padding: 13px 15px 14px; border: 1px solid #d7cfe2; border-radius: 18px; background: rgba(255,255,255,.55); }
.check-progress strong { font-size: 17px; font-weight: 800; }.check-progress > span { margin-left: 5px; color: #777082; font-size: 12px; }
.progress-track { height: 5px; margin-top: 9px; overflow: hidden; border-radius: 99px; background: #ddd6e6; }.progress-track i { width: 0; height: 100%; display: block; border-radius: inherit; background: #8054d4; transition: width .2s ease; }
.part-group-label { display: flex; align-items: baseline; gap: 12px; margin: 0 0 13px; }.part-group-label span { font-size: 14px; font-weight: 800; }.part-group-label small { color: #726c7d; font-size: 12px; }
.parts-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.part-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #ded8e5; border-radius: 23px; background: #fbfaff; box-shadow: 0 8px 24px rgba(38,25,64,.035); }
.part-photo { height: 146px; display: grid; place-items: center; overflow: hidden; padding: 10px 16px; background: #f2eef7; }
.part-photo img { width: 100%; height: 100%; object-fit: contain; }
.part-copy { padding: 17px 17px 0; }
.part-kicker { color: #8063b5; font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.part-copy h3,.common-copy h3 { margin: 6px 0 6px; font-size: 17px; font-weight: 800; line-height: 1.25; letter-spacing: -.015em; }
.part-copy p,.common-copy p { min-height: 63px; margin: 0; color: #706a7a; font-size: 12px; line-height: 1.55; }
.part-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 13px 17px 15px; }
.part-buy,.copy-part { min-height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0 11px; border: 1px solid #d9d1e3; border-radius: 999px; background: #fff; color: #332743; font: 700 11px/1 var(--body); white-space: nowrap; cursor: pointer; transition: background .16s ease,border-color .16s ease,transform .16s ease; }
.part-buy:hover,.copy-part:hover { transform: translateY(-1px); border-color: #ac94d1; background: #f7f2ff; }
.copy-part { color: #6a6078; }
.part-check { min-height: 42px; margin-top: auto; padding: 10px 17px; display: flex; align-items: center; gap: 9px; border-top: 1px solid #e9e4ed; color: #544e60; font-size: 12px; font-weight: 700; cursor: pointer; }
.part-check input { width: 17px; height: 17px; margin: 0; accent-color: #8054d4; cursor: pointer; }
.part-card:has(.part-check input:checked),.common-card:has(.part-check input:checked) { border-color: #b7a2da; }
.common-parts { margin-top: 23px; }
.common-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.common-card { display: grid; grid-template-columns: 60px minmax(0,1fr); gap: 16px; align-items: start; padding: 18px 19px 0; border: 1px solid #ded8e5; border-radius: 22px; background: #fbfaff; }
.common-icon { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid #d3c3eb; border-radius: 18px; background: #f2eafa; color: #7145bb; font-size: 17px; font-weight: 800; }
.common-icon.brass { border-color: #e7d6ac; background: #fbf4e4; color: #986f1e; }
.common-copy { min-width: 0; }.common-copy p { min-height: unset; }
.common-copy .part-actions { padding: 12px 0 14px; }
.common-card .part-check { grid-column: 1/-1; margin: 0 -19px; padding-inline: 19px; }
.downloads-page .site-footer { margin-top: 0; }
.downloads-page :focus-visible { outline: 3px solid #8c66d4; outline-offset: 3px; }
@media(max-width:1050px) {
  .parts-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .part-copy p { min-height: 45px; }
}
@media(max-width:760px) {
  .page-wrap { width: calc(100% - 48px); }
  .downloads-hero { grid-template-columns: 1fr; gap: 26px; padding-block: 37px 48px; }
  .downloads-hero h1 { margin: 13px 0; font-size: clamp(3.35rem,13vw,4.8rem); }
  .downloads-hero > div > p:last-child { font-size: 15px; }
  .downloads-hero figure { height: clamp(220px,58vw,350px); }
  .file-grid { grid-template-columns: 1fr; gap: 10px; }
  .file-card { min-height: 230px; padding: 20px; }
  .section-title { display: block; }.section-title > p { margin-top: 10px; }
  .download-files { padding-bottom: 48px; }
  .source-callout { margin-bottom: 47px; padding: 20px; flex-wrap: wrap; gap: 14px; }
  .source-icon { width: 42px; height: 42px; border-radius: 15px; }.source-copy { flex-basis: calc(100% - 58px); }.source-button { margin-left: 56px; }
  .parts-section { padding-block: 47px 54px; }
  .parts-heading { align-items: start; }
  .parts-heading h2 { font-size: 2.7rem; }
  .check-progress { width: 115px; padding: 11px; }
  .parts-grid { gap: 10px; }
  .part-photo { height: 122px; }
  .part-copy { padding: 13px 13px 0; }
  .part-copy h3 { font-size: 15px; }
  .part-copy p { min-height: 82px; font-size: 11px; }
  .part-actions { padding: 11px 12px 13px; gap: 6px; }
  .part-buy,.copy-part { min-height: 30px; padding-inline: 9px; font-size: 10px; }
  .part-check { padding-inline: 13px; }
  .common-card { padding: 15px 14px 0; grid-template-columns: 45px minmax(0,1fr); gap: 11px; }
  .common-icon { width: 44px; height: 44px; border-radius: 14px; font-size: 14px; }
  .common-card .part-check { margin-inline: -14px; padding-inline: 14px; }
}
@media(max-width:480px) {
  .page-wrap { width: calc(100% - 36px); }
  .parts-heading { flex-direction: column; gap: 17px; }
  .check-progress { width: 100%; }
  .parts-grid { grid-template-columns: 1fr; }
  .part-card { display: grid; grid-template-columns: 105px minmax(0,1fr); grid-template-rows: auto auto auto; }
  .part-photo { height: 100%; min-height: 145px; grid-row: 1/3; padding: 8px; }
  .part-copy { padding: 13px 12px 0; }
  .part-copy p { min-height: 0; }
  .part-actions { padding: 10px 11px 12px; }
  .part-card .part-check { grid-column: 1/-1; }
  .common-grid { grid-template-columns: 1fr; }
  .part-group-label { align-items: start; flex-direction: column; gap: 2px; }
  .part-group-label small { font-size: 11px; }
  .downloads-page .site-footer { min-height: 119px; grid-template-columns: 1fr auto; gap: 14px; }
  .downloads-page .site-footer small { grid-column: 1/-1; padding-top: 13px; border-top: 1px solid var(--line); }
}
