
.download-page { background: var(--j-desk); color: var(--j-ink); }
.download-page .header { background: var(--j-desk); border-bottom: 1px solid var(--j-line); }
.download-page em { font-style: normal; color: var(--j-blue-text); }
.download-page a:focus-visible, .download-page button:focus-visible { outline: 3px solid var(--j-focus); outline-offset: 4px; }
.download-main { width: min(88%, 1180px); margin: auto; padding: 64px 0 48px; }
.download-intro { text-align: center; margin-bottom: 48px; }
.download-eyebrow { display: block; font-size: 14px; color: var(--j-muted); margin-bottom: 12px; }
.download-intro h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.65; margin: 0 0 16px; }
.download-intro p { font-size: 18px; color: var(--j-secondary); line-height: 1.9; margin: 0; }
.platform-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.platform-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 32px 28px 28px; border: 2px solid var(--j-ink); border-radius: 20px; background: var(--j-sheet); box-shadow: 4px 4px 0 var(--j-line); }
.platform-icon { width: 52px; height: 52px; margin-bottom: 24px; color: var(--j-ink); }
.platform-icon svg { display: block; width: 100%; height: 100%; }
.platform-card h2 { font-size: 26px; line-height: 1.7; margin: 0 0 4px; }
.platform-card h2 bdi { font-family: Peyda, sans-serif; font-weight: 700; }
.platform-kind { font-size: 14px; color: var(--j-muted); }
.platform-card p { font-size: 16px; line-height: 1.9; color: var(--j-secondary); margin: 20px 0 28px; flex: 1; }
.platform-action { width: 100%; min-height: 54px; display: inline-flex; gap: 12px; align-items: center; justify-content: center; padding: 12px 14px; border: 2px solid var(--j-sheet); border-radius: 12px; box-shadow: 0 0 0 1px var(--j-blue), 0 3px 0 var(--j-line); background: var(--j-blue); color: var(--j-on-blue); font: 600 16px/1.6 Peyda, sans-serif; text-decoration: none; }
.platform-action:disabled { cursor: not-allowed; }
.platform-action svg { width: 22px; height: 22px; flex: none; }
.download-availability { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: 28px 0 0; color: var(--j-muted); font-size: 14px; line-height: 1.9; }
.download-availability svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.download-store { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--j-line); font-size: 16px; }
.download-store p { color: var(--j-secondary); margin: 0; }
.download-store a { color: var(--j-blue-text); font-weight: 600; padding-block: 8px; text-decoration: underline; text-underline-offset: 5px; }
.download-footer { width: min(88%, 1180px); margin: auto; padding: 24px 0 32px; border-top: 1px solid var(--j-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; background: transparent; color: var(--j-muted); font-size: 14px; }
.download-footer a { color: var(--j-secondary); }
@media (max-width: 1000px) and (min-width: 701px) {
 .platform-grid { gap: 16px; }
 .platform-card { padding: 24px 18px; }
 .platform-card h2 { font-size: 23px; }
 .platform-action { font-size: 14px; gap: 6px; padding-inline: 8px; }
}
@media (max-width: 700px) {
 .download-main { padding-top: 36px; }
 .download-intro { text-align: right; margin-bottom: 32px; }
 .download-intro h1 { font-size: clamp(30px, 8vw, 40px); }
 .download-intro p { font-size: 16px; }
 .platform-grid { grid-template-columns: 1fr; gap: 20px; }
 .platform-card { display: grid; grid-template-columns: minmax(0,1fr) 48px; gap: 0 16px; padding: 24px; }
 .platform-icon { grid-column: 2; grid-row: 1 / span 2; width: 48px; height: 48px; margin: 0; align-self: center; }
 .platform-card h2 { grid-column: 1; grid-row: 1; font-size: 24px; }
 .platform-kind { grid-column: 1; grid-row: 2; }
 .platform-card p { grid-column: 1 / -1; margin: 20px 0 24px; }
 .platform-action { grid-column: 1 / -1; }
 .download-store { justify-content: flex-start; margin-top: 32px; }
 .download-footer { flex-direction: column; gap: 8px; }
}
/* Reflect the current route rather than the shared header's first-link default. */
html .download-page .header nav a:first-child { border: 1px solid transparent; background: transparent; color: var(--j-secondary); box-shadow: none; }
html .download-page .header nav a[aria-current="page"] { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border: 1px solid var(--j-boundary); border-radius: 10px; background: var(--j-blue-tint); color: var(--j-blue-text); }
.platform-action:disabled { box-shadow: 0 0 0 1px var(--j-boundary); }
@media (max-width: 700px) {
 html .download-page .header nav a[aria-current="page"] { padding-inline: 8px; }
 .download-page .header-inner { padding-inline: 6%; }
}

.download-main > .site-faq { width: 100%; margin-top: 40px; }
