:root {
  --bb-cyan: #4de7ff;
  --bb-cyan-soft: rgba(77, 231, 255, 0.16);
  --bb-blue: #2e86ff;
  --bb-amber: #ffb74d;
  --bb-ink: #061522;
  --bb-panel: rgba(8, 29, 45, 0.84);
  --bb-line: rgba(105, 218, 255, 0.2);
  --bb-text: #eaf8ff;
  --bb-muted: #9db4c5;
}

html {
  scroll-behavior: smooth;
}

body.buildbuddy-page {
  position: relative;
  min-height: 100%;
  overflow-x: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 82% 8%, rgba(38, 125, 207, 0.2), transparent 32rem),
    radial-gradient(ellipse at 11% 35%, rgba(91, 64, 184, 0.18), transparent 34rem),
    linear-gradient(180deg, #02050d 0%, #050b1a 42%, #020611 100%);
  color: var(--bb-text);
}

.buildbuddy-page::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  opacity: 0.34;
  background-image:
    radial-gradient(circle at 11% 8%, rgba(255, 255, 255, 0.78) 0 0.8px, transparent 1.5px),
    radial-gradient(circle at 76% 16%, rgba(174, 224, 255, 0.68) 0 0.9px, transparent 1.6px),
    radial-gradient(circle at 38% 57%, rgba(224, 213, 255, 0.62) 0 0.75px, transparent 1.45px),
    radial-gradient(circle at 86% 82%, rgba(122, 203, 255, 0.58) 0 0.85px, transparent 1.5px),
    radial-gradient(circle, rgba(202, 232, 255, 0.28) 0 0.65px, transparent 1.25px);
  background-position: 0 0, 0 0, 0 0, 0 0, 71px 123px;
  background-size: 100% 1100px, 100% 1450px, 100% 1300px, 100% 1700px, 320px 320px;
}

.buildbuddy-page::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 7% 18%, rgba(101, 70, 204, 0.2) 0%, transparent 29%),
    radial-gradient(ellipse at 88% 27%, rgba(24, 150, 214, 0.17) 0%, transparent 31%),
    radial-gradient(ellipse at 38% 64%, rgba(44, 91, 180, 0.12) 0%, transparent 34%),
    radial-gradient(ellipse at 92% 88%, rgba(111, 55, 171, 0.12) 0%, transparent 27%);
  opacity: 0.92;
}

.bb-container {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
}

.bb-section {
  position: relative;
  padding: 108px 0;
}

.bb-section--compact {
  padding: 80px 0;
}

.bb-section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.bb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--bb-cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bb-eyebrow::before {
  width: 24px;
  height: 1px;
  content: "";
  background: currentColor;
  box-shadow: 8px 0 14px currentColor;
}

.bb-section-heading h2,
.bb-trust-copy h2,
.bb-closing h2 {
  margin: 0;
  color: #f2fbff;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.bb-section-heading h2 {
  font-size: clamp(32px, 4vw, 56px);
}

.bb-section-heading p,
.bb-trust-copy > p,
.bb-closing > p {
  margin: 20px 0 0;
  color: var(--bb-muted);
  font-size: 17px;
  line-height: 1.85;
}

/* Hero */
.bb-hero {
  position: relative;
  min-height: 860px;
  padding: 154px 0 92px;
  isolation: isolate;
}

.bb-earth {
  position: absolute;
  top: 118px;
  right: -310px;
  z-index: -1;
  width: min(910px, 68vw);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(122, 211, 255, 0.17);
  border-radius: 50%;
  background: #061225;
  box-shadow:
    -19px -13px 48px rgba(87, 202, 245, 0.15),
    0 0 115px rgba(61, 100, 211, 0.15),
    0 0 0 12px rgba(77, 175, 235, 0.018);
  opacity: 0.72;
}

.bb-earth__track {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  width: 400%;
  height: 100%;
  will-change: transform;
  animation: bbEarthSpin 68s linear infinite;
}

.bb-earth__track img {
  display: block;
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  object-fit: fill;
  opacity: 0.76;
}

.bb-earth::before,
.bb-earth::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  border-radius: inherit;
}

.bb-earth::before {
  background:
    radial-gradient(circle at 29% 25%, rgba(154, 226, 255, 0.2) 0%, transparent 23%),
    radial-gradient(circle at 33% 38%, transparent 0 28%, rgba(2, 9, 23, 0.15) 56%, rgba(0, 2, 8, 0.92) 91%),
    linear-gradient(112deg, rgba(64, 190, 239, 0.1), transparent 42%, rgba(0, 0, 0, 0.5) 78%);
  box-shadow:
    inset 72px 27px 98px rgba(70, 196, 239, 0.09),
    inset -156px -116px 174px rgba(0, 0, 0, 0.78);
}

.bb-earth::after {
  inset: 3px;
  border: 1px solid rgba(137, 224, 255, 0.14);
  box-shadow:
    inset 18px 13px 30px rgba(111, 219, 255, 0.12),
    inset -12px -9px 32px rgba(0, 0, 0, 0.58);
}

@keyframes bbEarthSpin {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.bb-hero::after {
  position: absolute;
  top: 215px;
  right: -20vw;
  z-index: -1;
  width: 76vw;
  aspect-ratio: 1.82;
  content: "";
  border: 1px solid rgba(110, 211, 255, 0.17);
  border-radius: 50%;
  background: radial-gradient(ellipse, transparent 62%, rgba(78, 157, 226, 0.045) 62.4%, transparent 63%);
  box-shadow: 0 0 48px rgba(60, 175, 225, 0.07);
  opacity: 0.68;
  transform: rotate(-12deg);
}

.bb-hero-grid {
  display: grid;
  grid-template-columns: minmax(430px, 0.86fr) minmax(600px, 1.14fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.bb-brand-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 30px;
}

.bb-brand-mark {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(84, 226, 255, 0.4);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(36, 184, 224, 0.24), rgba(6, 24, 38, 0.9));
  box-shadow: 0 0 35px rgba(22, 183, 229, 0.16);
}

.bb-brand-mark::before,
.bb-brand-mark::after {
  position: absolute;
  width: 28px;
  height: 8px;
  content: "";
  border: 3px solid var(--bb-cyan);
  border-right: 0;
  border-left: 0;
  transform: skewX(-28deg);
}

.bb-brand-mark::after {
  transform: rotate(90deg) skewX(-28deg);
  border-color: var(--bb-amber);
}

.bb-brand-name {
  display: block;
  color: #f5fcff;
  font-size: 18px;
  font-weight: 800;
}

.bb-brand-subtitle {
  display: block;
  margin-top: 3px;
  color: #7f9aab;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.bb-hero-copy h1 {
  margin: 0;
  color: #f5fcff;
  font-size: clamp(50px, 5.35vw, 82px);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.bb-hero-copy h1 span {
  display: block;
  margin-top: 12px;
  color: transparent;
  background: linear-gradient(98deg, #f7fdff 10%, #78eaff 58%, #74b9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.bb-hero-lead {
  max-width: 630px;
  margin: 28px 0 0;
  color: #b0c5d3;
  font-size: 18px;
  line-height: 1.85;
}

.bb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.bb-button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(94, 221, 255, 0.23);
  border-radius: 13px;
  color: #dff9ff;
  background: rgba(13, 48, 70, 0.6);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.bb-button:hover {
  border-color: rgba(94, 221, 255, 0.56);
  background: rgba(20, 73, 100, 0.72);
  transform: translateY(-2px);
}

.bb-button--primary {
  border-color: rgba(99, 229, 255, 0.62);
  color: #04121d;
  background: linear-gradient(135deg, #80efff, #45c4e7);
  box-shadow: 0 12px 34px rgba(50, 199, 231, 0.2);
}

.bb-button--primary:hover {
  color: #04121d;
  background: linear-gradient(135deg, #a0f4ff, #61d8f3);
}

.bb-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 46px;
  overflow: hidden;
  border: 1px solid var(--bb-line);
  border-radius: 16px;
  background: var(--bb-line);
}

.bb-proof-item {
  min-width: 0;
  padding: 16px 13px;
  background: rgba(6, 24, 37, 0.93);
}

.bb-proof-item strong,
.bb-proof-item span {
  display: block;
}

.bb-proof-item strong {
  overflow: hidden;
  color: #dff9ff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bb-proof-item span {
  margin-top: 5px;
  color: #7591a3;
  font-size: 11px;
}

/* Workbench product illustration */
.bb-workbench-figure {
  position: relative;
  margin: 0;
}

.bb-workbench-figure::before {
  position: absolute;
  inset: 13% -7% 8% 12%;
  z-index: -1;
  content: "";
  background: radial-gradient(circle, rgba(37, 204, 238, 0.22), transparent 68%);
  filter: blur(24px);
}

.bb-product-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(93, 223, 255, 0.31);
  border-radius: 24px;
  background: rgba(5, 22, 34, 0.96);
  box-shadow:
    0 40px 90px rgba(0, 5, 14, 0.46),
    0 0 0 1px rgba(121, 229, 255, 0.04) inset;
}

.bb-window-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  min-height: 62px;
  padding: 0 20px;
  align-items: center;
  border-bottom: 1px solid rgba(97, 213, 242, 0.15);
  background: rgba(9, 31, 47, 0.88);
}

.bb-window-dots {
  display: flex;
  gap: 7px;
}

.bb-window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(145, 181, 199, 0.35);
}

.bb-window-dots i:first-child { background: #ff8d72; }
.bb-window-dots i:nth-child(2) { background: #ffc864; }
.bb-window-dots i:last-child { background: #5ee5b8; }

.bb-window-title {
  color: #dff8ff;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.bb-window-status {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #75e5bb;
  font-size: 10px;
  font-weight: 700;
}

.bb-window-status::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.bb-window-body {
  display: grid;
  grid-template-columns: 145px 1fr;
  min-height: 520px;
}

.bb-session-rail {
  padding: 18px 13px;
  border-right: 1px solid rgba(97, 213, 242, 0.13);
  background: rgba(5, 18, 29, 0.76);
}

.bb-new-session {
  display: block;
  padding: 10px 8px;
  border: 1px solid rgba(83, 218, 250, 0.27);
  border-radius: 10px;
  color: #9feeff;
  background: rgba(33, 137, 169, 0.12);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.bb-session-label {
  display: block;
  margin: 18px 6px 9px;
  color: #557487;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.bb-session-item {
  display: block;
  margin-top: 7px;
  padding: 10px 9px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #7994a5;
  font-size: 9px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bb-session-item.is-active {
  border-color: rgba(80, 217, 250, 0.2);
  color: #d9f7ff;
  background: rgba(21, 92, 119, 0.23);
}

.bb-chat-stage {
  padding: 28px clamp(22px, 3vw, 42px) 24px;
  background:
    radial-gradient(circle at 62% 42%, rgba(22, 142, 179, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(11, 35, 52, 0.72), rgba(6, 23, 35, 0.52));
}

.bb-chat-kicker {
  color: #5f8497;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bb-user-prompt {
  width: min(86%, 450px);
  margin: 16px 0 20px auto;
  padding: 14px 16px;
  border: 1px solid rgba(99, 220, 249, 0.2);
  border-radius: 15px 15px 4px 15px;
  color: #dff9ff;
  background: linear-gradient(135deg, rgba(32, 131, 165, 0.36), rgba(22, 79, 110, 0.36));
  font-size: 11px;
  line-height: 1.6;
}

.bb-answer-card {
  padding: 18px;
  border: 1px solid rgba(87, 210, 240, 0.18);
  border-radius: 16px;
  background: rgba(7, 27, 42, 0.88);
  box-shadow: 0 20px 40px rgba(0, 8, 16, 0.16);
}

.bb-answer-head {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #dff9ff;
  font-size: 11px;
  font-weight: 750;
}

.bb-answer-avatar {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(94, 226, 255, 0.45);
  border-radius: 9px;
  color: var(--bb-cyan);
  background: rgba(23, 123, 153, 0.22);
  font-size: 13px;
}

.bb-analysis-lines {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}

.bb-analysis-lines i {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(113, 169, 190, 0.29), rgba(93, 203, 232, 0.1));
}

.bb-analysis-lines i:nth-child(2) { width: 86%; }
.bb-analysis-lines i:nth-child(3) { width: 68%; }

.bb-evidence-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  margin-top: 16px;
  padding: 13px;
  align-items: center;
  border: 1px solid rgba(255, 187, 83, 0.22);
  border-radius: 12px;
  background: rgba(104, 69, 14, 0.1);
}

.bb-evidence-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #ffcf78;
  background: rgba(255, 183, 77, 0.13);
  font-size: 13px;
}

.bb-evidence-copy strong,
.bb-evidence-copy span {
  display: block;
}

.bb-evidence-copy strong {
  color: #f1d6a0;
  font-size: 9px;
}

.bb-evidence-copy span {
  margin-top: 4px;
  color: #927f61;
  font-size: 8px;
}

.bb-evidence-badge {
  padding: 5px 7px;
  border-radius: 99px;
  color: #69e4b6;
  background: rgba(74, 225, 168, 0.09);
  font-size: 8px;
  font-weight: 700;
}

.bb-quick-tasks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}

.bb-quick-tasks span {
  padding: 7px 9px;
  border: 1px solid rgba(97, 206, 234, 0.14);
  border-radius: 8px;
  color: #7f9dac;
  background: rgba(11, 38, 55, 0.7);
  font-size: 8px;
}

.bb-workbench-figure figcaption {
  margin: 16px 24px 0;
  color: #668294;
  font-size: 11px;
  line-height: 1.65;
  text-align: center;
}

/* Workflow */
.bb-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.bb-flow-card,
.bb-capability-card,
.bb-expert-card,
.bb-task-item {
  border: 1px solid var(--bb-line);
  background: linear-gradient(145deg, rgba(11, 39, 58, 0.79), rgba(7, 24, 37, 0.76));
  box-shadow: 0 20px 40px rgba(0, 6, 14, 0.1);
}

.bb-flow-card {
  position: relative;
  min-height: 270px;
  padding: 27px;
  overflow: hidden;
  border-radius: 20px;
}

.bb-flow-card::after {
  position: absolute;
  top: 22px;
  right: 22px;
  color: rgba(119, 220, 246, 0.16);
  content: attr(data-step);
  font-size: 38px;
  font-weight: 800;
}

.bb-flow-visual {
  position: relative;
  width: 82px;
  height: 82px;
  margin-bottom: 25px;
  border: 1px solid rgba(83, 220, 251, 0.18);
  border-radius: 24px;
  background: radial-gradient(circle, rgba(50, 200, 235, 0.15), transparent 70%);
}

.bb-flow-visual::before,
.bb-flow-visual::after {
  position: absolute;
  content: "";
}

.bb-flow-visual--intent::before {
  inset: 23px 18px;
  border: 2px solid var(--bb-cyan);
  border-radius: 50% 50% 50% 8px;
}

.bb-flow-visual--intent::after {
  right: 17px;
  bottom: 17px;
  width: 21px;
  height: 2px;
  background: var(--bb-amber);
  transform: rotate(-38deg);
}

.bb-flow-visual--evidence::before {
  inset: 20px 23px 18px;
  border: 2px solid var(--bb-cyan);
  border-radius: 6px;
  box-shadow: 8px 8px 0 rgba(255, 183, 77, 0.22);
}

.bb-flow-visual--evidence::after {
  top: 31px;
  left: 32px;
  width: 21px;
  height: 2px;
  background: var(--bb-cyan);
  box-shadow: 0 9px 0 var(--bb-cyan), 0 18px 0 var(--bb-cyan);
}

.bb-flow-visual--team::before {
  top: 23px;
  left: 31px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--bb-cyan);
  border-radius: 50%;
  box-shadow: -20px 24px 0 -4px rgba(255, 183, 77, 0.75), 20px 24px 0 -4px rgba(84, 228, 255, 0.72);
}

.bb-flow-visual--team::after {
  right: 17px;
  bottom: 18px;
  left: 17px;
  height: 22px;
  border: 1px solid rgba(83, 220, 251, 0.38);
  border-top: 0;
  border-radius: 0 0 50% 50%;
}

.bb-flow-visual--delivery::before {
  inset: 18px;
  border: 2px solid var(--bb-cyan);
  border-radius: 10px;
}

.bb-flow-visual--delivery::after {
  top: 33px;
  left: 30px;
  width: 24px;
  height: 12px;
  border-bottom: 3px solid var(--bb-amber);
  border-left: 3px solid var(--bb-amber);
  transform: rotate(-45deg);
}

.bb-flow-card h3,
.bb-capability-card h3,
.bb-expert-copy h3,
.bb-trust-point h3 {
  margin: 0;
  color: #e9f9ff;
  font-size: 18px;
}

.bb-flow-card p,
.bb-capability-card p,
.bb-expert-copy p,
.bb-task-copy p,
.bb-trust-point p {
  margin: 11px 0 0;
  color: #879faf;
  font-size: 13px;
  line-height: 1.75;
}

/* Capabilities */
.bb-capability-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bb-capability-card {
  position: relative;
  grid-column: span 4;
  min-height: 240px;
  padding: 29px;
  overflow: hidden;
  border-radius: 20px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.bb-capability-card:nth-child(1),
.bb-capability-card:nth-child(7) {
  grid-column: span 6;
}

.bb-capability-card:hover {
  border-color: rgba(84, 224, 255, 0.43);
  transform: translateY(-3px);
}

.bb-capability-number {
  display: block;
  margin-bottom: 43px;
  color: var(--bb-cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.bb-capability-card::after {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 70px;
  height: 70px;
  content: "";
  border: 1px solid rgba(81, 222, 253, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(81, 222, 253, 0.025), 0 0 0 24px rgba(81, 222, 253, 0.018);
}

.bb-capability-tag {
  display: inline-flex;
  margin-top: 18px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 183, 77, 0.2);
  border-radius: 7px;
  color: #ddb36f;
  background: rgba(255, 183, 77, 0.06);
  font-size: 10px;
  font-weight: 700;
}

/* Experts */
.bb-expert-section {
  overflow: hidden;
}

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

.bb-expert-card {
  position: relative;
  min-width: 0;
  padding: 24px 20px 22px;
  overflow: hidden;
  border-radius: 20px;
  text-align: center;
}

.bb-expert-card::before {
  position: absolute;
  top: -70px;
  left: 50%;
  width: 170px;
  height: 170px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 208, 241, 0.16), transparent 70%);
  transform: translateX(-50%);
}

.bb-expert-image {
  position: relative;
  width: 98px;
  height: 98px;
  margin: 0 auto 18px;
  padding: 8px;
  border: 1px solid rgba(91, 223, 255, 0.25);
  border-radius: 30px;
  background: rgba(13, 47, 67, 0.62);
}

.bb-expert-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bb-expert-copy span {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--bb-cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.bb-expert-note {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  padding: 18px 22px;
  align-items: center;
  border: 1px solid rgba(255, 183, 77, 0.18);
  border-radius: 15px;
  color: #a99b83;
  background: rgba(71, 49, 16, 0.08);
  font-size: 13px;
  line-height: 1.7;
}

.bb-expert-note strong {
  flex: 0 0 auto;
  color: #f0c77f;
}

/* Tasks */
.bb-task-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.bb-task-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  min-height: 132px;
  padding: 22px;
  align-items: start;
  border-radius: 17px;
}

.bb-task-index {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(86, 224, 255, 0.26);
  border-radius: 12px;
  color: var(--bb-cyan);
  background: rgba(49, 188, 221, 0.08);
  font-size: 11px;
  font-weight: 800;
}

.bb-task-copy h3 {
  margin: 1px 0 0;
  color: #e9f9ff;
  font-size: 16px;
}

/* Evidence discipline */
.bb-trust-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(560px, 1.18fr);
  gap: 70px;
  padding: 56px;
  align-items: center;
  border: 1px solid rgba(100, 222, 252, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 38%, rgba(39, 191, 225, 0.12), transparent 35%),
    linear-gradient(135deg, rgba(10, 42, 61, 0.9), rgba(6, 24, 37, 0.9));
}

.bb-trust-copy h2 {
  font-size: clamp(32px, 3.2vw, 50px);
}

.bb-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.bb-trust-point {
  min-height: 170px;
  padding: 22px;
  border: 1px solid rgba(96, 215, 244, 0.13);
  border-radius: 17px;
  background: rgba(4, 18, 29, 0.5);
}

.bb-trust-point span {
  display: block;
  margin-bottom: 25px;
  color: var(--bb-amber);
  font-size: 11px;
  font-weight: 800;
}

/* Closing */
.bb-closing {
  padding: 76px 24px 86px;
  text-align: center;
}

.bb-closing h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.bb-closing > p {
  max-width: 690px;
  margin-right: auto;
  margin-left: auto;
}

.bb-closing .bb-hero-actions {
  justify-content: center;
}

.bb-footer {
  padding: 26px 0 34px;
  border-top: 1px solid rgba(94, 211, 240, 0.12);
  color: #5e7889;
  font-size: 12px;
  text-align: center;
}

/* Shared light theme compatibility */
body.light-theme.buildbuddy-page {
  --bb-panel: rgba(255, 255, 255, 0.88);
  --bb-text: #102b3c;
  --bb-muted: #5d7483;
  background:
    radial-gradient(circle at 77% 8%, rgba(24, 153, 194, 0.11), transparent 31rem),
    linear-gradient(180deg, #edf8fc 0%, #f7fbfd 48%, #ebf6fa 100%);
}

body.light-theme.buildbuddy-page .bb-section-heading h2,
body.light-theme.buildbuddy-page .bb-trust-copy h2,
body.light-theme.buildbuddy-page .bb-closing h2,
body.light-theme.buildbuddy-page .bb-hero-copy h1,
body.light-theme.buildbuddy-page .bb-brand-name {
  color: #0b2c3e;
}

body.light-theme.buildbuddy-page .bb-hero-copy h1 span {
  background: linear-gradient(98deg, #123a50, #159fbe 65%, #2878ba);
  -webkit-background-clip: text;
  background-clip: text;
}

@media (max-width: 1180px) {
  .bb-hero {
    min-height: auto;
  }

  .bb-hero-grid {
    grid-template-columns: 1fr;
  }

  .bb-hero-copy {
    max-width: 820px;
  }

  .bb-workbench-figure {
    width: min(900px, 100%);
    margin: 0 auto;
  }

  .bb-workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bb-expert-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bb-expert-card:nth-child(4),
  .bb-expert-card:nth-child(5) {
    transform: translateX(50%);
  }

  .bb-trust-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .bb-container {
    width: min(100% - 40px, 760px);
  }

  .bb-section {
    padding: 82px 0;
  }

  .bb-hero {
    padding: 126px 0 72px;
  }

  .bb-capability-card,
  .bb-capability-card:nth-child(1),
  .bb-capability-card:nth-child(7) {
    grid-column: span 6;
  }

  .bb-task-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bb-trust-panel {
    gap: 42px;
    padding: 40px;
  }
}

@media (max-width: 680px) {
  .bb-container {
    width: min(100% - 28px, 560px);
  }

  .bb-section,
  .bb-section--compact {
    padding: 66px 0;
  }

  .bb-section-heading {
    margin-bottom: 34px;
  }

  .bb-section-heading p,
  .bb-trust-copy > p,
  .bb-closing > p,
  .bb-hero-lead {
    font-size: 15px;
  }

  .bb-hero {
    padding: 110px 0 54px;
  }

  .bb-earth {
    top: 330px;
    right: -245px;
    width: 560px;
    opacity: 0.42;
  }

  .bb-hero::after {
    top: 400px;
    right: -310px;
    width: 720px;
    opacity: 0.48;
  }

  .bb-hero-grid {
    gap: 42px;
  }

  .bb-brand-row {
    margin-bottom: 22px;
  }

  .bb-brand-mark {
    width: 45px;
    height: 45px;
    border-radius: 14px;
  }

  .bb-hero-copy h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .bb-proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .bb-window-topbar {
    min-height: 52px;
    padding: 0 13px;
  }

  .bb-window-status {
    display: none;
  }

  .bb-window-title {
    text-align: right;
  }

  .bb-window-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .bb-session-rail {
    display: flex;
    gap: 7px;
    padding: 11px;
    overflow: hidden;
    border-right: 0;
    border-bottom: 1px solid rgba(97, 213, 242, 0.13);
  }

  .bb-new-session,
  .bb-session-item {
    flex: 0 0 auto;
    margin: 0;
    padding: 8px 10px;
  }

  .bb-session-label {
    display: none;
  }

  .bb-session-item:nth-of-type(n+4) {
    display: none;
  }

  .bb-chat-stage {
    padding: 21px 14px 18px;
  }

  .bb-user-prompt {
    width: 92%;
  }

  .bb-evidence-box {
    grid-template-columns: auto 1fr;
  }

  .bb-evidence-badge {
    display: none;
  }

  .bb-workflow-grid,
  .bb-task-grid,
  .bb-trust-grid {
    grid-template-columns: 1fr;
  }

  .bb-flow-card {
    min-height: 240px;
  }

  .bb-capability-card,
  .bb-capability-card:nth-child(1),
  .bb-capability-card:nth-child(7) {
    grid-column: span 12;
    min-height: 220px;
  }

  .bb-expert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bb-expert-card:nth-child(4),
  .bb-expert-card:nth-child(5) {
    transform: none;
  }

  .bb-expert-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 8px);
    justify-self: center;
  }

  .bb-expert-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .bb-trust-panel {
    gap: 34px;
    padding: 28px 20px;
    border-radius: 22px;
  }

  .bb-trust-point {
    min-height: auto;
  }

  .bb-closing {
    padding: 62px 14px 70px;
  }
}

/* Unified transparent glass cards */
body.buildbuddy-page .bb-product-window,
body.buildbuddy-page .bb-proof-strip,
body.buildbuddy-page .bb-evidence-card,
body.buildbuddy-page .bb-workflow-card,
body.buildbuddy-page .bb-capability-card,
body.buildbuddy-page .bb-team-card,
body.buildbuddy-page .bb-openclaw-badge,
body.buildbuddy-page .bb-team-rule,
body.buildbuddy-page .bb-task-list article,
body.buildbuddy-page .bb-trust-grid article,
body.buildbuddy-page .bb-closing__inner {
  border-color: rgba(126, 222, 255, 0.25);
  background:
    linear-gradient(132deg, rgba(122, 224, 255, 0.105) 0%, rgba(78, 132, 205, 0.035) 31%, transparent 52%),
    linear-gradient(145deg, rgba(10, 31, 52, 0.57), rgba(4, 13, 27, 0.34));
  box-shadow:
    inset 0 1px 0 rgba(226, 249, 255, 0.12),
    inset 1px 0 0 rgba(108, 214, 255, 0.055),
    0 22px 48px rgba(0, 4, 14, 0.17);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  backdrop-filter: blur(12px) saturate(125%);
}

body.buildbuddy-page :is(
  .bb-workflow-card,
  .bb-capability-card,
  .bb-team-card,
  .bb-task-list article,
  .bb-trust-grid article
):hover {
  border-color: rgba(130, 229, 255, 0.43);
  box-shadow:
    inset 0 1px 0 rgba(235, 251, 255, 0.17),
    inset 1px 0 0 rgba(115, 221, 255, 0.08),
    0 25px 54px rgba(0, 8, 20, 0.23),
    0 0 32px rgba(52, 191, 230, 0.055);
}

body.buildbuddy-page .bb-window-head,
body.buildbuddy-page .bb-session-rail,
body.buildbuddy-page .bb-chat-stage {
  background-color: rgba(4, 17, 31, 0.34);
}

body.buildbuddy-page:not(.dark) .bb-product-window,
body.buildbuddy-page:not(.dark) .bb-proof-strip,
body.buildbuddy-page:not(.dark) .bb-evidence-card,
body.buildbuddy-page:not(.dark) .bb-workflow-card,
body.buildbuddy-page:not(.dark) .bb-capability-card,
body.buildbuddy-page:not(.dark) .bb-team-card,
body.buildbuddy-page:not(.dark) .bb-openclaw-badge,
body.buildbuddy-page:not(.dark) .bb-team-rule,
body.buildbuddy-page:not(.dark) .bb-task-list article,
body.buildbuddy-page:not(.dark) .bb-trust-grid article,
body.buildbuddy-page:not(.dark) .bb-closing__inner {
  border-color: rgba(37, 137, 176, 0.2);
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.72), rgba(224, 246, 252, 0.46)),
    rgba(255, 255, 255, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 20px 44px rgba(18, 74, 98, 0.1);
}

@media (max-width: 680px), (any-pointer: coarse) {
  body.buildbuddy-page .bb-product-window,
  body.buildbuddy-page .bb-proof-strip,
  body.buildbuddy-page .bb-evidence-card,
  body.buildbuddy-page .bb-workflow-card,
  body.buildbuddy-page .bb-capability-card,
  body.buildbuddy-page .bb-team-card,
  body.buildbuddy-page .bb-openclaw-badge,
  body.buildbuddy-page .bb-team-rule,
  body.buildbuddy-page .bb-task-list article,
  body.buildbuddy-page .bb-trust-grid article,
  body.buildbuddy-page .bb-closing__inner {
    -webkit-backdrop-filter: blur(8px) saturate(116%);
    backdrop-filter: blur(8px) saturate(116%);
  }
}

@media (max-width: 420px) {
  .bb-proof-item {
    padding: 13px 10px;
  }

  .bb-proof-item strong {
    font-size: 11px;
  }

  .bb-product-window {
    border-radius: 18px;
  }

  .bb-expert-card {
    padding: 20px 13px;
  }

  .bb-expert-image {
    width: 82px;
    height: 82px;
    border-radius: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bb-button,
  .bb-capability-card {
    transition: none;
  }

  .bb-earth__track {
    animation: none;
    transform: translate3d(-14%, 0, 0);
  }
}

/* BuildBuddy detail page composition */
.bb-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(78, 213, 246, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 213, 246, 0.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, #000 15%, transparent 92%);
}

.bb-hero__layout {
  display: grid;
  grid-template-columns: minmax(410px, 0.84fr) minmax(590px, 1.16fr);
  gap: clamp(44px, 5vw, 86px);
  align-items: center;
}

.bb-hero__copy {
  min-width: 0;
}

.bb-eyebrow > span {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  box-shadow: 8px 0 14px currentColor;
}

.bb-hero__copy h1 {
  margin: 0;
  color: #f5fcff;
  font-size: clamp(55px, 5.3vw, 84px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.058em;
}

.bb-hero__copy h1 em {
  color: var(--bb-cyan);
  font-style: normal;
  text-shadow: 0 0 28px rgba(77, 231, 255, 0.22);
}

.bb-positioning {
  margin: 18px 0 0;
  color: #8aeafd;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.bb-hero__lead {
  max-width: 650px;
  margin: 25px 0 0;
  color: #a9bfce;
  font-size: 17px;
  line-height: 1.88;
}

.bb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 31px;
}

.bb-proof-strip {
  display: flex;
  width: 100%;
  margin-top: 38px;
  padding: 15px 18px;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
  border: 1px solid rgba(84, 220, 252, 0.18);
  border-radius: 15px;
  background: rgba(7, 28, 43, 0.7);
}

.bb-proof-strip > span {
  min-width: 0;
  text-align: center;
}

.bb-proof-strip b,
.bb-proof-strip small {
  display: block;
}

.bb-proof-strip b {
  color: #def8ff;
  font-size: 12px;
}

.bb-proof-strip small {
  margin-top: 4px;
  color: #718d9e;
  font-size: 9px;
}

.bb-proof-strip > i {
  width: 1px;
  height: 28px;
  background: rgba(90, 217, 248, 0.15);
}

.bb-product-figure {
  position: relative;
  margin: 0;
}

.bb-product-figure::before {
  position: absolute;
  inset: 12% -5% 7% 10%;
  z-index: -1;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 190, 229, 0.22), transparent 68%);
  filter: blur(24px);
}

.bb-product-figure figcaption {
  margin: 16px 22px 0;
  color: #668294;
  font-size: 11px;
  line-height: 1.65;
  text-align: center;
}

.bb-window-head {
  display: flex;
  min-height: 68px;
  padding: 0 21px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(97, 213, 242, 0.15);
  background: rgba(9, 31, 47, 0.9);
}

.bb-window-head small,
.bb-window-head strong {
  display: block;
}

.bb-window-head small {
  color: #6e94a7;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.11em;
}

.bb-window-head strong {
  margin-top: 4px;
  color: #e7faff;
  font-size: 14px;
}

.bb-live-status {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #72dfb3;
  font-size: 9px;
  font-weight: 700;
}

.bb-live-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.bb-window-workspace {
  display: grid;
  grid-template-columns: 142px 1fr;
  min-height: 505px;
}

.bb-session-rail > b,
.bb-session-rail > span {
  display: block;
}

.bb-session-rail > b {
  padding: 10px 8px;
  border: 1px solid rgba(83, 218, 250, 0.27);
  border-radius: 10px;
  color: #9feeff;
  background: rgba(33, 137, 169, 0.12);
  font-size: 9px;
  text-align: center;
}

.bb-session-rail > span {
  position: relative;
  margin-top: 8px;
  padding: 10px 7px 10px 20px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #718c9d;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bb-session-rail > span > i {
  position: absolute;
  top: 13px;
  left: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #557585;
}

.bb-session-rail > span small {
  display: block;
  margin-top: 4px;
  color: #4f6a79;
  font-size: 7px;
}

.bb-session-rail > span.is-active {
  border-color: rgba(80, 217, 250, 0.2);
  color: #d9f7ff;
  background: rgba(21, 92, 119, 0.23);
}

.bb-session-rail > span.is-active > i {
  background: var(--bb-cyan);
  box-shadow: 0 0 8px var(--bb-cyan);
}

.bb-chat-demo {
  padding: 29px clamp(21px, 2.7vw, 39px) 24px;
  background:
    radial-gradient(circle at 62% 42%, rgba(22, 142, 179, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(11, 35, 52, 0.72), rgba(6, 23, 35, 0.52));
}

.bb-progress-line {
  display: flex;
  gap: 10px;
  margin: 19px 0 13px;
  align-items: center;
  color: #7196a8;
  font-size: 8px;
}

.bb-progress-line i {
  width: 8px;
  height: 8px;
  border: 1px solid var(--bb-cyan);
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(77, 231, 255, 0.42);
}

.bb-evidence-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bb-evidence-card__head span {
  color: #def9ff;
  font-size: 11px;
  font-weight: 750;
}

.bb-evidence-card__head b {
  padding: 5px 7px;
  border-radius: 99px;
  color: #6fe2b4;
  background: rgba(74, 225, 168, 0.09);
  font-size: 7px;
}

.bb-evidence-card p {
  margin: 13px 0 0;
  color: #849ead;
  font-size: 9px;
  line-height: 1.75;
}

.bb-evidence-tags,
.bb-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.bb-evidence-tags span,
.bb-card-tags span {
  padding: 6px 8px;
  border: 1px solid rgba(90, 210, 239, 0.14);
  border-radius: 7px;
  color: #7898a8;
  background: rgba(13, 43, 60, 0.55);
  font-size: 7px;
}

.bb-task-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.bb-task-chips span {
  padding: 7px 9px;
  border: 1px solid rgba(97, 206, 234, 0.14);
  border-radius: 8px;
  color: #7f9dac;
  background: rgba(11, 38, 55, 0.7);
  font-size: 8px;
}

.bb-section-head {
  max-width: 850px;
  margin: 0 auto 48px;
  text-align: center;
}

.bb-section-head--left {
  margin-left: 0;
  text-align: left;
}

.bb-section-head > p {
  margin: 0 0 14px;
  color: var(--bb-cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.bb-section-head h2,
.bb-tasks__copy h2 {
  margin: 0;
  color: #eefaff;
  font-size: clamp(32px, 4vw, 55px);
  font-weight: 820;
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.bb-section-head > span {
  display: block;
  margin-top: 17px;
  color: #8da5b5;
  font-size: 15px;
  line-height: 1.8;
}

.bb-workflow-card {
  position: relative;
  min-height: 282px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--bb-line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(11, 39, 58, 0.79), rgba(7, 24, 37, 0.76));
}

.bb-step-number,
.bb-card-index {
  display: block;
  color: var(--bb-cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.bb-step-visual {
  position: relative;
  width: 76px;
  height: 70px;
  margin: 19px 0 18px;
}

.bb-step-visual i {
  position: absolute;
  display: block;
}

.bb-step-visual--intent i {
  left: 4px;
  width: 58px;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--bb-cyan), transparent);
}

.bb-step-visual--intent i:first-child { top: 17px; }
.bb-step-visual--intent i:nth-child(2) { top: 33px; width: 43px; }
.bb-step-visual--intent i:last-child { top: 49px; width: 51px; }

.bb-step-visual--evidence i {
  width: 38px;
  height: 46px;
  border: 1px solid rgba(77, 231, 255, 0.56);
  border-radius: 7px;
  background: rgba(77, 231, 255, 0.04);
}

.bb-step-visual--evidence i:first-child { top: 13px; left: 7px; }
.bb-step-visual--evidence i:nth-child(2) { top: 8px; left: 17px; }
.bb-step-visual--evidence i:last-child { top: 3px; left: 27px; border-color: rgba(255, 183, 77, 0.65); }

.bb-step-visual--team i {
  width: 16px;
  height: 16px;
  border: 1px solid var(--bb-cyan);
  border-radius: 50%;
  background: rgba(77, 231, 255, 0.1);
}

.bb-step-visual--team i:first-child { top: 27px; left: 30px; box-shadow: 0 0 16px rgba(77, 231, 255, 0.3); }
.bb-step-visual--team i:nth-child(2) { top: 3px; left: 30px; }
.bb-step-visual--team i:nth-child(3) { top: 20px; left: 3px; }
.bb-step-visual--team i:nth-child(4) { top: 47px; left: 13px; border-color: var(--bb-amber); }
.bb-step-visual--team i:last-child { top: 45px; left: 48px; }

.bb-step-visual--delivery {
  display: flex;
  gap: 5px;
  align-items: center;
}

.bb-step-visual--delivery i {
  position: static;
  display: grid;
  width: 31px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(77, 231, 255, 0.38);
  border-radius: 6px;
  color: #8ddbea;
  font-size: 5px;
  font-style: normal;
}

.bb-workflow-card h3,
.bb-capability-card h3 {
  margin: 0;
  color: #e8f9ff;
  font-size: 18px;
}

.bb-workflow-card p,
.bb-capability-card > p {
  margin: 11px 0 0;
  color: #879faf;
  font-size: 13px;
  line-height: 1.76;
}

.bb-card-index {
  margin-bottom: 44px;
}

.bb-card-tags span {
  color: #d1a963;
  border-color: rgba(255, 183, 77, 0.17);
  background: rgba(255, 183, 77, 0.055);
}

.bb-team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.bb-team-card {
  position: relative;
  min-width: 0;
  padding: 23px 18px 24px;
  overflow: hidden;
  border: 1px solid var(--bb-line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(11, 39, 58, 0.82), rgba(7, 24, 37, 0.78));
  text-align: center;
}

.bb-team-card::before {
  position: absolute;
  top: -78px;
  left: 50%;
  width: 190px;
  height: 190px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 208, 241, 0.18), transparent 69%);
  transform: translateX(-50%);
}

.bb-team-card img {
  position: relative;
  width: 104px;
  height: 104px;
  padding: 7px;
  object-fit: contain;
  border: 1px solid rgba(91, 223, 255, 0.25);
  border-radius: 31px;
  background: rgba(13, 47, 67, 0.62);
}

.bb-team-card small {
  display: block;
  margin: 15px 0 7px;
  color: var(--bb-cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.bb-team-card h3 {
  margin: 0;
  color: #eaf9ff;
  font-size: 18px;
}

.bb-team-card p {
  margin: 10px 0 0;
  color: #829aaa;
  font-size: 12px;
  line-height: 1.72;
}

.bb-team-rule {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  padding: 17px 21px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 183, 77, 0.17);
  border-radius: 15px;
  background: rgba(75, 52, 17, 0.08);
  font-size: 12px;
}

.bb-team-rule span { color: #7d94a3; }
.bb-team-rule strong { color: #e6c17e; }
.bb-team-rule i { width: 1px; height: 23px; margin: 0 8px; background: rgba(255, 183, 77, 0.17); }

.bb-tasks__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.73fr) minmax(560px, 1.27fr);
  gap: clamp(48px, 7vw, 95px);
  align-items: start;
}

.bb-tasks__copy {
  position: sticky;
  top: 112px;
}

.bb-tasks__copy > p:not(.bb-eyebrow) {
  margin: 20px 0 0;
  color: #8da4b3;
  font-size: 14px;
  line-height: 1.82;
}

.bb-openclaw-badge {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  padding: 15px;
  align-items: center;
  border: 1px solid rgba(255, 129, 94, 0.2);
  border-radius: 15px;
  background: rgba(86, 33, 23, 0.08);
}

.bb-openclaw-badge img {
  width: 45px;
  height: 45px;
}

.bb-openclaw-badge span,
.bb-openclaw-badge strong,
.bb-openclaw-badge small {
  display: block;
}

.bb-openclaw-badge strong { color: #f0d8ce; font-size: 12px; }
.bb-openclaw-badge small { margin-top: 4px; color: #927c76; font-size: 9px; line-height: 1.5; }

.bb-task-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.bb-task-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  min-height: 106px;
  padding: 19px;
  align-items: center;
  border: 1px solid var(--bb-line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(11, 39, 58, 0.79), rgba(7, 24, 37, 0.76));
}

.bb-task-list article > b {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(86, 224, 255, 0.25);
  border-radius: 11px;
  color: var(--bb-cyan);
  background: rgba(49, 188, 221, 0.08);
  font-size: 9px;
}

.bb-task-list article span,
.bb-task-list article strong,
.bb-task-list article small {
  display: block;
}

.bb-task-list article strong { color: #e5f7fd; font-size: 14px; }
.bb-task-list article small { margin-top: 6px; color: #7f98a8; font-size: 10px; line-height: 1.5; }

.bb-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.bb-trust-grid article {
  min-height: 230px;
  padding: 25px;
  border: 1px solid rgba(100, 222, 252, 0.19);
  border-radius: 19px;
  background:
    radial-gradient(circle at 85% 4%, rgba(39, 191, 225, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(10, 39, 57, 0.82), rgba(6, 23, 36, 0.8));
}

.bb-trust-grid article > span {
  display: block;
  margin-bottom: 38px;
  color: var(--bb-amber);
  font-size: 10px;
  font-weight: 800;
}

.bb-trust-grid h3 {
  margin: 0;
  color: #e7f8fe;
  font-size: 16px;
}

.bb-trust-grid p {
  margin: 11px 0 0;
  color: #829cab;
  font-size: 12px;
  line-height: 1.76;
}

.bb-closing__inner {
  display: flex;
  gap: 32px;
  min-height: 250px;
  padding: 45px 54px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(97, 223, 253, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 14% 50%, rgba(36, 191, 226, 0.14), transparent 31%),
    linear-gradient(135deg, rgba(11, 43, 62, 0.93), rgba(6, 23, 36, 0.94));
  text-align: left;
}

.bb-closing__inner > div > p {
  margin: 0 0 13px;
  color: var(--bb-cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.bb-closing__inner h2 {
  max-width: 820px;
  font-size: clamp(30px, 3.5vw, 51px);
}

.bb-footer .bb-container {
  display: flex;
  justify-content: space-between;
}

body.buildbuddy-page:not(.dark) {
  background: linear-gradient(180deg, #edf8fc, #f7fbfd 48%, #ebf6fa);
}

body.buildbuddy-page:not(.dark) :is(.bb-hero__copy h1, .bb-section-head h2, .bb-tasks__copy h2, .bb-closing__inner h2) {
  color: #0b2c3e;
}

@media (max-width: 1180px) {
  .bb-hero__layout {
    grid-template-columns: 1fr;
  }

  .bb-hero__copy {
    max-width: 850px;
  }

  .bb-product-figure {
    width: min(900px, 100%);
    margin: 0 auto;
  }

  .bb-team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bb-team-card:nth-child(4),
  .bb-team-card:nth-child(5) {
    transform: translateX(50%);
  }

  .bb-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .bb-tasks__layout {
    grid-template-columns: 1fr;
  }

  .bb-tasks__copy {
    position: static;
  }

  .bb-closing__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .bb-hero__copy h1 {
    font-size: clamp(46px, 15vw, 64px);
  }

  .bb-positioning {
    font-size: 13px;
  }

  .bb-window-workspace {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .bb-session-rail {
    display: flex;
    gap: 7px;
    padding: 11px;
    overflow: hidden;
    border-right: 0;
    border-bottom: 1px solid rgba(97, 213, 242, 0.13);
  }

  .bb-session-rail > b,
  .bb-session-rail > span {
    flex: 0 0 auto;
    margin: 0;
    padding: 8px 10px;
  }

  .bb-session-rail > span i,
  .bb-session-rail > span small {
    display: none;
  }

  .bb-chat-demo {
    padding: 21px 14px 19px;
  }

  .bb-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bb-team-card:nth-child(4),
  .bb-team-card:nth-child(5) {
    transform: none;
  }

  .bb-team-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 8px);
    justify-self: center;
  }

  .bb-team-rule {
    align-items: flex-start;
    flex-direction: column;
  }

  .bb-team-rule i {
    width: 100%;
    height: 1px;
    margin: 2px 0;
  }

  .bb-task-list,
  .bb-trust-grid {
    grid-template-columns: 1fr;
  }

  .bb-closing__inner {
    min-height: auto;
    padding: 33px 24px;
  }

  .bb-footer .bb-container {
    gap: 8px;
    align-items: center;
    flex-direction: column;
  }
}
