/* Download page — premium layout */

body.dl-page #page-body,
#page-body.dl-page {
  padding: 0 !important;
  margin: 0;
  max-width: none;
  background: transparent;
}

#page-body.dl-page section {
  margin-top: 0 !important;
}

.dl-page {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  overflow-x: hidden;
}

.dl-page > * {
  position: relative;
  z-index: 1;
}

.dl-hero {
  width: min(980px, 90vw);
  margin: 0 auto;
  padding: calc(var(--header-h, 72px) + 10px) 0 32px;
  text-align: center;
}

.dl-hero .breadcrumb {
  margin-bottom: 14px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.dl-hero .breadcrumb ol {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
}

.dl-hero .breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.dl-hero .eyebrow,
.dl-hero .section-label {
  margin: 0 0 12px;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

#page-body.dl-page .dl-hero h1,
.dl-hero h1 {
  max-width: 820px;
  margin: 0 auto 18px;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(2rem, 3.5vw, 2.85rem) !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.06);
  text-wrap: pretty;
}

.dl-hero > p {
  max-width: 660px;
  margin: 0 auto;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(220, 225, 235, 0.64);
}

.release-panel {
  width: min(1040px, 90vw);
  margin: 0 auto 40px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.016)),
    rgba(8, 8, 8, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 26px 80px rgba(0, 0, 0, 0.45);
}

.release-panel h2,
.dl-heading {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}

.release-panel h3 {
  margin: 24px 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.release-grid > div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
}

.release-grid span,
.release-grid dt {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.36);
}

.release-grid strong,
.release-grid dd {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 600;
}

.release-grid dd.text-accent {
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  color: rgba(220, 225, 235, 0.85);
}

.release-panel ul {
  margin: 0;
  padding-left: 20px;
  color: rgba(220, 225, 235, 0.68);
  font-size: 0.92rem;
  line-height: 1.75;
}

.dl-options {
  width: min(1040px, 90vw);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dl-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(8, 8, 8, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 70px rgba(0, 0, 0, 0.42);
}

.dl-card h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}

.dl-card > p {
  margin: 0 0 20px;
  color: rgba(220, 225, 235, 0.66);
  line-height: 1.7;
  font-size: 0.95rem;
}

.dl-card .download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.dl-card a.dl-button,
.dl-card a.dl-button--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.dl-card a.dl-button--ghost {
  min-width: auto;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.78);
}

.dl-card a.dl-button:hover,
.dl-card a.dl-button--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.6);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
}

.dl-card ol {
  margin: 0;
  padding-left: 20px;
  color: rgba(220, 225, 235, 0.64);
  font-size: 0.9rem;
  line-height: 1.7;
}

.install-walkthrough {
  width: min(1040px, 90vw);
  margin: 0 auto 40px;
}

.install-steps {
  width: 100%;
  margin: 0;
}

.install-walkthrough > h2,
.install-steps > h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}

.install-walkthrough__lead,
.install-steps > p {
  max-width: 720px;
  margin: 0 0 32px;
  color: rgba(220, 225, 235, 0.64);
  line-height: 1.7;
  font-size: 0.95rem;
}

.install-step {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
    rgba(8, 8, 8, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 64px rgba(0, 0, 0, 0.36);
}

.install-step-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.08em;
  line-height: 1;
  padding-top: 4px;
}

.install-step-content {
  min-width: 0;
  max-width: 720px;
}

.install-step-content h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.install-step-content > p {
  margin: 0 0 18px;
  color: rgba(220, 225, 235, 0.64);
  line-height: 1.7;
  font-size: 0.92rem;
}

.install-step-content strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.install-step-media,
.capture-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.45);
}

.install-step-media a,
.capture-frame a {
  display: block;
  line-height: 0;
}

.app-window-bar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
}

.app-window-bar span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.app-window-bar p {
  margin: 0 0 0 8px;
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.05em;
}

.install-step-media img,
.capture-frame img {
  width: 100%;
  max-height: 380px;
  display: block;
  object-fit: contain;
  background: #050505;
  cursor: zoom-in;
}

.setup-note,
.install-step figcaption {
  margin: 0;
  padding: 12px 14px 14px;
  color: rgba(220, 225, 235, 0.48);
  font-size: 0.7rem;
  line-height: 1.55;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.install-walkthrough__footer {
  margin-top: 8px;
  font-size: 0.88rem;
  color: rgba(220, 225, 235, 0.58);
  line-height: 1.65;
}

.install-walkthrough__footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.install-walkthrough__footer a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

/* Get started & update mods */
.begin-section {
  width: min(1040px, 90vw);
  margin: 0 auto 40px;
}

.begin-banner {
  padding: 24px 28px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(8, 8, 8, 0.88);
}

.begin-banner h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}

.begin-intro {
  max-width: 720px;
  margin: 18px 0 28px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(220, 225, 235, 0.64);
}

.update-sect-head {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.update-section-lead {
  max-width: 680px;
  margin: 0 0 22px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(220, 225, 235, 0.58);
}

.update-method-card {
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(8, 8, 8, 0.86);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.35);
}

.update-method-card .walk-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: start;
  margin: 0;
}

.update-method-card h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.update-method-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-method-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(220, 225, 235, 0.68);
}

.update-method-list__check {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.update-method-note {
  margin: 12px 0 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(220, 225, 235, 0.52);
}

.update-method-note a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.update-method-card .install-step-media {
  margin: 0;
}

.update-method-card .install-step-media img {
  max-height: 280px;
}

.security-grid {
  width: min(1040px, 90vw);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.security-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014)),
    rgba(8, 8, 8, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 20px 64px rgba(0, 0, 0, 0.38);
}

.security-card h2,
.security-card h3 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.security-card p,
.security-card li {
  color: rgba(220, 225, 235, 0.66);
  line-height: 1.7;
  font-size: 0.92rem;
}

.security-card p {
  margin: 0 0 14px;
}

.security-card p:last-child {
  margin-bottom: 0;
}

.security-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-card li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 22px;
}

.security-card li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.55);
}

.security-card a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.warn-box {
  width: min(1040px, 90vw);
  margin: 0 auto 32px;
  padding: 16px 20px;
  border: 1px solid rgba(212, 160, 58, 0.4);
  background: rgba(212, 160, 58, 0.06);
  color: rgba(255, 218, 139, 0.88);
  font-size: 0.88rem;
  line-height: 1.65;
}

.warn-box strong {
  color: rgba(255, 218, 139, 0.95);
}

#page-body.dl-page .related-pages,
.dl-page .related-pages {
  width: min(760px, 92vw);
  margin: 32px auto 40px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

#page-body.dl-page .related-pages h2,
.dl-page .related-pages h2 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}

#page-body.dl-page .related-pages ul,
.dl-page .related-pages ul {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

#page-body.dl-page .related-pages li,
.dl-page .related-pages li {
  width: 100%;
  display: flex;
  justify-content: center;
}

#page-body.dl-page .related-pages a,
.dl-page .related-pages a {
  display: inline-block;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 5px;
}

#page-body.dl-page .related-pages a:hover,
.dl-page .related-pages a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}


@media (max-width: 900px) {
  .release-grid,
  .dl-options,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .install-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .install-step-number {
    font-size: 1.25rem;
  }

  .update-method-card .walk-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dl-hero {
    padding: calc(64px + 10px) 0 28px;
  }

  .release-panel,
  .dl-card,
  .install-step,
  .security-card,
  .update-method-card {
    padding: 20px;
  }

  .install-step-media img,
  .capture-frame img {
    max-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dl-card a.dl-button,
  .dl-card a.dl-button--ghost {
    transition: none;
  }
}
