.ssc-cgl-ecosystem {
  position: relative;
  overflow-x: clip;
  padding: 58px 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(242, 101, 34, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  color: #10233f;
}

.ssc-cgl-ecosystem,
.ssc-cgl-ecosystem * {
  box-sizing: border-box;
}

.ssc-cgl-ecosystem__wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.ssc-cgl-ecosystem__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.32fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.ssc-cgl-ecosystem__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 7px 11px;
  border: 1px solid rgba(242, 101, 34, 0.18);
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ssc-cgl-ecosystem h2,
.ssc-cgl-ecosystem h3,
.ssc-cgl-ecosystem p {
  margin-top: 0;
}

.ssc-cgl-ecosystem h2 {
  max-width: 820px;
  margin-bottom: 10px;
  color: #0b1f3a;
  font-size: clamp(1.85rem, 2.7vw, 2.55rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

.ssc-cgl-ecosystem p {
  max-width: 740px;
  margin-bottom: 0;
  color: #52647a;
  font-size: 1rem;
  line-height: 1.65;
}

.ssc-cgl-ecosystem__summary {
  display: grid;
  gap: 10px;
}

.ssc-cgl-ecosystem__summary span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid rgba(219, 230, 243, 0.95);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #52647a;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.06);
}

.ssc-cgl-ecosystem__summary strong {
  color: #0b1f3a;
  font-size: 1.08rem;
}

.ssc-cgl-ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ssc-cgl-ecosystem__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(219, 230, 243, 0.95);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.96));
  box-shadow: 0 18px 42px rgba(11, 31, 58, 0.09);
  overflow: hidden;
}

.ssc-cgl-ecosystem__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #f26522, #1d4ed8);
}

.ssc-cgl-ecosystem__card--blue::before {
  background: linear-gradient(90deg, #1d4ed8, #0f766e);
}

.ssc-cgl-ecosystem__card--green::before {
  background: linear-gradient(90deg, #0f766e, #16a34a);
}

.ssc-cgl-ecosystem__card--slate::before {
  background: linear-gradient(90deg, #334155, #7c3aed);
}

.ssc-cgl-ecosystem__card-top {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  min-width: 0;
}

.ssc-cgl-ecosystem__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 1.05rem;
}

.ssc-cgl-ecosystem__card--blue .ssc-cgl-ecosystem__icon {
  background: #eef6ff;
  color: #1d4ed8;
}

.ssc-cgl-ecosystem__card--green .ssc-cgl-ecosystem__icon {
  background: #ecfdf5;
  color: #0f766e;
}

.ssc-cgl-ecosystem__card--slate .ssc-cgl-ecosystem__icon {
  background: #f1f5f9;
  color: #334155;
}

.ssc-cgl-ecosystem__card h3 {
  margin-bottom: 4px;
  color: #0b1f3a;
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.2;
}

.ssc-cgl-ecosystem__subject-link {
  color: #1d4ed8;
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
}

.ssc-cgl-ecosystem__subject-link:hover,
.ssc-cgl-ecosystem__subject-link:focus-visible {
  color: #0b1f3a;
  text-decoration: none;
}

.ssc-cgl-ecosystem__subject-link--muted {
  color: #7b8794;
}

.ssc-cgl-ecosystem__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 14px;
}

.ssc-cgl-ecosystem__metrics span {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 10px;
  background: #ffffff;
  color: #52647a;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
}

.ssc-cgl-ecosystem__metrics strong {
  display: block;
  margin-bottom: 4px;
  color: #0b1f3a;
  font-size: 1rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

.ssc-cgl-ecosystem__availability {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ssc-cgl-ecosystem__availability span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
}

.ssc-cgl-ecosystem__availability .is-ready {
  background: #ecfdf5;
  color: #047857;
}

.ssc-cgl-ecosystem__availability .is-muted {
  background: #f1f5f9;
  color: #64748b;
}

.ssc-cgl-ecosystem__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.ssc-cgl-ecosystem__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(219, 230, 243, 0.95);
  border-radius: 999px;
  background: #ffffff;
  color: #17324f;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(11, 31, 58, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ssc-cgl-ecosystem__chip span {
  color: #c2410c;
  font-size: 0.72rem;
}

.ssc-cgl-ecosystem__chip:hover,
.ssc-cgl-ecosystem__chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.26);
  color: #0b1f3a;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(11, 31, 58, 0.08);
}

.ssc-cgl-ecosystem__chip--disabled {
  color: #64748b;
  box-shadow: none;
}

.ssc-cgl-ecosystem__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: auto;
}

.ssc-cgl-ecosystem__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(11, 31, 58, 0.14);
  border-radius: 9px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  color: #17324f;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(11, 31, 58, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  overflow-wrap: anywhere;
}

.ssc-cgl-ecosystem__button:hover,
.ssc-cgl-ecosystem__button:focus-visible {
  transform: translateY(-1px);
  color: #0b1f3a;
  border-color: rgba(37, 99, 235, 0.28);
  text-decoration: none;
  box-shadow: 0 13px 24px rgba(11, 31, 58, 0.1);
}

.ssc-cgl-ecosystem__button--primary {
  border-color: transparent;
  background: linear-gradient(135deg, #f26522, #d94d0f);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(242, 101, 34, 0.2);
}

.ssc-cgl-ecosystem__button--primary:hover,
.ssc-cgl-ecosystem__button--primary:focus-visible {
  color: #ffffff;
}

.ssc-cgl-ecosystem__button--disabled,
.ssc-cgl-ecosystem__button--disabled:hover {
  cursor: not-allowed;
  transform: none;
  border-color: rgba(226, 232, 240, 0.92);
  background: #eef2f6;
  color: #64748b;
  box-shadow: none;
}

@media (max-width: 960px) {
  .ssc-cgl-ecosystem {
    padding: 46px 0;
  }

  .ssc-cgl-ecosystem__header,
  .ssc-cgl-ecosystem__grid {
    grid-template-columns: 1fr;
  }

  .ssc-cgl-ecosystem__summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ssc-cgl-ecosystem {
    padding: 30px 0;
  }

  .ssc-cgl-ecosystem__wrap {
    width: min(100% - 20px, 1160px);
  }

  .ssc-cgl-ecosystem__header {
    gap: 16px;
    margin-bottom: 16px;
  }

  .ssc-cgl-ecosystem h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.12;
  }

  .ssc-cgl-ecosystem p {
    font-size: .93rem;
    line-height: 1.55;
  }

  .ssc-cgl-ecosystem__card {
    padding: 16px;
    border-radius: 13px;
  }

  .ssc-cgl-ecosystem__card-top {
    gap: 10px;
  }

  .ssc-cgl-ecosystem__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .ssc-cgl-ecosystem__card h3 {
    font-size: 1.05rem;
  }

  .ssc-cgl-ecosystem__grid {
    gap: 14px;
  }

  .ssc-cgl-ecosystem__metrics {
    gap: 7px;
    margin: 14px 0 12px;
  }

  .ssc-cgl-ecosystem__metrics,
  .ssc-cgl-ecosystem__actions,
  .ssc-cgl-ecosystem__summary {
    grid-template-columns: 1fr;
  }

  .ssc-cgl-ecosystem__chip {
    min-height: 36px;
    border-radius: 12px;
    white-space: normal;
  }

  .ssc-cgl-ecosystem__button {
    min-height: 44px;
  }
}
