/* Shared build-time download component. No autonomous animation or JS dependency. */
body .download-section { padding: 3rem max(1.25rem, calc((100% - 72rem) / 2)); }
body .download-panel { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(15rem, 1fr); gap: 2rem; padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid #a98d50; border-radius: .5rem; background: #202b25; color: #f5f0e8; text-align: left; }
body .download-panel h2 { margin: 0 0 .75rem; color: #f5f0e8; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; }
body .download-panel p { margin: 0 0 1rem; color: #e2e4db; font-size: 1rem; line-height: 1.7; }
body .download-facts { display: grid; gap: .5rem; margin: 1.25rem 0; font-size: .9375rem; }
body .download-facts > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .75rem; }
body .download-facts dt { color: #c9cabf; }
body .download-facts dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
body .download-panel .download-note { margin-top: 1rem; color: #c9cabf; font-size: .875rem; }
body .download-panel__action { align-self: center; }
body a.download-cta[data-download-cta], body[data-theme] a.download-cta[data-download-cta] { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; min-height: 2.875rem; width: auto; padding: .65rem 1.25rem; border: 1px solid #d4af37; border-radius: .35rem; background: #d4af37; color: #191b16; font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.4; text-decoration: none; white-space: nowrap; box-shadow: inset 0 1px 0 #ffffff40; animation: none; transition: background-color 150ms ease, box-shadow 150ms ease; }
body a.download-cta[data-download-cta]:hover, body[data-theme] a.download-cta[data-download-cta]:hover { background: #e4c35b; border-color: #e4c35b; color: #191b16; transform: none; box-shadow: 0 0 0 3px #d4af3720; }
body a.download-cta[data-download-cta]:active, body[data-theme] a.download-cta[data-download-cta]:active { background: #bb982b; transform: translateY(1px); box-shadow: inset 0 2px 4px #0003; }
body a.download-cta[data-download-cta]:focus-visible, body[data-theme] a.download-cta[data-download-cta]:focus-visible { outline: 3px solid #fff3bb; outline-offset: 4px; box-shadow: 0 0 0 6px #202b25; }
body .download-footer-actions { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; padding: 0 1.25rem 2rem; font-size: 1rem; }
body .download-brand { display: inline-block; width: 2.5rem; height: 2.5rem; min-width: 2.5rem; border-radius: .3rem; object-fit: cover; vertical-align: middle; margin-right: .65rem; }
body .site-nav__brand { display: flex; align-items: center; min-width: 0; }
body .site-footer__brand a, body .footer-name { display: inline-flex; align-items: center; }
body .download-checklist { padding-left: 1.3rem; line-height: 1.9; }
body .download-mobile { display: none; }
body .tabs { flex-wrap: wrap; align-items: center; }
body .hero .actions { flex-wrap: wrap; }
body a.download-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 2.875rem; padding: .65rem 1.1rem; border: 1px solid #a1a99f; border-radius: .35rem; color: #e2e4db; font-size: 1rem; font-weight: 600; text-decoration: none; }
body a.download-secondary:hover { background: #ffffff10; }
body a.download-secondary:focus-visible { outline: 3px solid #fff3bb; outline-offset: 4px; }
@media (max-width: 767px) {
  body.download-ready { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
  body .download-panel { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  body .download-section { padding: 2rem 1rem; }
  body .download-mobile { position: fixed; display: flex; align-items: center; gap: .75rem; justify-content: space-between; z-index: 90; left: 0; right: 0; bottom: 0; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: #18221ef5; border-top: 1px solid #a98d50; color: #f5f0e8; box-shadow: 0 -4px 20px #0003; }
  body .download-mobile > span { min-width: 0; flex: 1; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .875rem; line-height: 1.5; }
  body .download-mobile .download-cta { flex: none; }
  body .tabs .download-cta { margin: .35rem 0; }
  body .nav-note { display: none; }
}
@media (prefers-reduced-motion: reduce) { body a.download-cta[data-download-cta], body[data-theme] a.download-cta[data-download-cta] { transition: none !important; animation: none !important; } }
