/* Seção #download, ícone de download dos botões e link "Download" do menu (só quando o botão
   "Baixar" do cabeçalho some: abaixo de 891 px). */
.icon-download { border-bottom: 2px solid currentColor; border-radius: 1px; }
.icon-download::before { position: absolute; top: .02rem; left: 50%; width: 2px; height: .64rem; content: ""; background: currentColor; transform: translateX(-50%); }
.icon-download::after { position: absolute; top: .2rem; left: 50%; width: .4rem; height: .4rem; content: ""; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateX(-50%) rotate(45deg); }

.site-nav .nav-download { display: none; }

.download-section { border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 10% 16%, #2a1840 0, transparent 52%), radial-gradient(ellipse at 94% 94%, #1d1230, transparent 58%), #0e0b16; }
.download-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; gap: clamp(1.25rem, 4vw, 3.5rem); }

.download-card { display: grid; gap: 1.15rem; padding: clamp(1.25rem, 3.4vw, 2.4rem); border: 1px solid #8d64b0; border-radius: .95rem; background: radial-gradient(ellipse at 100% 0%, #4e2b73 0, transparent 70%), #1d1329; box-shadow: 0 1.2rem 3rem #0a061380, 0 0 2.6rem #8b47ec1c; }
.download-card-head { display: flex; align-items: center; gap: .9rem; }
.download-card-head img { width: 3.5rem; height: 3.5rem; border-radius: .7rem; }
.download-card h3 { font-size: clamp(1.45rem, 2.6vw, 2rem); letter-spacing: -.045em; text-wrap: initial; }
.download-card-head p { margin-top: .3rem; color: #d0c5db; font-size: .92rem; }
.download-button { width: 100%; min-height: 3.9rem; font-size: 1.02rem; }
.download-size { padding: .1rem .42rem; border-radius: .3rem; background: #180d2624; font-size: .82rem; font-weight: 650; }
.download-facts { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; color: #d0c5db; font-size: .9rem; }
.download-facts li { display: flex; align-items: baseline; gap: .6rem; }
.download-facts li::before { content: "✓"; color: var(--accent); font-weight: 750; }

.download-check { padding-top: .85rem; border-top: 1px solid #4a345a; }
.download-check summary { width: fit-content; color: var(--accent-bright); font-size: .88rem; font-weight: 650; cursor: pointer; }
.download-check summary:hover { color: var(--text); }
.download-check p { margin-top: .65rem; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.download-check code, .download-steps code { padding: .08rem .3rem; border-radius: .25rem; background: #0f0b17; color: #eadcf8; font: 500 .82rem/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; overflow-wrap: anywhere; }
.download-hash { display: flex; align-items: center; gap: .55rem; margin-top: .65rem; padding: .55rem .65rem; border: 1px solid #4a345a; border-radius: .5rem; background: #0f0b17; }
.download-hash code { flex: 1; min-width: 0; padding: 0; background: none; letter-spacing: .02em; }
.download-copy { flex-shrink: 0; min-height: 2.15rem; padding: .3rem .75rem; border: 1px solid #624282; border-radius: .4rem; background: #27183b; color: #f2e5ff; font-size: .8rem; font-weight: 650; }
.download-copy:hover { border-color: #aa77ec; background: #3b2457; }

.download-guide h3 { font-size: clamp(1.5rem, 2.55vw, 2.2rem); letter-spacing: -.045em; text-wrap: initial; }
.download-steps { margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: download-step; }
.download-steps li { counter-increment: download-step; display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: .85rem; padding-block: .85rem; border-top: 1px solid var(--line); color: var(--muted); }
.download-steps li::before { content: counter(download-step); display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1px solid #5a4074; border-radius: 50%; background: #241733; color: #e9d0ff; font-size: .82rem; font-weight: 700; }
.download-steps strong { color: var(--text); font-weight: 650; }
.download-note { margin-top: .35rem; padding: .9rem 1rem; border: 1px solid #826349; border-radius: .65rem; background: #2a1d33; color: #e3d6cf; font-size: .9rem; line-height: 1.6; }
.download-note strong { color: #ffdb9a; font-weight: 680; }

@media (max-width: 890px) {
  .site-nav .nav-download { display: inline; }
}

/* Com o link "Download" o menu horizontal fica com 7 itens: aperta o espaço entre eles para
   caber mesmo com a barra de rolagem do Windows. */
@media (min-width: 761px) and (max-width: 890px) {
  .site-nav { gap: .95rem; }
}

@media (max-width: 860px) {
  .download-grid { grid-template-columns: 1fr; }
}

@media (max-width: 490px) {
  .download-card-head img { width: 2.9rem; height: 2.9rem; }
  .download-button { min-height: 3.5rem; font-size: .95rem; }
  .download-hash { flex-direction: column; align-items: stretch; }
}
