/* Shared case-study composition used by the AI finance, mission readiness,
   and SaaS financial systems pages. Page-specific layouts stay in their own CSS. */

.case-feature-section {
  padding: 122px 0;
}

.case-feature-section h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 74px);
  line-height: .98;
  letter-spacing: -.04em;
}

.case-feature-section .eyebrow.gradientBG {
  display: table;
  padding: 4px 7px;
  color: #2c0068;
  background: #f3f0ff;
}

.case-feature-section h2 em,
.product-heading h2 em {
  font-style: normal;
  color: #b900f5 !important;
}

.case-product-section {
  color: #fff;
  background: radial-gradient(circle at 8% 18%, rgba(255, 154, 223, .45), transparent 22%), linear-gradient(115deg, #f344bd 0%, #b400ee 49%, #4c12bf 100%) !important;
}

.product-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11vw;
  align-items: end;
}

.product-heading h2 {
  max-width: 590px;
}

.product-heading > p {
  max-width: none;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

/* Shared principles list. */
.principle-list {
  border-top: 1px solid #d9cfeb;
}

.principle-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 19px;
  padding: 24px 0;
  border-bottom: 1px solid #d9cfeb;
}

.principle-list span {
  color: #00b4ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}

.principle-list h3 {
  margin: 0;
  font-size: 24px;
}

.principle-list p {
  max-width: 550px;
  margin: 8px 0 0;
  color: var(--case-muted, var(--finance-muted));
  font-size: 15px;
  line-height: 1.5;
}

/* Shared three-step process. */
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, .3);
  border-top-color: rgba(168, 235, 255, .45) !important;
}

.process-track article {
  position: relative !important;
  min-height: 230px !important;
  padding: 29px 40px 5px;
  padding-top: 32px !important;
  border-right: 1px solid rgba(255, 255, 255, .18);
  border-right-color: rgba(155, 214, 255, .24) !important;
}

.process-track article:first-child {
  padding-left: 0;
}

.process-track article:last-child {
  border: 0;
}

.process-track article:before {
  position: absolute !important;
  top: -5px !important;
  left: -5px !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  content: "";
  background: #61e5ff !important;
  box-shadow: 0 0 20px rgba(97, 229, 255, .75) !important;
}

.process-track article:nth-child(2):before {
  background: #e55eff !important;
  box-shadow: 0 0 20px rgba(229, 94, 255, .75);
}

.process-track article:nth-child(3):before {
  background: #ff8dcb !important;
  box-shadow: 0 0 20px rgba(255, 141, 203, .75);
}

.process-track span {
  color: #aeeeff !important;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
}

.process-track h3 {
  margin: 43px 0 12px;
  font-size: 29px;
}

.process-track p {
  max-width: 285px;
  color: rgba(255, 255, 255, .68);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .product-heading {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .product-heading > p {
    max-width: 600px;
  }

  .process-track article {
    padding: 26px 20px;
  }

  .process-track article:first-child {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .case-feature-section {
    padding: 80px 0;
  }

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

  .process-track article,
  .process-track article:first-child {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .process-track article:before {
    top: -5px !important;
  }

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