.download-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 1.8vw, 24px);
  max-width: 68ch;
}

.download-copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.download-gate__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.download-gate__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
}

.download-gate__name {
  font-size: 17px;
}

.download-gate__summary {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}

.download-code {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--bg-elev);
  color: var(--fg);
  overflow-x: auto;
  white-space: pre;
}

.download-code:focus-visible {
  outline: 2px solid var(--violet-bright);
  outline-offset: 3px;
}

.download-code code {
  font-family: inherit;
  font-size: inherit;
}

.download-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-related__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--fg);
  font-size: 15px;
}

.download-related__link::after {
  content: "\2192";
  flex: none;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--violet-soft);
  transition: transform .18s var(--ease);
}

.download-related__link:hover {
  text-decoration: none;
  border-color: var(--violet);
  background: var(--surface-2);
}

.download-related__link:hover::after {
  transform: translateX(3px);
}
