/* Application-page layout, adapted to the Meshex palette. */
#inside .section-heading,
#downloads .download-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 30px;
}
#inside .section-heading h2,
#downloads .download-heading h2 {
  width: auto;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -.045em;
}
#inside .section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  flex-shrink: 0;
}
#inside .mirror {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 60px);
  padding: clamp(25px, 4vw, 48px);
  margin: 0 0 42px;
  border: 1px solid #8848db55;
  border-radius: 28px;
  background: radial-gradient(ellipse at top left, #8848db20, transparent 65%), #151922;
}
#inside .mirror-intro h3 {
  font-size: clamp(25px, 2.6vw, 33px);
  line-height: 1.2;
  letter-spacing: -.035em;
  font-weight: 800;
  max-width: none;
  margin: 0 0 22px;
}
#inside .mirror-intro p { font-size: 15px; margin: 0; }
#inside .mirror-list { gap: 25px; }
#inside .mirror-list li { padding-left: 26px; }
#inside .mirror-list li:before {
  width: 9px;
  height: 9px;
  top: 8px;
  background: #cdaaff;
  box-shadow: 0 0 0 4px #8848db24;
}
#inside .mirror-list b { font-size: 16px; font-weight: 750; }
#inside .mirror-list span { font-size: 14px; line-height: 1.8; }
#inside .feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
  margin-bottom: 0;
}
#inside .feat { padding: 23px 0; border-top: 1px solid var(--line); }
#inside .feat b { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
#inside .feat span { font-size: 14px; line-height: 1.8; }
#downloads { padding-top: 75px; }
#downloads .release-info { display: flex; align-items: baseline; gap: 18px; }
#downloads #release-status { color: var(--muted); font-size: 13px; margin: 0; }
#downloads .release-notes { margin: 0; white-space: nowrap; }
#downloads .download-list {
  background: #151922;
  border: 1px solid var(--line);
  border-radius: 25px;
  overflow: hidden;
}
#downloads .platform {
  position: relative;
  grid-template-columns: 50px minmax(0, 1fr) 125px 155px;
  gap: 25px;
  padding: 27px;
  border: 0;
  border-top: 1px solid var(--line);
}
#downloads .platform:first-child { border-top: 0; }
#downloads .platform.is-yours {
  background: linear-gradient(100deg, #227df319, transparent 75%);
}
#downloads .platform.is-yours:before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: var(--blue);
  border-radius: 0 3px 3px 0;
}
#downloads .p-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #91bdff;
  background: #227df314;
  border: 1px solid #227df333;
}
#downloads .p-name { font-size: 21px; font-weight: 800; }
#downloads .p-yours {
  border: 0;
  border-radius: 100px;
  background: #227df31f;
  color: #91bdff;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 650;
}
#downloads .p-note { font-size: 13px; line-height: 1.65; }
#downloads .p-note code { color: #cdaaff; background: #8848db18; padding: 2px 5px; border-radius: 4px; }
#downloads .p-file { text-align: right; font-size: 12px; }
#downloads .p-dl {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border-radius: 12px;
  font-size: 13px;
  text-align: center;
}
#downloads .p-dl:not(.unavailable):hover { background: #227df31f; border-color: var(--blue); }
#downloads .is-yours .p-dl:not(.unavailable) { color: white; background: #1764cf; border-color: #1764cf; }
#downloads .is-yours .p-dl:not(.unavailable):hover { background: #2574df; }
#downloads .p-checksum code { max-width: 100%; }
@media (max-width: 900px) {
  #inside .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  #inside .mirror { grid-template-columns: 1fr; }
  #inside .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
  #downloads .platform { grid-template-columns: 46px minmax(0, 1fr) 100px 140px; gap: 16px; padding: 23px; }
  #downloads .p-name { font-size: 19px; }
  #downloads .download-heading { align-items: start; flex-direction: column; gap: 16px; }
}
@media (max-width: 600px) {
  #inside .mirror { padding: 24px; border-radius: 20px; margin-bottom: 28px; }
  #inside .mirror-intro h3 { font-size: 25px; }
  #inside .mirror-intro p, #inside .mirror-list span { font-size: 13px; }
  #inside .mirror-list b { font-size: 14px; }
  #inside .section-heading > p { font-size: 12px; }
  #inside .feature-grid { grid-template-columns: 1fr; }
  #inside .feat { padding: 20px 0; }
  #inside .feat b { font-size: 18px; }
  #inside .feat span { font-size: 13px; }
  #downloads { padding-top: 45px; }
  #downloads .release-info { flex-wrap: wrap; gap: 10px; }
  #downloads #release-status { font-size: 12px; }
  #downloads .download-list { border-radius: 20px; }
  #downloads .platform { grid-template-columns: 42px minmax(0, 1fr); gap: 13px; padding: 20px; }
  #downloads .p-icon { grid-column: 1; grid-row: 1; width: 40px; height: 40px; border-radius: 12px; }
  #downloads .p-main { grid-column: 2; grid-row: 1; }
  #downloads .p-name { font-size: 18px; }
  #downloads .p-note { font-size: 12px; }
  #downloads .p-file { grid-column: 2; grid-row: 2; text-align: left; }
  #downloads .p-dl { grid-column: 2; grid-row: 3; justify-self: start; font-size: 12px; }
  #downloads .p-yours { font-size: 10px; }
}
