.gleam-cases,
.gleam-cases * {
  box-sizing: border-box;
  line-height: 1.5;
}

.gleam-cases {
  overflow: hidden;
  color: #141824;
  background: #fff;
  font-family: Arial, sans-serif;
}

.gleam-cases__container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.gleam-cases__hero {
  position: relative;
  isolation: isolate;
  height: 624px;
  margin-top: -70px;
  color: #fff;
  background: #02030c url("/resource/image/case_studies/banner@2x.png") center
    top / 1920px 624px no-repeat;
}

.gleam-cases__hero-inner {
  display: grid;
  grid-template-columns: 600px 530px;
  gap: 94px;
  align-items: center;
  height: 100%;
  padding-top: 70px;
}

.gleam-cases__hero-eyebrow {
  display: none;
}

.gleam-cases__hero-copy h1 {
  max-width: 590px;
  margin: 0;
  color: #fff;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
}

.gleam-cases__hero-copy p {
  max-width: 590px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.gleam-cases__actions {
  display: flex;
  gap: 22px;
  margin-top: 38px;
}

.gleam-cases__button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 26px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0px 14px 32px 0px rgba(92, 86, 255, 0.31);
  background: linear-gradient(94deg, #4f6bff 0%, #7d4dff 48%, #22d4ff 100%);

  .gleam-cases_arrow {
    width: 14px;
    height: 14px;
    margin-left: 6px;
  }
}

.gleam-cases__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(92, 86, 255, 0.38);
}

.gleam-cases__button--secondary {
  min-width: 130px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.gleam-cases__hero-stack {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: rgba(8, 13, 28, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0px 28px 80px 0px rgba(0, 0, 0, 0.32);
}

.gleam-cases__hero-stack article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  min-height: 110px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.gleam-cases__hero-stack span,
.gleam-cases__capability-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #596dff, #8a4eff 55%, #20d7ff);
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(103, 77, 255, 0.32);
}

.gleam-cases__hero-stack img {
  display: block;
  width: 32px;
  height: 32px;
}

.gleam-cases__hero-stack h2 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.gleam-cases__hero-stack p {
  margin: 5px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
}

.gleam-cases__studies {
  padding: 126px 0 68px;
  text-align: center;
}

.gleam-cases__eyebrow {
  display: table;
  width: fit-content;
  margin: 0 auto 11px;
  color: transparent;
  background-image: linear-gradient(
    90deg,
    #4f6bff 0%,
    #7d4dff 52%,
    #22d4ff 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.gleam-cases__section-title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  color: #141824;
  text-align: center;
}

.gleam-cases__section-copy {
  /* max-width: 960px; */
  margin: 13px auto 0;
  color: #6b7280;
  font-size: 20px;
  text-align: center;
}

.gleam-cases__feature-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  width: 1136px;
  max-width: 100%;
  margin: 58px auto 0;
  text-align: left;
}

.gleam-cases__feature-panels article {
  position: relative;
  isolation: isolate;
  padding: 38px 35px 34px;
  overflow: hidden;
  contain: paint;
  color: #fff;
  background:
    linear-gradient(114deg, #070a14, #0a1020 56%, #061f2f 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    radial-gradient(rgba(125, 77, 255, 0.26), rgba(0, 0, 0, 0) 32%),
    radial-gradient(rgba(34, 212, 255, 0.24), rgba(0, 0, 0, 0) 28%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(17, 24, 39, 0.18);
}

.gleam-cases__feature-panels article:before,
.gleam-cases__feature-panels article:after {
  position: absolute;
  z-index: -1;
  top: -18%;
  right: -8%;
  width: 46%;
  height: 62%;
  content: "";
  pointer-events: none;
  will-change: transform;
}

.gleam-cases__feature-panels article:before {
  background: radial-gradient(
    ellipse at center,
    rgba(112, 82, 220, 0.48) 0%,
    rgba(78, 57, 158, 0.18) 42%,
    transparent 76%
  );
  animation: gleam-cases-cyan-drift 280s ease-in-out infinite;
}

.gleam-cases__feature-panels article:after {
  background: radial-gradient(
    ellipse at center,
    rgba(22, 152, 214, 0.3) 0%,
    rgba(17, 93, 142, 0.15) 42%,
    transparent 77%
  );
  animation: gleam-cases-purple-drift 300s ease-in-out infinite;
}

.gleam-cases__feature-panels article:nth-child(2):before {
  animation-delay: -140s;
}

.gleam-cases__feature-panels article:nth-child(2):after {
  animation-delay: -150s;
}

@keyframes gleam-cases-purple-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  25% {
    transform: translate3d(0, 145%, 0);
  }

  50% {
    transform: translate3d(-145%, 145%, 0);
  }

  75% {
    transform: translate3d(-145%, 0, 0);
  }
}

@keyframes gleam-cases-cyan-drift {
  0%,
  100% {
    transform: translate3d(-155%, 110%, 0);
  }

  25% {
    transform: translate3d(-145%, 0, 0);
  }

  50% {
    transform: translate3d(0, 0, 0);
  }

  75% {
    transform: translate3d(0, 145%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gleam-cases__feature-panels article:before,
  .gleam-cases__feature-panels article:after {
    animation: none;
  }
}

.gleam-cases__feature-panels .gleam-cases__kicker {
  margin: 0 0 10px 0;
  display: table;
  width: fit-content;
  color: transparent;
  background: linear-gradient(91deg, #4f6bff 18%, #7d4dff 48%, #22d4ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.gleam-cases__feature-panels h3 {
  margin: 0 0 15px;
  max-width: 480px;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
}

.gleam-cases__feature-panels .gleam-cases__feature-copy {
  display: block;
  margin: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.gleam-cases__feature-panels ul {
  display: grid;
  gap: 9px;
  justify-items: start;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.gleam-cases__feature-panels li {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.gleam-cases__feature-panels li img {
  width: 14px;
  height: 14px;
  margin-right: 8px;
}

.gleam-cases__capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 1136px;
  max-width: 100%;
  margin: 42px auto 0;
  text-align: left;
}

.gleam-cases__capability-grid article {
  min-height: 289px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #ececf4;
  border-radius: 12px;
  box-shadow: 0px 12px 28px 0px rgba(17, 24, 39, 0.04);
}

.gleam-cases__capability-grid span {
  width: 52px;
  height: 52px;
}

.gleam-cases__capability-grid img {
  display: block;
  width: 32px;
  height: 32px;
}

.gleam-cases__capability-grid h3 {
  margin: 28px 0 7px;
  font-size: 20px;
  font-weight: 700;
  text-align: LEFT;
  color: #111827;
}

.gleam-cases__capability-grid p {
  margin: 0;
  font-size: 18px;
  color: #4b5563;
}

.gleam-cases__workflow {
  padding: 60px 0 130px;
  text-align: center;
}

.gleam-cases__workflow h2 {
  margin: 0;
  color: #141824;
  font-size: 40px;
}

.gleam-cases__workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 1280px;
  max-width: 100%;
  margin: 55px auto 0;
  text-align: left;
}

.gleam-cases__workflow-grid article {
  min-height: 240px;
  padding: 30px 28px;
  background:
    linear-gradient(180deg, #ffffff, #f8faff 100%),
    radial-gradient(rgba(34, 212, 255, 0.1), rgba(0, 0, 0, 0) 30%);
  border: 1px solid rgba(125, 77, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0px 18px 44px 0px rgba(50, 44, 130, 0.08);
}

.gleam-cases__workflow-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #526cff, #824fff 55%, #22d4ff);
  border-radius: 12px;
}

.gleam-cases__workflow-grid h3 {
  margin: 28px 0 10px;
  font-size: 24px;
  font-weight: 700;
  color: #0a0d16;
}

.gleam-cases__workflow-grid p {
  margin: 0;
  font-size: 18px;
  color: #526071;
}

@media (max-width: 1100px) {
  .gleam-cases__hero {
    height: auto;
    min-height: 720px;
    background-position: 58% top;
  }

  .gleam-cases__hero-inner {
    grid-template-columns: 1fr 440px;
    gap: 40px;
    padding-top: 130px;
    padding-bottom: 60px;
  }

  .gleam-cases__hero-copy h1 {
    font-size: 42px;
  }

  .gleam-cases__capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .gleam-cases__container {
    width: min(100% - 32px, 1280px);
  }

  .gleam-cases__hero {
    min-height: 0;
  }

  .gleam-cases__hero-inner {
    grid-template-columns: 1fr;
    padding-top: 130px;
  }

  .gleam-cases__hero-copy h1 {
    font-size: 38px;
  }

  .gleam-cases__hero-stack {
    margin-top: 10px;
  }

  .gleam-cases__studies {
    padding-top: 82px;
  }

  .gleam-cases__section-title,
  .gleam-cases__workflow h2 {
    font-size: 32px;
  }

  .gleam-cases__feature-panels,
  .gleam-cases__capability-grid,
  .gleam-cases__workflow-grid {
    grid-template-columns: 1fr;
  }

  .gleam-cases__feature-panels article {
    min-height: 0;
  }
}

/* Mobile case studies layout based on the supplied 375px prototype. */
@media (max-width: 767px) {
  .gleam-cases {
    width: 100%;
    min-width: 0;
  }

  .gleam-cases__container {
    width: 100%;
    padding-right: max(14px, env(safe-area-inset-right, 0px));
    padding-left: max(14px, env(safe-area-inset-left, 0px));
  }

  .gleam-cases__hero {
    height: auto;
    margin-top: 0;
    background:
      radial-gradient(
        circle at 16% 35%,
        rgba(79, 107, 255, 0.12),
        transparent 26%
      ),
      linear-gradient(180deg, #050817 0%, #040715 100%);
  }

  .gleam-cases__hero-inner {
    display: block;
    height: auto;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .gleam-cases__hero-eyebrow {
    display: table;
    width: fit-content;
    color: transparent;
    background: linear-gradient(91deg, #4f6bff 18%, #7d4dff 48%, #22d4ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 12px !important;
    text-transform: uppercase;
    margin: 0 0 10px !important;
  }

  .gleam-cases__hero-copy h1 {
    max-width: 340px;
    font-size: 32px;
  }

  .gleam-cases__hero-copy p {
    margin-top: 0;
    font-size: 14px;
  }

  .gleam-cases__actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 26px;
  }

  .gleam-cases__button {
    width: 100%;
    height: 36px;
    padding: 0 18px;
    border-radius: 7px;
  }

  .gleam-cases__hero-stack {
    gap: 10px;
    padding: 0;
    margin-top: 35px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .gleam-cases__hero-stack article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    min-height: 92px;
    padding: 14px;
    border-color: rgba(142, 166, 211, 0.35);
    border-radius: 10px;
  }

  .gleam-cases__hero-stack span {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }

  .gleam-cases__hero-stack img {
    width: 24px;
    height: 24px;
  }

  .gleam-cases__hero-stack h2 {
    font-size: 14px;
  }

  .gleam-cases__hero-stack p {
    margin-top: 4px;
    font-size: 14px;
  }

  .gleam-cases__studies {
    padding: 25px 0 0;
    text-align: left;
  }

  .gleam-cases__eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    text-align: left;
  }

  .gleam-cases__section-title {
    max-width: 340px;
    font-size: 20px;
    line-height: 1.2;
    text-align: left;
  }

  .gleam-cases__section-copy {
    margin-top: 14px;
    font-size: 14px;
    text-align: left;
  }

  .gleam-cases__feature-panels {
    display: block;
    width: 100%;
    margin-top: 30px;
  }

  .gleam-cases__feature-panels article {
    min-height: 205px;
    padding: 22px 18px;
    border-radius: 10px;
    box-shadow: none;
  }

  .gleam-cases__feature-panels article:nth-child(n + 2) {
    display: none;
  }

  .gleam-cases__feature-panels .gleam-cases__kicker {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .gleam-cases__feature-panels h3 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.2;
  }

  .gleam-cases__feature-panels .gleam-cases__feature-copy {
    font-size: 14px;
  }

  .gleam-cases__feature-panels ul {
    display: none;
  }

  .gleam-cases__capability-grid {
    display: none;
  }

  .gleam-cases__workflow {
    padding: 25px 0;
    background: linear-gradient(180deg, #f1eeff 0%, #f8f7ff 100%);
  }

  .gleam-cases__workflow .gleam-cases__container {
    padding-top: 0;
    padding-bottom: 0;
  }

  .gleam-cases__workflow h2 {
    display: none;
  }

  .gleam-cases__workflow-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 0;
  }

  .gleam-cases__workflow-grid article {
    min-width: 0;
    min-height: 70px;
    padding: 16px 14px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #ded9f5;
    border-radius: 8px;
    box-shadow: 0 5px 16px rgba(72, 57, 126, 0.06);
  }

  .gleam-cases__workflow-grid article:last-child {
    border-bottom: 1px solid #ded9f5;
  }

  .gleam-cases__workflow-grid article:nth-child(n + 4) {
    display: none;
  }

  .gleam-cases__workflow-grid span {
    display: none;
  }

  .gleam-cases__workflow-grid h3 {
    margin: 0 0 4px;
    color: #0a0d16;
    font-size: 14px;
  }

  .gleam-cases__workflow-grid p {
    margin: 0;
    color: #626b7a;
    font-size: 14px;
  }
}
