/* BeeCore Homepage — Build with BeeCore (V2-C).
   Visual language follows the existing homepage: white cards, hairline #eaeaea
   borders, small radii, black/grey typography, yellow strictly as a small accent.
   Deliberately NOT a copy of the V2-A capability cards: this is a three-up row of
   equal product cards plus a subordinate execution strip, so the section reads as
   a catalogue of what you build rather than a feature grid.

   Scoped to #root > .page > .bc-build. Logical properties are used for inline
   spacing so RTL mirroring is not made worse by the pre-existing global dir issue. */

#root > .page > .bc-build {
  padding: 76px 24px 80px;
  background: #ffffff;
  overflow: hidden;
}
#root > .page > .bc-build,
#root > .page > .bc-build * { box-sizing: border-box; }

#root > .page > .bc-build .bc-build__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Header ---------- */
#root > .page > .bc-build .bc-build__header {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
#root > .page > .bc-build .bc-build__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  margin-bottom: 20px;
  border: 0.67px solid rgb(245, 230, 184);
  border-radius: 20px;
  background: rgb(255, 248, 225);
  color: rgb(180, 83, 9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: normal;
  text-transform: uppercase;
  white-space: nowrap;
}
#root > .page > .bc-build .bc-build__eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5b800;
}
#root > .page > .bc-build h2, #root > .page > .bc-build h3, #root > .page > .bc-build p { margin-top: 0; }
#root > .page > .bc-build .bc-build__title {
  margin: 0 0 14px;
  color: #111827;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(26px, 2.2vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
#root > .page > .bc-build .bc-build__title span { color: #f5b800; }
#root > .page > .bc-build .bc-build__sub {
  max-width: 560px;
  margin: 0 auto;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Three primary product cards ---------- */
#root > .page > .bc-build .bc-build__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
#root > .page > .bc-build .bc-build__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 22px 22px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background: #ffffff;
}
#root > .page > .bc-build .bc-build__card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
#root > .page > .bc-build .bc-build__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  background: #fafbfc;
  color: #334155;
}
#root > .page > .bc-build .bc-build__icon svg { width: 16px; height: 16px; }
#root > .page > .bc-build .bc-build__card-title {
  margin: 0;
  color: #111827;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
#root > .page > .bc-build .bc-build__card-text {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

/* Conceptual preview block — compact diagram, no state, no counts. */
#root > .page > .bc-build .bc-build__preview {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
  padding: 14px 13px;
  border: 1px solid #eaeaea;
  border-radius: 9px;
  background: #fafbfc;
}
#root > .page > .bc-build .bc-build__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
#root > .page > .bc-build .bc-build__row--out { gap: 4px; }
#root > .page > .bc-build .bc-build__chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #ffffff;
  color: #475569;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
#root > .page > .bc-build .bc-build__chip--accent {
  border-color: #f0e0a8;
  background: #fffdf2;
  color: #8a6d00;
  font-weight: 600;
}
#root > .page > .bc-build .bc-build__plus {
  color: #b6bfcc;
  font-size: 12px;
  line-height: 1;
}
#root > .page > .bc-build .bc-build__arrow {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #c3ccd8;
}
#root > .page > .bc-build .bc-build__arrow svg { width: 16px; height: 9px; }
#root > .page > .bc-build .bc-build__stack {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

/* ---------- Card CTA: product detail pages only ---------- */
#root > .page > .bc-build .bc-build__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 9px 14px;
  border: 1px solid #f0e0a8;
  border-radius: 8px;
  background: #fff8e1;
  color: #a86a00;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  align-self: flex-start;
  transition: background 0.15s ease, border-color 0.15s ease;
}
#root > .page > .bc-build .bc-build__cta svg { width: 15px; height: 9px; }
#root > .page > .bc-build .bc-build__cta:hover {
  border-color: #e6cf82;
  background: #fff4d4;
}

/* ---------- Execution layer: subordinate strip, not a fourth card ---------- */
#root > .page > .bc-build .bc-build__exec {
  margin-top: 22px;
  padding: 22px 24px 24px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background: #fafbfc;
}
#root > .page > .bc-build .bc-build__exec-label {
  display: block;
  margin-bottom: 16px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}
#root > .page > .bc-build .bc-build__exec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 28px;
}
#root > .page > .bc-build .bc-build__exec-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
#root > .page > .bc-build .bc-build__exec-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #eaeaea;
  border-radius: 7px;
  background: #ffffff;
  color: #64748b;
}
#root > .page > .bc-build .bc-build__exec-icon svg { width: 14px; height: 14px; }
#root > .page > .bc-build .bc-build__exec-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
#root > .page > .bc-build .bc-build__exec-title {
  color: #334155;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
}
#root > .page > .bc-build .bc-build__exec-text {
  color: #7b8798;
  font-size: 12.5px;
  line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  #root > .page > .bc-build { padding: 64px 20px 68px; }
  #root > .page > .bc-build .bc-build__cards { gap: 16px; }
  #root > .page > .bc-build .bc-build__card { padding: 20px 18px 18px; }
  #root > .page > .bc-build .bc-build__exec { padding: 20px 20px 22px; }
  #root > .page > .bc-build .bc-build__exec-grid { gap: 16px 20px; }
}

@media (max-width: 860px) {
  #root > .page > .bc-build .bc-build__cards { grid-template-columns: 1fr; }
  #root > .page > .bc-build .bc-build__exec-grid { grid-template-columns: 1fr; gap: 14px; }
  #root > .page > .bc-build .bc-build__exec-item { align-items: flex-start; }
}

@media (max-width: 640px) {
  #root > .page > .bc-build { padding: 52px 16px 56px; }
  #root > .page > .bc-build .bc-build__header { margin-bottom: 30px; }
  #root > .page > .bc-build .bc-build__title { font-size: clamp(25px, 7.4vw, 33px); }
  #root > .page > .bc-build .bc-build__sub { font-size: 14px; }
  #root > .page > .bc-build .bc-build__card { padding: 18px 16px 16px; }
  #root > .page > .bc-build .bc-build__preview { padding: 12px 11px; }
  #root > .page > .bc-build .bc-build__exec { margin-top: 16px; padding: 18px 16px 20px; }
}
