body.download-page {
  background: var(--ground);
  min-height: 100vh;
}


.download-content {
  padding: 60px 60px 76px;
  max-width: 1280px;
  margin: 0 auto;
}

.dl-c {
  padding: 60px 210px 76px 80px;
  container-type: inline-size;
}

.dl-main {
  border: 1px solid var(--line-strong);
  margin-bottom: 28px;
}

.dl-main {
  display: none;
}
html:not([data-device]) .dl-main[data-device="windows"],
html[data-device="windows"] .dl-main[data-device="windows"],
html[data-device="mac"] .dl-main[data-device="mac"],
html[data-device="phone"] .dl-main[data-device="phone"],
html[data-device="other"] .dl-main[data-device="other"] {
  display: block;
}

.dl-main > .titlebar {
  min-height: 44px;
}

.dl-main .window-body {
  padding: 44px 46px;
}

.dl-kicker {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 12px;
}

.dl-main h1, .dl-main .dl-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0 0 18px;
}

.dl-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 65ch;
  margin: 0;
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 28px;
}

.btn.small {
  flex-direction: row;
  min-height: 38px;
  padding: 8px 16px;
  font-size: 13px;
}

button.btn.small {
  background: transparent;
  color: var(--ink);
  font-family: inherit;
}

button.btn.small:hover {
  background: var(--paper-2);
}

.dl-actions .btn.small::after {
  content: "\25BE";
  margin-left: 7px;
  transition: transform .2s;
}

.dl-actions .btn.small[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.build-line {
  font-size: 13px;
  color: var(--ink-3);
  margin: 14px 0 0;
}

.build-line a {
  color: var(--teal);
  text-decoration: underline;
  margin-left: 8px;
}

.help {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  margin-top: 24px;
  font-size: 13px;
}

.help strong {
  font-size: 14px;
  color: var(--ink);
}

.help p {
  margin: 10px 0 0;
  line-height: 1.6;
}

.dl-main .help {
  margin-top: 28px;
}

.all-versions {
  margin-top: 28px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

html[data-device] .all-versions:not(.open) {
  display: none;
}

html:not([data-device]) .dl-toggle {
  display: none;
}

.dl-main .all-versions h2 {
  font-size: 22px;
  margin: 18px 0 4px;
}

.version-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.version-row h3 {
  font-size: 17px;
  margin: 0;
}

.version-row p {
  font-size: 13px;
  color: var(--ink-3);
  margin: 3px 0 0;
}

.version-row .soon {
  font-size: 13px;
  color: var(--ink-3);
}

.download-compare {
  margin-top: 28px;
  border: 1px solid var(--line-strong);
}

.download-compare > .titlebar {
  min-height: 44px;
}

.download-compare .window-body {
  padding: 34px 46px;
}

.compare-wrap {
  margin: 0 0 32px;
  overflow-x: auto;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: .97rem;
  line-height: 1.55;
  table-layout: fixed;
}

.compare caption {
  text-align: left;
  font: 800 26px/1.2 var(--font-display);
  letter-spacing: -.025em;
  padding: 12px 0 24px;
}

.compare th, .compare td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.compare thead th {
  font: 800 1.05rem var(--font-display);
  color: var(--ink);
  letter-spacing: -.01em;
  background: var(--paper-2);
}

.compare tbody th {
  font-weight: 500;
  color: var(--ink-2);
  width: 44%;
}

.compare td {
  color: var(--ink-2);
  width: 28%;
}

.compare td:last-child, .compare th.desk {
  background: var(--desk-wash, rgba(255, 122, 168, 0.08));
}

.compare tbody tr:last-child th, .compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare .yes, .compare .no {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.compare .yes {
  position: relative;
  border-radius: 50%;
  background: var(--solid);
}

.compare .yes::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--on-solid);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.compare td:last-child .yes {
  background: var(--pink);
}

.compare td:last-child .yes::after {
  background: var(--on-pink);
}

.compare .no {
  height: 2px;
  width: 14px;
  border-radius: 1px;
  background: var(--line-strong);
}

.desktop-needs h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
}

.ticks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .38em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.3 4.7-5.2' fill='none' stroke='%231a1726' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px;
}

@container (max-width: 1000px) {
  .dl-main .window-body {
    padding: 34px 30px;
  }
}

@container (max-width: 700px) {
  .download-content {
    padding: 36px 16px;
  }
  .dl-main .window-body {
    padding: 26px 20px;
  }
  .download-compare .window-body {
    padding: 26px 20px;
  }
  .dl-main h1, .dl-main .dl-title {
    font-size: 34px;
  }
  .version-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .version-row .btn, .version-row .soon {
    justify-self: start;
  }
  .compare {
    font-size: 11px;
  }
  .compare th, .compare td {
    padding: 12px 7px;
  }
  .compare th:first-child {
    width: 39%;
  }
  .compare caption {
    font-size: 24px;
  }
}

@media (max-width: 800px) {
  .dl-c {
    padding: 36px 16px;
  }
}
