.download-page { min-height: calc(100vh - 72px); background: #f5f9fc; }
.download-hero { position: relative; min-height: 440px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); align-items: center; gap: 4rem; overflow: hidden; padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100vw - 1180px) / 2)); color: #fff; background: radial-gradient(circle at 78% 45%, #153d70 0, #0a2144 24%, #07162f 58%); }
.download-hero::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: radial-gradient(circle, #fff 0 1px, transparent 1.35px), radial-gradient(circle, #8ecbff 0 1px, transparent 1.4px); background-position: 0 0, 47px 31px; background-size: 131px 113px, 173px 149px; mask-image: linear-gradient(90deg, transparent, #000); }
.download-hero-copy { position: relative; z-index: 1; max-width: 760px; }
.download-hero h1 { max-width: 760px; margin: 0; font: 400 clamp(3.3rem, 7vw, 6.6rem)/.93 Georgia, serif; letter-spacing: -.055em; }
.download-hero-copy > p:not(.eyebrow) { max-width: 680px; margin: 1.5rem 0 0; color: rgba(226, 240, 253, .7); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.download-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.download-facts span { padding: .48rem .68rem; color: #d9efff; background: rgba(112, 187, 249, .08); border: 1px solid rgba(144, 207, 255, .22); font: 700 .62rem/1 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.download-courier { position: relative; z-index: 1; width: min(45vw, 590px); justify-self: end; }
.download-courier img { display: block; width: 100%; height: auto; filter: drop-shadow(0 28px 40px rgba(0, 0, 0, .34)); mask-image: radial-gradient(ellipse 70% 70% at 58% 52%, #000 54%, transparent 88%); }
.download-picker { width: min(calc(100% - 2rem), 1180px); margin: 0 auto; padding: clamp(3rem, 5vw, 4.5rem) 0; }
.download-picker-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.35rem; }
.download-picker-heading h2 { margin: 0; font: 400 clamp(2rem, 4vw, 3.25rem)/1 Georgia, serif; letter-spacing: -.04em; }
.download-picker-heading p:not(.eyebrow) { margin: .8rem 0 0; color: var(--muted); }
.download-picker-heading > a { color: var(--ink); font-size: .75rem; font-weight: 800; text-underline-offset: .4rem; white-space: nowrap; }
.platform-filters { display: flex; flex-wrap: wrap; gap: .25rem; margin-bottom: .85rem; }
.platform-filters button { min-height: 32px; padding: .38rem .68rem; color: #63788a; background: transparent; border: 0; border-bottom: 1px solid #c7d5e0; cursor: pointer; font-size: .68rem; font-weight: 760; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.platform-filters button:hover { color: var(--blue); border-color: #5c9dcc; }
.platform-filters button.is-active { color: #10365b; background: #e6f2fa; border-color: #4f94c8; }
.release-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 440px)); gap: .65rem; align-items: start; }
.release-card { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: .65rem .75rem; align-items: center; padding: .82rem .9rem; background: rgba(255,255,255,.82); border: 1px solid #d8e3eb; box-shadow: 0 8px 24px rgba(18, 48, 79, .045); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.release-card:hover { border-color: #afc9dc; box-shadow: 0 12px 30px rgba(18, 48, 79, .075); transform: translateY(-1px); }
.release-card.is-recommended { border-color: #9bc5e3; box-shadow: inset 2px 0 #4e98cc, 0 8px 24px rgba(39, 112, 177, .07); }
.release-icon { display: grid; width: 40px; height: 40px; place-items: center; color: #16446d; background: #eaf4fb; font: 850 .56rem/1 ui-monospace, monospace; letter-spacing: .06em; }
.release-copy { min-width: 0; }
.release-meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .18rem; color: #6a8296; font: 700 .54rem/1.25 ui-monospace, monospace; letter-spacing: .055em; text-transform: uppercase; }
.release-meta .recommended-badge { color: #276a9e; }
.release-card h3 { margin: 0; overflow-wrap: anywhere; font: 400 1.08rem/1.15 Georgia, serif; }
.release-card p { margin: .25rem 0 0; color: var(--muted); font-size: .64rem; }
.release-download { align-self: center; display: inline-flex; align-items: center; gap: .28rem; padding: .28rem 0; color: #123c62; border-bottom: 1px solid #7aa9cb; text-decoration: none; font-size: .64rem; font-weight: 800; letter-spacing: .035em; white-space: nowrap; }
.release-download::after { content: "↓"; color: #4f91c1; font-size: .72rem; transition: transform .18s ease; }
.release-download:hover, .release-download:focus-visible { color: var(--blue); border-color: var(--blue); }
.release-download:hover::after, .release-download:focus-visible::after { transform: translateY(2px); }
.download-empty { grid-column: 1 / -1; margin: 0; padding: 3rem 1.5rem; color: var(--muted); background: #fff; border: 1px dashed #b9ccdc; text-align: center; }
.download-note { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1.5rem; padding: 1.5rem; color: #e8f5ff; background: var(--navy); }
.download-note h3 { margin: 0; font: 400 1.55rem/1.2 Georgia, serif; }
.download-note p:not(.eyebrow) { margin: .45rem 0 0; color: rgba(223, 239, 252, .64); }
.download-note a { color: #fff; font-size: .75rem; font-weight: 800; text-underline-offset: .45rem; white-space: nowrap; }
@media (max-width: 900px) {
  .download-hero { grid-template-columns: 1fr; min-height: auto; }
  .download-courier { position: absolute; width: 390px; right: -100px; bottom: -95px; opacity: .34; }
  .download-hero-copy { max-width: 670px; }
  .release-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .download-hero { padding-block: 4rem; }
  .download-picker-heading, .download-note { align-items: flex-start; flex-direction: column; }
  .download-picker-heading > a { white-space: normal; }
  .platform-filters { display: flex; }
  .release-card { grid-template-columns: 36px minmax(0, 1fr) auto; padding: .75rem; }
  .release-icon { width: 36px; height: 36px; }
  .release-meta .recommended-badge { display: none; }
}
