/* Rack-family hero and editorial sections for every software detail page.
   Scoped overrides preserve the approved rack and software catalogue designs. */
.software-detail-page .product-hero,
.software-detail-page .product-hero__main { min-height: 0; }
.software-detail-page .product-hero { align-items: stretch; }
.software-detail-page .product-hero__main { display: flex; flex-direction: column; }
.software-detail-page .product-hero__copy { width: 100%; padding: 24px 42px 0; }
.software-detail-page .back-link { margin-bottom: 24px; }
.software-detail-page .product-hero__copy .eyebrow { margin-bottom: 12px; }
.software-detail-page .product-hero h1 { max-width: none; font-size: clamp(3rem, 5.3vw, 5.6rem); white-space: normal; text-wrap: balance; line-height: 1.02; letter-spacing: -.065em; }
.software-detail-page .product-hero__lede { width: 100%; max-width: none; margin-top: 18px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.55; }
.software-detail-page .product-hero__copy > p:not(.eyebrow):not(.product-hero__lede) { width: 100%; max-width: none; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.software-detail-page .product-hero__image,
.software-detail-page .software-detail-hero-visual { position: relative; inset: auto; align-self: stretch; width: auto; max-width: none; margin: 32px 32px 36px; padding: 0; }
.software-detail-page .product-hero__image a { display: block; min-width: 0; }
.software-detail-page .product-hero__image img { display: block; width: 100%; height: auto; max-height: 530px; object-fit: contain; border-radius: 12px; -webkit-mask-image: none; mask-image: none; filter: none; }
.software-detail-page .product-hero__image figcaption { width: 100%; margin: 14px 0 0; text-align: left; color: var(--muted); font: .69rem/1.7 var(--font-technical); }
.software-detail-page .product-hero__image figcaption a { display: inline; color: var(--accent); }
.software-detail-page .spec-panel { display: flex; flex-direction: column; justify-content: flex-start; padding: 38px 32px; }
.software-detail-page .spec-panel .capability-list { margin-top: 28px; }
.software-detail-page .spec-panel .technical-specs--actions-only { margin-top: 24px; padding-top: 0; }
.software-detail-page .spec-panel .button { display: inline-flex; align-items: center; justify-content: center; min-width: 0; max-width: 100%; width: 100%; margin-top: 14px; padding: 16px 18px; white-space: normal; font-size: .79rem; line-height: 1.6; text-align: center; text-wrap: balance; }
.software-detail-page .spec-panel .button[disabled],
.software-detail-page .spec-panel .button[aria-disabled='true'] { opacity: .58; cursor: not-allowed; }
.software-detail-page .spec-panel .button:not([aria-disabled='true']):not([disabled]) { cursor: pointer; }
.software-detail-page .software-purchase,
.software-detail-page .software-offer,
.software-detail-page .software-detail-status { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--border); }
.software-detail-page .software-offer > a:not(.button),
.software-detail-page .software-offer p a { color: var(--accent); font-size: .83rem; text-underline-offset: 4px; }
.software-detail-page .software-offer .software-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin: 0; }
.software-detail-page .software-offer .software-price strong { font-size: 1.9rem; letter-spacing: -.05em; }
.software-detail-page .software-offer .software-price span { color: var(--muted); font-size: .8rem; }
.software-detail-page .software-release-note { margin: 14px 0; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.software-detail-page .software-resource-links { display: grid; gap: 16px; margin: 28px 0 0; padding-left: 20px; }
.software-detail-page .software-resource-links a { color: var(--accent); text-underline-offset: 5px; }
.software-detail-page .software-detail-status h3 { margin: 0; font-size: 1.3rem; letter-spacing: -.035em; }
.software-detail-page .software-detail-status > p { margin: 12px 0; color: var(--muted); font-size: .82rem; line-height: 1.7; }
.software-detail-page .software-detail-status strong { color: var(--text); }
.software-detail-page .spec-panel .auto-sampler-price,
.software-detail-page .spec-panel .moc-price-block { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; margin: 0 0 12px; }
.software-detail-page .spec-panel .auto-sampler-price strong,
.software-detail-page .spec-panel .moc-price-block strong,
.software-detail-page .software-detail-price { font-size: 1.9rem; letter-spacing: -.05em; }
.software-detail-page .spec-panel .midimon-download-note { margin: 0; padding: 0; border: 0; }
.software-detail-page .software-problems { margin: 64px 0; padding: clamp(28px, 4.5vw, 64px); border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(145deg, rgba(var(--accent-rgb), .055), transparent 65%), #0e1012; scroll-margin-top: 110px; }
.software-detail-page .software-problems > header { width: 100%; margin-bottom: 32px; }
.software-detail-page .software-problems h2,
.software-detail-page .software-resources h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 4.1rem); line-height: 1.06; letter-spacing: -.055em; }
.software-detail-page .software-problems > header > p:last-child { width: 100%; max-width: none; margin: 20px 0 0; color: var(--muted); line-height: 1.7; }
.software-detail-page .software-problems__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.software-detail-page .software-problems__grid article { min-width: 0; padding-top: 24px; border-top: 1px solid var(--border); }
.software-detail-page .software-problems__grid h3 { margin: 0 0 14px; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.025em; }
.software-detail-page .software-problems__grid p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.75; }
.software-detail-page .software-story { min-width: 0; }
.software-detail-page .software-story > * { min-width: 0; }
.software-detail-page .software-story__visual { margin: 0; align-content: center; row-gap: 14px; }
.software-detail-page figure.software-story__visual > a { width: 100%; }
.software-detail-page main h2[id] { scroll-margin-top: 115px; }
.software-detail-page .software-story__visual > a { display: block; }
.software-detail-page .software-story__visual img { width: 100%; height: auto; max-width: 100%; object-fit: contain; }
.software-detail-page .software-story__visual figcaption { margin: 0; color: var(--muted); font: .7rem/1.7 var(--font-technical); }
.software-detail-page .software-story__copy > p { max-width: none; }
.software-detail-page .software-story__copy code { overflow-wrap: anywhere; }
.software-detail-page .software-feature-note { color: var(--muted); font-size: .82rem; line-height: 1.7; }
.stress-test-page .stress-test-limits { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.stress-test-page .stress-test-limits summary { cursor: pointer; color: var(--text); font-weight: 600; line-height: 1.5; }
.stress-test-page .stress-test-limits .software-points { font-size: .85rem; }
.software-detail-page .software-resources { margin: 64px 0; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--border); border-radius: 22px; background: #101214; scroll-margin-top: 110px; }
.software-detail-page .software-resources > p { color: var(--muted); line-height: 1.7; max-width: none; }
.software-detail-page .software-resources__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; margin-top: 30px; }
.software-detail-page .software-resource { display: block; min-width: 0; padding: 24px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); text-decoration: none; background: rgba(255,255,255,.018); }
.software-detail-page .software-resource strong { display: block; font-size: 1.1rem; letter-spacing: -.025em; }
.software-detail-page .software-resource span { display: block; margin-top: 12px; color: var(--muted); font-size: .85rem; line-height: 1.7; }
.software-detail-page .software-resource small { display: block; color: var(--accent); margin-top: 16px; font-family: var(--font-technical); font-size: .66rem; }
.software-detail-page .software-resource:hover,
.software-detail-page .software-resource:focus-visible { border-color: var(--accent); }
.software-detail-page .product-cta { gap: 30px; align-items: center; }
.software-detail-page .product-cta .button { min-width: 0; max-width: 440px; white-space: normal; text-align: center; line-height: 1.6; }
.software-detail-page .product-cta .button[disabled],
.software-detail-page .product-cta .button[aria-disabled='true'] { opacity: .58; cursor: not-allowed; }
.software-detail-page .product-cta .button:not([disabled]):not([aria-disabled='true']) { opacity: 1; cursor: pointer; }
.software-detail-page a:focus-visible,
.software-detail-page button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.software-detail-page .software-resources a,
.software-detail-page .software-problems a { color: var(--accent); }
@media (max-width: 1040px) {
  .software-detail-page .spec-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; }
  .software-detail-page .spec-panel .capability-list { margin-top: 0; }
  .software-detail-page .spec-panel .software-purchase,
  .software-detail-page .spec-panel .software-offer,
  .software-detail-page .spec-panel .software-detail-status,
  .software-detail-page .spec-panel .technical-specs--actions-only { grid-column: 1 / -1; }
  .software-detail-page .product-hero__image { width: auto; max-width: 850px; align-self: center; }
}
@media (max-width: 880px) {
  .software-detail-page .product-hero,
  .software-detail-page .product-hero__main { min-height: 0; }
  .software-detail-page .product-hero__copy { width: 100%; padding: 20px 28px 0; }
  .software-detail-page .back-link { margin-bottom: 20px; }
  .software-detail-page .product-hero h1 { font-size: clamp(2.8rem, 8vw, 5rem); }
  .software-detail-page .spec-panel { display: block; padding: 32px 28px; }
  .software-detail-page .spec-panel .capability-list { margin-top: 28px; }
  .software-detail-page .software-problems__grid { grid-template-columns: 1fr; gap: 24px; }
  .software-detail-page .product-cta { flex-direction: column; align-items: stretch; }
  .software-detail-page .product-cta .button { width: 100%; max-width: none; }
}
@media (max-width: 760px) {
  .software-detail-page .site-header,
  .software-detail-page .site-header.is-scrolled { flex-direction: column; align-items: flex-start; gap: 14px; }
  .software-detail-page .site-nav { position: relative; width: 100%; min-width: 0; overflow: visible; flex-wrap: wrap; justify-content: flex-start; gap: 12px 18px; }
  .software-detail-page .site-nav__menu { position: static; }
  .software-detail-page .site-nav__dropdown { position: absolute; top: calc(100% + 12px); left: 0; right: 0; width: 100%; min-width: 0; max-height: calc(100vh - 130px); overflow-y: auto; }
  .software-detail-page .site-nav__dropdown a { white-space: normal; }
  .software-detail-page .product-hero__image,
  .software-detail-page .software-detail-hero-visual { width: auto; margin: 24px 20px 30px; }
  .software-detail-page .software-story { grid-template-columns: 1fr; gap: 28px; padding-inline: 22px; }
  .software-detail-page .software-story__visual { order: 2; }
  .software-detail-page .software-problems,
  .software-detail-page .software-resources { margin: 42px 0; padding: 28px 22px; }
}
@media (max-width: 560px) {
  .software-detail-page .product-hero,
  .software-detail-page .product-hero__main { min-height: 0; }
  .software-detail-page .product-hero__copy,
  .software-detail-page .spec-panel { padding-inline: 20px; }
  .software-detail-page .product-hero h1 { font-size: clamp(2.6rem, 10vw, 4rem); }
  .software-detail-page .product-hero__image img { border-radius: 8px; }
  .software-detail-page .software-flow__steps { grid-template-columns: 1fr; }
}
