/* ============================================================
   assets/managed-operations/managed-operations.css
   Managed Services-only: service factory steps, integrations,
   "why different" cards.
   Requires assets/css/main.css to be loaded first.
   ============================================================ */

.obs-proof__grid--three { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
.obs-proof__grid--three { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
.obs-proof__grid--three { grid-template-columns: 1fr; }
}

.stepcard {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 16px;
  padding: 24px 22px 22px;
  transition: border-color .25s, transform .25s;
}

.stepcard:hover { border-color: var(--rule); transform: translateY(-3px); }

.stepcard h3 {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: var(--fs-base);
  letter-spacing: -.015em;
  line-height: 1.3;
  color: var(--fg);
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}

.stepcard p {
  margin: 0;
  color: var(--body);
  font-size: var(--fs-sm);
  line-height: 1.62;
  position: relative;
  z-index: 1;
}

.stepcard { cursor: default; }

.stepcard.is-live {
  border-color: var(--soft);
  box-shadow: 0 0 0 1px rgba(94, 99, 242, .25), 0 22px 55px -26px rgba(94, 99, 242, .55);
}

.stepcard.is-live h3 { color: var(--fg); }

.factory {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.factory .stepcard:nth-child(4),
.factory .stepcard:nth-child(5) { grid-column: span 1; }

.factory__frame {
  margin-top: 14px !important;
  padding-top: 12px;
  border-top: 1px solid var(--card-line);
  font-size: var(--fs-2xs) !important;
  line-height: 1.6 !important;
  color: var(--muted) !important;
}

.factory__frame span {
  color: #F2B95C;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: .06em;
}

.factory__loop {
  margin: 30px 0 0;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  color: var(--ice);
}

@media (max-width: 1240px) {
.factory { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1240px) {
.factory .stepcard:nth-child(5) { grid-column: span 2; }
}

@media (max-width: 640px) {
.factory { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
.factory .stepcard:nth-child(5) { grid-column: auto; }
}

/* the integrations intro runs the full wrap width — the chip wall below it
   is full-bleed, so a narrow column of copy above looked pinched */
#integrations .obs-head { max-width: none; }

#integrations .obs-bridge { max-width: none; }

.ms-tools { display: flex; flex-wrap: wrap; gap: 10px; }

.ms-tool {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--body);
  border: 1px solid var(--card-line);
  background: var(--card);
  border-radius: 999px;
  padding: 10px 18px;
  transition: border-color .25s, color .25s;
}

.ms-tool:hover { border-color: var(--sig); color: var(--fg); }

.ms-tool__icon {
  display: none;
  flex: none;
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--card-line);
}

/* every mark, raster or vector, is normalised to the same optical box */
.ms-tool__icon img,
.ms-tool__icon svg { width: 100%; height: 100%; object-fit: contain; display: block; }

.ms-tool__icon--generic.ms-tool__icon--email { color: var(--sig); background: color-mix(in srgb, var(--sig) 12%, var(--surface)); }

.ms-tool__icon--generic.ms-tool__icon--siem { color: var(--ice); background: color-mix(in srgb, var(--ice) 14%, var(--surface)); }

.ms-tool__icon--generic.ms-tool__icon--ad { color: #0F6CBD; background: color-mix(in srgb, #0F6CBD 12%, var(--surface)); }

.ms-tool__icon--generic.ms-tool__icon--intune { color: #0078D4; background: color-mix(in srgb, #0078D4 12%, var(--surface)); }

.ms-tool__icon--generic.ms-tool__icon--sccm { color: #2B88D8; background: color-mix(in srgb, #2B88D8 12%, var(--surface)); }

.ms-tool__icon--generic.ms-tool__icon--gws { background: var(--surface); }

.ms-tool__icon--generic.ms-tool__icon--incident { color: #F25533; background: color-mix(in srgb, #F25533 12%, var(--surface)); }

.ms-tool__icon--generic.ms-tool__icon--weblogic { color: #C74634; background: color-mix(in srgb, #C74634 12%, var(--surface)); }

@media (min-width: 901px) {
.ms-tool { gap: 10px; padding: 6px 18px 6px 6px; }
.ms-tool__icon { display: flex; }
}

.ms-why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ms-card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 16px;
  padding: 26px 26px 24px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.ms-card:hover { border-color: var(--rule); }

.ms-card h3 {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: var(--fs-base);
  letter-spacing: -.015em;
  color: var(--fg);
  margin: 0 0 8px;
}

.ms-card p { margin: 0; color: var(--body); font-size: var(--fs-sm); line-height: 1.62; }

@media (max-width: 780px) {
.ms-why__grid { grid-template-columns: 1fr; }
}
