.detail-page {
  background: var(--white);
}

.detail-main {
  padding-top: 112px;
}

.detail-hero {
  padding: 38px 0 72px;
  background:
    linear-gradient(180deg, #edf4f8 0%, #f7f9fa 66%, #fff 100%);
}

.detail-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 16px;
  color: #557083;
  font-size: .75rem;
  font-weight: 650;
}

.detail-breadcrumbs a {
  color: var(--blue);
}

.detail-breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.detail-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 26px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid #d9e4ea;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  scrollbar-width: none;
}

.detail-tabs::-webkit-scrollbar {
  display: none;
}

.detail-tabs a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: #536c7e;
  font-size: .6875rem;
  font-weight: 750;
  white-space: nowrap;
}

.detail-tabs a:hover {
  color: var(--blue);
  background: #eef6fb;
}

.detail-tabs a[aria-current="page"] {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(15, 107, 176, .18);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  min-height: 510px;
  overflow: hidden;
  border: 1px solid #d6e2e9;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 48px;
}

.detail-kicker {
  margin-bottom: 15px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.detail-hero-copy h1 {
  max-width: 640px;
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 3.6vw, 3.25rem);
}

.detail-hero-copy p {
  max-width: 580px;
  margin-bottom: 26px;
  font-size: 1.0625rem;
}

.detail-hero-media {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  background: var(--navy);
}

.detail-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-media.is-interface {
  display: grid;
  place-items: center;
  padding: 26px;
  background: var(--navy);
}

.detail-hero-media.is-interface img {
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.detail-hero-media.is-schematic {
  display: grid;
  place-items: center;
  padding: 24px;
  background: #e8eef2;
}

.detail-hero-media.is-schematic img {
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.detail-section {
  padding: 76px 0;
}

.detail-section.is-mist {
  background: var(--mist);
}

.detail-section.is-navy {
  color: var(--white);
  background: var(--navy);
}

.detail-section.is-navy h2,
.detail-section.is-navy h3 {
  color: var(--white);
}

.detail-section.is-navy p {
  color: #a8c0cf;
}

.detail-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .65fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 34px;
}

.detail-heading > * {
  margin-bottom: 0;
}

.detail-heading p {
  max-width: 520px;
}

.detail-heading.is-single {
  grid-template-columns: minmax(0, 820px);
}

.module-grid,
.system-grid,
.capability-grid,
.application-grid {
  display: grid;
  gap: 14px;
}

.module-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 2px solid var(--navy);
}

.module-item {
  min-height: 132px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.module-item:nth-child(5n) {
  border-right: 0;
}

.module-item span,
.process-step span,
.scope-item span {
  display: block;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.module-item h3 {
  margin: 0;
  font-size: 1rem;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.process-step {
  min-height: 210px;
  padding: 26px 24px 22px 0;
}

.process-step + .process-step {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.process-step h3 {
  font-size: 1.125rem;
}

.process-step p {
  margin: 0;
  font-size: .8125rem;
}

.media-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.evidence-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.evidence-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  background: #e5edf1;
}

.evidence-card.is-contain img {
  padding: 18px;
  object-fit: contain;
}

.evidence-card figcaption {
  padding: 17px 20px 20px;
  color: #466074;
  font-size: .75rem;
  font-weight: 650;
}

.system-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.system-grid.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.system-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.system-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #e7eef2;
}

.system-card.is-contain img {
  padding: 10px;
  object-fit: contain;
}

.system-card div {
  padding: 18px;
}

.system-card h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.system-card p {
  margin: 0;
  font-size: .75rem;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--navy);
}

.scope-item {
  min-height: 168px;
  padding: 24px 22px 22px 0;
  border-bottom: 1px solid var(--line);
}

.scope-item:not(:nth-child(3n + 1)) {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.scope-item h3 {
  font-size: 1rem;
}

.scope-item p {
  margin: 0;
  font-size: .75rem;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--navy);
}

.detail-list-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  min-height: 116px;
  padding: 24px 22px 22px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list-item:nth-child(2n) {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.detail-list-item > span {
  color: var(--blue);
  font-size: .75rem;
  font-weight: 800;
}

.detail-list-item h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.detail-list-item p {
  margin: 0;
  font-size: .75rem;
}

.detail-table-wrap {
  overflow-x: auto;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--navy);
}

.detail-table tr {
  border-bottom: 1px solid #c7d6df;
}

.detail-table th {
  width: 230px;
  padding: 22px 20px 18px 0;
  color: var(--navy);
  font-size: .75rem;
  text-align: left;
  vertical-align: top;
}

.detail-table td {
  padding: 16px 0 16px 26px;
  border-left: 1px solid #c7d6df;
  color: #405d70;
  font-size: .75rem;
}

.detail-table td span,
.detail-table td strong {
  display: inline-block;
  margin: 5px 22px 5px 0;
}

.detail-table td strong {
  color: var(--blue);
}

.detail-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #c2d1da;
  color: #667d8d;
  font-size: .6875rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag-list.is-spaced {
  margin-top: 24px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #c9dae4;
  border-radius: 999px;
  color: #355a73;
  background: #f8fbfc;
  font-size: .6875rem;
  font-weight: 700;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.checklist-item {
  min-height: 102px;
  padding: 22px 20px 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.checklist-item:nth-child(2n) {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.checklist-item h3 {
  margin-bottom: 5px;
  font-size: .9375rem;
}

.checklist-item p {
  margin: 0;
  font-size: .75rem;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 2px solid var(--navy);
}

.flow-step {
  min-height: 150px;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.flow-step span {
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: .6875rem;
  font-weight: 800;
}

.flow-step h3 {
  margin: 0;
  font-size: .9375rem;
}

.related-section {
  padding: 60px 0;
  background: #eef4f7;
}

.related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.related-head h2 {
  margin: 0;
  font-size: 1.75rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  min-height: 132px;
  overflow: hidden;
  border: 1px solid #d4e0e7;
  border-radius: 16px;
  background: var(--white);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.related-card:hover {
  border-color: #98bfd7;
  box-shadow: 0 16px 38px rgba(7, 27, 47, .08);
  transform: translateY(-2px);
}

.related-card img {
  width: 140px;
  height: 132px;
  object-fit: cover;
}

.related-card div {
  padding: 18px 20px;
}

.related-card span {
  color: var(--blue);
  font-size: .6875rem;
  font-weight: 800;
}

.related-card h3 {
  margin: 7px 0 0;
  font-size: 1rem;
}

.detail-cta {
  padding: 58px 0;
  color: var(--white);
  background: var(--navy);
}

.detail-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.detail-cta h2 {
  max-width: 720px;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.detail-footer {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #9fb4c2;
  background: var(--navy);
}

.detail-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.detail-footer img {
  width: 150px;
  height: auto;
}

.detail-footer span {
  font-size: .6875rem;
}

@media (max-width: 1100px) {
  .detail-hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-hero-copy {
    padding: 42px 34px;
  }

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

  .module-item:nth-child(5n) {
    border-right: 1px solid var(--line);
  }

  .module-item:nth-child(3n) {
    border-right: 0;
  }

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

  .system-grid.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .detail-main {
    padding-top: 94px;
  }

  .detail-hero {
    padding: 24px 0 54px;
  }

  .detail-tabs {
    width: 100%;
    border-radius: 14px;
  }

  .detail-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .detail-hero-copy {
    padding: 42px 34px 34px;
  }

  .detail-hero-media,
  .detail-hero-media.is-interface,
  .detail-hero-media.is-schematic {
    min-height: 390px;
  }

  .detail-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .process-step:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

  .process-step:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

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

  .scope-item:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .scope-item:nth-child(2n) {
    padding-left: 20px;
    border-left: 1px solid var(--line);
  }

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

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

  .detail-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .detail-main {
    padding-top: 86px;
  }

  .detail-hero {
    padding-top: 15px;
  }

  .detail-breadcrumbs {
    margin-bottom: 10px;
    font-size: .6875rem;
  }

  .detail-tabs {
    margin-bottom: 18px;
    padding: 4px;
  }

  .detail-tabs a {
    min-height: 44px;
    padding-inline: 12px;
    font-size: .625rem;
  }

  .detail-hero-grid {
    border-radius: 18px;
  }

  .detail-hero-copy {
    padding: 24px 18px 18px;
  }

  .detail-kicker {
    margin-bottom: 10px;
    font-size: .625rem;
  }

  .detail-hero-copy h1 {
    margin-bottom: 12px;
    font-size: 1.8rem;
    line-height: 1.12;
  }

  .detail-hero-copy p {
    margin-bottom: 14px;
    font-size: .75rem;
    line-height: 1.5;
  }

  .detail-hero-media,
  .detail-hero-media.is-interface,
  .detail-hero-media.is-schematic {
    min-height: 235px;
    padding: 10px;
  }

  .detail-section {
    padding: 54px 0;
  }

  .detail-heading {
    margin-bottom: 24px;
  }

  .detail-heading h2 {
    font-size: 1.95rem;
  }

  .detail-heading p {
    font-size: .75rem;
  }

  .module-grid,
  .system-grid,
  .system-grid.is-three,
  .scope-grid,
  .detail-list,
  .media-pair,
  .checklist,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .module-item,
  .module-item:nth-child(5n),
  .module-item:nth-child(3n) {
    min-height: 96px;
    padding: 18px 0;
    border-right: 0;
  }

  .module-item span {
    margin-bottom: 8px;
  }

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

  .process-step,
  .process-step + .process-step,
  .process-step:nth-child(3),
  .process-step:nth-child(4) {
    min-height: 0;
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

  .process-step:first-child {
    border-top: 0;
  }

  .process-step span {
    margin-bottom: 12px;
  }

  .evidence-card img {
    height: 250px;
  }

  .system-card img {
    height: 210px;
  }

  .scope-item,
  .scope-item:not(:nth-child(3n + 1)),
  .scope-item:nth-child(2n) {
    min-height: 0;
    padding: 20px 0;
    border-left: 0;
  }

  .detail-list-item,
  .detail-list-item:nth-child(2n) {
    grid-template-columns: 42px 1fr;
    min-height: 0;
    padding: 20px 0;
    border-left: 0;
  }

  .detail-table {
    min-width: 620px;
  }

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

  .flow-step,
  .flow-step:nth-child(3) {
    min-height: 120px;
    border-right: 1px solid var(--line);
  }

  .flow-step:nth-child(2n),
  .flow-step:last-child {
    border-right: 0;
  }

  .checklist-item,
  .checklist-item:nth-child(2n) {
    min-height: 0;
    padding: 18px 0;
    border-left: 0;
  }

  .related-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .related-card img {
    width: 112px;
    height: 120px;
  }

  .detail-cta {
    padding: 48px 0;
  }

  .detail-cta .button {
    width: 100%;
  }

  .detail-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}
