/* download.css — the /mac, /mac/shelley, /linux, and /download pages (execore/web-download.html) */

.dl-nav {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 24px 0;
  font-weight: 700;
}

.dl-nav a {
  color: var(--color-text);
}

.dl {
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.dl-head {
  text-align: center;
  margin-bottom: 64px;
}

.dl h1 {
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 36em;
  margin: 12px auto 0;
  color: var(--color-text-secondary);
}

.app {
  display: grid;
  row-gap: 28px;
  text-align: center;
}

.app img {
  justify-self: center;
  max-width: 100%;
  height: auto;
  margin-top: 12px;
}

.cta {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-text);
  color: var(--color-bg);
  font-weight: 600;
}

.cta:hover {
  color: var(--color-bg);
  text-decoration: none;
  opacity: 0.85;
}

.empty {
  padding: 24px 16px;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platforms .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* A platform's logo, in the button's text color: the SVG is only its shape. */
.platform-icon {
  flex: none;
  width: 18px;
  height: 18px;
  background-color: currentcolor;
  mask: var(--icon) center / contain no-repeat;
}

.icon-apple {
  --icon: url("/static/apple-logo.svg");
}

.icon-android {
  --icon: url("/static/android-logo.svg");
}

.others {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.others h2 {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
}

.others ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 860px) {
  .dl {
    padding-top: 32px;
  }

  .dl-head {
    margin-bottom: 48px;
  }
}

@media (max-width: 480px) {
  .platforms {
    flex-direction: column;
  }

  .platforms .cta {
    display: flex;
  }
}
