/* The download page. Built on learn.css (the poster style); only the bits
   that differ are here. */

.dl-hero { padding-bottom: clamp(170px, 16vw, 230px); }
.dl-actions { display: grid; justify-items: start; gap: 14px; margin-top: clamp(32px, 4vw, 64px); }
.dl-alt { margin: 0; font-size: 15px; }
.dl-alt a, .learn-end h2 a { border-bottom: 1px solid var(--rule); transition: border-color .2s; }
.dl-alt a:hover, .dl-alt a:focus-visible,
.learn-end h2 a:hover, .learn-end h2 a:focus-visible { border-bottom-color: currentColor; outline: none; }

.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li { grid-template-columns: clamp(64px, 6vw, 104px) 1fr; align-items: start; }
.steps li + li { border-top: 0; }
.steps .num {
  font-size: clamp(30px, 3.4vw, 54px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .9;
  min-width: 1.6em;
}
.steps .what { font-size: 15px; line-height: 1.5; }
.steps .what b { display: block; font-weight: 500; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.01em; margin-bottom: 2px; }

.dl-browser { display: grid; justify-items: start; gap: clamp(24px, 3vw, 44px); }
.dl-line { font-size: clamp(32px, 4.6vw, 80px); }

@media (max-width: 760px) {
  .dl-hero { padding-bottom: 210px; }
}

.dl-soon { margin: 0; font-size: clamp(20px, 2vw, 30px); font-weight: 500; letter-spacing: -.01em; }

/* Phones and tablets: "email me the link" straight under the heading, in the
   poster colours. The form and its script are shared with the home page
   (site.css, email-link.js); only the look differs here. */
.dl-email { width: 100%; max-width: 480px; margin-top: 0; }
.dl-email > label {
  margin-bottom: 12px;
  font-size: clamp(20px, 5.4vw, 26px);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.2;
  text-transform: none;
}
.dl-email input[type="email"] {
  height: 54px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--page);
}
.dl-email input[type="email"]::placeholder { color: var(--rule); }
.dl-email input[type="email"]:focus { outline: 1px solid var(--page); outline-offset: 0; border-color: var(--page); }
.dl-email button { height: 54px; background: var(--page); color: var(--blue); font-size: 16px; }
.dl-email .status { font-size: 16px; }
.dl-email.is-sent .status { font-size: clamp(20px, 5.4vw, 26px); font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }

@media (max-width: 699px), (hover: none) and (pointer: coarse) {
  .dl-hero { min-height: 0; padding-top: 80px; gap: 24px; }
  .dl-hero .dots-right { display: none; }
  .dl-actions { margin-top: 0; }
}
.dl-email.is-sent > label { display: none; }
.dl-email.is-sent .status { margin-top: 0; white-space: pre-line; }
