#software {
  --dl-ink: #14243a;
  --dl-muted: #4e6175;
  --dl-blue: #214ec4;
  --dl-line: #dbe2e9;
  gap: clamp(20px, 3.2vh, 36px);
  color: var(--dl-ink);
  background: #fafbfc;
}
.dl-header {
  display: flex;
  flex: none;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.dl-header h1, :is(#guides, #support) .page-heading h1 {
  margin: 0;
  color: #14243a;
  font-size: clamp(35px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.055em;
}
.dl-header p, :is(#guides, #support) .page-heading p {
  margin-top: 9px;
  color: #4e6175;
  font-size: 15px;
  line-height: 1.65;
}
.dl-tabs {
  position: relative;
  display: grid;
  isolation: isolate;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border: 1px solid #d6dfe9;
  border-radius: 30px;
  background: #eaf0f6;
}
.dl-tabs::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: inherit;
  background: #fff;
  box-shadow: 0 1px 5px #223e5b20;
}
#software[data-selected-software="imaging"] .dl-tabs::before { transform: translateX(100%); }
.dl-tabs button {
  min-height: 40px;
  padding: 6px clamp(14px, 1.6vw, 24px);
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: #516071;
  font-size: 14px;
  font-weight: 600;
}
.dl-tabs button:hover, .dl-tabs button[aria-selected="true"] { color: var(--dl-blue); }
#software .dl-detail {
  display: grid;
  flex: none;
  grid-template-columns: minmax(274px, .88fr) minmax(0, 1.7fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--dl-line);
  border-radius: 22px;
  background: #fff;
}
.dl-copy {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  min-width: 0;
  padding: clamp(22px, 2.7vw, 48px);
}
.dl-format {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: #405871;
  font-size: 13px;
  font-weight: 600;
}
.dl-format svg { color: var(--dl-blue); }
.dl-format span + span { padding-left: 9px; border-left: 1px solid #c1ccd8; line-height: 1.05; }
#software-title {
  margin: clamp(15px, 2.5vh, 25px) 0 0;
  font-size: clamp(28px, 2.7vw, 43px);
  line-height: 1.2;
  letter-spacing: -.05em;
}
#software-description {
  max-width: 22em;
  min-height: 3.4em;
  margin: 13px 0 0;
  color: var(--dl-muted);
  font-size: 15px;
  line-height: 1.75;
}
.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: clamp(20px, 3.5vh, 37px); }
#software .dl-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 19px;
  border-radius: 24px;
  color: #fff;
  background: var(--dl-blue);
  font-size: 15px;
  font-weight: 650;
}
#software .dl-download:hover { background: #163a97; }
#software .dl-download:active { transform: translateY(1px); }
#software .dl-download[aria-disabled="true"] { color: #485870; background: #e2e7ed; }
.dl-guide { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--dl-blue); font-size: 14px; font-weight: 600; }
.dl-guide::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.dl-guide:hover, .dl-assist a:hover { text-decoration: underline; text-underline-offset: 4px; }
.dl-instruction { margin-top: 10px; color: var(--dl-muted); font-size: 12px; }
.dl-stage {
  position: relative;
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: clamp(300px, 49vh, 490px);
  margin: 0;
  padding: clamp(18px, 2vw, 30px);
  border-left: 1px solid var(--dl-line);
  background: radial-gradient(ellipse at 80% 10%, #f6f9ff, transparent 75%), #e7eef7;
}
#imaging-preview { background: radial-gradient(ellipse at 80% 10%, #e5eefb, transparent 80%), #d7e3f0; }
.dl-screen {
  position: relative;
  display: block;
  justify-self: center;
  width: min(100%, 74vh, 775px);
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: zoom-in;
  text-align: right;
}
.dl-screen img {
  display: block;
  height: auto;
  width: 100%;
  border-radius: inherit;
  box-shadow: 0 11px 25px #1c395328, 0 0 0 1px #40577130;
}
.dl-zoom {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  right: 0;
  top: 100%;
  height: 38px;
  color: #233e60;
  font-size: 12px;
  font-weight: 600;
}
.dl-stage figcaption {
  justify-self: center;
  width: min(100%, 74vh, 775px);
  min-height: 38px;
  padding: 10px 82px 6px 0;
  color: #40546d;
  font-size: 12px;
  line-height: 1.5;
  pointer-events: none;
}
.dl-screen:hover .dl-zoom { color: var(--dl-blue); text-decoration: underline; text-underline-offset: 3px; }
.dl-assist { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; color: var(--dl-muted); line-height: 1.65; font-size: 13px; }
.dl-assist a { color: var(--dl-blue); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .dl-tabs::before { transition: transform .24s cubic-bezier(.22,.8,.25,1); }
  #software .dl-download, .dl-tabs button { transition: color .18s ease, background-color .18s ease; }
  #software .dl-download:active svg { transform: translateY(2px); }
}
@media (max-width: 920px) {
  #software .dl-detail { grid-template-columns: minmax(247px, .82fr) minmax(0, 1.2fr); }
  .dl-actions { gap: 4px 14px; }
}
@media (max-width: 720px) {
  #software { gap: 17px; }
  .dl-header { display: grid; gap: 16px; }
  .dl-header h1, :is(#guides, #support) .page-heading h1 { font-size: clamp(31px, 7vw, 38px); }
  .dl-header p, :is(#guides, #support) .page-heading p { font-size: 14px; margin-top: 5px; }
  .dl-tabs { justify-self: start; max-width: 100%; }
  .dl-tabs button { min-height: 40px; padding-inline: 17px; }
  #software .dl-detail { grid-template-columns: minmax(0,1fr); border-radius: 17px; }
  .dl-copy { padding: 21px; }
  #software-title { margin-top: 9px; font-size: 29px; }
  #software-description { max-width: none; min-height: 0; font-size: 14px; margin-top: 6px; }
  .dl-actions { margin-top: 14px; }
  #software .dl-download { min-height: 44px; font-size: 14px; }
  .dl-instruction { margin-top: 6px; }
  .dl-stage { min-height: 0; padding: 18px 15px 4px; border-left: 0; border-top: 1px solid var(--dl-line); }
  .dl-screen, .dl-stage figcaption { width: 100%; }
  .dl-assist { font-size: 12px; }
}
@media (min-width: 721px) and (max-height: 570px) {
  #software { gap: 12px; }
  .dl-header h1, :is(#guides, #support) .page-heading h1 { font-size: 31px; }
  .dl-header p { margin-top: 3px; }
  .dl-stage { min-height: 230px; padding-block: 12px 0; }
  .dl-screen, .dl-stage figcaption { width: min(100%, 72vh); }
  .dl-copy { padding-block: 18px; }
  #software-title { margin-top: 8px; }
  .dl-actions { margin-top: 12px; }
}

