/* 828 Pros homepage effects layer (production, 2026-11-05) */
.hero{position:relative;overflow:hidden}
#hero-fx{position:absolute;inset:0;z-index:0;pointer-events:none}
.hero>.container{position:relative;z-index:1}
.fx-entry{position:relative}
#chat-fx{position:absolute;inset:-12px -16px;z-index:0;pointer-events:none}
.fx-entry>.jclc-entry{position:relative;z-index:1}
.hero-chat .fx-entry+.jclc-disclosure{margin-top:14px}
/* counters */
.example-metric number-flow{--number-flow-char-height:1em;font-variant-numeric:tabular-nums}
/* beams */
#beam-wrap{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:40px;margin-top:32px;padding:10px 0}
#beam-wrap svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
#beam-wrap .srcs{display:grid;gap:12px;justify-items:start}
#beam-wrap .node{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;background:rgba(239,232,218,.08);border:1px solid rgba(239,232,218,.22);border-radius:999px;padding:10px 16px;color:var(--cream);font-weight:700;font-size:.88rem;white-space:nowrap}
#beam-wrap #hub{width:120px;height:120px;border-radius:50%;justify-content:center;flex-direction:column;gap:2px;background:var(--dark);border:2px solid var(--amber);box-shadow:0 0 40px rgba(209,140,46,.25);font-weight:800}
#beam-wrap #hub small{color:var(--amber);font-size:.66rem;letter-spacing:.14em;text-transform:uppercase}
#beam-wrap #you{justify-self:end;border-color:rgba(168,196,191,.5);background:rgba(92,129,124,.22)}
#beam-wrap .track{fill:none;stroke:rgba(239,232,218,.14);stroke-width:1.5}
#beam-wrap .beam{fill:none;stroke-width:2.5;stroke-linecap:round;stroke-dasharray:18 82;animation:fxbeam 2.6s linear infinite;animation-play-state:paused}
#beam-wrap.in-view .beam{animation-play-state:running}
@keyframes fxbeam{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@media(max-width:639px){
  #beam-wrap{grid-template-columns:1fr;justify-items:center;gap:44px}
  #beam-wrap .srcs{grid-template-columns:repeat(2,auto);justify-content:center;justify-items:center}
  #beam-wrap #you{justify-self:center}
  #beam-wrap #hub{width:104px;height:104px;font-size:.9rem}
  #beam-wrap .node{font-size:.82rem;padding:9px 14px}
  #chat-fx{inset:-12px -12px}
}
@media(prefers-reduced-motion:reduce){#beam-wrap .beam{animation:none;stroke-dasharray:none;opacity:.6}}
/* contrast fix (pre-existing live issue): amber eyebrow on cream is 2.2:1 */
.eyebrow{color:#8a5410}
.hero .eyebrow,.capabilities .eyebrow,.dark .eyebrow,.footer .eyebrow{color:var(--amber)}

/* hide the entry glow while the chat panel/identity step replaces the entry */
.fx-entry:has(>.jclc-entry[hidden]){display:none}
.fx-entry.no-shader>.jclc-entry{box-shadow:0 0 0 2px rgba(209,140,46,.55),0 0 24px rgba(209,140,46,.25);border-radius:999px}
/* live chat panel state (data-fx set by fx script from concierge DOM) */
.jclc-panel{transition:box-shadow .6s ease}
.jclc-panel[data-fx=generating]{animation:fxpulse 1.4s ease-in-out infinite}
.jclc-panel[data-fx=done]{box-shadow:0 28px 90px rgba(0,0,0,.46),0 0 0 2px rgba(92,129,124,.75),0 0 28px rgba(92,129,124,.32)}
@keyframes fxpulse{0%,100%{box-shadow:0 28px 90px rgba(0,0,0,.46),0 0 0 1px rgba(209,140,46,.45),0 0 18px rgba(209,140,46,.16)}50%{box-shadow:0 28px 90px rgba(0,0,0,.46),0 0 0 2px rgba(224,149,50,.9),0 0 36px rgba(209,140,46,.4)}}
.jclc-message--agent .jclc-message__bubble{animation:fxtok .5s ease-out both}
@keyframes fxtok{from{opacity:0;filter:blur(3px)}to{opacity:1;filter:none}}
@media(prefers-reduced-motion:reduce){.jclc-panel[data-fx=generating]{animation:none;box-shadow:0 28px 90px rgba(0,0,0,.46),0 0 0 2px rgba(224,149,50,.8)}.jclc-message--agent .jclc-message__bubble{animation:none}}

html.jclc-mobile-chat-open .hero>.container{z-index:auto}html.jclc-mobile-chat-open .m-cta{display:none}
