/* Download page: small additions on top of style.css. Uses its colour tokens only. */

.page-head { max-width: 46em; }
.page-head .lede { margin-bottom: 20px; }
.notice {
  max-width: 46em; margin: 0 0 8px; padding: 14px 18px;
  background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--apricot);
  border-radius: 10px; color: var(--ink-soft);
}
.notice strong { color: var(--ink); }
.prose h2 { max-width: none; }
.lead-in { color: var(--ink-soft); }

.os-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 20px 0 8px; }
.os-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.os-card.is-yours { border-color: var(--apricot); box-shadow: 0 0 0 2px var(--apricot); }
.os-card h3 { margin: 0; font-size: 1.35rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.os-card .yours { display: none; font: 700 0.75rem/1 var(--body); background: var(--apricot); color: #11111B; padding: 5px 9px; border-radius: 999px; }
.os-card.is-yours .yours { display: inline-block; }
.os-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.os-card .button { text-align: center; }
.os-card .more { list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.os-card .more li { margin: 0 0 4px; }
.os-card .needs { font-size: 0.85rem; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.os-card .state { font-size: 0.85rem; font-weight: 700; display: flex; gap: 8px; align-items: baseline; }
.os-card .state::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 2px var(--line); }
.os-card .state.ok::before { background: #A6E3A1; box-shadow: none; }
.steps-list { max-width: 46em; padding-left: 1.4em; }
.steps-list li { margin-bottom: 0.6em; }

.store-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; max-width: 46em; }
.store-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.store-list strong { font: 700 1.05rem/1.3 var(--display); min-width: 9.5em; }
.store-list span:not(.badge) { color: var(--ink-soft); flex: 1 1 16em; }
.badge { flex: none; margin-left: auto; text-decoration: none; font: 700 0.75rem/1 var(--body); padding: 5px 9px; border-radius: 999px; background: var(--fog); border: 1px solid var(--line); color: var(--ink-soft); white-space: nowrap; }
.badge.now { background: var(--apricot); border-color: var(--apricot); color: #11111B; }

.prose .download-table { max-width: 900px; }
.download-table th { width: 26%; }
.download-table td code { overflow-wrap: anywhere; }

pre {
  max-width: 46em; margin: 0 0 1.2em; padding: 14px 16px; overflow-x: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  font-size: 0.88rem; line-height: 1.5;
}
pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.os-label { font: 700 0.95rem/1.3 var(--display); margin: 18px 0 6px; }

@media (max-width: 860px) {
  .os-grid { grid-template-columns: 1fr; }
  .download-table th { width: 34%; }
}
@media (max-width: 520px) {
  .download-table, .download-table tbody, .download-table tr, .download-table th, .download-table td { display: block; width: 100%; }
  .download-table th { padding-bottom: 2px; border-bottom: 0; }
  .download-table td { padding-top: 0; }
  .store-list strong { min-width: 0; }
}
