.downloads-page {
  min-height: 100vh;
  background: var(--paper);
}

.downloads-shell {
  width: min(1264px, calc(100% - 64px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.downloads-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 42px;
}

.downloads-heading h1 {
  margin: 0;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: 0;
}

.downloads-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.downloads-product {
  display: grid;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper-strong);
}

.downloads-product-header,
.downloads-product-body {
  display: grid;
  gap: 24px;
}

.downloads-product-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.downloads-product-header h2 {
  margin: 8px 0 0;
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.downloads-status {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #89570b;
  font-size: 0.78rem;
  font-weight: 780;
}

html:lang(ja) .downloads-status,
html:lang(zh-Hant) .downloads-status,
html:lang(ko) .downloads-status {
  letter-spacing: 0;
  text-transform: none;
}

.downloads-product-body {
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  grid-template-areas:
    "copy preview"
    "copy actions";
  column-gap: 48px;
  row-gap: 18px;
  align-items: start;
}

.downloads-copy {
  grid-area: copy;
  display: grid;
  gap: 22px;
}

.downloads-copy > p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.downloads-preview {
  grid-area: preview;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.downloads-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.downloads-features,
.downloads-meta {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.downloads-features div,
.downloads-meta div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.downloads-features strong,
.downloads-meta dt {
  color: rgba(10, 43, 40, 0.54);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.downloads-features span,
.downloads-meta dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 680;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.downloads-actions {
  grid-area: actions;
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
}

.downloads-availability {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

.downloads-actions .button {
  width: 100%;
}

@media (max-width: 860px) {
  .downloads-product-header,
  .downloads-product-body {
    grid-template-columns: 1fr;
  }

  .downloads-product-body {
    grid-template-areas:
      "preview"
      "copy"
      "actions";
  }
}

@media (max-width: 620px) {
  .downloads-shell {
    width: min(100% - 36px, 1220px);
    padding: 54px 0 72px;
  }

  .downloads-heading h1 {
    font-size: 2.8rem;
  }

  .downloads-product {
    padding: 22px;
  }

  .downloads-product-header h2 {
    font-size: 2.2rem;
  }

  .downloads-features div,
  .downloads-meta div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
