/* ==============================
   download.css: Download CTA above the footer

   The only stylesheet for the .download-section block that every page on
   the site carries, verbatim, directly above <footer>. Pages that load
   sections.css or tool-page.css get their own copies of the badge rules;
   they are kept identical on purpose so this file stands alone.
   ============================== */

.download-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.download-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dl-title {
  font-size: clamp(1.75rem, 3.6vw, 2.4rem);
  margin-bottom: 0.85rem;
}

.dl-sub {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 50ch;
  margin-bottom: 1.75rem;
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.dl-version {
  margin-top: 1.25rem;
  font-size: 0.825rem;
  color: var(--text-3);
}

.dl-version a { color: var(--accent); }
.dl-version a:hover { text-decoration: underline; }

/* Store badges: image with a text-button fallback when the SVG fails. */
.store-badge-img { height: 50px; width: auto; display: inline-block; }

.platform-btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
}

.platform-btn:hover { background: var(--accent-hover); }

@media (max-width: 640px) {
  .download-section { padding: 3.5rem 0; }
}
