/* BeeCore Homepage Section 5 - Compact BYOK supporting block (V2-B).
   Second half of the Gateway & Models chapter. Scoped to .bc5. */

#root > .page > .bc5 {
  padding: 0 24px 72px;
  background: #fafbfc;
  overflow: hidden;
  text-align: center;
}
#root > .page > .bc5 .bc5-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px 28px 40px;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
}

#root > .page > .bc5 .bc5-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: normal;
  color: rgb(180, 83, 9);
  background: rgb(255, 248, 225);
  border: 0.67px solid rgb(245, 230, 184);
  box-shadow: rgba(0, 0, 0, 0.04) 0px 1px 2px;
  margin-bottom: 20px;
  white-space: nowrap;
}
#root > .page > .bc5 .bc5-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5b800;
}

#root > .page > .bc5 .bc5-title {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(23px, 1.9vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111827;
  margin: 0 0 12px;
}
#root > .page > .bc5 .bc5-title span {
  color: #f5b800;
}

#root > .page > .bc5 .bc5-sub {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 520px;
}

/* --- Conceptual flow: provider -> your key -> BeeCore -> one API.
       Labels only. No provider state, no credential values, no status. --- */
#root > .page > .bc5 .bc5-flow {
  list-style: none;
  margin: 0 auto 28px;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 560px;
}
#root > .page > .bc5 .bc5-flow__step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 0 6px;
}
#root > .page > .bc5 .bc5-flow__step + .bc5-flow__step::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 17px;
  width: 12px;
  height: 1px;
  background: #e2e8f0;
}
#root > .page > .bc5 .bc5-flow__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #eaeaea;
  background: #fafbfc;
  color: #334155;
}
#root > .page > .bc5 .bc5-flow__icon svg {
  width: 17px;
  height: 17px;
}
#root > .page > .bc5 .bc5-flow__step:nth-child(3) .bc5-flow__icon {
  border-color: #f0e0a8;
  background: #fffdf2;
  color: #8a6d00;
}
#root > .page > .bc5 .bc5-flow__label {
  font-size: 12.5px;
  font-weight: 500;
  color: #475569;
  line-height: 1.35;
}

#root > .page > .bc5 .bc5-ctas {
  display: flex;
  justify-content: center;
}
#root > .page > .bc5 .bc5-cta {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
#root > .page > .bc5 .bc5-cta--solid {
  padding: 11px 22px;
  background: #f5b800;
  color: #1a1500;
  border: 1px solid #e0a800;
}
#root > .page > .bc5 .bc5-cta--solid:hover {
  background: #e6a900;
}

@media (max-width: 1024px) {
  #root > .page > .bc5 {
    padding: 0 20px 60px;
  }
  #root > .page > .bc5 .bc5-inner {
    padding: 38px 22px 34px;
  }
}

@media (max-width: 640px) {
  #root > .page > .bc5 {
    padding: 0 16px 48px;
  }
  #root > .page > .bc5 .bc5-inner {
    padding: 30px 18px 28px;
    border-radius: 10px;
  }
  #root > .page > .bc5 .bc5-sub {
    font-size: 13.5px;
    margin-bottom: 24px;
  }
  /* stack the flow vertically with real connectors */
  #root > .page > .bc5 .bc5-flow {
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
  }
  #root > .page > .bc5 .bc5-flow__step {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    text-align: left;
  }
  #root > .page > .bc5 .bc5-flow__step + .bc5-flow__step::before {
    left: 17px;
    top: -10px;
    width: 1px;
    height: 20px;
  }
  #root > .page > .bc5 .bc5-cta--solid {
    padding: 11px 20px;
    font-size: 13.5px;
  }
}
