/* The public homepage has its own light palette, independent of workspace preferences. */
:root {
  --bg: #fbfaff;
  --bg2: #f5f3ff;
  --panel: #fff;
  --line: #e7e4f1;
  --text: #242139;
  --muted: #645f78;
  --dim: #706a82;
  --brand: #6651d9;
  --codebg: #faf9ff;
  --codetext: #353047;
}

html { color-scheme: light; background: #fbfaff; }
body.labs-home {
  background: radial-gradient(ellipse 70% 650px at 75% 10%, #f0edff 0%, transparent 75%), #fdfcff !important;
  color: var(--text) !important;
}
.labs-home .supafone-ghost-scene, .labs-home .aurora { display: none; }
.labs-home .wrap { max-width: 1180px; }
.labs-home nav { padding: 20px 24px 0 !important; }
.labs-home nav .wrap {
  max-width: 1180px !important;
  padding: 10px 16px !important;
  border: 1px solid #e8e5f2 !important;
  border-radius: 20px !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 8px 24px -18px #88809f !important;
}
.labs-home nav .links { background: transparent !important; }
.labs-home nav .links a { padding: 8px 11px !important; color: #625c75 !important; }
.labs-home nav .links a.btn {
  background: #eee9ff !important;
  color: #5541b7 !important;
  border: 1px solid #ded6fb !important;
  margin-left: 6px;
}
.labs-home nav .links a.btn:hover { background: #e4dcff !important; }
.labs-home a:focus-visible, .labs-home button:focus-visible {
  outline: 3px solid #8872e4;
  outline-offset: 4px;
}
.labs-home header { padding: 72px 0 64px !important; }
.labs-home .hero { gap: 40px; align-items: center; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); }
.labs-home h1 { font-size: clamp(44px,4.8vw,66px); line-height: 1.07; color: #28233e !important; }
.labs-home h2 { color: #28233e !important; font-size: clamp(30px,3.4vw,44px); line-height: 1.15; text-wrap: balance; }
.labs-home .serif { color: #7360db !important; }
.labs-home .announce {
  padding: 7px 12px;
  font-size: 12px;
  border-color: #e6dff9;
  background: #fff;
  color: #645c7c;
}
.labs-home .announce b { color: #6950c5; }
.labs-home .eyebrow { color: #726486 !important; font-size: 11px; margin: 8px 0 18px; }
.labs-home .sub { font-size: 17px; color: #645f78 !important; line-height: 1.75; }
.labs-home .hero .sub { max-width: 500px; margin-top: 22px; }
.labs-home .hero-note { color: #736c84 !important; font-size: 13px; line-height: 1.65; margin: 18px 0 0; max-width: 430px; }
.labs-home .btn { min-height: 46px; padding: 12px 20px; border-radius: 12px !important; }
.labs-home .btn-p { background: #6b55d8 !important; box-shadow: 0 5px 14px -7px #8b76d5 !important; }
.labs-home .btn-p:hover { background: #5d47c6 !important; }
.labs-home .btn-g { background: #fff !important; color: #514567 !important; border: 1px solid #dfd9ee !important; }
.labs-home .btn-g:hover { background: #f5f1ff !important; }
.labs-home .pkg-badges { gap: 14px; margin-top: 22px; }
.labs-home .pkg-badge { border: 0; padding: 4px 0; font-size: 11px; color: #736c84; }
.labs-home .pkg-badge b { color: #625975; font-weight: 500; }

.labs-home .hero-demo {
  padding: 0;
  border: 1px solid #e0d9f2 !important;
  border-radius: 24px;
  background: #fff !important;
  box-shadow: 0 20px 60px -34px rgba(88,65,140,.35), 0 2px 8px rgba(88,65,140,.03) !important;
  overflow: hidden;
}
.labs-home .hero-demo .demo-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  margin: 0;
  background: #faf8ff;
  border-bottom: 1px solid #eee8f7;
  font-size: 12px;
  color: #5e5377 !important;
  text-transform: none !important;
}
.diagram-dot { width: 7px; height: 7px; border-radius: 50%; background: #a58ce5; }
.diagram-badge { margin-left: auto; color: #786a91; font-size: 10px; font-weight: 400; }
.labs-home .harness-map { padding: 20px; color: #534764; }
.labs-home .harness-layer {
  padding: 15px 16px;
  border: 1px solid #eae4f3;
  border-radius: 14px;
  background: #fdfcff;
  gap: 5px;
}
.labs-home .harness-layer small { font-size: 10px; color: #786b8c; opacity: 1; }
.labs-home .hero-demo .harness-layer strong { color: #392d52 !important; font-size: 17px; }
.labs-home .hero-demo .harness-layer span { color: #70627f !important; font-size: 12px; line-height: 1.6; }
.labs-home .harness-core { border-color: #d9cdf5; background: #f5f0ff; }
.labs-home .harness-arrow { color: #b3a3cd; line-height: 26px; font-size: 20px; opacity: 1; }
.labs-home .harness-models { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.labs-home .harness-models > span {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr);
  column-gap: 9px;
  align-items: center;
  border: 1px solid #eae5f3;
  background: #fff;
  padding: 10px;
  border-radius: 11px;
  font-size: 12px;
}
.labs-home .harness-models i {
  display: grid;
  place-items: center;
  grid-row: span 2;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #eee8fb;
  color: #7951b4;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}
.labs-home .harness-models > span:nth-child(2) i { background: #e9f4ef; color: #448b6b; }
.labs-home .harness-models > span:nth-child(3) i { background: #edf0ff; color: #6278b2; }
.labs-home .harness-models > span:nth-child(4) i { background: #f1edf3; color: #807185; }
.labs-home .harness-models > span:last-child { grid-column: 1 / -1; }
.labs-home .harness-models > span:last-child i { background: #fff1e6; color: #b47947; }
.labs-home .harness-models b { color: #514264; font-weight: 500; line-height: 1.5; }
.labs-home .harness-models small { color: #7e728c; font-size: 10px; line-height: 1.6; opacity: 1; }
.labs-home .hero-demo .harness-caption { font-size: 11px; color: #80758d !important; line-height: 1.65; margin-top: 14px; }
.labs-home .developer-priorities { gap: 16px; margin-top: 4px; }
.labs-home .priority-card {
  border: 1px solid #e8e2f2;
  border-radius: 16px;
  background: rgba(255,255,255,.8);
  padding: 23px;
  box-shadow: none;
}
.labs-home .priority-card b { color: #514164; }
.labs-home .priority-card small { color: #786195; }
.labs-home .priority-card span { color: #73677f; }

.labs-home .stack-strip { background: #fff; border-color: #ece7f4; box-shadow: none; padding: 40px 0 26px; }
.labs-home .stack-strip-copy h2 { font-size: 30px; }
.labs-home .stack-strip-copy p { font-size: 14px; }
.labs-home .stack-strip .brand { border: 1px solid #ebe6f2 !important; box-shadow: none !important; padding: 12px 18px; font-size: 15px; }
.labs-home section { padding: 76px 0; }
.labs-home #agent-framework { background: #f7f5fc; border-block: 1px solid #ece7f4; }
.labs-home .how { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 30px; }
.labs-home .how-step {
  border: 1px solid #e8e2f0 !important;
  border-radius: 16px;
  background: #fff !important;
  box-shadow: 0 3px 12px -9px #b4a9c6 !important;
  padding: 22px;
}
.labs-home .how-step .hn { color: #40334f; font-size: 16px; }
.labs-home .feature-copy { color: #72657e; line-height: 1.7; }
.labs-home .feature-icon { background: #f3edfc; color: #8660b0; border-color: #e6daf7; border-radius: 11px; }
.labs-home code { color: #775397 !important; overflow-wrap: anywhere; }
.labs-home .install {
  max-width: 800px;
  background: #fff !important;
  border: 1px solid #e1d8ef !important;
  border-radius: 16px;
  box-shadow: 0 10px 32px -24px #ad9dc9 !important;
}
.labs-home .install-bar { background: #f0ebf8; border-bottom: 1px solid #e5ddef; padding: 11px 18px; }
.labs-home .install-bar .lang { color: #6f5d84; }
.labs-home .install-bar button { color: #67507e; background: #fff; border: 1px solid #dacfea; padding: 7px 14px; }
.labs-home .install-cmd { background: #fdfcff !important; color: #51445e !important; font-size: 13px; line-height: 1.85; padding: 24px; }
.labs-home .install-cmd .p { color: #8a53b2 !important; }
.labs-home .method-video { background: #f3eefb; border: 1px solid #e6ddef; border-radius: 20px; box-shadow: 0 12px 36px -28px #aa98c5; }
.labs-home .pricing { max-width: 860px; gap: 20px; }
.labs-home .price-card { border: 1px solid #e5ddef !important; background: #fff !important; border-radius: 20px; box-shadow: none !important; padding: 30px; }
.labs-home .price-card.pro { background: #f7f3ff !important; border-color: #d6c6f1 !important; }
.labs-home .price-card h3, .labs-home .price { color: #49345b !important; }
.labs-home .price { font-size: 36px; }
.labs-home .price-card li { color: #70617b; }
.labs-home footer { border-color: #eae3f2; background: #fff; }
.labs-home footer .wrap > div:last-child { flex-wrap: wrap; }
.labs-home .powered-by { background: #fff; color: #88798f !important; }

@media (max-width: 1000px) {
  .labs-home nav .links a { padding-inline: 8px !important; font-size: 12px !important; }
  .labs-home .hero { gap: 28px; }
  .labs-home h1 { font-size: 48px; }
  .labs-home .how { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 920px) {
  .labs-home .hero { grid-template-columns: 1fr; max-width: 720px; }
  .labs-home .hero-copy { max-width: 600px; }
  .labs-home .hero-demo { width: 100%; }
}
@media (max-width: 760px) {
  .labs-home nav { padding: 12px 14px 0 !important; }
  .labs-home nav .wrap { border-radius: 16px !important; padding: 8px 12px !important; }
  .labs-home nav .links { background: #fff !important; border-radius: 16px !important; box-shadow: 0 10px 24px -12px #c3b8d6 !important; }
  .labs-home nav .links a { font-size: 14px !important; padding: 12px !important; }
  .labs-home nav .links a.btn { margin: 0; }
  .labs-home header { padding: 40px 0 !important; }
  .labs-home h1 { font-size: clamp(36px,8.7vw,50px) !important; line-height: 1.12 !important; }
  .labs-home .announce { font-size: 11px; padding: 7px 10px; gap: 5px; flex-wrap: wrap; }
  .labs-home .sub { font-size: 16px !important; }
  .labs-home .cta-row { gap: 10px; margin-top: 24px; }
  .labs-home .pkg-badges { gap: 12px; }
  .labs-home .pkg-badge { font-size: 10px; }
  .labs-home .hero-demo .demo-title { padding: 14px 16px; }
  .labs-home .harness-map { padding: 14px; }
  .labs-home .harness-layer { padding: 14px; }
  .labs-home .harness-models { grid-template-columns: 1fr 1fr; }
  .labs-home .harness-models > span { grid-template-columns: 24px minmax(0,1fr); column-gap: 6px; padding: 9px 7px; font-size: 11px; }
  .labs-home .harness-models i { width: 24px; height: 26px; }
  .labs-home .harness-models small { font-size: 9px; }
  .labs-home .developer-priorities { grid-template-columns: 1fr; }
  .labs-home .how { grid-template-columns: 1fr; }
  .labs-home .how-step { min-height: 0; }
  .labs-home section { padding: 52px 0; }
  .labs-home .install-cmd { font-size: 11px; padding: 18px; }
  .labs-home .pricing { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .labs-home *, .labs-home *::before, .labs-home *::after { animation: none !important; transition: none !important; }
  .labs-home [data-rv] { opacity: 1; transform: none; filter: none; }
}

/* Shared workflow illustration: intentionally distinct from the optional coach. */
.manager-lab { margin-top: 64px; padding: 36px; border: 1px solid #e1daef; border-radius: 24px; background: linear-gradient(135deg,#faf8ff,#fff 65%); box-shadow: 0 16px 50px -40px #776095; }
.manager-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.manager-heading h3 { margin: 10px 0 0; color: #302741; font-size: clamp(26px,3vw,34px); line-height: 1.2; letter-spacing: -.025em; }
.manager-heading p { font-size: 14px; line-height: 1.8; color: #6b607d; margin: 0; }
.manager-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 24px; }
.manager-tabs button { border: 1px solid #e5deef; border-radius: 12px; padding: 13px 12px; background: #fff; color: #8e7da3; text-align: left; font: 11px/1.4 ui-monospace,monospace; cursor: pointer; }
.manager-tabs button span { margin-left: 8px; color: #756584; font: 600 13px/1.4 Inter,system-ui,sans-serif; }
.manager-tabs button[aria-selected="true"] { background: #eee8fc; border-color: #cbbcec; color: #6750af; }
.manager-tabs button[aria-selected="true"] span { color: #4e397f; }
.manager-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: center; }
.manager-map { background: #fff; border: 1px solid #e7e0ef; padding: 22px; border-radius: 18px; min-width: 0; }
.manager-node { display: flex; gap: 12px; align-items: center; background: #f1ebff; border: 1px solid #dacef2; border-radius: 12px; padding: 16px; color: #604595; }
.manager-node > .ui-icon { width: 25px; height: 25px; flex-shrink: 0; }
.manager-node strong,.manager-gate strong { display: block; font-size: 14px; color: #3e3056; }
.manager-node div > span,.manager-gate div > span { display: block; color: #776687; font-size: 10px; line-height: 1.6; margin-top: 3px; }
.manager-tag { margin-left: auto; font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.manager-branch { display: grid; grid-template-columns: repeat(3,1fr); color: #c2b0d4; text-align: center; font-size: 18px; height: 28px; align-items: center; }
.manager-specialists { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.manager-specialists > div { padding: 12px 6px; border: 1px solid #eae4ef; background: #fbf9fd; border-radius: 10px; text-align: center; color: #9b8aa9; transition: background .2s,border-color .2s; }
.manager-specialists .ui-icon { display: block; margin: 0 auto 8px; width: 20px; height: 20px; }
.manager-specialists strong { display: block; font-size: 11px; color: #756185; }
.manager-specialists span { display: block; font-size: 9px; line-height: 1.5; margin-top: 4px; }
.manager-specialists [data-active="true"] { background: #f0ebfc; border-color: #bfa9e1; color: #7753b4; }
.manager-specialists [data-active="true"] strong { color: #573b85; }
.manager-connector { height: 26px; display: grid; place-items: center; color: #c2b0d4; }
.manager-gate { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid #cfdfd6; border-radius: 11px; background: #f5faf6; color: #708e7a; }
.manager-gate > .ui-icon { flex-shrink: 0; }
.manager-gate strong { font-size: 12px; }
.manager-gate b { font-size: 9px; margin-left: auto; white-space: nowrap; color: #57795e; }
.manager-lab[data-manager-step="evidence"] .manager-gate { background: #fffaf1; border-color: #eadbbd; color: #9f844f; }
.manager-lab[data-manager-step="evidence"] .manager-gate b { color: #967841; }
.manager-voice { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 6px 0; }
.manager-voice > span { display: flex; align-items: center; gap: 7px; color: #746180; }
.manager-voice strong { font-size: 11px; font-weight: 500; }
.manager-models { display: flex; gap: 8px; }
.manager-models img { width: 21px; height: 21px; object-fit: contain; }
.manager-flow { display: flex; align-items: center; gap: 8px; margin-top: 15px; border-top: 1px solid #eee8f2; padding-top: 14px; }
.manager-flow span { padding: 6px 8px; font-size: 9px; border-radius: 5px; color: #a99ab2; background: #faf8fc; }
.manager-flow i { color: #cabfd2; font-size: 11px; font-style: normal; }
.manager-flow [data-active="true"],.manager-lab[data-manager-step="assign"] [data-manager-call-stage="booking"] { color: #705494; background: #eee7f7; }
.manager-example-label { display: block; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #a58eac; }
.manager-explanation h4 { margin: 16px 0 12px; font-size: 24px; line-height: 1.2; color: #45334f; font-weight: 500; letter-spacing: -.025em; }
.manager-explanation > p { font-size: 13px; color: #7a687f; line-height: 1.8; }
.manager-evidence { margin: 22px 0 18px; padding: 16px; background: #fff; border: 1px solid #e5dde9; border-radius: 10px; }
.manager-evidence > span { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: #a391b0; }
.manager-evidence p { color: #72607f; font: 11px/1.85 ui-monospace,monospace; margin: 7px 0 0; }
.manager-explanation .manager-outcome { color: #a08ba7; font-size: 11px; }
.manager-boundaries { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 26px 0 17px; padding-top: 20px; border-top: 1px solid #e8e0f0; }
.manager-boundaries span { color: #9982a4; font-size: 11px; line-height: 1.8; }
.manager-boundaries b { display: block; color: #6e547e; font-weight: 500; }
.capability-notes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 30px 0; }
.capability-notes article { border: 1px solid #e6e0f0; border-radius: 16px; padding: 24px; background: #fff; }
.capability-notes .ui-icon { color: #8c74bc; width: 25px; height: 25px; }
.capability-notes h3 { color: #58436b; font-size: 16px; font-weight: 500; margin: 15px 0 10px; }
.capability-notes p { color: #887393; font-size: 12px; line-height: 1.85; margin: 0; }
@media(max-width:900px) { .manager-layout { grid-template-columns: 1.1fr 1fr; gap: 24px; } .manager-node { padding: 12px; } .manager-tag { display: none; } .manager-gate { flex-wrap: wrap; } .manager-gate b { margin-left: 30px; } .manager-voice { flex-wrap: wrap; } }
@media(max-width:760px) { .manager-lab { padding: 22px; margin-top: 40px; } .manager-heading,.manager-layout { grid-template-columns: 1fr; gap: 24px; } .manager-heading h3 { font-size: 28px; } .manager-tabs { gap: 6px; } .manager-tabs button { text-align: center; padding: 12px 5px; } .manager-tabs button span { display: block; margin: 4px 0 0; font-size: 11px; } .manager-map { padding: 16px; } .manager-gate b { margin-left: auto; } .manager-voice { flex-wrap: nowrap; } .manager-boundaries,.capability-notes { grid-template-columns: 1fr; gap: 14px; } .manager-models { gap: 6px; } .manager-models img { width: 18px; height: 18px; } }
@media(prefers-reduced-motion:reduce) { .manager-specialists > div { transition: none; } }
