/* Download section: one card per platform (macOS, Windows) plus a Linux "coming soon" strip. */

.tp-platforms {
  --tp-control-h: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1040px;
  margin: 0 auto;
  text-align: left;
}

.tp-platform {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-lg);
  transition: border-color var(--tp-dur) var(--tp-ease), box-shadow var(--tp-dur) var(--tp-ease);
}
.tp-platform.is-current {
  border-color: rgba(10, 132, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(10, 132, 255, 0.25), 0 18px 48px -18px rgba(10, 132, 255, 0.45);
}

.tp-platform-head { display: flex; align-items: center; gap: 0.9rem; }
.tp-platform-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(10, 132, 255, 0.12);
  color: var(--tp-blue);
}
.tp-platform-icon svg { width: 22px; height: 22px; }
.tp-platform-name { font-family: var(--tp-font-display); font-size: 1.25rem; font-weight: 600; color: var(--tp-text); line-height: 1.2; }
.tp-platform-req { font-size: 0.85rem; color: var(--tp-text-secondary); margin-top: 0.15rem; }

.tp-platform-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tp-platform-chips .tp-chip { font-size: 0.78rem; padding: 0.3rem 0.75rem; }

.tp-platform-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.tp-platform-actions .tp-btn {
  height: var(--tp-control-h);
  padding-top: 0;
  padding-bottom: 0;
  display: inline-flex;
  align-items: center;
}
.tp-platform .tp-cta-note { margin: 0; }
.tp-platform .tp-verified { margin: 0; max-width: none; }

/* Linux: full-width, dimmed, no download. */
.tp-platform--soon {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: transparent;
  border-style: dashed;
}
.tp-platform--soon .tp-platform-icon { background: rgba(255, 255, 255, 0.05); color: var(--tp-text-secondary); }
.tp-soon-badge {
  flex: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 980px;
  color: var(--tp-orange);
  background: rgba(255, 159, 10, 0.1);
  border: 1px solid rgba(255, 159, 10, 0.35);
}

@media (max-width: 760px) {
  .tp-platforms { grid-template-columns: 1fr; }
  .tp-platform { padding: 1.25rem; }
  .tp-platform-actions .tp-btn { flex: 1 1 100%; justify-content: center; }
  .tp-platform--soon { flex-direction: column; align-items: flex-start; }
}

/* Keep each hash row on one line inside a card: the value takes the slack, Copy stays at the end. */
@media (min-width: 761px) {
  .tp-platform .tp-verify-hash-row { flex-wrap: nowrap; }
  .tp-platform .tp-verify-hash-value { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 760px) {
  .tp-platform .tp-verify-hash-value { flex: 1 1 100%; order: 1; }
}
