/* DOWNLOAD-PAGE: /telecharger and /download. Builds on site.css (top bar, buttons, .cmd, and the
   blue background of the status page). Everything fits on one screen. */
.dl-main { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; padding: 36px 0; }
.dl-card-wrap { display: flex; justify-content: center; width: 100%; }
.dl-splash { width: 100%; max-width: 620px; padding: 32px 36px 26px; border: 1px solid rgba(169, 212, 245, .16); border-radius: 22px; background: rgba(0, 20, 38, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); text-align: center; }

.dl-brand { display: flex; align-items: center; justify-content: center; gap: 20px; text-align: left; }
.dl-logo { flex: none; width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .12); }
.dl-brand .kicker { margin-bottom: 2px; color: var(--sky); }
.dl-brand h1 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 750; letter-spacing: -.025em; }
.dl-by { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; color: #9fb8cc; font-size: .88rem; }
.dl-by img { width: auto; height: 20px; }

.ph { width: 22px; height: 22px; flex: none; }
.ph-sm { width: 17px; height: 17px; }
.btn .ph { width: 22px; height: 22px; }

.dl-os { display: inline-flex; align-items: center; gap: 10px; margin: 24px 0 0; padding: 6px 16px 6px 6px; border: 1px solid rgba(169, 212, 245, .18); border-radius: 999px; background: rgba(255, 255, 255, .05); color: #e3ecf4; font-weight: 600; font-size: .95rem; }
.dl-os-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(79, 163, 224, .16); color: var(--sky); }
.dl-os-icon .ph { width: 19px; height: 19px; }

.dl-starting { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 0; color: #cfe2f1; font-size: .95rem; }
.dl-spinner { width: 16px; height: 16px; border: 2px solid rgba(169, 212, 245, .3); border-top-color: var(--sky); border-radius: 50%; animation: dl-spin .9s linear infinite; }
@keyframes dl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dl-spinner { animation: none; } }

.btn-lg { min-height: 58px; padding: 0 28px; font-size: 1.08rem; }
.dl-main-btn { margin-top: 16px; }
.dl-main-btn small { padding-left: 10px; border-left: 1px solid rgba(0, 23, 43, .25); font-weight: 500; font-size: .85rem; opacity: .8; }
.dl-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; color: #9fb8cc; font-size: .85rem; }
.dl-meta .ph { color: var(--sky); }
.dl-hint { margin: 4px 0 0; color: #8aa3b8; font-size: .82rem; }
.dl-text { max-width: 470px; margin: 10px auto 0; color: #c4d6e5; font-size: .98rem; }
.dl-soon { margin-top: 20px; color: #fff; font-size: 1.3rem; font-weight: 700; }

.dl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: step; text-align: left; }
.dl-steps li { position: relative; padding: 12px 12px 12px 44px; border: 1px solid rgba(169, 212, 245, .12); border-radius: 12px; background: rgba(255, 255, 255, .03); color: #d6e6f3; font-size: .86rem; line-height: 1.4; counter-increment: step; }
.dl-steps li::before { content: counter(step); position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sky); color: #00172b; font-weight: 750; font-size: .8rem; }

.dl-box { margin-top: 20px; padding: 16px 18px; border: 1px solid rgba(169, 212, 245, .14); border-radius: 14px; background: rgba(255, 255, 255, .03); text-align: left; }
.dl-box-title { display: flex; align-items: center; gap: 8px; margin: 0; color: #fff; font-weight: 700; font-size: .93rem; }
.dl-box-title .ph { color: var(--sky); }
.dl-box-note { margin: 8px 0 0; color: #9fb8cc; font-size: .84rem; }
.dl-box .cmd-copy .ph, .dl-url .cmd-copy .ph { width: 16px; height: 16px; }
.dl-portable { display: inline-flex; align-items: center; gap: 8px; color: #a9d4f5; font-size: .86rem; font-weight: 600; text-decoration: none; }
.dl-portable:hover span { text-decoration: underline; }
.dl-portable small { color: #8aa3b8; font-weight: 500; }
.dl-url { max-width: 420px; margin: 14px auto 0; text-align: left; }

.dl-switch { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(169, 212, 245, .12); color: #8aa3b8; font-size: .86rem; }
.dl-switch span { margin-right: 4px; }
.dl-switch a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(169, 212, 245, .18); border-radius: 999px; color: #d6e6f3; text-decoration: none; transition: background-color .2s, border-color .2s; }
.dl-switch a:hover { border-color: rgba(169, 212, 245, .5); background: rgba(255, 255, 255, .06); }
.dl-switch a[aria-current] { border-color: var(--sky); background: rgba(79, 163, 224, .16); color: #fff; }
.dl-all { margin: 12px 0 0; font-size: .85rem; }
.dl-all a { display: inline-flex; align-items: center; gap: 6px; color: #a9d4f5; text-decoration: none; }
.dl-all a:hover { text-decoration: underline; }
.dl-page .nav a[aria-current="page"] { color: #fff; }

@media (max-width: 640px) {
  .dl-main { align-items: flex-start; padding: 16px 0; }
  .dl-splash { padding: 22px 18px 18px; border-radius: 18px; }
  .dl-brand { gap: 14px; }
  .dl-logo { width: 64px; height: 64px; border-radius: 16px; }
  .dl-os { margin-top: 18px; font-size: .88rem; }
  .dl-soon { font-size: 1.12rem; }
  .dl-text { font-size: .92rem; }
  .btn-lg { width: 100%; min-height: 54px; padding: 0 18px; font-size: 1rem; }
  .dl-steps { grid-template-columns: 1fr; gap: 6px; margin-top: 16px; }
  .dl-steps li { padding: 9px 10px 9px 40px; }
  .dl-steps li::before { top: 9px; }
  .dl-box { padding: 14px; }
  .dl-switch { margin-top: 18px; padding-top: 14px; }
}

.dl-box-foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 4px 16px; margin-top: 10px; }
.dl-more { flex: 1 1 260px; color: #9fb8cc; font-size: .84rem; }
.dl-more summary { cursor: pointer; }
.dl-more[open] { flex-basis: 100%; }
.dl-more summary:hover { color: #d6e6f3; }

/* Short screens (laptops at 768 px): tighter, so nothing needs scrolling. */
@media (min-width: 641px) and (max-height: 920px) {
  .dl-main { padding: 18px 0; }
  .dl-splash { padding: 22px 32px 18px; }
  .dl-logo { width: 72px; height: 72px; border-radius: 18px; }
  .dl-os { margin-top: 16px; }
  .dl-starting { margin-top: 12px; }
  .dl-main-btn { margin-top: 12px; }
  .btn-lg { min-height: 52px; }
  .dl-meta { margin-top: 8px; }
  .dl-steps { margin-top: 16px; }
  .dl-steps li { padding: 10px 10px 10px 42px; }
  .dl-steps li::before { top: 10px; }
  .dl-box { margin-top: 14px; padding: 12px 16px; }
  .dl-switch { margin-top: 16px; padding-top: 12px; }
  .dl-all { margin-top: 8px; }
  .footer-slim { padding-bottom: 14px; }
}
