.download-breadcrumbs {
  display: flex;
  gap: 10px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.download-hero-grid {
  min-height: 430px;
  padding-top: 32px;
  padding-bottom: 44px;
}

.download-hero h1 {
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.3;
}

.download-subtitle {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 600;
}

.download-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.download-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.download-benefits img {
  flex-shrink: 0;
  object-fit: contain;
}

.download-benefits strong,
.download-benefits small {
  display: block;
}

.download-benefits strong {
  font-size: 15px;
}

.download-benefits small {
  color: var(--muted);
  font-size: 13px;
}

.download-hero .hero-visual {
  position: relative;
}

.client-version-badge {
  position: absolute;
  bottom: 18px;
  left: 0;
  display: grid;
  gap: 4px;
  padding: 16px 24px;
  color: #fff;
  background: var(--blue);
  border: 1px solid #7eb2ff;
  border-radius: 12px;
  box-shadow: 0 8px 30px #0057ff29;
}

.client-version-badge strong {
  font-size: 24px;
}

.download-workspace {
  padding-top: 24px;
}

.platform-selector {
  display: flex;
  margin-bottom: 24px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f6faff;
  scrollbar-width: thin;
}

.platform-tabs {
  display: flex;
  flex: 5 1 0;
}

.download-tab,
.history-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  gap: 12px;
  min-width: 150px;
  min-height: 78px;
  padding: 16px 12px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  text-align: left;
}

.download-tab img {
  width: 32px;
  height: 36px;
  object-fit: contain;
}

.download-tab strong,
.history-link strong {
  display: block;
  font-size: 16px;
  white-space: nowrap;
}

.download-tab small,
.history-link small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.download-tab[aria-selected="true"] {
  color: #fff;
  background: var(--blue);
}

.download-tab[aria-selected="true"] small {
  color: #e3efff;
}

.download-tab[aria-selected="true"] img {
  filter: none;
  padding: 3px;
  background: #fff;
  border-radius: 6px;
}

.download-tab:hover:not([aria-selected="true"]),
.history-link:hover {
  background: #e8f2ff;
}

.history-link > span:first-child {
  color: var(--blue);
  font-size: 36px;
  line-height: 1;
}

.client-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  align-items: stretch;
  gap: 24px;
}

.client-card,
.client-gallery,
.platform-guide {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(125deg, #fff, #f7fbff);
}

.client-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.client-heading > img {
  flex-shrink: 0;
  width: 58px;
  height: 62px;
  object-fit: contain;
}

.client-heading h2 {
  font-size: 28px;
}

.client-heading p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

.client-metadata {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.client-metadata > div {
  padding: 12px;
}

.client-metadata > div + div {
  border-left: 1px solid var(--border);
}

.client-metadata dt {
  color: var(--muted);
  font-size: 13px;
}

.client-metadata dd {
  margin: 4px 0 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.download-checks {
  margin: 0 0 24px;
  padding: 0;
  color: var(--muted);
  list-style: none;
  line-height: 1.9;
}

.download-checks li::before {
  content: "✓";
  margin-right: 12px;
  color: var(--green);
  font-weight: 700;
}

.client-actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}

.client-actions .button {
  padding: 12px 16px;
}

.other-versions {
  position: relative;
  z-index: 2;
}

.other-versions summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--blue);
  border-radius: 9px;
  color: var(--blue);
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.other-versions summary::-webkit-details-marker {
  display: none;
}

.other-versions ul {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px #1027471f;
}

.other-versions a {
  display: block;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
}

.other-versions a:hover {
  color: var(--blue);
  background: #edf5ff;
}

.client-source {
  margin-top: 18px;
  padding: 12px 14px;
  color: #526986;
  background: #eef5ff;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.8;
  scroll-margin-top: 24px;
}

.verify-link {
  display: inline-block;
  margin-top: 12px;
}

.client-gallery h3 {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 21px;
}

.client-gallery figure {
  margin: 0;
  padding: 14px;
  border-radius: 10px;
  background: #e3f2ff;
}

.client-gallery figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 287 / 180;
  object-fit: contain;
}

.client-gallery figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.gallery-controls,
.gallery-thumbnails {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.gallery-controls {
  margin-top: 18px;
}

.gallery-thumbnails {
  flex: 1;
}

.gallery-thumb {
  flex: 1 1 0;
  padding: 4px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #e5f3ff;
}

.gallery-thumb.selected {
  border-color: var(--blue);
  background: #d2e9ff;
}

.gallery-thumb img {
  width: 100%;
  height: 46px;
  object-fit: contain;
}

.gallery-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #7d94b3;
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.gallery-arrow:hover {
  background: var(--blue);
}

.platform-guide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(135deg, #f5faff, #e3f2ff);
  text-align: center;
}

.platform-guide img {
  object-fit: contain;
}

.platform-guide h3 {
  font-size: 23px;
}

.platform-guide p {
  max-width: 340px;
  color: var(--muted);
  line-height: 1.85;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.requirement-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f7fbff;
}

.requirement-card img {
  flex-shrink: 0;
  object-fit: contain;
}

.requirement-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.requirement-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.install-section,
.download-faq {
  padding: 40px 0;
}

.download-section-heading {
  margin-bottom: 22px;
}

.download-section-heading h2 {
  font-size: 28px;
  line-height: 1.45;
}

.download-section-heading p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: installation;
}

.install-grid li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 16px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  counter-increment: installation;
}

.install-grid li::before {
  position: absolute;
  top: 20px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  content: counter(installation);
  font-size: 20px;
}

.install-grid h3 {
  min-height: 30px;
  margin-left: 48px;
  font-size: 19px;
}

.install-grid p {
  flex-grow: 1;
  margin: 12px 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.install-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  border-radius: 9px;
  object-fit: contain;
  background: #e8f5ff;
}

.download-reference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 32px;
}

.download-reference-grid > section {
  display: grid;
  grid-template-rows: 72px 1fr;
  min-width: 0;
}

@media (max-width: 600px) {
  .download-reference-grid > section {
    grid-template-rows: 110px 1fr;
  }
}

.release-table-wrap,
.verification-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.release-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}

.release-table caption {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  background: #f3f9ff;
}

.release-table th,
.release-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}

.release-table thead th {
  background: #edf5ff;
}

.release-table td {
  color: var(--muted);
}

.release-table-wrap > p {
  padding: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.verification-card {
  padding: 24px;
  background: #f8fbff;
}

.verification-card article {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.verification-card article + article {
  margin-top: 20px;
}

.verification-card img {
  flex-shrink: 0;
  object-fit: contain;
}

.verification-card h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.verification-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.verification-card code {
  display: block;
  margin-top: 10px;
  padding: 12px;
  overflow-wrap: anywhere;
  border-radius: 8px;
  background: #e8f2ff;
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .download-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .client-actions {
    grid-template-columns: 1fr;
  }

  .install-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-reference-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .download-benefits {
    max-width: 520px;
    margin-inline: auto;
    text-align: left;
  }

  .client-grid {
    grid-template-columns: 1fr;
  }

  .client-gallery figure img {
    max-height: 320px;
  }

  .gallery-thumbnails {
    flex: 0 1 360px;
  }

  .requirements-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .download-hero-grid {
    padding-top: 28px;
    padding-bottom: 32px;
  }

  .download-subtitle {
    font-size: 18px;
  }

  .download-benefits {
    gap: 18px;
  }

  .client-version-badge {
    bottom: 0;
    padding: 10px 16px;
    font-size: 14px;
  }

  .client-version-badge strong {
    font-size: 20px;
  }

  .download-tab,
  .history-link {
    min-width: 150px;
    min-height: 72px;
  }

  .client-card,
  .client-gallery,
  .platform-guide {
    padding: 22px 18px;
  }

  .client-heading {
    gap: 14px;
  }

  .client-heading h2 {
    font-size: 25px;
  }

  .client-heading > img {
    width: 44px;
    height: 48px;
  }

  .client-metadata {
    grid-template-columns: 1fr;
  }

  .client-metadata > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .client-metadata > div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .client-metadata dd {
    margin: 0;
    text-align: right;
  }

  .download-section-heading h2 {
    font-size: 25px;
  }

  .install-grid {
    grid-template-columns: 1fr;
  }

  .install-grid img {
    max-height: 200px;
  }

  .download-section-heading.heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .release-table th,
  .release-table td {
    padding: 12px 10px;
    font-size: 13px;
  }

  .verification-card {
    padding: 20px 16px;
  }

  .verification-card article {
    gap: 12px;
  }

}

.release-intro {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.8;
}

.release-notes {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.9;
}

.release-table th[scope="row"] {
  white-space: nowrap;
  vertical-align: top;
}
