/* « Télécharger pour Windows / macOS » button pair (2.1.0, 2026-11-15). Used on index.html (with style.css) and on
   logiciel.html / buy.html (with blog.css + soft.css): only the shared tokens --red, --ink, --muted, --line, --ease.
   soft.js adds dlos--win / dlos--mac (visitor's system: that button is the red primary one, the other is outlined)
   or dlos--any (phones, Linux, unknown: Windows red + macOS dark, both filled). Without JS: same as dlos--any. */
.dlos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 600px; }
.dlos__cell { display: grid; gap: 7px; justify-items: center; align-content: start; min-width: 0; }
.dlos__b {
  --bg: var(--ink); --fg: #fff; --tile: rgba(255, 255, 255, .14); --ring: transparent; --sh: 0 16px 34px -18px rgba(17, 17, 17, .6);
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 22px 10px 10px; padding-inline: 10px 22px;
  border-radius: 999px; background: var(--bg); color: var(--fg); text-decoration: none; box-sizing: border-box;
  box-shadow: inset 0 0 0 1.5px var(--ring), var(--sh);
  transition: transform .25s var(--ease, ease), box-shadow .25s, background .25s, color .25s;
}
.dlos__b:hover { transform: translateY(-2px); }
.dlos__b:focus-visible { outline: 3px solid rgba(227, 0, 0, .45); outline-offset: 3px; }
.dlos__b--win { --bg: var(--red); --sh: 0 16px 36px -16px rgba(227, 0, 0, .7); }
.dlos__ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--tile); }
.dlos__ic svg { display: block; }
.dlos__t { display: grid; min-width: 0; text-align: start; line-height: 1.15; }
.dlos__t small { font-size: 12.5px; font-weight: 500; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlos__t b { font-size: 19px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.dlos__req { font-size: 12.5px; font-weight: 500; color: var(--muted); text-align: center; line-height: 1.35; }

/* the visitor's system is known: its button is the red one, the other is outlined */
.dlos--mac .dlos__b--mac { --bg: var(--red); --sh: 0 16px 36px -16px rgba(227, 0, 0, .7); }
.dlos--mac .dlos__cell--mac { order: -1; }
.dlos--win .dlos__b--mac, .dlos--mac .dlos__b--win {
  --bg: #fff; --fg: var(--ink); --tile: rgba(17, 17, 17, .06); --ring: rgba(17, 17, 17, .18); --sh: 0 0 0 0 transparent;
}
.dlos--win .dlos__b--mac:hover, .dlos--mac .dlos__b--win:hover { --bg: var(--ink); --fg: #fff; --tile: rgba(255, 255, 255, .14); --ring: var(--ink); }
.dlos--win .dlos__b--win:hover, .dlos--mac .dlos__b--mac:hover, .dlos--any .dlos__b--win:hover { box-shadow: 0 22px 44px -16px rgba(227, 0, 0, .8); }

.dlos__note { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.dlos__note svg { flex: none; }

/* phones: one button per line, full width */
@media (max-width: 520px) {
  .dlos { grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: none; }
  .dlos__cell { grid-template-columns: minmax(0, 1fr); }
  .dlos__b { min-height: 60px; }
}

/* home software section (.soft__dl is a centred column on phones) */
.soft__dl .dlos__note { margin: 0; }
@media (max-width: 600px) { .soft__dl .dlos__note { justify-content: center; text-align: center; } }
