/* The Download page: the button and the app it brings, then the steps and what you need as two plain lists. Builds on site.css and pages.css. */

/* ---------- The first screen: the button, and the app it brings ---------- */
.dl-hero {
  padding-top: 52px;
}

.dl-hero .pg-top h1 {
  max-width: none;
  font-size: clamp(50px, 7.400vw, 112px);
  line-height: 0.96;
}

.dl-hero .pg-lede {
  max-width: 900px;
  margin-top: 24px;
}

/* Two ways in, side by side: the installer, and the email for the Mac app. */
.dl-acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  margin-top: 34px;
}

.dl-acts .btn {
  padding-inline: 32px;
}

.dl-acts .dl-main,
.pg-top.for-mac .dl-acts .dl-main {
  margin-top: 0;
}

.dl-hero .dl-mac {
  margin-top: 26px;
  padding-top: 0;
  border-top: 0;
}

.dl-hero .dl-mac .mac-signup {
  margin-bottom: 0;
}

/* Until its button is pressed, the email field and its line are not there. */
.dl-mac:has(#join[hidden]) {
  display: none;
}

.dl-hero .dl-fine {
  margin-top: 24px;
}

.dl-hero .dl-fine a {
  color: inherit;
  text-underline-offset: 3px;
}

.dl-hero .dl-fine a:hover {
  color: var(--ink);
}

.dl-stage {
  height: clamp(260px, 36vw, 520px);
  margin-top: 26px;
  padding: 20px 11% 0;
  overflow: hidden;
  border-radius: 28px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.16 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E"),
    #f6a821;
  animation: settle 800ms 120ms var(--ease) both;
}

.dl-stage .hw-win {
  border-radius: 14px 14px 0 0;
}

/* ---------- After the download: four steps as a numbered list, on hairlines ---------- */
.dl-path {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.dl-path li {
  display: grid;
  grid-template-columns: 56px minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0 24px;
  align-items: baseline;
  padding: 24px 0 22px;
  border-bottom: 1px solid var(--line);
}

.dl-num {
  color: var(--amber-deep);
  font: italic 400 40px/1 var(--serif);
}

.dl-path h3 {
  color: var(--ink);
  font: 400 32px/1.080 var(--serif);
  letter-spacing: -0.015em;
}

.dl-path p {
  font-size: 17px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .dl-hero {
    padding-top: 36px;
  }

  .dl-acts .btn {
    width: 100%;
    justify-content: center;
  }

  .dl-stage {
    padding: 18px 16px 0;
    border-radius: 20px;
  }

  .dl-path li {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 20px 0 18px;
  }

  .dl-path p {
    grid-column: 2;
    margin-top: 6px;
  }

  .dl-num {
    font-size: 32px;
  }

  .dl-path h3 {
    font-size: 27px;
  }
}
