/* Shared custom R&D storytelling across home, products and solutions. */
.rd-home {
  overflow: hidden;
  background: linear-gradient(135deg, #edf5ff 0%, #fff 48%, #fff3ee 100%);
}

.rd-home-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 68px;
}

.rd-home-copy h2 {
  max-width: 720px;
  margin: 0 0 20px;
  color: #10233f;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: -.04em;
}

.rd-home-copy>p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: #52677d;
  font-size: 16px;
  line-height: 1.85;
}

.rd-choice-list {
  display: grid;
  gap: 8px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.rd-choice-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d7e3ef;
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
}

.rd-choice-list b {
  color: #c3443e;
  font-size: 11px;
}

.rd-choice-list span {
  color: #17324d;
  font-weight: 760;
}

.rd-stack {
  position: relative;
  min-height: 560px;
}

.rd-stack button {
  position: absolute;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #f3f7fc;
  box-shadow: 0 28px 65px rgba(16, 35, 63, .16);
  cursor: zoom-in;
}

.rd-stack img,
.rd-lab-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rd-stack-main {
  inset: 28px 0 45px 54px;
}

.rd-stack-blueprint {
  z-index: 2;
  left: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 4 / 3;
  transform: rotate(-3deg);
  transition: transform .3s ease;
}

.rd-stack-blueprint:hover {
  transform: rotate(0) translateY(-5px);
}

.rd-stack button span {
  position: absolute;
  right: 13px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(16, 35, 63, .8);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
}

.rd-scan {
  position: absolute;
  z-index: 3;
  top: 68px;
  right: -10px;
  width: 4px;
  height: 68%;
  border-radius: 99px;
  background: linear-gradient(180deg, transparent, #2c84ef, #55c4ad, transparent);
  box-shadow: 0 0 18px rgba(44, 132, 239, .45);
  animation: rd-scan 3.2s ease-in-out infinite alternate;
}

.rd-lab {
  padding: 100px 0;
  background: #f4f8fc;
}

.rd-lab-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: end;
  gap: 48px;
  margin-bottom: 34px;
}

.rd-lab-head p {
  margin: 0 0 12px;
  color: #2356a8;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
}

.rd-lab-head h2 {
  margin: 0;
  color: #10233f;
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.14;
  letter-spacing: -.04em;
}

.rd-lab-head>span {
  color: #52677d;
  font-size: 15px;
  line-height: 1.8;
}

.rd-lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rd-lab-grid article {
  overflow: hidden;
  border: 1px solid #d9e4ef;
  border-radius: 22px;
  padding-bottom: 25px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 35, 63, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.rd-lab-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(16, 35, 63, .12);
}

.rd-lab-grid button {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 22px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #edf4fb;
  cursor: zoom-in;
}

.rd-lab-grid small,
.rd-lab-grid h3,
.rd-lab-grid p {
  display: block;
  margin-right: 24px;
  margin-left: 24px;
}

.rd-lab-grid small {
  color: #2356a8;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}

.rd-lab-grid h3 {
  margin-top: 9px;
  margin-bottom: 10px;
  color: #10233f;
  font-size: 21px;
}

.rd-lab-grid p {
  margin-top: 0;
  margin-bottom: 0;
  color: #52677d;
  font-size: 14px;
  line-height: 1.75;
}

.rd-lab-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 18px;
  padding: 22px 25px;
  border-radius: 16px;
  color: #d6e4f3;
  background: #10233f;
}

.rd-lab-cta p {
  margin: 0;
  line-height: 1.65;
}

.rd-lab-cta a {
  flex: none;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

@keyframes rd-scan {
  from {
    transform: translateX(-500px);
    opacity: .35;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 960px) {

  .rd-home-grid,
  .rd-lab-head {
    grid-template-columns: 1fr;
  }

  .rd-stack {
    min-height: 500px;
  }

  .rd-lab-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .rd-home-grid {
    gap: 34px;
  }

  .rd-stack {
    min-height: 360px;
  }

  .rd-stack-main {
    inset: 10px 0 35px 22px;
  }

  .rd-stack-blueprint {
    width: 54%;
  }

  .rd-lab {
    padding: 64px 0;
  }

  .rd-lab-head {
    gap: 18px;
  }

  .rd-lab-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rd-scan {
    animation: none;
  }

  .rd-stack-blueprint,
  .rd-lab-grid article {
    transition: none;
  }
}
