/* The download page's own parts. Everything else is the approved landing's
   (landing.css), which this file never overrides outside these classes. */
.dl-title .soon { font-size: clamp(14px, .8vw, 17px); }

/* One panel on the landing's blue, as wide as the column: the download at the
   left, Luff's Home at the right running off the panel's edges, as the
   landing's Sync panel holds its computer (his ask of 26 Nov: the blue panel
   looked empty inside). Windows' warning waits under it, folded. */
.dl { --in: clamp(28px, 2.3vw, 52px); margin-top: clamp(28px, 2.2vw, 52px); }
.dl-get { container-type: inline-size; position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: clamp(430px, 31vw, 700px); overflow: hidden; border-radius: var(--r-big); background: var(--blue-band); color: #fff; }
.dl-words { display: flex; flex-direction: column; align-items: flex-start; padding: var(--in); }
/* Windows and Mac: the panel's two tabs, named at the heading's size; the one open is white and ruled under,
   the other the same white, fainter (his ask of 27 Nov: the Mac a place of its own, not a second blue box) */
.dl-os { display: flex; gap: clamp(26px, 1.9vw, 42px); }
.dl-tab { margin: 0; padding: 0 0 7px; border: 0; background: none; font: 700 clamp(30px, 1.9vw, 44px)/1.06 var(--sans); letter-spacing: -.034em; color: rgba(255, 255, 255, .5); box-shadow: inset 0 -2px 0 transparent; cursor: pointer; transition: color .15s ease; }
.dl-tab:hover { color: rgba(255, 255, 255, .8); }
.dl-tab[aria-selected="true"] { color: #fff; box-shadow: inset 0 -2px 0 #fff; cursor: default; }
.dl-for[hidden], .dl-warn[hidden] { display: none; }
.dl-sys { margin-top: 14px; font-size: clamp(16px, .74vw, 19px); font-weight: 500; color: rgba(255, 255, 255, .95); }
.dl-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 1.8vw, 40px); }
.dl-btns .btn { min-width: 11.5em; }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .82); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.dl-ver { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 16px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .95); }
.dl-ver a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: rgba(255, 255, 255, .5); }
.dl-ver a:hover { text-decoration-color: #fff; }
.dl-stores { margin-top: auto; padding-top: clamp(32px, 2.4vw, 56px); }
.dl-stores .store { background: rgba(12, 14, 20, .56); border-color: rgba(255, 255, 255, .14); color: #fff; font-weight: 500; }
.dl-stores .store small { font-size: 12.5px; color: rgba(255, 255, 255, .68); }

/* Home, a whole window's top, cut by the panel's right and bottom edges */
.dl-pic { position: relative; min-height: 0; }
.dl-win { position: absolute; left: 0; top: var(--in); width: 74cqw; overflow: hidden; border-radius: 12px 0 0 0; background: #f6f8fa; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 60px rgba(3, 12, 32, .4); }
.dl-win img { display: block; width: 100%; height: auto; }
.dl-win img[hidden] { display: none; }

/* Windows' warning, folded: one quiet line under the panel */
.dl-warn { margin-top: clamp(14px, 1vw, 22px); }
.dl-warn summary { display: inline-flex; align-items: center; gap: 10px; padding: 6px 2px; list-style: none; cursor: pointer; font-size: clamp(15px, .7vw, 17px); font-weight: 600; color: var(--ink-2); }
.dl-warn summary::-webkit-details-marker { display: none; }
.dl-warn summary:hover { color: #fff; }
.dl-warn summary svg { width: 18px; height: 18px; flex: none; }
.dl-ic { color: var(--ink-3); }
.dl-chev { color: var(--ink-3); transition: transform .2s ease; }
.dl-warn[open] .dl-chev { transform: rotate(180deg); }
.dl-warn-in { margin-top: 12px; padding: var(--in); border-radius: var(--r-big); background: var(--bg-2); border: 1px solid var(--line); }
.dl-warn-in > p { max-width: 40em; font-size: clamp(16px, .74vw, 18.5px); line-height: 1.58; color: var(--ink-2); }
.dl-warn-in .ss-steps { margin-top: clamp(18px, 1.3vw, 28px); max-width: 960px; }

@media (prefers-reduced-motion: reduce) {
  .dl-chev, .dl-tab { transition: none; }
}
@media (max-width: 1080px) {
  .dl-get { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .dl-pic { height: 54cqw; }
  .dl-win { left: var(--in); width: 128cqw; }
}
@media (max-width: 760px) {
  .dl-btns { width: 100%; }
  .dl-btns .btn { flex: 1 1 100%; }
  .dl-stores { width: 100%; flex-direction: column; align-items: stretch; }
  .dl-stores .store { width: 100%; }
  .dl-pic { height: 70cqw; }
  .dl-win { left: 18px; width: 150cqw; }
}

