/* Final light-surface layer for the download route. It loads after legacy
   dark route styles so this utility page matches the public homepage. */
html,
body,
body.download-page,
body.download-page .download-main,
body.download-page .download-overview,
body.download-page .download-release-section,
body.download-page .section,
body.download-page .hero,
body.download-page .download-panel,
body.download-page .platform-card,
body.download-page .platform-card-macos,
body.download-page .platform-card-windows,
body.download-page .platform-card-server,
body.download-page .mobile-app-card,
body.download-page .download-history,
body.download-page .release-table,
body.download-page .release-table th,
body.download-page .release-table td,
body.download-page .site-footer,
body.download-page .footer-map,
body.download-page .footer-lang,
body.download-page .social-strip {
  background: #fff !important;
  color: #161616 !important;
}

body.download-page h1,
body.download-page h2,
body.download-page h3,
body.download-page h4,
body.download-page h5,
body.download-page strong { color: #161616 !important; }

body.download-page p,
body.download-page li,
body.download-page td,
body.download-page label,
body.download-page .platform-card .card-body,
body.download-page .platform-card .card-body p,
body.download-page .platform-card .card-body li,
body.download-page .platform-card .installer-name,
body.download-page .platform-card .spec-label { color: #4b5563 !important; }

body.download-page .platform-card,
body.download-page .mobile-app-card,
body.download-page .release-table,
body.download-page .release-table th,
body.download-page .release-table td {
  border-color: #d8d8d8 !important;
  box-shadow: none !important;
}

body.download-page .platform-card .status-badge-available { color: #2e7d32 !important; }
body.download-page .platform-card .btn-download,
body.download-page .mobile-store-button { color: #fff !important; }

body.download-page .site-header .hamburger {
  border: 1px solid #e2e5ea !important;
  background: #ffffff !important;
}

body.download-page .site-header .hamburger span {
  background: #171a20 !important;
}

body.download-page .site-header .mobile-menu {
  border-color: #e5e8ed !important;
  background: #ffffff !important;
  color: #171a20 !important;
  backdrop-filter: none;
}

body.download-page .site-header .mobile-menu[hidden] {
  display: none !important;
}

body.download-page .site-header .mobile-menu a,
body.download-page .site-header .mobile-menu a.headlink {
  color: #171a20 !important;
}

/* Product-family download center */
body.download-page .download-catalog {
  background: #f5f6f8 !important;
  padding: clamp(44px, 6vw, 78px) var(--site-pad) clamp(88px, 9vw, 132px) !important;
}

body.download-page .download-catalog .download-overview,
body.download-page .download-catalog .hero,
body.download-page .download-catalog .download-panel,
body.download-page .download-catalog .download-copy {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body.download-page .download-catalog .download-overview,
body.download-page .download-catalog .download-panel {
  width: min(1280px, 100%);
  max-width: none;
  margin: 0 auto;
  padding: 0 !important;
}

body.download-page .download-catalog .download-panel {
  display: block !important;
}

body.download-page .download-catalog .download-copy {
  width: min(880px, 100%);
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}

body.download-page .download-catalog .download-copy .eyebrow {
  display: block !important;
  margin: 0 0 18px !important;
  color: #171a20 !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.13em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
}

body.download-page .download-catalog .download-copy h1 {
  margin: 0 !important;
  color: #111318 !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(3.2rem, 7vw, 5.8rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.055em !important;
  line-height: 0.98 !important;
}

body.download-page .download-catalog .download-copy .hero-subtitle {
  max-width: 720px !important;
  margin: 24px auto 0 !important;
  color: #596170 !important;
  font-size: clamp(1.02rem, 1.65vw, 1.22rem) !important;
  line-height: 1.65 !important;
}

body.download-page .download-catalog .download-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

body.download-page .download-catalog .download-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid #dfe3e9;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #424958 !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.015em;
}

body.download-page .download-catalog .download-product-section {
  margin-top: clamp(64px, 8vw, 104px);
}

body.download-page .download-catalog .download-product-section--mobile {
  margin-top: clamp(72px, 8vw, 108px);
}

body.download-page .download-catalog .download-section-heading {
  max-width: 760px;
  margin: 0 auto clamp(24px, 3vw, 36px);
  text-align: center;
}

body.download-page .download-catalog .download-section-kicker {
  margin: 0 0 10px !important;
  color: #171a20 !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
}

body.download-page .download-catalog .download-section-heading h2 {
  margin: 0 !important;
  color: #12151b !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(2rem, 3.6vw, 3rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.045em !important;
  line-height: 1.08 !important;
}

body.download-page .download-catalog .download-section-heading > p:last-child {
  max-width: 620px;
  margin: 14px auto 0 !important;
  color: #687080 !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
}

body.download-page .download-catalog .catalog-product-grid {
  display: grid;
  align-items: stretch;
  gap: 22px;
}

body.download-page .download-catalog .catalog-product-grid--desktop {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.download-page .download-catalog .catalog-product-grid--mobile {
  width: min(1040px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
}

body.download-page .download-catalog .catalog-card {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: clamp(25px, 2.4vw, 32px);
  border: 1px solid #e0e4ea !important;
  border-radius: 22px;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.03) !important;
  color: #1c2230 !important;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.download-page .download-catalog .catalog-card:hover {
  border-color: #ccd3dd !important;
  box-shadow: 0 16px 38px rgba(25, 33, 48, 0.08) !important;
  transform: translateY(-2px);
}

body.download-page .download-catalog .catalog-card--server,
body.download-page .download-catalog .catalog-card--sirenx {
  background: #ffffff !important;
}

body.download-page .download-catalog .catalog-card-head {
  position: relative;
  display: block;
  padding-top: 40px;
  color: #1c2230 !important;
}

body.download-page .download-catalog .catalog-card-meta {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  margin: 0;
}

body.download-page .download-catalog .catalog-status,
body.download-page .download-catalog .catalog-platform {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

body.download-page .download-catalog .catalog-status {
  background: #e9f7ee;
  color: #257442 !important;
}

body.download-page .download-catalog .catalog-status--free {
  background: #e9f7ee;
  color: #257442 !important;
}

body.download-page .download-catalog .catalog-platform {
  border: 1px solid #e4e8ee;
  background: #f7f8fa;
  color: #737b89 !important;
}

body.download-page .download-catalog .catalog-card h3 {
  margin: 0 !important;
  color: #151820 !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(1.45rem, 1.8vw, 1.72rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.16 !important;
}

body.download-page .download-catalog .catalog-card-head > p {
  min-height: 5.4em;
  margin: 14px 0 0 !important;
  color: #596170 !important;
  font-size: 0.92rem !important;
  line-height: 1.68 !important;
}

body.download-page .download-catalog .catalog-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
}

body.download-page .download-catalog .catalog-card-group {
  padding-top: 20px;
  border-top: 1px solid #eceff3;
}

body.download-page .download-catalog .catalog-card-group h4 {
  margin: 0 0 11px !important;
  color: #828a98 !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
}

body.download-page .download-catalog .catalog-feature-list,
body.download-page .download-catalog .catalog-requirement-list {
  display: grid;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.download-page .download-catalog .catalog-feature-list li,
body.download-page .download-catalog .catalog-requirement-list li {
  position: relative;
  margin: 0 !important;
  padding: 0 0 0 17px !important;
  color: #4c5564 !important;
  font-size: 0.86rem !important;
  line-height: 1.52 !important;
}

body.download-page .download-catalog .catalog-feature-list li::before,
body.download-page .download-catalog .catalog-requirement-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b7c0ce;
}

body.download-page .download-catalog .catalog-card-group--requirements {
  margin-top: auto;
}

body.download-page .download-catalog .catalog-card-footer {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #eceff3;
}

body.download-page .download-catalog .catalog-card-actions {
  display: grid;
  gap: 9px;
}

body.download-page .download-catalog .catalog-card--macos .catalog-card-actions {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
}

body.download-page .download-catalog .catalog-button,
body.download-page .download-catalog a.catalog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

body.download-page .download-catalog .catalog-button--primary {
  border-color: #171a20 !important;
  background: #171a20 !important;
  color: #ffffff !important;
}

body.download-page .download-catalog .catalog-button--primary:hover {
  border-color: #30343c !important;
  background: #30343c !important;
  transform: translateY(-1px);
}

body.download-page .download-catalog .catalog-button--secondary {
  border-color: #d8dee7 !important;
  background: #ffffff !important;
  color: #2c3442 !important;
}

body.download-page .download-catalog .catalog-button--secondary:hover {
  border-color: #bcc5d2 !important;
  background: #f6f8fb !important;
  transform: translateY(-1px);
}

body.download-page .download-catalog .catalog-button-version {
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

body.download-page .download-catalog .catalog-purchase-note {
  margin: 10px 0 0 !important;
  color: #858d9a !important;
  font-size: 0.72rem !important;
  line-height: 1.45 !important;
  text-align: center;
}

body.download-page .download-catalog .catalog-remote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1040px, 100%);
  margin: 22px auto 0;
  padding: 24px 28px;
  border: 1px solid #e0e4ea;
  border-radius: 18px;
  background: #ffffff;
}

body.download-page .download-catalog .catalog-remote > div {
  min-width: 0;
}

body.download-page .download-catalog .catalog-remote .download-section-kicker {
  margin-bottom: 5px !important;
}

body.download-page .download-catalog .catalog-remote h2 {
  margin: 0 !important;
  color: #171b23 !important;
  font-size: 1.18rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
}

body.download-page .download-catalog .catalog-remote p:last-child {
  margin: 5px 0 0 !important;
  color: #657080 !important;
  font-size: 0.85rem !important;
  line-height: 1.55 !important;
}

body.download-page .download-catalog .catalog-remote .catalog-button {
  flex: 0 0 210px;
  width: 210px;
}

@media (max-width: 1120px) {
  body.download-page .download-catalog .catalog-product-grid--desktop {
    grid-template-columns: 1fr;
    width: min(760px, 100%);
    margin: 0 auto;
  }

  body.download-page .download-catalog .catalog-card-head > p {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  body.download-page .download-catalog .catalog-product-grid--mobile {
    grid-template-columns: 1fr;
    width: min(620px, 100%);
  }

  body.download-page .download-catalog .catalog-remote {
    align-items: flex-start;
    flex-direction: column;
    width: min(620px, 100%);
  }

  body.download-page .download-catalog .catalog-remote .catalog-button {
    flex-basis: auto;
    width: 100%;
  }
}

@media (max-width: 560px) {
  body.download-page .download-catalog {
    padding-top: 34px !important;
  }

  body.download-page .download-catalog .download-copy h1 {
    font-size: clamp(2.8rem, 15vw, 4.1rem) !important;
  }

  body.download-page .download-catalog .download-proof {
    gap: 6px;
  }

  body.download-page .download-catalog .download-proof span {
    min-height: 30px;
    padding: 5px 10px;
    font-size: 0.7rem;
  }

  body.download-page .download-catalog .catalog-card {
    padding: 23px 20px;
    border-radius: 18px;
  }

  body.download-page .download-catalog .catalog-card--macos .catalog-card-actions {
    grid-template-columns: 1fr;
  }

  body.download-page .download-catalog .catalog-remote {
    padding: 21px 20px;
  }

  body.download-page .social-strip-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  body.download-page .social-link {
    min-width: 0;
    justify-content: center;
  }

  body.download-page .social-label {
    display: none;
  }

  body.download-page .social-icon-wrap {
    margin: 0;
  }
}
