/* Launcher download page. Reuses the tokens, buttons, steps and spec table from styles.css. */
.dl-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px);
  background-color: var(--bg);
  background-image:
    radial-gradient(60% 80% at 24% 50%, rgba(232, 165, 60, 0.13), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}
.dl { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

/* Launcher illustration (sizes scale with the window through container units) */
.lx-wrap { position: relative; }
.lx-wrap::before, .lx-wrap::after { content: ""; position: absolute; z-index: 2; width: 22px; height: 22px; border: 3px solid var(--brass); }
.lx-wrap::before { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.lx-wrap::after { right: -8px; bottom: -8px; border-left: 0; border-top: 0; }
.lx {
  container-type: inline-size;
  aspect-ratio: 16 / 10;
  display: grid; grid-template-columns: 11% minmax(0, 1fr); grid-template-rows: 8% minmax(0, 1fr);
  background: #101315; border: 1px solid var(--line); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: rise 0.7s ease both;
}
.lx-bar {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 2cqw; padding: 0 2cqw;
  background: #0a0c0d; border-bottom: 1px solid var(--line);
  font: 400 1.5cqw/1 var(--f-mono); letter-spacing: 0.16em; color: var(--muted);
}
.lx-dots { display: flex; gap: 0.9cqw; }
.lx-dots i { width: 1.3cqw; height: 1.3cqw; background: var(--line); }
.lx-dots i:first-child { background: var(--brass); }
.lx-side { display: flex; flex-direction: column; align-items: center; gap: 1.6cqw; padding-top: 2.4cqw; background: #0c0f10; border-right: 1px solid var(--line); }
.lx-ico { width: 6cqw; height: 6cqw; display: grid; place-items: center; color: var(--muted); }
.lx-ico.on { background: var(--panel-2); color: var(--brass); box-shadow: inset 2px 0 0 var(--brass); }
.lx-ico svg { width: 3.2cqw; height: 3.2cqw; }
.lx-main { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; }
.lx-banner {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 1.2cqw; padding: 3cqw;
  background:
    linear-gradient(180deg, rgba(var(--bg-rgb), 0.2) 0%, rgba(var(--bg-rgb), 0.1) 40%, rgba(var(--bg-rgb), 0.92) 100%),
    url("../assets/img/hero-poster.webp") 72% center / cover no-repeat;
}
.lx-acct {
  position: absolute; top: 2.4cqw; right: 2.4cqw; display: flex; align-items: center; gap: 1cqw; padding: 0.9cqw 1.5cqw;
  background: rgba(var(--bg-rgb), 0.78); border: 1px solid var(--line);
  font: 600 1.4cqw/1 var(--f-display); letter-spacing: 0.1em; text-transform: uppercase;
}
.lx-acct i { width: 1cqw; height: 1cqw; background: #5fd38d; }
.lx-logo { width: 24cqw; filter: drop-shadow(0 0.6cqw 1.2cqw rgba(0, 0, 0, 0.6)); }
.lx-tag { margin: 0; font: 600 1.6cqw/1.2 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; }
.lx-foot { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; padding: 2.2cqw 3cqw; background: #0c0f10; border-top: 1px solid var(--line); }
.lx-prog { flex: 1; min-width: 0; display: grid; gap: 1cqw; font: 400 1.35cqw/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.lx-track { height: 0.9cqw; background: var(--line); }
.lx-track i { display: block; height: 100%; width: 100%; background: var(--brass); }
.lx-play {
  padding: 1.7cqw 5cqw; background: var(--brass); color: var(--brass-ink);
  font: 700 2cqw/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase;
  clip-path: polygon(1.1cqw 0, 100% 0, 100% calc(100% - 1.1cqw), calc(100% - 1.1cqw) 100%, 0 100%, 0 1.1cqw);
}

/* Copy column */
.dl-copy h1 { margin: 18px 0 0; font: 700 clamp(2.5rem, 6vw, 4.25rem)/1 var(--f-display); letter-spacing: 0.01em; text-transform: uppercase; }
.dl-copy .lead { margin: 20px 0 0; max-width: 46ch; color: #c4cacd; }
.dl-list { list-style: none; display: grid; gap: 12px; margin: 26px 0 0; padding: 0; }
.dl-list li { display: flex; align-items: flex-start; gap: 14px; }
.dl-list li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 0.55em; background: var(--brass); }
.dl-cta { display: grid; justify-items: start; gap: 12px; margin-top: 34px; }
.dl-btn { --cut: 12px; padding: 20px 30px; font-size: 1.0625rem; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font: 400 0.8125rem/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.dl-meta .m { white-space: nowrap; }
.dl-alt { margin: 22px 0 0; color: var(--muted); font-size: 0.9375rem; }
.dl-alt a, .spec a { color: var(--brass); text-underline-offset: 3px; }

@media (max-width: 899px) {
  .dl { grid-template-columns: minmax(0, 1fr); }
  .dl-copy { order: -1; }
}
@media (max-width: 639px) {
  .dl-cta { justify-items: stretch; }
  .dl-btn { flex: none; }
  .dl-meta { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .lx { animation: none; } }
