.catalog-main {
  --blue: var(--navy);
  --text-muted: var(--muted);
  --surface-muted: var(--surface);
  --font-en: Arial, sans-serif;
  background: var(--white);
}

.catalog-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
}

.catalog-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  color: var(--muted);
  font-size: 11px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.catalog-breadcrumbs::-webkit-scrollbar {
  display: none;
}

.catalog-breadcrumbs a {
  color: var(--navy);
}

.catalog-breadcrumbs i {
  color: #8e9aa3;
  font-size: 10px;
}

.product-overview {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  min-height: 530px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.product-overview__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 64px clamp(36px, 6vw, 94px);
}

.product-overview__category,
.catalog-kicker {
  margin: 0 0 11px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.product-overview h1,
.catalog-hero h1 {
  margin: 0;
  color: #111820;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  word-break: auto-phrase;
}

.product-overview h1 > span {
  display: block;
}

.product-overview h1.product-overview__title--legacy-lined > span {
  white-space: nowrap;
}

.product-overview h1.product-overview__title--lined {
  font-size: clamp(36px, 3.5vw, 50px);
}

.product-overview h1.product-overview__title--long {
  font-size: clamp(31px, 3.1vw, 45px);
}

.product-overview__tagline {
  margin: 20px 0 0;
  color: #33414c;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.7;
}

.product-overview__intro {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.product-overview__intro--legacy {
  white-space: pre-line;
}

.product-overview__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.product-overview__badges span {
  padding: 5px 10px;
  color: #3f4b54;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
}

.product-overview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.product-overview__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 530px;
  padding: 44px clamp(28px, 5vw, 76px);
  background: var(--surface);
  border-left: 1px solid var(--line);
  overflow: hidden;
}

.product-overview__media > img {
  width: 100%;
  height: 430px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.product-overview__media--photo > img {
  height: 100%;
  max-height: 470px;
  object-fit: cover;
  mix-blend-mode: normal;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.quick-fact {
  min-width: 0;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.quick-fact:last-child {
  border-right: 0;
}

.quick-fact span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.quick-fact strong {
  display: block;
  margin-top: 3px;
  color: #17242e;
  font-size: 20px;
  line-height: 1.45;
}

.product-local-nav {
  position: sticky;
  z-index: 30;
  top: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.product-local-nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 56px;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-local-nav__inner::-webkit-scrollbar {
  display: none;
}

.product-local-nav a {
  flex: 0 0 auto;
  color: #44515b;
  font-size: 12px;
  font-weight: 700;
}

.product-local-nav a:hover {
  color: var(--navy);
}

.catalog-section {
  padding: 86px 0;
}

.catalog-section--muted {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.catalog-section__heading > div {
  min-width: 0;
}

.catalog-section__heading h2 {
  margin: 0;
  color: #17242e;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
}

.catalog-section__heading p:not(.catalog-kicker) {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefit-item {
  min-width: 0;
  padding: 34px 32px;
  border-right: 1px solid var(--line);
}

.benefit-item:last-child {
  border-right: 0;
}

.benefit-item i {
  display: block;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 38px;
  line-height: 1;
}

.benefit-item h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.5;
}

.benefit-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.spec-layout {
  display: grid;
  grid-template-columns: minmax(0, 62%) minmax(280px, 38%);
  gap: 50px;
  align-items: start;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line-dark);
}

.spec-table th,
.spec-table td {
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
}

.spec-table th {
  width: 30%;
  color: #2f3b44;
  background: #eef2f4;
  font-weight: 700;
}

.spec-table td {
  color: var(--muted);
}

.contract-scope-table th,
.scope-selection-table th {
  width: 24%;
}

.contract-scope-table td:last-child,
.scope-selection-table td:last-child {
  width: 24%;
  font-weight: 700;
}

.spec-notes {
  padding-left: 28px;
  border-left: 3px solid var(--navy);
}

.spec-notes h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.spec-notes p,
.spec-notes li {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.spec-notes ul {
  margin: 0;
  padding-left: 19px;
}

.service-lead {
  width: min(100%, 980px);
  margin-bottom: 34px;
  color: #35424c;
  font-size: 15px;
  line-height: 1.9;
}

.service-lead p {
  margin: 0 0 14px;
}

.service-faq {
  border-top: 1px solid var(--line-dark);
}

.service-faq details {
  border-bottom: 1px solid var(--line);
}

.service-faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
}

.service-faq summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 12px;
  font-size: 22px;
  font-weight: 400;
}

.service-faq details[open] summary::after {
  content: "−";
}

.service-faq p {
  max-width: 920px;
  margin: 0;
  padding: 0 48px 22px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.service-faq a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legacy-product-content {
  width: min(100%, 1040px);
  margin: 0 auto;
  color: #35424c;
}

.legacy-product-content > :first-child {
  margin-top: 0;
}

.legacy-product-content h2,
.legacy-product-content h3,
.legacy-product-content h4,
.legacy-product-content h5,
.legacy-product-content h6 {
  color: #17242e;
  font-weight: 600;
  letter-spacing: 0;
  word-break: auto-phrase;
}

.legacy-product-content h2 {
  margin: 68px 0 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.5;
}

.legacy-product-content h3,
.legacy-product-content h4,
.legacy-product-content h5,
.legacy-product-content h6 {
  margin: 38px 0 16px;
  font-size: 20px;
  line-height: 1.65;
}

.legacy-product-content p {
  margin: 18px 0;
  font-size: 14px;
  line-height: 2;
}

.legacy-product-content p:empty {
  display: none;
}

.legacy-product-content a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legacy-product-content ul,
.legacy-product-content ol {
  margin: 18px 0 28px;
  padding-left: 24px;
  color: #35424c;
}

.legacy-product-content li {
  margin: 7px 0;
  font-size: 14px;
  line-height: 1.85;
}

.legacy-product-content pre {
  margin: 20px 0 34px;
  padding: 24px 26px;
  color: #35424c;
  background: var(--surface);
  border-left: 3px solid var(--navy);
  font: inherit;
  font-size: 13px;
  line-height: 1.95;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.legacy-product-content figure,
.legacy-product-content .wp-block-image {
  margin: 26px 0 34px;
}

.legacy-product-content img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 560px;
  margin: 0 auto;
  object-fit: contain;
}

.legacy-product-content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.legacy-product-content .wp-block-gallery .blocks-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legacy-product-content .blocks-gallery-item {
  min-width: 0;
  margin: 0;
}

.legacy-product-content .blocks-gallery-item figure {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.legacy-product-content .blocks-gallery-item img {
  width: 100%;
  height: 320px;
}

.legacy-product-content .wp-block-table {
  width: 100%;
  margin: 24px 0 46px;
  border-top: 1px solid var(--line-dark);
  overflow-x: auto;
}

.legacy-product-content table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.legacy-product-content th,
.legacy-product-content td {
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.75;
}

.legacy-product-content td:first-child,
.legacy-product-content th:first-child {
  width: 30%;
  color: #2f3b44;
  background: #eef2f4;
  font-weight: 700;
}

.legacy-product-content td .has-inline-color,
.legacy-product-content mark.has-inline-color {
  color: #a43c2f;
  background: transparent;
  font-weight: 600;
}

.legacy-product-content .wp-block-media-text {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  align-items: center;
  gap: 42px;
  margin: 24px 0 48px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.legacy-product-content .wp-block-media-text figure,
.legacy-product-content .wp-block-media-text h5 {
  margin: 0;
}

.legacy-product-content .wp-block-buttons {
  display: flex;
  justify-content: flex-start;
  margin: 30px 0;
}

.legacy-product-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  text-decoration: none;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.model-grid--count-1 {
  grid-template-columns: minmax(0, 520px);
}

.model-grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
}

.model-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.model-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  padding: 22px;
  background: #f7f8f9;
  border-bottom: 1px solid var(--line);
}

.model-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.model-card__image--photo {
  padding: 0;
}

.model-card__image--photo img {
  object-fit: cover;
  mix-blend-mode: normal;
}

.model-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 22px;
}

.model-card__label {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
}

.model-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

.model-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.model-card ul {
  margin: 13px 0 0;
  padding-left: 18px;
  color: #495660;
  font-size: 11px;
  line-height: 1.8;
}

.model-card .text-link {
  margin-top: auto;
  padding-top: 18px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-step {
  position: relative;
  min-width: 0;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.process-step span {
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
}

.process-step h3 {
  margin: 7px 0 8px;
  font-size: 16px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  display: grid;
  grid-template-columns: 42% minmax(0, 58%);
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.related-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.related-card img {
  width: 100%;
  height: 100%;
  min-height: 154px;
  object-fit: cover;
  border-right: 1px solid var(--line);
}

.related-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 18px;
}

.related-card__body span {
  color: var(--navy);
  font-size: 9px;
  font-weight: 700;
}

.related-card h3 {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.contact-band {
  color: var(--white);
  background: var(--navy-deep);
}

.contact-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  min-height: 260px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.contact-band .catalog-kicker {
  color: #91b7d7;
}

.contact-band h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.45;
}

.contact-band p {
  max-width: 700px;
  margin: 14px 0 0;
  color: #c7d5df;
  font-size: 13px;
}

.contact-band .button--secondary {
  min-width: 230px;
  color: var(--navy-deep);
  background: var(--white);
  border-color: var(--white);
}

.catalog-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 430px;
  color: var(--white);
  background: #23313a;
  overflow: hidden;
}

.catalog-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
}

.catalog-hero__content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
  padding: 64px 0;
}

.catalog-hero .catalog-kicker {
  color: #9fc0dd;
}

.catalog-hero h1 {
  color: var(--white);
}

.catalog-hero p:not(.catalog-kicker) {
  max-width: 650px;
  margin: 18px 0 0;
  color: #e3e9ed;
  font-size: 15px;
  line-height: 1.9;
}

.catalog-filter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.catalog-filter button {
  min-height: 52px;
  padding: 10px 16px;
  background: var(--white);
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.catalog-filter button:last-child {
  border-right: 0;
}

.catalog-filter button:hover {
  background: var(--surface);
}

.catalog-filter button.is-active {
  color: var(--white);
  background: var(--navy);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 34px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.catalog-card[hidden] {
  display: none;
}

.catalog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.catalog-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.55 / 1;
  padding: 24px;
  background: #f6f8f9;
  border-bottom: 1px solid var(--line);
}

.catalog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.catalog-card__media--photo {
  padding: 0;
}

.catalog-card__media--photo img {
  object-fit: cover;
  mix-blend-mode: normal;
}

.catalog-card__type {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  color: var(--white);
  background: rgba(0, 63, 125, 0.92);
  font-size: 9px;
  font-weight: 700;
}

.catalog-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 23px;
}

.catalog-card h2,
.catalog-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
}

.catalog-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.catalog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}

.catalog-card__tags span {
  padding: 3px 7px;
  color: #53616b;
  background: var(--surface);
  font-size: 9px;
}

.catalog-card .text-link {
  margin-top: auto;
  padding-top: 20px;
}

.category-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 92px;
  padding: 18px 24px;
  border-right: 1px solid var(--line);
}

.category-link:last-child {
  border-right: 0;
}

.category-link:hover {
  background: var(--surface);
}

.category-link div span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.category-link strong {
  display: block;
  margin-top: 3px;
  font-size: 17px;
}

.category-link i {
  color: var(--navy);
}

.legacy-notice {
  margin-top: 28px;
  padding: 18px 20px;
  color: #45525c;
  background: var(--surface);
  border-left: 3px solid var(--navy);
  font-size: 12px;
}

@media (max-width: 1050px) {
  .product-overview {
    grid-template-columns: 50% 50%;
  }

  .product-overview__copy {
    padding-inline: 36px;
  }

  .product-overview__media {
    padding-inline: 30px;
  }

  .catalog-grid,
  .model-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-step:nth-child(3) {
    border-right: 0;
  }

  .process-step:nth-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .catalog-shell,
  .catalog-hero__content {
    width: min(calc(100% - 36px), var(--shell));
  }

  .catalog-breadcrumbs {
    min-height: 46px;
  }

  .product-overview {
    grid-template-columns: 1fr;
  }

  .product-overview__copy {
    padding: 44px 20px 38px;
  }

  .product-overview h1,
  .catalog-hero h1 {
    font-size: 34px;
  }

  .product-overview h1.product-overview__title--lined {
    font-size: 34px;
  }

  .product-overview h1.product-overview__title--long {
    font-size: 26px;
  }

  .product-overview__tagline {
    font-size: 17px;
  }

  .product-overview__actions {
    flex-direction: column;
  }

  .product-overview__media {
    min-height: 330px;
    padding: 28px 20px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .product-overview__media > img {
    height: 280px;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .quick-fact {
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-fact:last-child {
    border-bottom: 0;
  }

  .quick-fact strong {
    font-size: 17px;
  }

  .product-local-nav__inner {
    gap: 22px;
  }

  .catalog-section {
    padding: 58px 0;
  }

  .catalog-section__heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 26px;
  }

  .benefit-grid,
  .spec-layout,
  .model-grid,
  .model-grid--count-1,
  .model-grid--count-2,
  .related-grid,
  .catalog-grid,
  .category-links {
    grid-template-columns: 1fr;
  }

  .model-grid--count-1,
  .model-grid--count-2 {
    max-width: none;
  }

  .benefit-item,
  .category-link {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit-item:last-child,
  .category-link:last-child {
    border-bottom: 0;
  }

  .spec-layout {
    gap: 32px;
  }

  .spec-table th,
  .spec-table td {
    padding: 10px;
    font-size: 11px;
  }

  .contract-scope-table tr,
  .scope-selection-table tr {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 1px solid var(--line);
  }

  .spec-table.contract-scope-table th,
  .spec-table.contract-scope-table td,
  .spec-table.contract-scope-table td:last-child,
  .spec-table.scope-selection-table th,
  .spec-table.scope-selection-table td,
  .spec-table.scope-selection-table td:last-child {
    display: block;
    width: 100%;
    border-bottom: 0;
  }

  .spec-table.contract-scope-table td:last-child,
  .spec-table.scope-selection-table td:last-child {
    padding-top: 0;
    padding-bottom: 14px;
  }

  .spec-notes {
    padding-left: 20px;
  }

  .legacy-product-content h2 {
    margin-top: 52px;
    font-size: 25px;
  }

  .legacy-product-content h3,
  .legacy-product-content h4,
  .legacy-product-content h5,
  .legacy-product-content h6 {
    font-size: 18px;
  }

  .legacy-product-content p,
  .legacy-product-content li {
    font-size: 13px;
  }

  .legacy-product-content pre {
    padding: 19px 17px;
    font-size: 12px;
  }

  .legacy-product-content .wp-block-gallery .blocks-gallery-grid,
  .legacy-product-content .wp-block-media-text {
    grid-template-columns: 1fr;
  }

  .legacy-product-content .wp-block-media-text {
    gap: 24px;
    padding: 20px;
  }

  .legacy-product-content .blocks-gallery-item img {
    height: 250px;
  }

  .legacy-product-content table {
    min-width: 0;
    table-layout: fixed;
  }

  .legacy-product-content .wp-block-table {
    overflow-x: visible;
  }

  .legacy-product-content th,
  .legacy-product-content td {
    padding: 10px;
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .contact-band__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-band .button--secondary {
    width: 100%;
  }

  .catalog-hero {
    min-height: 390px;
  }

  .catalog-filter {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-filter button:nth-child(2) {
    border-right: 0;
  }

  .catalog-filter button:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 430px) {
  .product-overview h1,
  .catalog-hero h1 {
    font-size: 30px;
  }

  .product-overview__intro {
    font-size: 13px;
  }

  .product-overview__media {
    min-height: 300px;
  }

  .product-overview__media > img {
    height: 250px;
  }

  .spec-table th {
    width: 34%;
  }

  .catalog-filter button {
    padding-inline: 8px;
    font-size: 11px;
  }
}

/* Software contract detail page */
.software-system-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 48px;
}

.software-system-flow article {
  position: relative;
  min-height: 260px;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.software-system-flow article:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 66px;
  right: -6px;
  width: 11px;
  height: 11px;
  border-top: 1px solid var(--blue);
  border-right: 1px solid var(--blue);
  transform: rotate(45deg);
  background: var(--white);
}

.software-system-flow article > span,
.verification-grid article > span {
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.software-system-flow i {
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 30px;
}

.software-system-flow h3,
.software-domain-grid h3,
.software-evidence-card h3,
.modernization-steps h3,
.modernization-decisions h3,
.verification-grid h3,
.deliverables-panel h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.5;
}

.software-system-flow p,
.verification-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.9;
}

.software-domain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.software-domain-grid > article {
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--white);
}

.software-domain-grid__title span,
.software-evidence-card__type {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.software-domain-grid > article > p,
.modernization-lead p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 2;
}

.software-domain-grid ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.software-domain-grid li {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  line-height: 1.7;
}

.software-domain-grid li::before {
  content: "";
  position: absolute;
  top: .7em;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--blue);
}

.software-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 48px;
}

.software-evidence-card {
  padding: 36px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.software-evidence-card > p:not(.software-evidence-card__type):not(.software-evidence-card__result) {
  min-height: 112px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.9;
}

.software-evidence-card dl {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.software-evidence-card dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.6;
}

.software-evidence-card dt {
  color: var(--text-muted);
}

.software-evidence-card dd {
  margin: 0;
  font-weight: 700;
}

.software-evidence-card__result {
  margin: 24px 0 0;
  padding: 18px;
  background: var(--surface-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.software-evidence-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 24px;
  border-left: 3px solid var(--blue);
  background: var(--surface-muted);
}

.software-evidence-note i {
  color: var(--blue);
  font-size: 20px;
}

.software-evidence-note p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.8;
}

.modernization-lead {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 42px;
}

.modernization-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 52px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.modernization-steps li {
  min-height: 220px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.modernization-steps li > span {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.modernization-steps p,
.modernization-decisions p,
.deliverables-panel p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.9;
}

.modernization-decisions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.modernization-decisions article {
  padding: 28px;
  background: var(--white);
}

.verification-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.verification-grid article {
  min-height: 210px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.deliverables-panel {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 64px;
  margin-top: 32px;
  padding: 42px;
  background: #102f49;
  color: #fff;
}

.deliverables-panel .catalog-kicker,
.deliverables-panel p {
  color: rgba(255, 255, 255, .72);
}

.deliverables-panel ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.deliverables-panel li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  font-size: 12px;
  line-height: 1.7;
}

.deliverables-panel li i {
  margin-right: 8px;
  color: #8ec6e8;
}

@media (max-width: 1024px) {
  .software-system-flow,
  .modernization-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .software-evidence-grid {
    grid-template-columns: 1fr;
  }

  .software-evidence-card > p:not(.software-evidence-card__type):not(.software-evidence-card__result) {
    min-height: 0;
  }

  .verification-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .software-system-flow,
  .software-domain-grid,
  .modernization-lead,
  .modernization-steps,
  .modernization-decisions,
  .verification-grid,
  .deliverables-panel {
    grid-template-columns: 1fr;
  }

  .software-system-flow article,
  .modernization-steps li,
  .verification-grid article {
    min-height: 0;
  }

  .software-system-flow article:not(:last-child)::after {
    display: none;
  }

  .software-domain-grid > article,
  .software-evidence-card,
  .deliverables-panel {
    padding: 26px 20px;
  }

  .software-domain-grid ul,
  .deliverables-panel ul {
    grid-template-columns: 1fr;
  }

  .modernization-steps li > span {
    margin-bottom: 18px;
  }
}
