/* Windows download choices: official Store badge first, direct installer second. */
.product-page .download-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  width: 100%;
  min-width: 0;
}
.product-page .hero-actions { gap: 0; }
.product-page .hero-actions > .download-options { flex-basis: 100%; }
/* Unmodified official asset: https://get.microsoft.com/images/en-us%20dark.svg */
.product-page .download-options .store-download {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 1 234px;
  min-width: 0;
  max-width: 100%;
  min-height: 64px;
  border-radius: 6px;
}
.product-page .store-download img {
  display: block;
  width: 234px;
  max-width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
}
.product-page .installer-download {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--line-hi);
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}
.product-page .download-button-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  color: inherit;
  font-size: inherit;
}
.product-page .installer-label {
  color: inherit;
  font-size: inherit;
  text-decoration: underline;
  text-decoration-color: #829bab80;
  text-underline-offset: 4px;
}
.product-page .download-options small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  text-decoration: none;
}
.product-page .installer-download:hover { color: var(--blue-soft); }
.product-page .installer-download:hover .installer-label { text-decoration-color: currentColor; }
@media (max-width: 560px) {
  .product-page .hero-actions { width: 100%; }
  .product-page .download-options { flex-direction: column; align-items: flex-start; gap: 12px; }
  .product-page .download-options .store-download { flex: none; }
  .product-page .installer-download { padding-left: 0; border-left: 0; }
}

/* Two consistent destination rows, shared by the header and release card. */
.product-page .download-choice {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 12px;
  border-radius: 7px;
  color: var(--text);
  text-align: left;
}
.product-page .download-choice:hover,
.product-page .download-choice:focus-visible { background: #1a2b38; }
.product-page .download-choice + .download-choice { border-top: 1px solid #2a3c49; border-radius: 0 0 7px 7px; }
.product-page .download-choice-icon { display: block; width: 36px; height: 36px; object-fit: contain; }
.product-page .download-windows-icon { display: grid; place-items: center; color: #91c9ee; }
.product-page .download-windows-icon svg { width: 24px; height: 24px; fill: currentColor; }
.product-page .download-choice-copy { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.product-page .download-choice-copy strong { color: var(--text); font-size: 14px; font-weight: 650; line-height: 1.25; }
.product-page .download-choice-copy small { color: #a1b0bb; font-size: 11px; line-height: 1.4; }
.product-page .download-option-arrow { display: block; width: 18px; height: 18px; fill: none; stroke: #91aabb; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Content-sized release card: no fixed tracks or inherited flex basis. */
.product-page .release-download-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid #364d5e;
  border-radius: 12px;
  background: #101d27;
}
.product-page .release-product { display: flex; align-items: center; gap: 14px; padding: 0 10px 20px; }
.product-page .release-product > img { width: 48px; height: 48px; border-radius: 10px; }
.product-page .release-product h3 { margin: 0; font-size: 18px; font-weight: 650; line-height: 1.25; }
.product-page .release-product p { margin: 5px 0 0; color: #a1b0bb; font-size: 12px; line-height: 1.4; }
.product-page .release-download-choices { border-block: 1px solid #2a3c49; }
.product-page .release-download-card .download-choice { min-height: 78px; }
.product-page .release-download-footer { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 20px; padding: 18px 10px 0; }
.product-page .release-download-footer > a { color: #cbe7f8; font-size: 12px; line-height: 1.5; }
.product-page .release-download-footer > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-page .release-verification { min-width: 0; color: #a1b0bb; font-size: 11px; }
.product-page .release-verification summary { padding-block: 3px; cursor: pointer; line-height: 1.5; }
.product-page .release-verification[open] { flex-basis: 100%; order: 2; }
.product-page .release-verification pre { white-space: pre-wrap; color: #b4c2cd; font: 12px/1.65 "Segoe UI", sans-serif; }
.product-page .release-verification code { display: block; overflow-wrap: anywhere; color: #9eacb6; font-size: 10px; line-height: 1.5; }
.product-page .release-verification button { min-height: 36px; margin-top: 12px; padding: 7px 12px; border: 1px solid #40596b; border-radius: 5px; background: #182b3a; color: #eaf3f8; font-size: 11px; cursor: pointer; }

/* Header disclosure uses the same two rows at a more compact width. */
.product-page .header-download { position: relative; }
.product-page .header-actions .download-trigger { min-height: 44px; padding: 10px 13px !important; gap: 9px; cursor: pointer; }
.product-page .download-trigger > span { display: inline; font-size: 12px; font-weight: 700; }
.product-page .download-trigger .download-chevron { width: 12px; height: 12px; stroke: #aac3d3; transition: transform .15s; }
.product-page .download-trigger[aria-expanded="true"] { border-color: #80a9c3 !important; }
.product-page .download-trigger[aria-expanded="true"] .download-chevron { transform: rotate(180deg); }
.product-page .header-download-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 140;
  width: min(310px, calc(100vw - 24px));
  padding: 5px;
  border: 1px solid #3b5263;
  border-radius: 10px;
  background: #101d27;
  box-shadow: 0 18px 50px #0009;
}
.product-page .header-download-options .download-choice { gap: 12px; padding: 14px 12px; }
@media (max-width: 800px) {
  .product-page .header-actions .download-trigger { min-height: 42px; padding: 9px 11px !important; }
  .product-page .header-actions .download-trigger > span { display: inline; }
}
@media (max-width: 560px) {
  .product-page .release-download-card { padding: 18px; }
  .product-page .release-product { padding-inline: 4px; }
  .product-page .release-download-footer { padding-inline: 4px; }
}
@media (max-width: 360px) {
  .product-page .header-frame { gap: 8px; }
  .product-page .brand > .brand-copy { display: none; }
  .product-page .release-download-card { padding: 14px; }
  .product-page .release-download-card .download-choice { padding-inline: 4px; gap: 10px; }
}

/* Both character links share a baseline and underline, regardless of SEO link class. */
.product-page .career-links { align-items: center; }
.product-page .career-links > .text-link { margin: 0; min-height: 44px; padding-block: 10px; line-height: 1.5; align-items: center; }
