/* The desktop app download dialog, opened from the header's Product menu on every page and from the
   homepage, pricing and enterprise CTAs. Like site-header.css it is scoped to .dl, with its own tokens
   and resets, so it needs nothing from home.css and cannot restyle the page it sits on.
   Matches the app's DesktopAppDialog: header bar, video body, footer actions. */

.dl {
  --sans: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --dl-line: #292132;
  box-sizing: border-box;
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  font: 400 14px/20px var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #e6e4ea;
  background: #110b1c;
  border: 1px solid var(--dl-line);
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
  overflow: auto;
}
.dl *, .dl *::before, .dl *::after { box-sizing: border-box; }
.dl [hidden] { display: none !important; }
.dl :focus-visible { outline: 2px solid #aef0d9; outline-offset: 2px; }
.dl .icon { display: block; width: 16px; height: 16px; flex: none; fill: currentColor; }
.dl::backdrop { background: rgba(0, 0, 0, .8); }
.dl__head { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--dl-line); }
.dl__heading { display: grid; gap: 4px; flex: 1; min-width: 0; }
.dl__title { margin: 0; font: 500 16px/24px var(--sans); color: #e6e4ea; }
.dl__desc { margin: 0; font: 400 13px/18px var(--sans); color: #b4adc0; }
.dl__close { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; font: inherit; color: #8d8499; background: none; border: 0; border-radius: 2px; cursor: pointer; }
.dl__close .icon { width: 16px; height: 16px; }
.dl__close:hover { color: #e6e4ea; background: #1e1627; }
.dl__body { display: grid; gap: 16px; padding: 16px 20px; }
.dl__video { background: #08050c; aspect-ratio: 600 / 360; }
.dl__video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.dl__warning { display: flex; gap: 10px; padding: 12px; color: #f0c674; background: rgba(240, 160, 32, .1); border: 1px solid rgba(240, 160, 32, .28); border-radius: 2px; }
.dl__warning strong { display: block; font-weight: 500; color: inherit; }
.dl__warning span { color: #b4adc0; }
.dl__links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; min-height: 61px; padding: 12px 16px 12px 20px; border-top: 1px solid var(--dl-line); }
.dl__btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 36px; padding: 0 16px; font: 500 14px/20px var(--mono); letter-spacing: -.04em; text-decoration: none; border: 1px solid transparent; border-radius: 2px; transition: background-color .15s ease; }
.dl__btn .icon { width: 14px; height: 14px; fill: currentColor; }
.dl__btn--subtle { color: #dfdbe7; background: #0b0711; border-color: #403749; }
.dl__btn--subtle:hover { background: #1e1627; }
.dl__btn--primary { color: #f8f7fb; background: #6a4ebb; }
.dl__btn--primary:hover { background: #503795; }
.dl__muted { font: 400 13px/16px var(--mono); color: #8d8499; }
.dl__note { margin: 0; font: 400 14px/20px var(--sans); color: #b4adc0; }
.dl__note a { color: #e6e4ea; text-decoration: underline; text-underline-offset: 3px; }
