nav .nav-links a[href="download.html"] {
  color: var(--text);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

#dl-hero {
  padding: 100px max(80px, calc(50% - 656px)) 80px max(112px, calc(50% - 624px));
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

#dl-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 560px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.dl-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  max-width: 960px;
  position: relative;
  z-index: 1;
}

.dl-hero-text .hero-eyebrow { margin-bottom: 24px; }

.dl-hero-text h1 {
  margin-bottom: 18px;
}

.dl-hero-subtitle {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 440px;
  margin-bottom: 36px;
}

.dl-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.dl-platform-note {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.05em;
}

.dl-badge-card {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 14px;
  padding: 32px 28px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.dl-badge-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15), 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.dl-badge-card:hover .dl-badge-icon {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.45);
}

.dl-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 4px;
}

.dl-badge-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.dl-badge-version {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.dl-badge-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.dl-tag {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--dim);
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
  letter-spacing: 0.06em;
}

#dl-requirements {
  padding: 80px max(80px, calc(50% - 656px)) 100px max(112px, calc(50% - 624px));
}

.dl-req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  max-width: 960px;
}

.dl-req-card {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
}

.dl-req-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 32px 32px 20px;
  border-bottom: 1px solid var(--border);
}

.dl-req-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dl-req-icon--sys {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--accent);
}

.dl-req-icon--net {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.dl-req-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.dl-req-card-label {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.dl-req-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 32px;
  border-bottom: 1px solid var(--border);
}

.dl-req-row:last-child { border-bottom: none; padding-bottom: 32px; }

.dl-req-row-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.dl-req-row-icon svg { color: var(--muted); }

.dl-req-row-body {
  
}

.dl-req-row-key {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.dl-req-row-val {
  font-size: 15px;
  color: var(--text);
  font-weight: 400;
  line-height: 1.4;
}

.dl-req-row-note {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.5;
  margin-top: 4px;
}

.dl-notice {
  max-width: 960px;
  margin-top: 32px;
  padding: 18px 24px;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.dl-notice-icon { color: var(--accent); flex-shrink: 0; margin-top: 1px; }

.dl-notice-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

.dl-notice-text strong { color: var(--text); font-weight: 500; }

.dl-fullversion {
  max-width: 960px;
  margin-top: 16px;
  padding: 24px 28px;
  background: var(--bg1);
  border: 1px solid var(--border2);
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.dl-fullversion-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.dl-fullversion-body { flex: 1; }

.dl-fullversion-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.dl-fullversion-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
  margin: 0 0 10px;
}

.dl-fullversion-link {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: #8b5cf6;
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 92, 246, 0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}

.dl-fullversion-link:hover { border-color: #8b5cf6; }

.dl-sha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 12px;
  max-width: 100%;
}

.dl-sha-label {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.dl-sha-value {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.02em;
  word-break: break-all;
  flex: 1;
}

.dl-sha-copy {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
  flex-shrink: 0;
}

.dl-sha-copy:hover { color: var(--text); }
.dl-sha-copy.copied { color: #10b981; }

.dl-sha-hint {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.dl-sha-hint strong {
  color: var(--dim);
  font-weight: 500;
}

.dl-sha-hint-cmd {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 5px 10px;
}

.dl-sha-hint code {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--dim);
  flex: 1;
  user-select: all;
  cursor: text;
}

@media (max-width: 900px) {
  #dl-hero {
    padding: 72px 20px 56px;
  }

  .dl-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dl-badge-card {
    flex-direction: row;
    text-align: left;
    align-items: center;
    min-width: unset;
    width: 100%;
    padding: 20px;
    gap: 16px;
  }

  .dl-badge-tags { justify-content: flex-start; }

  #dl-requirements {
    padding: 64px 20px 80px;
  }

  .dl-req-grid {
    grid-template-columns: 1fr;
  }

  .dl-req-card { padding: 24px; }
}
