/* Download page — platform cards. Chrome (nav/footer/type) comes from
   base.css + legal.css; only the cards live here. */

.dl-wrap { max-width: 980px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 24px clamp(64px, 8vw, 112px); }

.dl-head { margin-bottom: clamp(36px, 5vw, 56px); }
.dl-head h1 {
  font-size: clamp(40px, 6vw, 72px); font-weight: 900; letter-spacing: -0.025em;
  line-height: 1.02; color: var(--ink); margin: 14px 0 16px;
}
.dl-sub { font-size: 16px; color: var(--ink-soft); max-width: 52ch; }

.dl-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px;
}
.dl-card {
  background: var(--bone); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px;
  align-items: flex-start;
}
.dl-icon { display: block; height: 26px; margin-bottom: 2px; }
.dl-icon svg { display: block; width: 26px; height: 26px; fill: var(--ink-soft); }
.dl-icon svg.dl-icon-stroke, .dl-icon .dl-icon-stroke { fill: none; }
.dl-icon-stroke circle, .dl-icon-stroke ellipse, .dl-icon-stroke path, .dl-icon-stroke rect {
  fill: none; stroke: var(--ink-soft); stroke-width: 1.75; stroke-linecap: round;
}
.dl-card.is-soon .dl-icon svg { fill: var(--ink-faint); }
.dl-card.is-soon .dl-icon-stroke circle, .dl-card.is-soon .dl-icon-stroke ellipse, .dl-card.is-soon .dl-icon-stroke path, .dl-card.is-soon .dl-icon-stroke rect { stroke: var(--ink-faint); }
.dl-card h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); margin: 0; border: 0; padding: 0; }
.dl-req { font-size: 12px; color: var(--ink-mute); font-variant-numeric: tabular-nums; margin-top: -6px; }
.dl-btn {
  background: var(--ink); color: var(--paper); border-radius: 9px;
  padding: 11px 18px; font-size: 14px; font-weight: 700;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.dl-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.dl-btn:active { transform: translateY(1px); box-shadow: none; }
/* One coral moment: the (detected) primary platform's button. */
.dl-card.is-primary .dl-btn { background: var(--coral-deep); color: #fff; }
.dl-note { font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.dl-note strong { font-weight: 700; color: var(--ink-two); }

.dl-card.is-soon { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.dl-card.is-soon h2 { color: var(--ink-soft); }
.dl-card.is-soon .dl-note { color: var(--ink-mute); }
.dl-soon {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 4px 10px;
}

.dl-after { margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); padding-top: 24px; max-width: 64ch; }
.dl-after p { font-size: 14.5px; line-height: 1.65; color: var(--ink-two); }
.dl-after strong { font-weight: 700; color: var(--ink); }
.dl-fine { margin-top: 12px; font-size: 13px; color: var(--ink-mute); }
.dl-fine a, .dl-after a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 768px) {
  .dl-grid { grid-template-columns: 1fr; }
}
