.custom-page {
  --cs-blue: #0b63ce;
  --cs-blue-deep: #073d8d;
  --cs-ink: #10223a;
  --cs-muted: #6b7a90;
  --cs-line: #e3eaf3;
  --cs-surface: #f7f9fc;
  background: #fff;
}

.custom-page .cs-page {
  overflow: hidden;
  color: var(--cs-ink);
  background: #fff;
}

.custom-page .cs-shell {
  width: min(var(--container, 1440px), calc(100% - 48px));
  margin: 0 auto;
}

.custom-page .cs-page svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.custom-page .cs-section {
  padding: 54px 0;
}

.custom-page .cs-section-heading {
  margin-bottom: 27px;
}

.custom-page .cs-section-heading > p {
  margin: 0 0 5px;
  color: #92a2b7;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.custom-page .cs-section-heading h2 {
  margin: 0;
  color: var(--cs-ink);
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
}

.custom-page .cs-section-heading > span {
  display: block;
  margin-top: 7px;
  color: var(--cs-muted);
  font-size: 13px;
}

.custom-page .cs-intro__grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.custom-page .cs-intro__copy .cs-section-heading {
  margin-bottom: 15px;
}

.custom-page .cs-intro__copy h3 {
  margin: 0 0 14px;
  color: #1c2d45;
  font-size: 18px;
  line-height: 1.65;
}

.custom-page .cs-intro__copy > p {
  margin: 0 0 22px;
  color: var(--cs-muted);
  font-size: 13px;
  line-height: 1.9;
}

.custom-page .cs-intro__copy > img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.custom-page .cs-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--cs-line);
  background: #fff;
}

.custom-page .cs-feature-grid article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 92px;
  padding: 18px 20px;
  border-right: 1px solid var(--cs-line);
  border-bottom: 1px solid var(--cs-line);
}

.custom-page .cs-feature-grid article:nth-child(2n) {
  border-right: 0;
}

.custom-page .cs-feature-grid article:nth-last-child(-n+2) {
  border-bottom: 0;
}

.custom-page .cs-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--cs-blue);
  border-radius: 50%;
  background: #f0f6ff;
}

.custom-page .cs-icon svg {
  width: 19px;
  height: 19px;
}

.custom-page .cs-feature-grid h3,
.custom-page .cs-test-list h3 {
  margin: 0 0 5px;
  color: #26384f;
  font-size: 15px;
  font-weight: 700;
}

.custom-page .cs-feature-grid p,
.custom-page .cs-test-list p {
  margin: 0;
  color: var(--cs-muted);
  font-size: 12px;
  line-height: 1.55;
}

.custom-page .cs-pain,
.custom-page .cs-engineering,
.custom-page .cs-testing {
  background: var(--cs-surface);
}

.custom-page .cs-pain-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.custom-page .cs-pain-grid article {
  min-height: 162px;
  padding: 24px 14px 18px;
  text-align: center;
  border: 1px solid var(--cs-line);
  background: #fff;
}

.custom-page .cs-pain-grid .cs-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
}

.custom-page .cs-pain-grid h3 {
  margin: 0 0 7px;
  color: #26384f;
  font-size: 14px;
}

.custom-page .cs-pain-grid p {
  margin: 0;
  color: var(--cs-muted);
  font-size: 12px;
  line-height: 1.65;
}

.custom-page .cs-scope-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.custom-page .cs-scope-grid article {
  overflow: hidden;
  display: grid;
  grid-template-rows: 128px minmax(82px, auto);
  min-width: 0;
  border: 1px solid var(--cs-line);
  background: #fff;
}

.custom-page .cs-scope-card__media {
  position: relative;
  overflow: hidden;
  display: block;
  height: auto;
  min-height: 0;
  padding: 0;
  background: #fff;
}

.custom-page .cs-scope-card__media img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
}

.custom-page .cs-scope-card__copy {
  min-height: 82px;
  padding: 14px 16px 15px;
  border-top: 1px solid var(--cs-line);
}

.custom-page .cs-scope-card__copy h3 {
  margin: 0 0 5px;
  color: #24364c;
  font-size: 14px;
}

.custom-page .cs-scope-card__copy p {
  margin: 0;
  color: var(--cs-muted);
  font-size: 11px;
  line-height: 1.6;
}

.custom-page .cs-engineering-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.custom-page .cs-engineering-grid article {
  position: relative;
  min-width: 0;
  border: 1px solid var(--cs-line);
  background: #fff;
}

.custom-page .cs-engineering-grid img {
  display: block;
  width: 100%;
  height: 125px;
  object-fit: cover;
}

.custom-page .cs-engineering-grid div {
  min-height: 78px;
  padding: 13px 15px;
}

.custom-page .cs-engineering-grid h3 {
  margin: 0 0 5px;
  color: var(--cs-blue);
  font-size: 14px;
}

.custom-page .cs-engineering-grid p {
  margin: 0;
  color: var(--cs-muted);
  font-size: 11px;
}

.custom-page .cs-engineering__arrow {
  position: absolute;
  z-index: 2;
  top: 52px;
  right: -21px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--cs-blue);
  font-size: 32px;
  font-weight: 700;
  background: var(--cs-surface);
}

.custom-page .cs-process-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 5px 10px 0;
}

.custom-page .cs-process-grid article {
  position: relative;
  text-align: center;
}

.custom-page .cs-process__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  color: var(--cs-blue);
  border: 1px solid #dfeafa;
  border-radius: 50%;
  background: #f6f9ff;
}

.custom-page .cs-process__icon svg {
  width: 31px;
  height: 31px;
}

.custom-page .cs-process-grid h3 {
  margin: 0 0 7px;
  color: #26384f;
  font-size: 13px;
}

.custom-page .cs-process-grid p {
  margin: 0;
  color: var(--cs-muted);
  font-size: 11px;
  line-height: 1.6;
}

.custom-page .cs-process__arrow {
  position: absolute;
  top: 21px;
  right: -6px;
  color: var(--cs-blue);
  font-size: 25px;
  font-weight: 700;
}

.custom-page .cs-testing__grid {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.custom-page .cs-test-list {
  display: grid;
  gap: 18px;
}

.custom-page .cs-test-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.custom-page .cs-test-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.custom-page .cs-test-gallery figure {
  position: relative;
  overflow: hidden;
  height: 128px;
  margin: 0;
  background: #dbe4ef;
}

.custom-page .cs-test-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-page .cs-test-gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 7px 9px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(4, 22, 48, .78));
}

.custom-page .cs-case-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.custom-page .cs-case-grid a {
  overflow: hidden;
  display: grid;
  grid-template-rows: 112px minmax(68px, auto);
  min-width: 0;
  color: inherit;
  border: 1px solid var(--cs-line);
  background: #fff;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.custom-page .cs-case-grid a:hover,
.custom-page .cs-case-grid a:focus-visible {
  border-color: #9bc3f3;
  outline: 0;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(17, 80, 154, .12);
}

.custom-page .cs-case-card__media {
  position: relative;
  overflow: hidden;
  display: block;
  height: auto;
  min-height: 0;
  padding: 0;
  background: #fff;
}

.custom-page .cs-case-card__media img {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: contain;
}

.custom-page .cs-case-card__copy {
  display: block;
  min-height: 68px;
  padding: 10px 11px 12px;
  border-top: 1px solid var(--cs-line);
  text-align: center;
}

.custom-page .cs-case-card__copy strong,
.custom-page .cs-case-card__copy small {
  display: block;
}

.custom-page .cs-case-card__copy strong {
  color: #25374d;
  font-size: 13px;
}

.custom-page .cs-case-card__copy small {
  margin-top: 5px;
  color: var(--cs-muted);
  font-size: 10px;
  line-height: 1.45;
}

.custom-page .cs-cta {
  position: relative;
  min-height: 260px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 66, 162, .98) 0%, rgba(3, 85, 196, .9) 48%, rgba(4, 47, 107, .36) 78%, rgba(3, 29, 68, .2) 100%),
    var(--cs-cta-bg) 72% center / cover no-repeat;
}

.custom-page .cs-cta__inner {
  min-height: 260px;
  display: flex;
  align-items: center;
}

.custom-page .cs-cta__inner > div {
  width: min(650px, 62%);
}

.custom-page .cs-cta h2 {
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 800;
}

.custom-page .cs-cta p {
  margin: 12px 0 24px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}

.custom-page .cs-cta__actions {
  display: flex;
  gap: 14px;
}

.custom-page .cs-cta__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 170px;
  height: 48px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.custom-page .cs-cta__actions a:hover,
.custom-page .cs-cta__actions a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  transform: translateY(-2px);
}

.custom-page .cs-cta__actions svg {
  width: 18px;
  height: 18px;
}

.custom-page .cs-cta__primary {
  color: var(--cs-blue);
  background: #fff;
}

.custom-page .cs-cta__secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .08);
}

@media (max-width: 1024px) {
  .custom-page .cs-intro__grid,
  .custom-page .cs-testing__grid {
    grid-template-columns: 1fr;
  }

  .custom-page .cs-intro__copy {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 0 28px;
    align-items: end;
  }

  .custom-page .cs-intro__copy .cs-section-heading,
  .custom-page .cs-intro__copy h3,
  .custom-page .cs-intro__copy > p {
    grid-column: 1;
  }

  .custom-page .cs-intro__copy > img {
    grid-column: 2;
    grid-row: 1 / 4;
    height: 210px;
  }

  .custom-page .cs-pain-grid,
  .custom-page .cs-case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .custom-page .cs-engineering__arrow {
    display: none;
  }

  .custom-page .cs-process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .custom-page .cs-process-grid article:nth-child(3n) .cs-process__arrow {
    display: none;
  }

}

@media (max-width: 980px) {
  .custom-page .cs-shell {
    width: min(var(--container, 1440px), calc(100% - 32px));
  }
}

@media (max-width: 820px) {
  .custom-page .cs-shell {
    width: min(var(--container, 1440px), calc(100% - 24px));
  }
}

@media (max-width: 720px) {
  .custom-page .cs-section {
    padding: 42px 0;
  }

  .custom-page .cs-cta__inner > div {
    width: 100%;
  }

  .custom-page .cs-section-heading h2 {
    font-size: 23px;
  }

  .custom-page .cs-intro__copy {
    display: block;
  }

  .custom-page .cs-intro__copy > img {
    height: 190px;
  }

  .custom-page .cs-feature-grid,
  .custom-page .cs-scope-grid,
  .custom-page .cs-engineering-grid,
  .custom-page .cs-test-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-page .cs-feature-grid article {
    grid-template-columns: 36px minmax(0, 1fr);
    min-height: 104px;
    padding: 14px 12px;
  }

  .custom-page .cs-feature-grid .cs-icon {
    width: 34px;
    height: 34px;
  }

  .custom-page .cs-pain-grid,
  .custom-page .cs-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-page .cs-pain-grid article {
    min-height: 154px;
  }

  .custom-page .cs-scope-card__media {
    height: auto;
  }

  .custom-page .cs-scope-grid article {
    grid-template-rows: 112px minmax(82px, auto);
  }

  .custom-page .cs-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 0;
  }

  .custom-page .cs-process-grid article:nth-child(2n) .cs-process__arrow {
    display: none;
  }

  .custom-page .cs-process-grid article:nth-child(3n) .cs-process__arrow {
    display: block;
  }

  .custom-page .cs-process-grid article:nth-child(6) .cs-process__arrow {
    display: none;
  }

  .custom-page .cs-testing__grid {
    gap: 28px;
  }

  .custom-page .cs-test-gallery figure {
    height: 120px;
  }

  .custom-page .cs-case-card__media {
    height: auto;
  }

  .custom-page .cs-case-grid a {
    grid-template-rows: 104px minmax(68px, auto);
  }

  .custom-page .cs-cta,
  .custom-page .cs-cta__inner {
    min-height: 310px;
  }

  .custom-page .cs-cta {
    background:
      linear-gradient(90deg, rgba(4, 66, 162, .97), rgba(3, 75, 166, .78)),
      var(--cs-cta-bg) 67% center / cover no-repeat;
  }

  .custom-page .cs-cta h2 {
    font-size: 27px;
  }

  .custom-page .cs-cta__actions {
    align-items: stretch;
    flex-direction: column;
    width: min(260px, 100%);
  }

}
