.programs-page {
  background: #ffffff;
}

.programs-page .eyebrow {
  letter-spacing: 0;
}

.programs-hero {
  position: relative;
  display: flex;
  min-height: 620px;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
}

.programs-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.programs-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 96px;
}

.programs-hero h1 {
  max-width: 700px;
  color: var(--navy-950);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.25;
}

.programs-hero p {
  max-width: 620px;
  margin-top: 26px;
  color: #3f4b5d;
  font-size: 18px;
  line-height: 1.85;
}

.programs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.programs-hero .button-light {
  border-color: var(--navy-900);
}

.programs-overview {
  padding: 112px 0;
  background: #ffffff;
  scroll-margin-top: 100px;
}

.programs-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  align-items: end;
  justify-content: space-between;
  gap: 72px;
}

.programs-section-heading h2 {
  margin-top: 12px;
  color: var(--navy-950);
  font-size: 40px;
  line-height: 1.38;
}

.programs-section-heading > p {
  max-width: 590px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.program-summary-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}

.program-summary-list > a {
  position: relative;
  display: grid;
  min-height: 268px;
  grid-template-columns: 48px minmax(0, 1fr);
  align-content: start;
  gap: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 32px;
  background: #ffffff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.program-summary-list > a:hover,
.program-summary-list > a:focus-visible {
  border-color: var(--gold-500);
  box-shadow: 0 18px 42px rgba(13, 27, 51, 0.09);
  transform: translateY(-3px);
}

.program-summary-list > a > span {
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--gold-600);
  font-size: 12px;
  font-weight: 800;
}

.program-summary-list > a > svg:first-of-type {
  width: 38px;
  height: 38px;
  color: var(--navy-800);
}

.program-summary-list > a > svg:last-of-type {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 20px;
  height: 20px;
  color: var(--gold-600);
}

.program-summary-list small {
  display: block;
  color: var(--gold-600);
  font-size: 11px;
  font-weight: 800;
}

.program-summary-list h3 {
  margin-top: 8px;
  color: var(--navy-950);
  font-size: 21px;
  line-height: 1.5;
}

.program-summary-list p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.program-detail {
  padding: 112px 0;
  scroll-margin-top: 90px;
}

.program-detail-oms,
.program-detail-cbm {
  background: #f3f6f9;
}

.program-detail-label {
  background: #ffffff;
}

.program-detail-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: 86px;
}

.program-detail-grid-reverse {
  grid-template-columns: minmax(520px, 1.18fr) minmax(360px, 0.82fr);
}

.program-detail-copy {
  position: relative;
}

.program-number {
  display: block;
  margin-bottom: 28px;
  color: var(--gold-600);
  font-size: 13px;
  font-weight: 800;
}

.program-detail-copy h2 {
  margin-top: 10px;
  color: var(--navy-950);
  font-size: 38px;
  line-height: 1.35;
}

.program-detail-copy > p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.program-detail-copy ul {
  display: grid;
  gap: 13px;
  margin-top: 30px;
}

.program-detail-copy li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #2e3949;
  font-size: 14px;
  line-height: 1.65;
}

.program-detail-copy li svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  color: #28855d;
}

.oms-preview {
  overflow: hidden;
  border: 1px solid #cad2dc;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 26px 60px rgba(13, 27, 51, 0.12);
}

.preview-toolbar,
.label-preview-toolbar,
.cbm-tool-heading {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #dce2e9;
  padding: 18px 24px;
}

.preview-toolbar > div span,
.label-preview-toolbar > span,
.cbm-tool-heading span {
  display: block;
  color: var(--gold-600);
  font-size: 10px;
  font-weight: 800;
}

.preview-toolbar > div strong,
.label-preview-toolbar > strong,
.cbm-tool-heading strong {
  display: block;
  margin-top: 4px;
  color: var(--navy-950);
  font-size: 18px;
}

.preview-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #257857;
  font-size: 11px;
  font-weight: 800;
}

.preview-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35a576;
  box-shadow: 0 0 0 4px rgba(53, 165, 118, 0.15);
}

.oms-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-bottom: 1px solid #dce2e9;
  background: #dce2e9;
}

.oms-metrics > div {
  min-height: 116px;
  padding: 20px;
  background: #f8fafc;
}

.oms-metrics span,
.oms-metrics small {
  display: block;
  color: #647084;
  font-size: 10px;
}

.oms-metrics strong {
  display: block;
  margin: 8px 0 7px;
  color: var(--navy-950);
  font-size: 24px;
}

.oms-table {
  padding: 8px 24px 22px;
}

.oms-table-row {
  display: grid;
  min-height: 52px;
  grid-template-columns: 1.2fr 1fr 0.8fr 0.6fr;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #e5e9ee;
  color: #4d5868;
  font-size: 12px;
}

.oms-table-row strong {
  color: var(--navy-900);
}

.oms-table-row em {
  color: #257857;
  font-style: normal;
  font-weight: 700;
}

.oms-table-head {
  color: #7b8491;
  font-size: 10px;
  font-weight: 700;
}

.label-preview {
  display: grid;
  min-height: 520px;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #ccd3dc;
  border-radius: 8px;
  background: #eef2f6;
  box-shadow: 0 24px 56px rgba(13, 27, 51, 0.11);
}

.label-preview-toolbar {
  min-height: 100%;
  align-content: start;
  flex-direction: column;
  justify-content: flex-start;
  border-right: 1px solid #cfd6df;
  border-bottom: 0;
  padding: 34px 26px;
  background: var(--navy-900);
  color: #ffffff;
}

.label-preview-toolbar > strong {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.5;
}

.label-preview-toolbar > small {
  color: #c5cfda;
  font-size: 12px;
}

.label-paper {
  align-self: center;
  width: min(78%, 390px);
  min-height: 340px;
  margin: 40px auto;
  border: 1px solid #c5cbd2;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(13, 27, 51, 0.1);
}

.label-brand {
  margin-bottom: 28px;
  color: var(--gold-600);
  font-size: 10px;
  font-weight: 800;
}

.label-paper > strong {
  color: var(--navy-950);
  font-size: 17px;
  line-height: 1.45;
}

.label-paper dl {
  display: grid;
  gap: 7px;
  margin-top: 20px;
}

.label-paper dl > div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  font-size: 11px;
}

.label-paper dt {
  color: #7d8794;
}

.label-paper dd {
  color: var(--navy-900);
  font-weight: 700;
}

.label-barcode {
  height: 58px;
  margin-top: 28px;
  background:
    repeating-linear-gradient(
      90deg,
      #111827 0,
      #111827 2px,
      transparent 2px,
      transparent 5px,
      #111827 5px,
      #111827 8px,
      transparent 8px,
      transparent 11px
    );
}

.label-paper > small {
  display: block;
  margin-top: 7px;
  color: #4d5765;
  font-size: 10px;
  text-align: center;
}

.cbm-tool {
  overflow: hidden;
  border: 1px solid #cad2dc;
  border-radius: 8px;
  padding: 0 28px 28px;
  background: #ffffff;
  box-shadow: 0 24px 56px rgba(13, 27, 51, 0.11);
}

.cbm-tool-heading {
  margin: 0 -28px 26px;
}

.cbm-tool-heading > svg {
  width: 30px;
  height: 30px;
  color: var(--gold-600);
}

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

.cbm-fields label {
  display: grid;
  gap: 8px;
  color: #475366;
  font-size: 12px;
  font-weight: 700;
}

.cbm-fields label > span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #d8dee6;
  border-radius: 4px;
  padding: 0 12px;
  background: #ffffff;
  color: #7a8594;
}

.cbm-fields input {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy-950);
  font-weight: 700;
}

.cbm-tool > .button {
  margin-top: 18px;
}

.cbm-result {
  margin-top: 18px;
  border-top: 1px solid #dfe4ea;
  padding-top: 20px;
}

.cbm-result span,
.cbm-result small {
  display: block;
  color: #6b7685;
  font-size: 11px;
}

.cbm-result output {
  display: block;
  margin: 7px 0 5px;
  color: var(--navy-950);
  font-size: 28px;
  font-weight: 800;
}

.programs-cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 74px 0;
  background: var(--navy-900);
  color: #ffffff;
}

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

.programs-cta h2 {
  margin-top: 10px;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.45;
}

.programs-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 1100px) {
  .programs-hero {
    min-height: 560px;
  }

  .programs-hero-image {
    object-position: 58% center;
  }

  .programs-hero h1 {
    max-width: 580px;
    font-size: 44px;
  }

  .programs-section-heading,
  .program-detail-grid,
  .program-detail-grid-reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .program-detail-grid-reverse .label-preview,
  .program-detail-grid-reverse .oms-preview {
    order: 2;
  }

  .program-detail-grid-reverse .program-detail-copy {
    order: 1;
  }
}

@media (max-width: 820px) {
  .programs-hero {
    min-height: 610px;
  }

  .programs-hero-image {
    object-position: 67% center;
    opacity: 0.26;
  }

  .programs-hero-inner {
    padding-block: 76px;
  }

  .programs-hero h1 {
    max-width: 640px;
    font-size: 40px;
  }

  .program-summary-list {
    grid-template-columns: 1fr;
  }

  .program-summary-list > a {
    min-height: 196px;
  }

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

  .programs-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .programs-hero {
    min-height: 600px;
  }

  .programs-hero-image {
    object-position: 69% center;
    opacity: 0.22;
  }

  .programs-hero-inner {
    padding-block: 62px;
  }

  .programs-hero h1 {
    font-size: 34px;
    line-height: 1.35;
  }

  .programs-hero p {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.8;
  }

  .programs-hero p br {
    display: none;
  }

  .programs-hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 28px;
  }

  .programs-hero-actions .button {
    width: 100%;
  }

  .programs-overview,
  .program-detail {
    padding: 78px 0;
  }

  .programs-section-heading {
    gap: 20px;
  }

  .programs-section-heading h2,
  .program-detail-copy h2 {
    font-size: 30px;
  }

  .programs-section-heading > p,
  .program-detail-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .program-summary-list {
    margin-top: 36px;
  }

  .program-summary-list > a {
    min-height: 206px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 16px;
    padding: 26px 22px;
  }

  .program-summary-list > a > svg:first-of-type {
    width: 30px;
    height: 30px;
  }

  .oms-metrics {
    grid-template-columns: 1fr;
  }

  .oms-metrics > div {
    min-height: 88px;
  }

  .oms-table {
    overflow-x: auto;
    padding-inline: 16px;
  }

  .oms-table-row {
    min-width: 530px;
  }

  .label-preview {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .label-preview-toolbar {
    min-height: 150px;
    align-items: flex-start;
    border-right: 0;
    border-bottom: 1px solid #cfd6df;
  }

  .label-paper {
    width: calc(100% - 40px);
    margin: 30px 20px;
    padding: 22px;
  }

  .cbm-fields {
    grid-template-columns: 1fr;
  }

  .programs-cta {
    padding: 58px 0;
  }

  .programs-cta h2 {
    font-size: 27px;
  }

  .programs-cta-actions {
    width: 100%;
  }

  .programs-cta-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .program-summary-list > a {
    transition: none;
  }
}
