/* A quiet landscape panel, framed by Bito's original artwork. */
.download { padding: clamp(72px, 7.5vw, 120px) clamp(24px, 5vw, 84px); }
.download .download-art { inset: 0; background-position: center; background-size: cover; }
.download .download-card { width: min(1120px, 100%); min-height: 358px; padding: clamp(36px, 4.2vw, 64px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); text-align: left; border: 1px solid #ffffffa6; border-radius: 28px; box-shadow: 0 12px 48px #153a2317; }
.download-copy { min-width: 0; }
.download-copy .eyebrow { color: #768178; font-size: 10px; letter-spacing: .1em; }
.download .download-card h2 { margin: 18px 0 16px; font-size: clamp(40px, 4.1vw, 60px); line-height: 1.04; letter-spacing: -.055em; font-weight: 600; color: #202321; }
.download-copy p { color: #7c827e; font-size: 16px; line-height: 1.65; letter-spacing: -.015em; }
.download-actions { min-width: 0; }
.download .download-buttons { margin: 0; display: grid; gap: 12px; align-items: stretch; }
.download-row { display: flex; align-items: center; width: 100%; min-height: 88px; gap: 20px; padding: 20px 24px; border: 1px solid transparent; border-radius: 18px; background: #f6f6f4; color: #242825; text-align: left; font: inherit; transition: background .22s ease, border-color .22s ease, transform .22s ease; }
.download .download-buttons > button { font-size: inherit; color: #242825; padding: 20px 24px; }
.download .download-buttons > button > span { margin-left: 0; }
.download-row:hover { background: #eeeeeb; border-color: #e1e4dd; transform: translateY(-1px); }
.download-row:active { transform: translateY(0); background: #e8ebe4; }
.download-row:focus-visible { outline: 3px solid #087bff85; outline-offset: 3px; }
.download-row-icon { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 30px; }
.download-row-icon svg { width: 25px; height: 25px; }
.download-row-icon svg:not([fill]) { fill: currentColor; }
.download-row-copy { display: flex; flex-direction: column; min-width: 0; gap: 4px; }
.download-row-copy strong { font-size: 17px; line-height: 1.3; font-weight: 500; letter-spacing: -.02em; }
.download-row-copy > span { color: #818782; font-size: 13px; line-height: 1.4; }
.download-row-end { width: 19px; height: 19px; flex: 0 0 19px; margin-left: auto; color: #8b918c; }
.download .download-note { font-size: 10px; line-height: 1.6; color: #878e87; margin-top: 18px; }
.download-fallback { margin-top: 14px; font-size: 13px; }
.download-fallback a { text-decoration: underline; }
.download-dialog { color: #242825; background: #fff; border: 1px solid #e8ebe6; border-radius: 24px; padding: 26px; width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 40px); margin: auto; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 24px 100px #14201933; }
.download-dialog::backdrop { background: #16201b66; }
.download-dialog[open] { animation: download-dialog-in .26s cubic-bezier(.2,.7,.3,1) both; }
.download-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.download-dialog-header h2 { font-size: 22px; font-weight: 500; letter-spacing: -.035em; line-height: 1.25; }
.download-dialog-header button { width: 36px; height: 36px; padding: 8px; display: grid; place-items: center; border-radius: 50%; color: #727970; }
.download-dialog-header button:hover { background: #f1f3ef; color: #202321; }
.download-dialog-header svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.download-dialog-list { display: grid; gap: 12px; }
.download-dialog-note { text-align: center; font-size: 11px; color: #8b918b; line-height: 1.5; margin-top: 20px; }
html.download-modal-open { overflow: hidden; }
@keyframes download-dialog-in { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .download { padding: 54px 22px; }
  .download .download-card { min-height: 0; grid-template-columns: 1fr; gap: 30px; padding: 32px 26px; border-radius: 22px; max-width: 520px; }
  .download .download-card h2 { font-size: clamp(39px, 8.5vw, 54px); margin-top: 16px; }
  .download-copy p { font-size: 14px; }
  .download-row, .download .download-buttons > button { padding: 18px; gap: 14px; min-height: 82px; border-radius: 16px; }
  .download-row-copy strong { font-size: 16px; }
  .download-row-copy > span { font-size: 12px; }
  .download .download-note { font-size: 10px; margin-top: 16px; }
  .download-dialog { padding: 22px; }
}
@media (max-width: 360px) {
  .download { padding: 40px 14px; }
  .download .download-card { padding: 28px 20px; }
  .download-row, .download .download-buttons > button { padding-inline: 14px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .download-dialog[open] { animation: none; } .download-row { transition: none; } }
.motion-paused .download-dialog[open] { animation: none; }
.motion-paused .download-row { transition: none; }
