/* ---- Security Context diagram ---- */
.context-section{
  background:var(--surface);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.context-layout{
  display:grid;
  grid-template-columns:0.85fr 1.3fr;
  gap:56px;
  align-items:center;
}
.context-copy .section-head{margin-bottom:0;}

.context-diagram{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:18px;
}
.context-col{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.context-col-label{
  font-size:0.74rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.04em;
  color:var(--text-tertiary);
  margin-bottom:2px;
}
.context-node{
  display:flex;
  align-items:center;
  gap:8px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  padding:9px 12px;
  font-size:0.82rem;
  color:var(--text-primary);
  font-weight:500;
}
.context-node .icon-box{width:24px;height:24px;border-radius:6px;}
.context-node .icon-box svg{width:12px;height:12px;}

.context-core{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:10px;
}
.context-core-node{
  width:120px;height:120px;
  border-radius:50%;
  background:var(--brand-gradient);
  box-shadow:0 16px 40px -10px rgba(49,87,255,0.5);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#fff;
  gap:6px;
}
.context-core-node svg{width:26px;height:26px;}
.context-core-title{
  font-size:0.78rem;
  font-weight:700;
  line-height:1.25;
  max-width:110px;
}
.context-core-caption{
  font-size:0.76rem;
  color:var(--text-tertiary);
  max-width:150px;
}
.context-actions{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:center;
}
.context-actions span{
  font-size:0.68rem;
  font-weight:600;
  color:var(--text-tertiary);
  border:1px solid var(--border-strong);
  border-radius:var(--radius-pill);
  padding:3px 8px;
}

/* ---- Customer-facing security agent widget ----
   The demo itself (.sc-motion and friends) is the same hero motion graphic
   used on the Security Chatbot product page, styled in
   css/security-chatbot.css. Sharing that file instead of a second copy here
   means the two stay in sync automatically. */
.customer-agent-layout{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:48px;
  align-items:center;
}
.customer-agent-copy .section-head{margin-bottom:20px;}
.benefit-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 20px;
  margin:22px 0 26px;
}
.benefit-list li{
  display:flex;
  /* Top-aligned so a wrapping item doesn't knock its row out of register. */
  align-items:flex-start;
  gap:8px;
  font-size:0.86rem;
  line-height:1.45;
  color:var(--text-secondary);
}
.benefit-list svg{
  width:15px;height:15px;
  margin-top:2px;
  color:var(--success-text);
  flex-shrink:0;
}

@media (max-width: 980px){
  .context-layout{grid-template-columns:1fr;gap:40px;}
  .context-diagram{grid-template-columns:1fr;gap:24px;}
  .context-diagram > .context-col:first-child{order:1;}
  .context-diagram > .context-core{order:2;}
  .context-diagram > .context-col:last-child{order:3;}
  .customer-agent-layout{grid-template-columns:1fr;}
  .benefit-list{grid-template-columns:1fr;}
}
