/* Download: one decision at a time, using the shared site theme. */
.dl-main { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.dl-main [hidden] { display: none !important; }
.dl-hero { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 64px; padding: 80px 0 72px; }
.dl-eyebrow { color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .13em; margin-bottom: 18px; }
.dl-intro h1 { font-size: clamp(36px, 4vw, 52px); line-height: 1.12; letter-spacing: -.045em; font-weight: 650; white-space: pre-line; }
.dl-lead { margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 1.75; max-width: 440px; }
.dl-local { margin: 28px 0 16px; font-size: 13px; color: var(--ink-soft); }
.dl-local > span:first-child { color: var(--ok); margin-right: 6px; }
.dl-text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 550; color: var(--ink); text-decoration: none; }
.dl-text-link:hover, .dl-picker-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.dl-picker { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-md); overflow: hidden; min-width: 0; }
.dl-picker-heading { padding: 26px 28px 20px; }
.dl-picker-heading h2 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.dl-picker-heading p, .dl-muted { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 5px; }
.dl-platforms { display: flex; gap: 4px; margin: 0 28px; padding: 4px; background: var(--bg-soft); border-radius: 10px; }
.dl-platforms button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; appearance: none; flex: 1; min-width: 0; min-height: 40px; border: 1px solid transparent; border-radius: 7px; background: transparent; font: inherit; font-size: 13px; font-weight: 550; cursor: pointer; color: var(--muted); transition: color .15s, background .15s; }
.dl-platforms button:hover { color: var(--ink); }
.dl-platforms button[aria-pressed="true"] { background: var(--surface-raised); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.dl-device-note { padding: 14px 28px 0; color: var(--muted); font-size: 12px; }
.dl-package { padding: 24px 28px; min-height: 319px; }
.dl-package h3 { font-size: 15px; font-weight: 600; }
.dl-builds { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 18px 0 16px; }
.dl-build { padding: 16px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.dl-chip { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink-soft); font-family: var(--mono); font-size: 12px; background: var(--bg-subtle); margin-bottom: 10px; }
.dl-build h4, .dl-linux-build h4 { font-size: 14px; font-weight: 600; }
.dl-build p, .dl-linux-build p { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 4px 0 16px; flex: 1; }
.dl-download { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink); color: var(--bg); text-decoration: none; font-size: 13px; font-weight: 600; line-height: 1.3; text-align: center; }
.dl-build .dl-download { width: 100%; margin-top: auto; }
.dl-download:hover { opacity: .85; }
.dl-download svg { width: 16px; height: 16px; flex-shrink: 0; }
.dl-main a:focus-visible, .dl-main button:focus-visible, .dl-main summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.dl-chip-help { font-size: 12px; color: var(--muted); }
.dl-main summary { cursor: pointer; color: var(--ink-soft); }
.dl-chip-help summary { min-height: 30px; }
.dl-chip-help p { padding: 6px 0 10px; line-height: 1.7; }
.dl-install-tip { color: var(--muted); font-size: 12px; margin-top: 14px; line-height: 1.65; }
.dl-linux-build { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 24px 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.dl-linux-build .dl-chip, .dl-linux-build p { margin-bottom: 0; }
.dl-linux-build .dl-download { margin-left: auto; }
.dl-demo-button { margin-top: 26px; }
.dl-picker-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 17px 28px; border-top: 1px solid var(--line); background: var(--bg-subtle); }
.dl-picker-footer a { font-size: 12px; color: var(--muted); text-decoration: none; }
.dl-start { padding: 48px 0; border-top: 1px solid var(--line); }
.dl-start h2, .dl-faq h2 { font-size: 26px; letter-spacing: -.025em; font-weight: 600; line-height: 1.3; }
.dl-start .dl-eyebrow { margin-bottom: 10px; }
.dl-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; list-style: none; margin-top: 32px; }
.dl-step-number { font-family: var(--mono); color: var(--muted); font-size: 12px; }
.dl-steps h3 { font-size: 16px; margin: 10px 0; font-weight: 600; }
.dl-steps p { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 18px; }
.dl-faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; border-top: 1px solid var(--line); padding: 48px 0 72px; }
.dl-faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.dl-faq-list details:first-child { padding-top: 0; }
.dl-faq-list summary { font-size: 14px; font-weight: 550; padding: 4px 0; }
.dl-faq-list p { font-size: 13px; color: var(--muted); line-height: 1.8; padding: 14px 0 4px; }
.dl-faq-list a { margin-top: 12px; }
@media (max-width: 1000px) { .dl-hero { gap: 32px; grid-template-columns: .8fr 1.2fr; } }
@media (max-width: 760px) {
  .dl-main { padding: 0 24px; }
  .dl-hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .dl-intro h1 { font-size: 38px; }
  .dl-lead { max-width: 540px; font-size: 15px; margin-top: 18px; }
  .dl-local { margin-top: 18px; }
  .dl-steps { grid-template-columns: 1fr; gap: 28px; }
  .dl-steps li { padding-left: 40px; position: relative; }
  .dl-step-number { position: absolute; left: 0; top: 3px; }
  .dl-steps h3 { margin-top: 0; }
  .dl-faq { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 48px; }
  .dl-start { padding: 32px 0; }
  .dl-start h2, .dl-faq h2 { font-size: 23px; }
}
@media (max-width: 420px) {
  .dl-main { padding: 0 16px; }
  .dl-picker-heading { padding: 22px 18px 18px; }
  .dl-platforms { margin: 0 18px; }
  .dl-package { padding: 20px 18px; }
  .dl-picker-footer { padding: 16px 18px; }
  .dl-builds { gap: 8px; }
  .dl-build { padding: 12px; }
  .dl-build .dl-download { padding: 10px 6px; gap: 4px; font-size: 12px; }
  .dl-device-note { padding: 12px 18px 0; }
}
@media (prefers-reduced-motion: reduce) { .dl-main * { transition: none !important; } }
/* Keep the shared homepage's generic accordion spacing out of the picker. */
.dl-hero { padding-top: 56px; padding-bottom: 56px; }
.dl-chip-help, .dl-chip-help:first-of-type { border: 0; padding: 0; }
.dl-chip-help summary { padding: 5px 0; font-size: 12px; }
.dl-chip-help p { margin: 0; }
@media (max-width: 760px) { .dl-hero { padding: 32px 0 40px; } }
@media (max-width: 900px) { .nav .nav-hamburger { margin-left: auto; } }

.dl-platform-icon { width: 16px; height: 16px; flex: 0 0 16px; color: currentColor; }
.dl-download > span { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 420px) { .dl-platforms button { gap: 6px; } }
