PageSourceSearch

https://onlinebizbuilders.com/assets/Lab-LYoqrtbU.js

js onlinebizbuilders.com collected 2026-10-08 00:37:27 UTC 92,591 bytes, 217 lines download raw bytes

1import{u as Je,i as Ae,c as A,j as e,R as et,a as ee,r as c,b as p,m as b,A as R,S as ce,X as tt,d as at,e as st,f as nt,U as rt,C as lt,g as ot,h as it,B as ct,O as dt,k as xt,l as _e}from"./index-Dfwm6aI_.js";import{P as mt,a as ut,S as Ne,E as pt}from"./Exhibit06-ibLlfnNo.js";function ht(t,...a){const n=t.length;function s(){let l="";for(let i=0;i<n;i++){l+=t[i];const r=a[i];r&&(l+=Ae(r)?r.get():r)}return l}return Je(a.filter(Ae),s)}/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const bt=A("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/**
7 * @license lucide-react v0.462.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const Se=A("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
12 * @license lucide-react v0.462.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */const ft=A("Boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);/**
17 * @license lucide-react v0.462.0 - ISC
18 *
19 * This source code is licensed under the ISC license.
20 * See the LICENSE file in the root directory of this source tree.
21 */const Ue=A("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
22 * @license lucide-react v0.462.0 - ISC
23 *
24 * This source code is licensed under the ISC license.
25 * See the LICENSE file in the root directory of this source tree.
26 */const gt=A("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]]);/**
27 * @license lucide-react v0.462.0 - ISC
28 *
29 * This source code is licensed under the ISC license.
30 * See the LICENSE file in the root directory of this source tree.
31 */const De=A("DoorOpen",[["path",{d:"M13 4h3a2 2 0 0 1 2 2v14",key:"hrm0s9"}],["path",{d:"M2 20h3",key:"1gaodv"}],["path",{d:"M13 20h9",key:"s90cdi"}],["path",{d:"M10 12v.01",key:"vx6srw"}],["path",{d:"M13 4.562v16.157a1 1 0 0 1-1.242.97L5 20V5.562a2 2 0 0 1 1.515-1.94l4-1A2 2 0 0 1 13 4.561Z",key:"199qr4"}]]);/**
32 * @license lucide-react v0.462.0 - ISC
33 *
34 * This source code is licensed under the ISC license.
35 * See the LICENSE file in the root directory of this source tree.
36 */const yt=A("FlaskConical",[["path",{d:"M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2",key:"pzvekw"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M7 16h10",key:"wp8him"}]]);/**
37 * @license lucide-react v0.462.0 - ISC
38 *
39 * This source code is licensed under the ISC license.
40 * See the LICENSE file in the root directory of this source tree.
41 */const Ee=A("Frown",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 16s-1.5-2-4-2-4 2-4 2",key:"epbg0q"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]);/**
42 * @license lucide-react v0.462.0 - ISC
43 *
44 * This source code is licensed under the ISC license.
45 * See the LICENSE file in the root directory of this source tree.
46 */const vt=A("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
47 * @license lucide-react v0.462.0 - ISC
48 *
49 * This source code is licensed under the ISC license.
50 * See the LICENSE file in the root directory of this source tree.
51 */const Be=A("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
52 * @license lucide-react v0.462.0 - ISC
53 *
54 * This source code is licensed under the ISC license.
55 * See the LICENSE file in the root directory of this source tree.
56 */const jt=A("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
57 * @license lucide-react v0.462.0 - ISC
58 *
59 * This source code is licensed under the ISC license.
60 * See the LICENSE file in the root directory of this source tree.
61 */const be=A("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
62 * @license lucide-react v0.462.0 - ISC
63 *
64 * This source code is licensed under the ISC license.
65 * See the LICENSE file in the root directory of this source tree.
66 */const ve=A("Smile",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}
66],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]);/**
67 * @license lucide-react v0.462.0 - ISC
68 *
69 * This source code is licensed under the ISC license.
70 * See the LICENSE file in the root directory of this source tree.
71 */const qe=A("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
72 * @license lucide-react v0.462.0 - ISC
73 *
74 * This source code is licensed under the ISC license.
75 * See the LICENSE file in the root directory of this source tree.
76 */const Re=A("Thermometer",[["path",{d:"M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"17jzev"}]]);/**
77 * @license lucide-react v0.462.0 - ISC
78 *
79 * This source code is licensed under the ISC license.
80 * See the LICENSE file in the root directory of this source tree.
81 */const wt=A("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]),J=[{num:"01",slug:"revenue-engine",kicker:"Simulation",title:"The 90-Day Revenue Engine",blurb:"Press play and watch ad spend turn into booked assessments, then starts, then revenue, racing the $150,000 guarantee line in real time.",tone:"navy"},{num:"02",slug:"calendar-filler",kicker:"Live demo",title:"Watch Your Calendar Fill",blurb:"Turn up the spend dial and watch qualified families drop booked assessments onto your week, each one exclusively yours.",tone:"navy"},{num:"03",slug:"tug-of-war",kicker:"Play it",title:"The Shared-Lead Tug-of-War",blurb:"Fight four other agencies for the same recycled lead. Then flip the switch and feel what exclusive is like.",tone:"light"},{num:"04",slug:"growth-diagnostic",kicker:"Diagnostic",title:"Find Your Growth Bottleneck",blurb:"Answer six quick questions and get a live read on what is actually capping your starts.",tone:"navy"},{num:"05",slug:"family-journey",kicker:"Scrollytelling",title:"One Family's Journey to a Start",blurb:"Follow one family from a worried Facebook scroll, to the ad that stops them, to a screening call, to an 18-month start, and watch what that one assessment is really worth.",tone:"light"},{num:"06",slug:"start-value",kicker:"Builder",title:"What One Start Is Really Worth",blurb:"Stack the hours, the rate, and the months of care to see the true lifetime value hiding behind one booked assessment.",tone:"navy"},{num:"07",slug:"cheap-lead-trap",kicker:"Cost truth",title:"The Cheap-Lead Trap",blurb
81:"Cheap shared leads look like a bargain. Follow them down to what a booked assessment and a real start actually cost.",tone:"light"}];function kt({exhibit:t,children:a}){return e.jsx("section",{id:t.slug,className:"scroll-mt-24 border-t border-canvas-rule py-16 first:border-t-0 md:py-24",children:e.jsxs("div",{className:"measure-page mx-auto px-5 md:px-6",children:[e.jsxs(et,{children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-x-4 gap-y-2",children:[e.jsx("span",{className:"font-display text-3xl font-extrabold leading-none tracking-tight obb-grad-text tabular md:text-4xl",children:t.num}),e.jsxs("span",{className:"callsign text-ink-muted",children:[e.jsx("span",{className:"callsign-dot"})," Exhibit ",t.num," / ",J.length," ","· ",t.kicker]})]}),e.jsx("h2",{className:"mt-4 max-w-[20ch] font-display text-3xl font-bold leading-[1.05] tracking-tight text-ink md:text-5xl",children:t.title}),e.jsx("p",{className:"measure-lg mt-4 text-balance text-lg text-ink-soft",children:t.blurb}),e.jsx("div",{className:"obb-grad-rule mt-7 w-16"})]}),e.jsx("div",{className:"mt-9 md:mt-12",children:a})]})})}const Nt=225,Xe=.45,St=4e3,G=15e4,Mt=100,Z=50,de=300,Y=90,Ct=9,X=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0});function pe(t,a){const l=a*30/Nt/30*t,i=l*Xe,r=i*St*3;return{booked:l,starts:i,revenue:r}}function At(t){for(let a=1;a<=Y;a++)if(pe(a,t).revenue>=G)return a;return null}function _t(){const t=ee(),[a,n]=c.useState(Mt),[s,l]=c.useState(!1),[i,r]=c.useState(1),[o,x]=c.useState(0),[d,m]=c.useState(null),u=c.useRef(0),h=c.useRef(a),j=c.useRef(i),f=c.useRef(!1),g=c.useRef(null),N=c.useRef(null),w=c.useRef(null),M=c.useRef(0),[B,V]=c.useState(0);c.useEffect(()=>{h.current=a},[a]),c.useEffect(()=>{j.current=i},[i]);const S=!!t,I=S?Y:o,O=c.useMemo(()=>pe(I,a),[I,a]),H=S?At(a):d;Math.min(O.revenue/G,1.18);const v=1,k=1.18,D=c.useCallback(_=>{g.current==null&&(g.current=Math.max(1,Math.round(_)),m(g.current),M.current+=1,V(M.current))},[]),C=c.useCallback(()=>{N.current!=null&&cancelAnimationFrame(N.current),N.current=null,w.current=null},[]),T=c.useCallback(_=>{if(!f.current)return;w.current==null&&(w.current=_);const W=Math.min((_-w.current)/1e3,.05);w.current=_;const Qe=Ct*j.current;let $=u.current+W*Qe;if($>=Y){$=Y,u.current=$,x($),pe($,h.current).revenue>=G&&D($),f.current=!1,l(!1),C();return}u.current=$,x($),pe($,h.current).revenue>=G&&D($),N.current=requestAnimationFrame(T)},[D,C]),U=c.useCallback(()=>{C(),N.current=requestAnimationFrame(T)},[T,C]),P=c.useCallback(()=>{S||(f.current?(f.current=!1,l(!1),C()):(u.current>=Y&&(u.current=0,x(0),g.current=null,m(null)),f.current=!0,l(!0),U()))},[S,U,C]),te=c.useCallback(()=>{C(),f.current=!1,l(!1),u.current=0,x(0),g.current=null,m(null),w.current=null},[C]);c.useEffect(()=>()=>C(),[C]);const y=s&&!S,E=Math.round(6+(a-Z)/(de-Z)*8),Ce=Math.min(Math.round(I),Y),ye=H!=null;return e.jsxs("div",{className:p("w-full overflow-hidden rounded-3xl border border-white/10 bg-navy text-on-navy","p-5 sm:p-7 md:p-10"),children:[e.jsx("style",{children:`
82        @keyframes lab-01-dash { to { stroke-dashoffset: -22; } }
83        @keyframes lab-01-pulse { 0%,100%{opacity:.5} 50%{opacity:1} }
84        .lab-01-flowline { stroke-dasharray: 6 5; animation: lab-01-dash 1.1s linear infinite; }
85        .lab-01-flowline.is-paused { animation: none; }
86      `}),e.jsxs("div",{className:"flex flex-wrap items-end justify-between gap-3",children:[e.jsxs("div",{children:[e.jsxs("p",{className:"callsign",style:{color:"rgba(255,255,255,0.55)"},children:[e.jsx("span",{className:"callsign-dot"})," 90-DAY ENGINE"]}),e.jsxs("p",{className:"mt-3 max-w-xl text-sm leading-relaxed text-on-navy-muted sm:text-[15px]",children:["The promise as a machine: spend in, booked assessments and starts out, revenue climbing. ",X.format(G)," in new revenue in 90 days, or we work for free."]})]}),e.jsxs("div",{className:"rounded-full border border-white/10 bg-navy-deep px-3 py-1.5 font-mono text-[11px] uppercase tracking-[0.14em] text-on-navy-muted",children:["Day"," ",e.jsx("span",{className:"tabular text-white",children:Ce})," / ",Y]})]}),e.jsxs("div",{className:"mt-6 grid gap-5 md:grid-cols-[minmax(0,1fr)_minmax(0,1.05fr)] md:gap-6",children:[e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[e.jsx(Oe,{label:"Booked assessments",value:Math.floor(O.booked),tone:"blue"}),e.jsx(Oe,{label:"Starts",value:Math.floor(O.starts),tone:"go"})]}),e.jsxs("div",{className:"rounded-2xl border border-white/10 bg-navy-deep p-4",children:[e.jsx("p",{className:"font-mono text-[11px] uppercase tracking-[0.14em] text-on-navy-muted",children:"New revenue, first 90 days"}),e.jsx("p",{className:"mt-1 font-display text-3xl font-semibold tabular obb-grad-text sm:text-4xl",children:X.format(O.revenue)}),e.jsx("p",{className:"mt-1 text-[11px] text-on-navy-muted",children:"Illustrative projection. Figures model the math, not a forecast."})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2.5",children:[e.jsx("button",{type:"button",onClick:P,disabled:S,"aria-label":s?"Pause simulation":"Play simulation",className:p("inline-flex min-h-[44px] flex-1 items-center justify-center gap-2 rounded-full px-5 text-sm font-semibold text-white obb-grad-bg","shadow-[0_8px_24px_-8px_rgba(37,99,235,0.7)] transition-transform active:scale-[0.98]",S&&"opacity-50"),children:s?e.jsxs(e.Fragment,{children:[e.jsx(mt,{className:"h-4 w-4","aria-hidden":!0})," Pause"]}):e.jsxs(e.Fragment,{children:[e.jsx(ut,{className:"h-4 w-4","aria-hidden":!0})," ",o>=Y?"Replay":"Play"]})}),e.jsxs("button",{type:"button",onClick:te,"aria-label":"Restart simulation",className:"inline-flex min-h-[44px] items-center justify-center gap-2 rounded-full border border-white/15 bg-navy-deep px-4 text-sm font-medium text-on-navy transition-colors hover:border-white/30 active:scale-[0.98]",children:[e.jsx(be,{className:"h-4 w-4","aria-hidden":!0})," Restart"]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"mb-1.5 font-mono text-[11px] uppercase tracking-[0.14em] text-on-navy-muted",children:"Speed"}),e.jsx("div",{role:"group","aria-label":"Simulation speed",className:"inline-flex w-full rounded-full border border-white/10 bg-navy-deep p-1",children:[1,2,4].map(_=>{const W=i===_;return e.jsxs("button",{type:"button",onClick:()=>r(_),"aria-pressed":W,"aria-label":`${_} times speed`,className:p("relative min-h-[40px] flex-1 rounded-full text-sm font-semibold transition-colors",W?"text-white":"text-on-navy-muted hover:text-white"),children:[W&&e.jsx(b.span,{layoutId:"lab-01-speed-
86pill",className:"absolute inset-0 rounded-full obb-grad-bg",transition:{type:"spring",stiffness:380,damping:30},"aria-hidden":!0}),e.jsxs("span",{className:"relative",children:[_,"x"]})]},_)})})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"mb-1.5 flex items-baseline justify-between",children:[e.jsx("p",{className:"font-mono text-[11px] uppercase tracking-[0.14em] text-on-navy-muted",children:"Daily ad spend"}),e.jsxs("p",{className:"font-display text-lg font-semibold tabular text-brand-cyan",children:[X.format(a),e.jsx("span",{className:"ml-1 text-xs font-normal text-on-navy-muted",children:"/ day"})]})]}),e.jsx("input",{type:"range",min:Z,max:de,step:5,value:a,onChange:_=>n(Number(_.target.value)),"aria-label":"Daily ad spend in dollars",className:"lab-01-range w-full",style:{"--pct":`${(a-Z)/(de-Z)*100}%`}}),e.jsxs("div",{className:"mt-1 flex justify-between text-[11px] text-on-navy-muted",children:[e.jsx("span",{children:X.format(Z)}),e.jsx("span",{children:X.format(de)})]}),e.jsx("style",{children:`
87              .lab-01-range {
88                -webkit-appearance: none; appearance: none;
89                height: 6px; border-radius: 999px;
90                background: linear-gradient(90deg,
91                  #2563EB 0%, #38BDF8 var(--pct), rgba(255,255,255,0.14) var(--pct), rgba(255,255,255,0.14) 100%);
92                outline: none;
93              }
94              .lab-01-range::-webkit-slider-thumb {
95                -webkit-appearance: none; appearance: none;
96                width: 22px; height: 22px; border-radius: 999px;
97                background: #fff; border: 3px solid #38BDF8;
98                box-shadow: 0 4px 12px -2px rgba(56,189,248,0.6); cursor: pointer;
99              }
100              .lab-01-range::-moz-range-thumb {
101                width: 22px; height: 22px; border-radius: 999px;
102                background: #fff; border: 3px solid #38BDF8;
103                box-shadow: 0 4px 12px -2px rgba(56,189,248,0.6); cursor: pointer;
104              }
105              .lab-01-range:focus-visible::-webkit-slider-thumb { outline: 2px solid #fff; outline-offset: 2px; }
106            `})]})]}),e.jsxs("div",{className:"relative flex min-h-[320px] flex-col gap-4 roun
106ded-2xl border border-white/10 bg-navy-deep p-4 sm:p-5",children:[e.jsx(Dt,{active:y,particleCount:E,convertRate:Xe,reduce:!!S}),e.jsx(Et,{revenue:O.revenue,meterScale:k,floorPct:v,cleared:H,reduce:!!S}),e.jsx(R,{children:!S&&B>0&&d!=null&&e.jsx(Bt,{},B)}),e.jsx(R,{children:ye&&e.jsxs(b.div,{initial:S?!1:{opacity:0,y:10,scale:.9},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,scale:.9},transition:{type:"spring",stiffness:320,damping:22},className:"pointer-events-none absolute right-4 top-4 inline-flex items-center gap-1.5 rounded-full border border-go/40 bg-go/15 px-3 py-1.5 text-xs font-semibold text-go shadow-[0_6px_20px_-6px_rgba(34,197,94,0.6)]",children:[e.jsx(Ne,{className:"h-3.5 w-3.5","aria-hidden":!0}),"Floor cleared on Day ",H]})})]})]})]})}function Oe({label:t,value:a,tone:n}){return e.jsxs("div",{className:"rounded-2xl border border-white/10 bg-navy-deep p-4",children:[e.jsx("p",{className:"font-mono text-[11px] uppercase leading-tight tracking-[0.12em] text-on-navy-muted",children:t}),e.jsx("p",{className:p("mt-1 font-display text-2xl font-semibold tabular sm:text-3xl",n==="go"?"text-go":"text-brand-cyan"),children:a.toLocaleString()})]})}function Dt({active:t,particleCount:a,convertRate:n,reduce:s}){const l=[{x:30,label:"Spend",color:"#38BDF8"},{x:150,label:"Booked",color:"#2563EB"},{x:270,label:"Starts",color:"#22C55E"}],i=Array.from({length:a},(r,o)=>o);return e.jsxs("div",{children:[e.jsxs("svg",{viewBox:"0 0 300 80",className:"w-full","aria-hidden":!0,preserveAspectRatio:"xMidYMid meet",children:[e.jsx("line",{x1:l[0].x,y1:40,x2:l[1].x,y2:40,stroke:"#38BDF8",strokeWidth:2,strokeOpacity:.45,className:p("lab-01-flowline",(!t||s)&&"is-paused")}),e.jsx("line",{x1:l[1].x,y1:40,x2:l[2].x,y2:40,stroke:"#22C55E",strokeWidth:2,strokeOpacity:.45,className:p("lab-01-flowline",(!t||s)&&"is-paused")}),l.map(r=>e.jsxs("g",{children:[e.jsx("circle",{cx:r.x,cy:40,r:14,fill:"#0F1626",stroke:r.color,strokeWidth:2}),e.jsx("circle",{cx:r.x,cy:40,r:5,fill:r.color,fillOpacity:.85})]},r.label)),t&&!s&&i.map(r=>{const o=r%100/100<n,x=r/a*1.6,d="#38BDF8",m=o?"#22C55E":"#2563EB";return e.jsx(b.circle,{r:3,cy:40,initial:{cx:l[0].x,opacity:0},animate:{cx:o?l[2].x:l[1].x,opacity:[0,1,1,o?1:.2,0],fill:[d,d,m,m,m]},transition:{duration:o?2.6:1.4,delay:x,repeat:1/0,repeatDelay:.2,ease:"linear"},fill:d},r)})]}),e.jsxs("div",{className:"mt-1 flex justify-between px-1 font-mono text-[10px] uppercase tracking-[0.1em] text-on-navy-muted",children:[e.jsx("span",{children:"Spend"}),e.jsx("span",{children:"Booked"}),e.jsx("span",{className:"text-go",children:"Starts"})]})]})}function Et({revenue:t,meterScale:a,floorPct:n,cleared:s,reduce:l}){const i=Math.min(t/G/a,1),r=n/a,o=t>=G;return e.jsxs("div",{className:"mt-auto",children:[e.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[e.jsx("p",{className:"font-mono text-[11px] uppercase tracking-[0.14em] text-on-navy-muted",children:"Revenue meter"}),e.jsx("p",{className:"font-mono text-[11px] tabular text-on-navy-muted",children:X.format(t)})]}),e.jsxs("div",{className:"relative h-9 w-full overflow-hidden rounded-full border border-white/10 bg-[#0F1626]",children:[e.jsx(b.div,{className:"absolute inset-y-0 left-0 rounded-full obb-grad-bg",initial:!1,animate:{width:`${i*100}%`},transition:l?{duration:0}:{type:"spring",stiffness:90,damping:20}}),e.jsx("div",{className:"absolute inset-y-0 z-10 flex flex-col items-center",style:{left:`calc(${r*100}% - 1px)`},children:e.jsx(b.div,{className:"h-full w-[2px]",animate:o&&!l?{backgroundColor:["#22C55E","#86efac","#22C55E"],boxShadow:["0 0 0px rgba(34,197,94,0)","0 0 12px rgba(34,197,94,0.9)","0 0 4px rgba(34,197,94,0.5)"]}:{backgroundColor:o?"#22C55E":"#ffffff",boxShadow:o?"0 0 8px rgba(34,197,94,0.7)":"0 0 0 rgba(0,0,0,0)"},transition:l?{duration:0}:{duration:.9,repeat:o?2:0}})})]}),e.jsxs("div",{className:"mt-2 flex flex-wrap items-center justify-between gap-2",children:[e.jsxs("p",{className:p("inline-flex items-center gap-1.5 font-mono text-[11px] uppercase tracking-[0.12em]",o?"text-go":"text-on-navy-muted"),children:[e.jsx("span",{className:p("inline-block h-2 w-2 rounded-full",o?"bg-go":"bg-white/60")}),"Guarantee floor ",X.format(G)]}),e.jsx("p",{className:"text-[10px] text-on-navy-muted",children:"Illustrative"})]}),s!=null&&e.jsxs("p",{className:"mt-1 text-[11px] text-go",children:["Crosses the floor on Day ",s," at this spend."]})]})}function Bt(){const t=Array.from({length:16},(n,s)=>s),a=["#2563EB","#38BDF8","#22C55E","#ffffff"];return e.jsx("div",{className:"pointer-events-none absolute inset-0 z-20 flex items-center justify-center","aria-hidden":!0,
106children:t.map(n=>{const s=n/t.length*Math.PI*2,l=70+n%4*22;return e.jsx(b.span,{className:"absolute h-2 w-2 rounded-[2px]",style:{backgroundColor:a[n%a.length]},initial:{x:0,y:0,opacity:1,scale:1,rotate:0},animate:{x:Math.cos(s)*l,y:Math.sin(s)*l+20,opacity:0,scale:.4,rotate:180},transition:{duration:1.1,ease:"easeOut"}},n)})})}const Rt=115,Ot=.33,Te=2400,Tt=15e4,Pt=100,q=50,ae=300,re=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}),fe=["Mon","Tue","Wed","Thu","Fri","Sat"],le=["9:00a","11:00a","1:00p","3:00p","5:00p"],$t=fe.length*le.length,Pe=[{name:"Margaret R.",city:"Riverside",tag:"Mom, 82, dementia care",hours:"30 hrs/wk",timeline:"Needs care within 2 weeks",decisionMaker:"Daughter (primary contact)"},{name:"Harold T.",city:"Naperville",tag:"Dad, 79, post-stroke recovery",hours:"40 hrs/wk",timeline:"Discharge in 5 days",decisionMaker:"Son, POA"},{name:"Eleanor B.",city:"Scottsdale",tag:"Mom, 88, fall risk + mobility",hours:"20 hrs/wk",timeline:"Wants to start this month",decisionMaker:"Daughter + sibling"},{name:"Frank D.",city:"Plano",tag:"Dad, 84, Parkinson's support",hours:"25 hrs/wk",timeline:"Needs care within 2 weeks",decisionMaker:"Wife (spouse)"},{name:"Dorothy K.",city:"Bellevue",tag:"Mom, 91, companion + meals",hours:"15 hrs/wk",timeline:"Flexible, next 30 days",decisionMaker:"Son, primary contact"},{name:"Walter S.",city:"Cary",tag:"Dad, 77, Alzheimer's, wandering",hours:"Overnight, 56 hrs/wk",timeline:"Urgent, within 1 week",decisionMaker:"Daughter, POA"},{name:"Ruth A.",city:"Frisco",tag:"Mom, 85, hospice + comfort care",hours:"24/7 live-in",timeline:"Needs care immediately",decisionMaker:"Two adult children"},{name:"George M.",city:"Carmel",tag:"Dad, 80, diabetes management",hours:"18 hrs/wk",timeline:"Wants to start in 3 weeks",decisionMaker:"Daughter-in-law"},{name:"Helen P.",city:"Sandy Springs",tag:"Mom, 83, post-surgery rehab",hours:"35 hrs/wk",timeline:"Discharge in 4 days",decisionMaker:"Son, primary contact"},{name:"Arthur L.",city:"Folsom",tag:"Dad, 86, low vision + bathing help",hours:"20 hrs/wk",timeline:"Needs care within 2 weeks",decisionMaker:"Wife + daughter"},{name:"Betty N.",city:"Brentwood",tag:"Mom, 90, dementia + sundowning",hours:"Overnight, 49 hrs/wk",timeline:"Wants to start this week",decisionMaker:"Granddaughter, POA"},{name:"Clarence W.",city:"Maple Grove",tag:"Dad, 81, COPD + oxygen support",hours:"30 hrs/wk",timeline:"Flexible, next 30 days",decisionMaker:"Son (primary contact)"},{name:"Vivian H.",city:"Roswell",tag:"Mom, 87, fall recovery + meds",hours:"22 hrs/wk",timeline:"Needs care within 2 weeks",decisionMaker:"Daughter, POA"},{name:"Raymond C.",city:"Pflugerville",tag:"Dad, 78, mobility + transfers",hours:"28 hrs/wk",timeline:"Wants to start in 2 weeks",decisionMaker:"Wife (spouse)"},{name:"Gloria F.",city:"Cedar Park",tag:"Mom, 84, companion + light housekeeping",hours:"12 hrs/wk",timeline:"Flexible, next month",decisionMaker:"Son + daughter"},{name:"Stanley J.",city:"Eden Prairie",tag:"Dad, 89, dementia + 24/7 supervision",hours:"24/7 live-in",timeline:"Needs care immediately",decisionMaker:"Daughter, POA"}];function Ke(t){return Pe[t%Pe.length]}function Ft(){const t=ee(),[a,n]=c.useState(Pt),[s,l]=c.useState(null),i=c.useMemo(()=>Math.round(a*30/Rt/4.33),[a]),r=Math.min(i,$t),o=Math.round(r*Ot),x=o*Te;c.useEffect(()=>{s!==null&&s>=r&&l(null)},[r,s]);const d=c.useCallback(m=>Math.max(q,Math.min(ae,Math.round(m))),[]);return e.jsxs("div",{className:"relative w-full overflow-hidden rounded-3xl border border-white/10 bg-navy p-5 text-on-navy sm:p-7 md:p-10",children:[e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute -right-24 -top-24 h-72 w-72 rounded-full opacity-30 blur-3xl",style:{background:"radial-gradient(circle, rgba(56,189,248,0.45), transparent 70%)"}}),e.jsxs("div",{className:"relative grid gap-7 lg:grid-cols-[260px_1fr] lg:gap-9",children:[e.jsxs("div",{className:"flex flex-col gap-6",children:[e.jsxs("p",{className:"callsign",children:[e.jsx("span",{className:"callsign-dot"})," SPEND TO CALENDAR"]}),e.jsx(zt,{value:a,onChange:m=>n(d(m)),reduce:!!t}),e.jsxs("div",{className:"grid grid-cols-3 gap-2",children:[e.jsx("button",{type:"button","aria-label":"Decrease daily ad spend by ten dollars",onClick:()=>n(m=>d(m-10)),className:"grid h-11 place-items-center rounded-xl border border-white/10 bg-white/5 text-on-navy transition hover:bg-white/10 focus-visible:outline focus-visible:outline-2 focus-visible:outline-brand-cyan",children:e.jsx(vt,{className:"h-4 w-4","aria-hidden":!0})}),e.jsx("div",{className:"grid h-11 place-items-center rounded-xl border border-white/10 bg-white/[0.03] text-[11px] font-mono uppercase tracking-[0.12em] text-on-navy-muted",children:"per day"}),e.jsx("button",{type:"button","aria-label":"Increase daily ad spend by ten dollars",onClick:()=>n(m=>d(m+10)),className:"grid h-11 place-items-center rounded-xl border border-white/10 bg-white/5 text-on-navy transition hover:bg-white/10 focus-visible:outline focus-visible:outline-2 focus-visible:outline-brand-cyan",children:e.jsx(jt,{className:"h-4 w-4","aria-hidden":!0})})]}),e.jsxs("div",{className:"space-y-3 rounded-2xl border border-white/10 bg-white/[0.03] p-4",children:[e.jsx($e,{label:"Booked assessments this week",value:r,tone:"cyan"}),e.jsx("div",{className:"h-px bg-white/10"}),e.jsx($e,{label:"Projected new starts",value:o,tone:"go"}),e.jsxs("p",{className:"pt-1 text-[12px] leading-snug text-on-navy-muted",children:["At a conservative ",re.format(Te)," blended client value (private pay + Medicaid), that is"," ",e.jsx("span",{className:"tabular font-semibold text-on-navy",children:re.format(x)})," ","in new monthly revenue."]})]}),e.jsxs("div",{className:"flex items-start gap-2 rounded-2xl border border-brand-blue/25 bg-brand-blue/10 p-3",children:[e.jsx(ce,{className:"mt-0.5 h-4 w-4 shrink-0 text-brand-cyan","aria-hidden":!0}),e.jsx("p",{className:"text-[12.5px] leading-snug text-on-navy",children:"All exclusively on your brand, never shared."})]})]}),e.jsxs("div",{className:"min-w-0",children:[e.jsxs("div",{className:"mb-3 flex items-end justify-between gap-3",children:[e.jsx("h3",{className:"font-display text-lg font-semibold text-white sm:text-xl",children:"Your week, filling up"}),e.jsx("p",{className:"text-[12px] text-on-navy-muted",children:"Tap a card for the pre-qualification"})]}),e.jsxs("div",{className:"grid grid-cols-[44px_repeat(6,1fr)] gap-1.5 sm:gap-2",children:[e.jsx("div",{"aria-hidden":!0}),fe.map(m=>e.jsx("div",{className:"pb-1 text-center text-[10px] font-mono uppercase tracking-[0.1em] text-on-navy-muted sm:text-[11px]",children:m},m)),le.map((m,u)=>e.jsx(Lt,{label:m,rowIdx:u,filled:r,openSlot:s,onOpen:l,reduce:!!t},m))]}),e.jsx("p",{className:"mt-4 text-[11px] italic text-on-navy-muted",children:"Illustrative. Numbers vary by market, spend, and offer."})]})]}),e.jsx(R,{children:s!==null&&s<r&&e.jsx(Wt,{slot:s,onClose:()=>l(null),reduce:!!t})})]})}function $e({label:t,value:a,tone:n}){return e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[e.jsx("span",{className:"text-[12.5px] leading-tight text-on-navy-muted",children:t}),e.jsx(b.span,{initial:{scale:1.18,opacity:.6}
106,animate:{scale:1,opacity:1},transition:{duration:.28,ease:[.22,1,.36,1]},className:p("tabular font-display text-2xl font-semibold",n==="go"?"text-go":"text-brand-cyan"),children:a},a)]})}function Lt({label:t,rowIdx:a,filled:n,openSlot:s,onOpen:l,reduce:i}){return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"flex items-center justify-end pr-1 text-[9px] font-mono text-on-navy-muted sm:text-[10px]",children:t}),fe.map((r,o)=>{const d=((a-o)%le.length+le.length)%le.length*fe.length+o,m=d<n;return e.jsx(It,{slot:d,isFilled:m,isOpen:s===d,onOpen:l,reduce:i},o)})]})}function It({slot:t,isFilled:a,isOpen:n,onOpen:s,reduce:l}){const i=Ke(t),r=l?0:Math.min(t,18)*.045;return e.jsxs("div",{className:"relative aspect-[5/4] min-h-[58px]",children:[e.jsx("div",{"aria-hidden":!0,className:"absolute inset-0 rounded-lg border border-dashed border-white/10"}),e.jsx(R,{children:a&&e.jsxs(b.button,{type:"button",layout:!l,initial:l?{opacity:0}:{opacity:0,scale:.78,y:6},animate:l?{opacity:1}:{opacity:1,scale:1,y:0},exit:l?{opacity:0}:{opacity:0,scale:.8,transition:{duration:.18}},transition:l?{duration:.001}:{delay:r,duration:.4,ease:[.22,1,.36,1]},onClick:()=>s(t),"aria-label":`Booked assessment for ${i.name} in ${i.city}, ${i.tag}. Tap for pre-qualification details.`,className:p("group absolute inset-0 flex flex-col justify-between overflow-hidden rounded-lg border p-1.5 text-left transition-colors sm:p-2","border-brand-blue/30 bg-gradient-to-br from-brand-blue/20 to-brand-cyan/10","hover:border-brand-cyan/60 focus-visible:outline focus-visible:outline-2 focus-visible:outline-brand-cyan",n&&"border-brand-cyan/80 ring-1 ring-brand-cyan/50"),children:[e.jsxs("div",{className:"flex items-start justify-between gap-1",children:[e.jsx("span",{className:"truncate text-[10px] font-semibold leading-tight text-white sm:text-[11px]",children:i.name}),e.jsx(ce,{className:"h-3 w-3 shrink-0 text-brand-cyan","aria-hidden":!0})]}),e.jsx("span",{className:"hidden truncate text-[9px] leading-tight text-on-navy-muted sm:block",children:i.city}),e.jsxs("span",{className:"inline-flex w-fit items-center gap-1 rounded-full bg-go/20 px-1.5 py-0.5 text-[8px] font-semibold uppercase tracking-wide text-go sm:text-[9px]",children:[e.jsx("span",{className:"h-1 w-1 rounded-full bg-go","aria-hidden":!0}),"Booked"]})]})})]})}function Wt({slot:t,onClose:a,reduce:n}){const s=Ke(t),i=[t%13<3?{label:"Budget confirmed",value:"Private pay, in range"}:{label:"Coverage confirmed",value:"Medicaid-approved"},{label:"Decision maker",value:s.decisionMaker},{label:"Timeline",value:s.timeline},{label:"Hours per week",value:s.hours},{label:"Location",value:s.city},{label:"Care need",value:s.tag}];return e.jsxs(b.div,{className:"absolute inset-0 z-20 grid place-items-center p-4",initial:{opacity:0}
106,animate:{opacity:1},exit:{opacity:0},transition:{duration:n?.001:.2},children:[e.jsx("button",{type:"button","aria-label":"Close details",onClick:a,className:"absolute inset-0 cursor-default bg-navy-deep/70 backdrop-blur-sm"}),e.jsxs(b.div,{role:"dialog","aria-label":`Pre-qualification for ${s.name}`,initial:n?{opacity:0}:{opacity:0,scale:.92,y:12},animate:{opacity:1,scale:1,y:0},exit:n?{opacity:0}:{opacity:0,scale:.95,y:8},transition:{duration:n?.001:.26,ease:[.22,1,.36,1]},className:"relative w-full max-w-sm rounded-2xl border border-white/10 bg-navy-deep p-5 text-on-navy shadow-2xl",children:[e.jsx("button",{type:"button","aria-label":"Close details",onClick:a,className:"absolute right-3 top-3 grid h-9 w-9 place-items-center rounded-full border border-white/10 bg-white/5 text-on-navy-muted transition hover:bg-white/10 focus-visible:outline focus-visible:outline-2 focus-visible:outline-brand-cyan",children:e.jsx(tt,{className:"h-4 w-4","aria-hidden":!0})}),e.jsxs("div",{className:"flex items-center gap-2 pr-10",children:[e.jsx(ce,{className:"h-5 w-5 shrink-0 text-brand-cyan","aria-hidden":!0}),e.jsx("h4",{className:"font-display text-lg font-semibold text-white",children:s.name})]}),e.jsxs("p",{className:"mt-1 text-[12.5px] text-on-navy-muted",children:[s.city," booked assessment, exclusively yours."]}),e.jsx("dl",{className:"mt-4 space-y-2.5",children:i.map(r=>e.jsxs("div",{className:"flex items-start gap-2.5",children:[e.jsx(Ue,{className:"mt-0.5 h-4 w-4 shrink-0 text-go","aria-hidden":!0}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("dt",{className:"text-[11px] font-mono uppercase tracking-[0.08em] text-on-navy-muted",children:r.label}),e.jsx("dd",{className:"text-[13px] leading-snug text-on-navy",children:r.value})]})]},r.label))}),e.jsxs("div",{className:"mt-4 flex items-center gap-2 rounded-xl border border-go/30 bg-go/10 p-2.5",children:[e.jsx(gt,{className:"h-4 w-4 shrink-0 text-go","aria-hidden":!0}),e.jsx("p",{className:"text-[12.5px] font-medium text-on-navy",children:"Responded in under 5 minutes."})]})]})]})}function zt({value:t,onChange:a,reduce:n}){const s=c.useRef(null),l=c.useId(),[i,r]=c.useState(!1),o=(t-q)/(ae-q),x=270,d=-135,m=d+o*x,u=64,h=10,j=2*Math.PI*u,f=x/360*j,g=o*f,N=c.useCallback((v,k)=>{const D=s.current;if(!D)return t;const C=D.getBoundingClientRect(),T=C.left+C.width/2,U=C.top+C.height/2,P=v-T,te=k-U;let y=Math.atan2(P,-te)*180/Math.PI;y<d&&(y=y<-135?135:d),y>135&&(y=135);const E=(y-d)/x;return q+E*(ae-q)},[t]),w=c.useCallback(v=>{a(N(v.clientX,v.clientY))},[a,N]),M=v=>{var k,D;v.preventDefault(),(D=(k=v.target).setPointerCapture)==null||D.call(k,v.pointerId),r(!0),w(v)},B=v=>{i&&w(v)},V=v=>{var k,D;r(!1),(D=(k=v.target).releasePointerCapture)==null||D.call(k,v.pointerId)},S=v=>{let k=t;if(v.key==="ArrowUp"||v.key==="ArrowRight")k=t+10;else if(v.key==="ArrowDown"||v.key==="ArrowLeft")k=t-10;else if(v.key==="PageUp")k=t+50;else if(v.key==="PageDown")k=t-50;else if(v.key==="Home")k=q;else if(v.key==="End")k=ae;else return;v.preventDefault(),a(k)},I=m*Math.PI/180,O=90+Math.sin(I)*u,H=90-Math.cos(I)*u;return e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsxs("div",{ref:s,role:"slider",tabIndex:0,"aria-label":"Daily ad spend","aria-valuemin":q,"aria-valuemax":ae,"aria-valuenow":t,"aria-valuetext":`${re.format(t)} per day`,onPointerDown:M,onPointerMove:B,onPointerUp:V,onPointerCancel:V,onKeyDown:S,className:p("relative h-[180px] w-[180px] cursor-pointer touch-none select-none rounded-full outline-none","focus-visible:ring-2 focus-visible:ring-brand-cyan focus-visible:ring-offset-2 focus-visible:ring-offset-navy"),style:{"--ang":`${m}deg`},children:[e.jsxs("svg",{viewBox:"0 0 180 180",className:"h-full w-full","aria-hidden":!0,children:[e.jsx("defs",{children:e.jsxs("linearGradient",{id:l,x1:"0",y1:"0",x2:"1",y2:"1",children:[e.jsx("stop",{offset:"0%",stopColor:"#2563EB"}),e.jsx("stop",{offset:"100%",stopColor:"#38BDF8"})]})}),e.jsx("circle",{cx:"90",cy:"90",r:u,fill:"none",stroke:"rgba(255,255,255,0.10)",strokeWidth:h,strokeLinecap:"round",strokeDasharray:`${f} ${j}`,transform:"rotate(135 90 90)"}
106),e.jsx(b.circle,{cx:"90",cy:"90",r:u,fill:"none",stroke:`url(#${l})`,strokeWidth:h,strokeLinecap:"round",strokeDasharray:`${g} ${j}`,transform:"rotate(135 90 90)",animate:{strokeDasharray:`${g} ${j}`},transition:{duration:n||i?0:.25,ease:"easeOut"}}),e.jsx("circle",{cx:O,cy:H,r:9,fill:"#fff",stroke:"#38BDF8",strokeWidth:3})]}),e.jsxs("div",{className:"pointer-events-none absolute inset-0 flex flex-col items-center justify-center",children:[e.jsx("span",{className:"text-[10px] font-mono uppercase tracking-[0.14em] text-on-navy-muted",children:"Daily spend"}),e.jsx("span",{className:"tabular font-display text-3xl font-semibold text-white",children:re.format(t)}),e.jsx("span",{className:"text-[10px] text-on-navy-muted",children:"drag to set"})]})]}),e.jsxs("p",{className:"text-center text-[11px] leading-snug text-on-navy-muted",children:["Guarantee: ",re.format(Tt)," in new revenue in 90 days, or we work for free."]})]})}const Yt=13e3,Gt=520,Vt=6.5,xe=100,Fe=["Agency B","Agency C","Agency D"];function Le(t){const a=Math.max(0,Math.min(100,t));return a>=55?"#16A34A":a>=28?"#D97706":"#DC2626"}function Ht(){const t=ee(),[a,n]=c.useState("shared"),[s,l]=c.useState("idle"),[i,r]=c.useState(0),[o,x]=c.useState(100),[d,m]=c.useState(null),[u,h]=c.useState(0),j=at(0),f=st(j,{stiffness:220,damping:26}),g=nt(f,[-100,100],[8,92]),N=ht`${g}%`,w=c.useRef("idle"),M=c.useRef(0),B=c.useRef(100),V=c.useRef(0);w.current=s;const S=c.useCallback(y=>{if(l("over"),w.current="over",y==="rival"){const E=Fe[Math.floor(Math.random()*Fe.length)];m({headline:`${E} got there first.`,body:"Same family, four agencies dialing. You were not slow. You were just one of four.",tone:"stop"})}else m(y==="cold"?{headline:"The family went cold.",body:"Pitched by everyone at once, they stopped answering. A shared lead burns while you fight over it.",tone:"stop"}:{headline:"You won a lukewarm lead.",body:"After out-dialing three rivals, the family is half-burned and price-shopping. A win that barely feels like one.",tone:"warm"})},[]),I=c.useCallback(()=>{r(0),m(null),x(100),B.current=100,M.current=0,j.set(0),V.current=typeof performance<"u"?performance.now():Date.now(),l("live"),w.current="live"},[j]),O=c.useCallback(()=>{r(y=>y+1),x(34),B.current=34,M.current=-60,j.set(-60),m({headline:"Agency C got there first.",body:"Same family, four agencies dialing. With shared leads you are always one of four, and the family cools fast.",tone:"stop"}),l("over"),w.current="over"},[j]),H=c.useCallback(()=>{w.current==="live"&&(h(y=>y+1),r(y=>y+1),M.current=Math.min(xe,M.current+Vt),j.set(M.current),B.current=Math.max(0,B.current-1.4),x(B.current),M.current>=xe&&S("you"))},[S,j]);c.useEffect(()=>{if(t||s!=="live")return;const y=window.setInterval(()=>{if(w.current!=="live")return;const E=3.2+Math.random()*5.8;M.current=Math.max(-xe,M.current-E),j.set(M.current),M.current<=-xe&&S("rival")},Gt);return()=>window.clearInterval(y)},[t,s,S,j]),c.useEffect(()=>{if(t||s!=="live")return;let y=0;const E=()=>{if(w.current!=="live")return;const ye=(typeof performance<"u"?performance.now():Date.now())-V.current,_=Math.max(0,100-ye/Yt*100),W=Math.min(B.current,_);if(B.current=W,x(W),W<=0){S(M.current>30?"you":"cold");return}y=requestAnimationFrame(E)};return y=requestAnimationFrame(E),()=>cancelAnimationFrame(y)},[t,s,S]);const[v,k]=c.useState("idle"),D=c.useCallback(()=>k("welcomed"),[]),C=c.useCallback(()=>k("idle"),[]),T=s==="live",U=s==="over",P=o<50,te=y=>{n(y),y==="shared"?(l("idle"),w.current="idle",m(null),r(0),x(100),B.current=100,M.current=0,j.set(0)):k("idle")};return e.jsxs("div",{className:p("w-full overflow-hidden rounded-3xl border border-canvas-rule bg-white p-5 sm:p-7 md:p-10","shadow-[0_40px_90px_-50px_rgba(26,36,59,0.35)]"),children:[e.jsx("style",{children:`
107        @keyframes lab-04-jitter {
108          0%,100% { transform: translateX(0) rotate(0deg); }
109          25% { transform: translateX(-1.5px) rotate(-1deg); }
110          75% { transform: translateX(1.5px) rotate(1deg); }
111        }
112        .lab-04-rope-stress { animation: lab-04-jitter 0.32s ease-in-out infinite; }
113        @media (prefers-reduced-motion: reduce) {
114          .lab-04-rope-stress { animation: none; }
115        }
116      `}),e.jsxs("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between",children:[e.jsxs("div",{children:[e.jsxs("p",{className:"callsign",children:[e.jsx("span",{className:"callsign-dot"})," Shared vs exclusive"]}),e.jsx("h3",{className:"mt-2 font-display text-2xl font-semibold tracking-tight text-ink sm:text-3xl",children:"The shared-lead tug-of-war"})]}),e.jsx("div",{role:"tablist","aria-label":"Lead delivery mode",className:"inline-flex shrink-0 rounded-full border border-canvas-rule bg-canvas p-1",children:[{id:"shared",label:"Shared lead"},{id:"exclusive",label:"Exclusive"}].map(y=>{const E=a===y.id;return e.jsxs("button",{role:"tab","aria-selected":E,onClick:()=>te(y.id),className:p("relative min-h-[44px] rounded-full px-4 text-sm font-semibold transition-colors sm:px-5",E?"text-white":"text-ink-soft hover:text-ink"),children:[E&&e.jsx(b.span,{layoutId:"lab-04-mode-pill",className:p("absolute inset-0 -z-0 rounded-full",y.id==="shared"?"bg-stop":"bg-brand-blue"),transition:{type:"spring",stiffness:380,damping:30}}),e.jsx("span",{className:"relative z-10",children:y.label})]},y.id)})})]}),e.jsx(R,{mode:"wait",children:a==="shared"?e.jsxs(b.div,{initial:t?!1:{opacity:0,y:12}
116,animate:{opacity:1,y:0},exit:t?void 0:{opacity:0,y:-12},transition:{duration:.4,ease:[.22,1,.36,1]},className:"mt-6",children:[e.jsxs("p",{className:"max-w-2xl text-sm leading-relaxed text-ink-soft sm:text-base",children:["One family. Four agencies dialing the same number. Tap"," ",e.jsx("span",{className:"font-semibold text-ink",children:"Call now"})," as fast as you can to drag them your way, while three rivals pull back and the family cools off by the second."]}),e.jsxs("div",{className:"mt-6 grid gap-5 sm:grid-cols-[1fr_auto] sm:items-center",children:[e.jsxs("div",{className:"flex items-center gap-4 rounded-2xl border border-canvas-rule bg-canvas px-4 py-3",children:[e.jsx("div",{className:p("grid h-12 w-12 shrink-0 place-items-center rounded-full border transition-colors",P?"border-stop/30 bg-stop/10 text-stop":"border-go/30 bg-go/10 text-go"),"aria-hidden":!0,children:P?e.jsx(Ee,{className:"h-6 w-6"}):e.jsx(ve,{className:"h-6 w-6"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-semibold text-ink",children:"The Hartwell family"}),e.jsx("p",{className:"text-xs text-ink-muted",children:P?"Tired of the phone ringing off the hook.":"Warm, ready to talk about care."})]})]}),e.jsxs("div",{className:"sm:w-56",children:[e.jsxs("div",{className:"mb-1.5 flex items-center justify-between text-xs text-ink-muted",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(Re,{className:"h-3.5 w-3.5"})," Lead temperature"]}),e.jsxs("span",{className:"tabular font-semibold",style:{color:Le(o)},children:[Math.round(o),"%"]})]}),e.jsx("div",{className:"h-2.5 w-full overflow-hidden rounded-full bg-canvas-deep",children:e.jsx(b.div,{className:"h-full rounded-full",style:{backgroundColor:Le(o)},animate:{width:`${Math.max(0,o)}%`},transition:t?{duration:0}:{duration:.25,ease:"linear"}})}),e.jsx("p",{className:"mt-1 text-[11px] text-ink-muted",children:o>=55?"Warm":o>=28?"Cooling fast":"Nearly cold"})]})]}),e.jsxs("div",{className:p("relative mt-6 select-none rounded-2xl border border-canvas-rule bg-canvas px-4 py-7 sm:px-6",T&&P&&!t&&"lab-04-rope-stress"),children:[e.jsxs("div",{className:"mb-4 flex items-center justify-between text-xs font-semibold",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 text-brand-blue",children:[e.jsx(Be,{className:"h-3.5 w-3.5"})," You"]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 text-stop",children:[e.jsx(rt,{className:"h-3.5 w-3.5"})," Agency B / C / D"]})]}),e.jsxs("div",{className:"relative h-1.5 w-full rounded-full bg-gradient-to-r from-brand-blue/40 via-ink-muted/30 to-stop/40",children:[e.jsx("span",{className:"absolute top-1/2 h-3 w-px -translate-y-1/2 bg-ink-muted/40",style:{left:"50%"},"aria-hidden":!0}),e.jsx(b.div,{className:"absolute top-1/2 z-10 -translate-x-1/2 -translate-y-1/2",style:t?{left:U?"26%":"50%"}:{left:N},children:e.jsx("div",{className:p("grid h-9 w-9 place-items-center rounded-full border-2 bg-white shadow-md transition-colors",P?"border-stop text-stop":"border-go text-go"),"aria-label":"Family on the line, pulled between you and rival agencies",children:P?e.jsx(Ee,{className:"h-5 w-5"}):e.jsx(ve,{className:"h-5 w-5"})})})]}),e.jsxs("div",{className:"mt-4 flex items-center justify-between text-[11px] text-ink-muted",children:[e.jsx("span",{children:"Your side"}),e.jsxs("span",{className:"tabular",children:["Calls placed: ",e.jsx("span",{className:"font-semibold text-ink",children:i})]}),e.jsx("span",{children:"Rivals' side"})]})]}),e.jsxs("div",{className:"mt-6 flex flex-col gap-4",children:[U?null:e.jsx("button",{onClick:t?O:T?H:I,"aria-label":T?"Call the family now":"Start the shared-lead round",className:p("relative min-h-[52px] w-full overflow-hidden rounded-2xl px-6 text-base font-semibold text-white","obb-grad-bg shadow-[0_18px_40px_-18px_rgba(37,99,235,0.7)]","transition-transform active:scale-[0.98]"),children:e.jsxs(b.span,{initial:t?!1:{scale:1},animate:t?void 0:{scale:[1,1.06,1]},transition:{duration:.18},className:"inline-flex items-center justify-center gap-2",children:[e.jsx(Be,{className:"h-5 w-5"}),T?"Call now (tap fast!)":t?"Run the shared-lead round":"Start: race the other 3 agencies"]},u)}),e.jsx(R,{children:d&&e.jsxs(b.div,{initial:t?!1:{opacity:0,y:10}
116,animate:{opacity:1,y:0},exit:{opacity:0},className:p("rounded-2xl border p-4 sm:p-5",d.tone==="stop"?"border-stop/25 bg-stop/[0.06]":"border-go/25 bg-go/[0.06]"),children:[e.jsx("p",{className:p("font-display text-lg font-semibold",d.tone==="stop"?"text-stop":"text-ink"),children:d.headline}),e.jsx("p",{className:"mt-1.5 text-sm leading-relaxed text-ink-soft",children:d.body}),e.jsxs("button",{onClick:t?O:I,className:"mt-4 inline-flex min-h-[44px] items-center gap-2 rounded-xl border border-canvas-rule bg-white px-4 text-sm font-semibold text-ink-soft transition-colors hover:text-ink",children:[e.jsx(be,{className:"h-4 w-4"})," Try again"]})]})}),e.jsx("p",{className:"text-xs leading-relaxed text-ink-muted",children:"This scramble is the alternative OBB removes. Recycled, shared leads pit you against three other agencies for a family that cools with every call. (Illustrative.)"})]})]},"shared"):e.jsxs(b.div,{initial:t?!1:{opacity:0,y:12},animate:{opacity:1,y:0},exit:t?void 0:{opacity:0,y:-12},transition:{duration:.4,ease:[.22,1,.36,1]},className:"mt-6",children:[e.jsx("p",{className:"max-w-2xl text-sm leading-relaxed text-ink-soft sm:text-base",children:"No rope. No rivals. One booked assessment walks calmly toward your door, exclusively on your brand, never shared."}),e.jsxs("div",{className:"relative mt-6 overflow-hidden rounded-2xl border border-go/20 bg-go/[0.05] px-4 py-10 sm:px-8",children:[e.jsxs("div",{className:"mx-auto mb-8 max-w-xs",children:[e.jsxs("div",{className:"mb-1.5 flex items-center justify-between text-xs text-ink-muted",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(Re,{className:"h-3.5 w-3.5"})," Lead temperature"]}),e.jsx("span",{className:"tabular font-semibold text-go",children:"100%"})]}),e.jsx("div",{className:"h-2.5 w-full overflow-hidden rounded-full bg-canvas-deep",children:e.jsx("div",{className:"h-full w-full rounded-full bg-go"})}),e.jsx("p",{className:"mt-1 text-[11px] text-go",children:"Warm and yours alone"})]}),e.jsxs("div",{className:"relative mx-auto flex h-24 max-w-md items-center justify-between",children:[e.jsx("div",{className:"absolute left-12 right-12 top-1/2 h-px -translate-y-1/2 border-t border-dashed border-go/40","aria-hidden":!0}),e.jsx(R,{children:v==="idle"&&e.jsx(b.div,{className:"relative z-10 grid h-14 w-14 place-items-center rounded-full border-2 border-go bg-white text-go shadow-md",initial:t?!1:{x:0},animate:t?{x:"calc(100% + 1rem)"}:{x:["0%","calc(100% + 1rem)"]},transition:t?{duration:0}:{duration:4.5,ease:"easeInOut",repeat:1/0,repeatType:"reverse"},style:{left:0},"aria-label":"A booked family walking calmly toward your door",children:e.jsx(ve,{className:"h-7 w-7"})},"walker")}),e.jsx("div",{className:"relative z-10 ml-auto grid h-16 w-16 place-items-center rounded-2xl border-2 border-brand-blue bg-white text-brand-blue shadow-md",children:e.jsx(R,{mode:"wait",children:v==="welcomed"?e.jsx(b.span,{initial:t?!1:{scale:.6,opacity:0},animate:{scale:1,opacity:1},className:"text-go",children:e.jsx(ce,{className:"h-8 w-8"})},"open"):e.jsx(b.span,{children:e.jsx(De,{className:"h-8 w-8"})},"door")})})]}),e.jsx("p",{className:"mt-6 text-center text-sm font-semibold text-ink",children:"Booked assessment, exclusively yours, never shared."})]}),e.jsxs("div",{className:"mt-6",children:[v==="idle"?e.jsxs("button",{onClick:D,"aria-label":"Welcome the family in",className:p("min-h-[52px] w-full rounded-2xl bg-go px-6 text-base font-semibold text-white","shadow-[0_18px_40px_-18px_rgba(22,163,74,0.7)]","inline-flex items-center justify-center gap-2 transition-transform active:scale-[0.98]"),children:[e.jsx(De,{className:"h-5 w-5"})," Welcome them in"]}):e.jsxs(b.div,{initial:t?!1:{opacity:0,y:10},animate:{opacity:1,y:0},className:"rounded-2xl border border-go/25 bg-go/[0.06] p-4 sm:p-5",children:[e.jsxs("p",{className:"inline-flex items-center gap-2 font-display text-lg font-semibold text-ink",children:[e.jsx(Ne,{className:"h-5 w-5 text-go"})," Welcomed. No rivals, no scramble."]}),e.jsx("p",{className:"mt-1.5 text-sm leading-relaxed text-ink-soft",children:"One warm family, one calm conversation. Every booked assessment arrives exclusively on your brand, so the only agency in the room is yours."}),e.jsxs("button",{onClick:C,className:"mt-4 inline-flex min-h-[44px] items-center gap-2 rounded-xl border border-canvas-rule bg-white px-4 text-sm font-semibold text-ink-soft transition-colors hover:text-ink",children:[e.jsx(be,{className:"h-4 w-4"})," Replay"]})]}),e.jsx("p",{className:"mt-4 text-xs leading-relaxed text-ink-muted",children:"That is the contrast. OBB books assessments that are warm and yours alone, never recycled across four agencies. (Illustrative.)"})]})]},"exclusive")})]})}const K=["Lead flow","Speed to respond","Follow-up","Conversion","Exclusivity","Predictability"],je=[{axis:"Lead flow",prompt:"Where do most new families come from today?",options:[{label:"Referrals only",score:40},{label:"Some ads on our brand",score:70},{label:"A shared lead service",score:25},{label:"Nothing consistent",score:10}]},{axis:"Speed to respond",prompt:"How fast do you respond to a new inquiry?",options:[{label:"Under 5 minutes",score:100},{label:"Within an hour",score:70},{label:"Same day",score:40},{label:"Next day",score:15}]},{axis:"Follow-up",prompt:"Who follows up with families who do not book right away?",options:[{label:"A dedicated person",score:90},{label:"Whoever is free",score:50},{label:"Nobody",score:15}]},{axis:"Conversion",prompt:"What share of booked assessments become starts?",options:[{label:"Over 50%",score:90},{label:"30 to 50%",score:60},{label:"Under 30%",score:30},{label:"Not sure",score:35}]},{axis:"Exclusivity",prompt:"Is your demand exclusively yours, or shared?",options:[{label:"Exclusive on our brand",score:95},{label:"A mix",score:55},{label:"A shared service",score:20},{label:"Unsure",score:35}]},{axis:"Predictability",prompt:"How predictable is next month's new starts?",options:[{label:"Very",score:90},{label:"Somewhat",score:55},{label:"Not at all",score:20}]}],z=je.length,Ut={"Lead flow":{read:"New families trickle in from sources you do not control, so the calendar is feast or famine. When referrals go quiet, nothing replaces them, and growth stalls the moment word of mouth slows down.",obb:"OBB runs paid demand exclusively on your brand, never shared, so booked assessments arrive every week instead of whenever a referral happens to land."},"Speed to respond":{read:"Families reach out to a few agencies at once and go with whoever answers first. Every hour you take to call back is an hour a faster agency uses to book the assessment that should have been yours.",obb:"OBB pairs your lead flow with a fast-response play so new inquiries get a real conversation in minutes, turning more of them into booked assessments."},"Follow-up":{read:"Plenty of families are interested but not ready to book on the first touch, and right now nobody owns chasing them. Those warm conversations quietly go cold while you focus on the families already in front of you.",obb:"OBB keeps every interested family in a structured follow-up so the ones who do not book day one still turn into booked assessments and starts."},Conversion:{read:"You are getting people on the calendar, but too few of those assessments turn into actual starts. The demand is there; the gap is in how the assessment conversation moves a family to begin care.",obb:"OBB sends you assessments from families that match your service and price, so a higher share of every booked assessment becomes a real start."},Exclusivity:{read:"Your demand is shared with other agencies, so you are racing competitors for the same families and paying to compete on the same recycled lead. You can do everything right and still lose the family to whoever called first.",obb:"OBB builds demand exclusively on your brand, never shared, so the families who reach out belong to you alone and become your booked assessments."},Predictability:{read:"You cannot say with confidence how many starts next month brings, which makes hiring, scheduling, and growth a guessing game. Good months feel like luck rather than a system you can repeat.",obb:"OBB turns lead flow into a predictable stream of booked assessments, so next month's starts become a number you can plan around instead of hope for."}},se=280,ge=se/2,Ie=104,qt=[.25,.5,.75,1];function Xt(t){return-Math.PI/2+t/K.length*Math.PI*2}function ne(t,a){const n=Xt(t);return{x:ge+Math.cos(n)*Ie*a,y:ge+Math.sin(n)*Ie*a}}function We(t){return t.map((a,n)=>{const s=ne(n,a);return`${n===0?"M":"L"}${s.x.toFixed(2)},${s.y.toFixed(2)}`}).join(" ")+" Z"}function Kt(){const t=ee(),[a,n]=c.useState(Array(z).fill(null)),[s,l]=c.useState(0),i=s>=z,r=c.useMemo(()=>je.map((f,g)=>{const N=a[g];return N==null?0:f.options[N].score}),[a]),o=c.useMemo(()=>Math.round(r.reduce((f,g)=>f+g,0)/z),[r]),x=c.useMemo(()=>{let f=0;for(let g=1;g<r.length;g++)r[g]<r[f]&&(f=g);return f},[r]),d=K[x],m=c.useCallback(f=>{n(g=>{const N=[...g];return N[s]=f,N}),l(g=>Math.min(g+1,z))},[s]),u=c.useCallback(()=>
116{l(f=>Math.max(0,f-1))},[]),h=c.useCallback(()=>{n(Array(z).fill(null)),l(0)},[]),j=i?100:s/z*100;return e.jsxs("div",{className:p("w-full overflow-hidden rounded-3xl border border-white/10 bg-navy text-on-navy","p-5 sm:p-7 md:p-10"),children:[e.jsxs("div",{className:"flex flex-wrap items-end justify-between gap-3",children:[e.jsxs("div",{children:[e.jsxs("p",{className:"callsign",style:{color:"rgba(255,255,255,0.55)"},children:[e.jsx("span",{className:"callsign-dot"})," GROWTH DIAGNOSTIC"]}),e.jsx("p",{className:"mt-3 max-w-xl text-sm leading-relaxed text-on-navy-muted sm:text-[15px]",children:"Six quick questions map the six things that decide how many starts you book. The radar shows the one that is quietly capping the rest."})]}),e.jsx("div",{className:"rounded-full border border-white/10 bg-navy-deep px-3 py-1.5 font-mono text-[11px] uppercase tracking-[0.14em] text-on-navy-muted",children:i?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"tabular text-white",children:"Done"})," / ",z]}):e.jsxs(e.Fragment,{children:["Question ",e.jsx("span",{className:"tabular text-white",children:s+1})," /"," ",z]})})]}),e.jsx("div",{className:"mt-5 h-1.5 w-full overflow-hidden rounded-full bg-white/10",children:e.jsx(b.div,{className:"h-full rounded-full obb-grad-bg",initial:!1,animate:{width:`${j}%`},transition:t?{duration:0}:{type:"spring",stiffness:140,damping:22}})}),e.jsx("div",{className:"mt-6 min-h-[420px]",children:e.jsx(R,{mode:"wait",initial:!1,children:i?e.jsx(Qt,{scores:r,readiness:o,bottleneckIndex:x,bottleneckAxis:d,reduce:!!t,onBack:u,onReset:h},"result"):e.jsx(Zt,{question:je[s],step:s,selected:a[s],canGoBack:s>0,reduce:!!t,onPick:m,onBack:u},`q-${s}`)})})]})}function Zt({question:t,step:a,selected:n,canGoBack:s,reduce:l,onPick:i,onBack:r}){return e.jsxs(b.div,{initial:l?!1:{opacity:0,x:24},animate:{opacity:1,x:0},exit:l?{opacity:0}:{opacity:0,x:-24},transition:{duration:.32,ease:[.22,1,.36,1]},children:[e.jsx("div",{className:"flex items-center gap-2",children:e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-brand-cyan/30 bg-brand-blue/10 px-2.5 py-1 font-mono text-[10px] uppercase tracking-[0.14em] text-brand-cyan",children:[e.jsx(qe,{className:"h-3 w-3","aria-hidden":!0}),t.axis]})}),e.jsx("h3",{className:"mt-4 max-w-2xl font-display text-xl font-semibold leading-snug text-white sm:text-2xl",children:t.prompt}),e.jsx("div",{role:"radiogroup","aria-label":t.prompt,className:"mt-5 grid gap-3 sm:grid-cols-2",children:t.options.map((o,x)=>{const d=n===x;return e.jsxs("button",{type:"button",role:"radio","aria-checked":d,onClick:()=>i(x),className:p("group relative flex min-h-[60px] items-center justify-between gap-3 rounded-2xl border px-4 py-3.5 text-left transition-colors","active:scale-[0.99]",d?"border-brand-cyan bg-brand-blue/15":"border-white/10 bg-navy-deep hover:border-white/30"),children:[e.jsx("span",{className:p("text-[15px] font-medium",d?"text-white":"text-on-navy"),children:o.label}),e.jsx("span",{className:p("flex h-6 w-6 flex-none items-center justify-center rounded-full border transition-colors",d?"border-brand-cyan bg-brand-cyan text-navy":"border-white/25 text-transparent group-hover:border-white/50"),"aria-hidden":!0,children:e.jsx(lt,{className:"h-3.5 w-3.5",strokeWidth:3})})]},o.label)})}),e.jsxs("div",{className:"mt-6 flex items-center justify-between",children:[e.jsxs("button",{type:"button",onClick:r,disabled:!s,className:p("inline-flex min-h-[44px] items-center gap-2 rounded-full border px-4 text-sm font-medium transition-colors",s?"border-white/15 bg-navy-deep text-on-navy hover:border-white/30":"cursor-not-allowed border-white/5 bg-navy-deep text-on-navy-muted opacity-50"),children:[e.jsx(Se,{className:"h-4 w-4","aria-hidden":!0})," Back"]}),e.jsx("p",{className:"font-mono text-[11px] uppercase tracking-[0.14em] text-on-navy-muted",children:"Tap an answer to continue"})]}),e.jsx("div",{className:"mt-5 flex items-center gap-1.5","aria-hidden":!0,children:Array.from({length:z}).map((o,x)=>e.jsx("span",{className:p("h-1.5 rounded-full transition-all",x===a?"w-6 bg-brand-cyan":x<a?"w-1.5 bg-white/45":"w-1.5 bg-white/15")},x))})]})}function Qt({scores:t,readiness:a,bottleneckIndex:n,bottleneckAxis:s,reduce:l,onBack:i,onReset:r}){const o=Ut[s];return e.jsxs(b.div,{initial:l?!1:{opacity:0,y:18}
116,animate:{opacity:1,y:0},exit:{opacity:0},transition:{duration:.4,ease:[.22,1,.36,1]},className:"grid gap-6 md:grid-cols-[minmax(0,300px)_minmax(0,1fr)] md:items-center md:gap-8",children:[e.jsx(Jt,{scores:t,bottleneckIndex:n,reduce:l}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-stop/40 bg-stop/15 px-3 py-1.5 text-xs font-semibold text-stop",children:[e.jsx(qe,{className:"h-3.5 w-3.5","aria-hidden":!0}),"Your #1 bottleneck"]}),e.jsx("span",{className:"font-display text-xl font-semibold text-white sm:text-2xl",children:s})]}),e.jsx("p",{className:"mt-4 max-w-xl text-[15px] leading-relaxed text-on-navy",children:o.read}),e.jsxs("div",{className:"mt-4 rounded-2xl border border-brand-cyan/25 bg-brand-blue/10 p-4",children:[e.jsx("p",{className:"font-mono text-[11px] uppercase tracking-[0.14em] text-brand-cyan",children:"What OBB does about it"}),e.jsx("p",{className:"mt-1.5 text-[15px] leading-relaxed text-white",children:o.obb})]}),e.jsxs("div",{className:"mt-5 flex flex-wrap items-end justify-between gap-4 rounded-2xl border border-white/10 bg-navy-deep p-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"font-mono text-[11px] uppercase tracking-[0.14em] text-on-navy-muted",children:"Growth readiness"}),e.jsxs("p",{className:"mt-0.5 font-display text-4xl font-semibold tabular obb-grad-text sm:text-5xl",children:[e.jsx(ot,{to:a,duration:l?0:1500,format:x=>String(Math.round(x))}),e.jsx("span",{className:"text-on-navy-muted",children:" / 100"})]})]}),e.jsx("p",{className:"max-w-[16rem] text-[11px] leading-relaxed text-on-navy-muted",children:"Average across all six axes. Illustrative read, not a forecast. Raising your lowest axis lifts the whole score."})]}),e.jsxs("div",{className:"mt-5 flex flex-wrap items-center gap-2.5",children:[e.jsxs("button",{type:"button",onClick:i,className:"inline-flex min-h-[44px] items-center gap-2 rounded-full border border-white/15 bg-navy-deep px-4 text-sm font-medium text-on-navy transition-colors hover:border-white/30 active:scale-[0.98]",children:[e.jsx(Se,{className:"h-4 w-4","aria-hidden":!0})," Change an answer"]}),e.jsxs("button",{type:"button",onClick:r,className:"inline-flex min-h-[44px] items-center gap-2 rounded-full px-5 text-sm font-semibold text-white obb-grad-bg shadow-[0_8px_24px_-8px_rgba(37,99,235,0.7)] transition-transform active:scale-[0.98]",children:[e.jsx(be,{className:"h-4 w-4","aria-hidden":!0})," Start over"]})]})]})]})}function Jt({scores:t,bottleneckIndex:a,reduce:n}){const s=t.map(r=>Math.max(.02,r/100)),l=We(s),i=We(s.map(()=>.001));return e.jsxs("div",{className:"relative mx-auto w-full max-w-[300px]",children:[e.jsxs("svg",{viewBox:`0 0 ${se} ${se}`,className:"w-full",role:"img","aria-label":`Growth radar. Lowest axis: ${K[a]}.`,children:[e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"lab-05-fill",x1:"0",y1:"0",x2:"1",y2:"1",children:[e.jsx("stop",{offset:"0%",stopColor:"#2563EB",stopOpacity:"0.55"}),e.jsx("stop",{offset:"100%",stopColor:"#38BDF8",stopOpacity:"0.55"})]}),e.jsxs("linearGradient",{id:"lab-05-stroke",x1:"0",y1:"0",x2:"1",y2:"1",children:[e.jsx("stop",{offset:"0%",stopColor:"#2563EB"}),e.jsx("stop",{offset:"100%",stopColor:"#38BDF8"})]})]}),e.jsxs("g",{"aria-hidden":!0,children:[qt.map(r=>e.jsx("polygon",{points:K.map((o,x)=>{const d=ne(x,r);return`${d.x},${d.y}`}).join(" "),fill:"none",stroke:"rgba(255,255,255,0.10)",strokeWidth:1},r)),K.map((r,o)=>{const x=ne(o,1);return e.jsx("line",{x1:ge,y1:ge,x2:x.x,y2:x.y,stroke:"rgba(255,255,255,0.10)",strokeWidth:1},o)})]}),e.jsx(b.path,{d:l,fill:"url(#lab-05-fill)",stroke:"url(#lab-05-stroke)",strokeWidth:2,strokeLinejoin:"round",initial:n?!1:{d:i,opacity:0},animate:{d:l,opacity:1},transition:n?{duration:0}:{duration:.95,ease:[.22,1,.36,1],delay:.1}}),K.map((r,o)=>{const x=ne(o,s[o]),d=o===a;return e.jsx(b.circle,{cx:x.x,cy:x.y,r:d?5:3.2,fill:d?"#EF4444":"#38BDF8",stroke:"#0B1120",strokeWidth:1.5,initial:n?!1:{scale:0,opacity:0},animate:{scale:1,opacity:1},style:{transformOrigin:`${x.x}px ${x.y}px`},transition:n?{duration:0}:{delay:.7+o*.05,type:"spring",stiffness:380,damping:20}},o)})]}),K.map((r,o)=>{const x=ne(o,1.32),d=o===a,m=x.x/se*100,u=x.y/se*100;return e.jsxs("span",{className:p("absolute -translate-x-1/2 -translate-y-1/2 whitespace-nowrap text-center text-[10px] font-semibold leading-tight tracking-tight sm:text-[11px]",d?"text-stop":"text-on-navy-muted"),style:{left:`${m}%`,top:`${u}%`,"--x":`${x.x}px`},children:[r,e.jsx("br",{}),e.jsx("span",{className:"tabular font-mono text-[9px] opacity-80",children:t[o]})]},r)})]})}const oe=15e4,ze=4.33,ea=10,ta=60,aa=28,sa=45,na=3,Me=24,ra=1,la=6,L=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0});function oa(){const t=ee(),a=c.useRef(null),n=it(a,{amount:.25}),[s,l]=c.useState(30),[i,r]=c.useState(35),[o,x]=c.useState(12),[d,m]=c.useState(2),u=c.useMemo(()=>{const h=s*i*ze,j=h*o,f=h*d,g=h*d*12,N=g>=oe,w=Math.min(g/oe,1.6);return{monthlyValue:h,ltv:j,fullMonthOfStarts:f,annualized:g,clears:N,floorPct:w}},[s,i,o,d]);return e.jsxs("div",{ref:a,className:p("relative w-full overflow-hidden rounded-3xl border border-white/10 bg-navy p-5 text-on-navy shadow-[0_40px_90px_-50px_rgba(8,12,24,0.8)] sm:p-7 md:p-10"),children:[e.jsx("div",{"aria-hidden":!0,
116className:"pointer-events-none absolute -right-24 -top-28 h-72 w-72 rounded-full opacity-30 blur-3xl",style:{background:"radial-gradient(circle,#38BDF8,transparent 70%)"}}),e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute -bottom-32 -left-24 h-72 w-72 rounded-full opacity-20 blur-3xl",style:{background:"radial-gradient(circle,#2563EB,transparent 70%)"}}),e.jsxs("div",{className:"relative flex flex-wrap items-center justify-between gap-3",children:[e.jsxs("p",{className:"callsign text-on-navy-muted",children:[e.jsx("span",{className:"callsign-dot"})," True value"]}),e.jsx("span",{className:"rounded-full border border-white/10 bg-white/5 px-3 py-1 font-mono text-[10px] uppercase tracking-[0.14em] text-on-navy-muted",children:"Illustrative"})]}),e.jsx("p",{className:"relative mt-3 max-w-[48ch] text-balance text-base text-on-navy sm:text-lg",children:"A booked assessment is not a cost. Each one that turns into a start is a five-figure asset that pays out month after month."}),e.jsxs("div",{className:"relative mt-7 grid gap-6 lg:grid-cols-[1fr_minmax(0,1.05fr)]",children:[e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx(me,{label:"Hours of care per week",valueText:`${s} hrs`,children:e.jsx("input",{type:"range",min:ea,max:ta,step:1,value:s,onChange:h=>l(Number(h.target.value)),"aria-label":"Hours of care per week",className:"lab-07-range"})}),e.jsx(me,{label:"Hourly rate",valueText:L.format(i),children:e.jsx("input",{type:"range",min:aa,max:sa,step:1,value:i,onChange:h=>r(Number(h.target.value)),"aria-label":"Hourly rate",className:"lab-07-range"})}),e.jsx(me,{label:"Months of care",valueText:`${o} mo`,children:e.jsx("input",{type:"range",min:na,max:Me,step:1,value:o,onChange:h=>x(Number(h.target.value)),"aria-label":"Months of care",className:"lab-07-range"})}),e.jsxs("div",{className:"rounded-2xl border border-white/10 bg-navy-deep p-5",children:[e.jsx("p",{className:"font-mono text-[10px] uppercase tracking-[0.14em] text-on-navy-muted",children:"One start is worth, over its life"}),e.jsx("p",{className:"tabular mt-1 font-display text-[clamp(2.1rem,8vw,3.6rem)] font-extrabold leading-[0.95] tracking-tight obb-grad-text","aria-live":"off",children:L.format(Math.round(u.ltv))}),e.jsxs("p",{className:"tabular mt-2 text-[13px] text-on-navy-muted",children:[e.jsx("span",{className:"font-semibold text-on-navy",children:L.format(Math.round(u.monthlyValue))})," ","per month"," ",e.jsx("span",{"aria-hidden":!0,className:"text-brand-cyan",children:"×"})," ",e.jsx("span",{className:"font-semibold text-on-navy",children:o})," ","months of care"]})]})]}),e.jsxs("div",{className:"rounded-2xl border border-white/10 bg-navy-deep p-3 sm:p-5",children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2 px-1",children:[e.jsx(ft,{className:"h-4 w-4 text-brand-cyan","aria-hidden":!0}),e.jsx("span",{className:"font-mono text-[10px] uppercase tracking-[0.14em] text-on-navy-muted",children:"Each block = one month of care"})]}),e.jsx(ia,{months:o,reduce:!!t,inView:n,blockValue:u.monthlyValue})]})]}),e.jsxs("div",{className:"relative mt-8 rounded-2xl border border-white/10 bg-navy-deep p-5 sm:p-7",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx(ct,{className:"h-4 w-4 text-brand-cyan","aria-hidden":!0}),e.jsx("p",{className:"font-mono text-[11px] uppercase tracking-[0.14em] text-on-navy-muted",children:"Now multiply it by a full c
116alendar"})]}),e.jsxs("div",{className:"mt-4 grid gap-6 lg:grid-cols-[1fr_minmax(0,1fr)]",children:[e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx(me,{label:"New starts per month from a full calendar",valueText:`${d} / mo`,children:e.jsx("input",{type:"range",min:ra,max:la,step:1,value:d,onChange:h=>m(Number(h.target.value)),"aria-label":"New starts per month from a full calendar",className:"lab-07-range"})}),e.jsxs("div",{className:"grid gap-3 sm:grid-cols-2",children:[e.jsx(Ye,{label:"A full month of starts",value:L.format(Math.round(u.fullMonthOfStarts)),sub:`${L.format(Math.round(u.monthlyValue))} per start, monthly`}),e.jsx(Ye,{accent:!0,label:"Annualized new revenue",value:L.format(Math.round(u.annualized)),sub:"monthly value, times starts, times 12"})]}),e.jsx(xa,{pct:u.floorPct,clears:u.clears,reduce:!!t})]}),e.jsxs("div",{className:"rounded-2xl border border-white/10 bg-navy/60 p-3 sm:p-4",children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2 px-1",children:[e.jsx(Ne,{className:"h-4 w-4 text-brand-cyan","aria-hidden":!0}),e.jsxs("span",{className:"font-mono text-[10px] uppercase tracking-[0.14em] text-on-navy-muted",children:[d," ",d===1?"start":"starts"," a month, every month"]})]}),e.jsx(da,{count:d,months:o,reduce:!!t,inView:n})]})]})]}),e.jsxs("p",{className:"relative mt-5 text-[12px] leading-relaxed text-on-navy-muted",children:["Illustrative. Lifetime value uses ",ze," weeks per month and a flat length of stay. OBB books assessments"," ",e.jsx("span",{className:"font-medium text-on-navy",children:"exclusively on your brand, never shared"}),", and guarantees"," ",e.jsxs("span",{className:"font-medium text-on-navy",children:[L.format(oe)," in new revenue in 90 days, or we work for free until we do."]})]}),e.jsx("style",{children:`
117        .lab-07-range {
118          -webkit-appearance: none;
119          appearance: none;
120          width: 100%;
121          height: 44px;
122          background: transparent;
123          cursor: pointer;
124        }
125        .lab-07-range:focus { outline: none; }
126        .lab-07-range::-webkit-slider-runnable-track {
127          height: 6px;
128          border-radius: 999px;
129          background: linear-gradient(90deg,#2563EB 0%,#38BDF8 100%);
130        }
131        .lab-07-range::-moz-range-track {
132          height: 6px;
133          border-radius: 999px;
134          background: linear-gradient(90deg,#2563EB 0%,#38BDF8 100%);
135        }
136        .lab-07-range::-webkit-slider-thumb {
137          -webkit-appearance: none;
138          appearance: none;
139          margin-top: -10px;
140          height: 26px;
141          width: 26px;
142          border-radius: 999px;
143          background: #fff;
144          border: 2px solid #38BDF8;
145          box-shadow: 0 6px 16px -6px rgba(56,189,248,0.8);
146        }
147        .lab-07-range::-moz-range-thumb {
148          height: 26px;
149          width: 26px;
150          border-radius: 999px;
151          background: #fff;
152          border: 2px solid #38BDF8;
153          box-shadow: 0 6px 16px -6px rgba(56,189,248,0.8);
154        }
155        .lab-07-range:focus-visible::-webkit-slider-thumb {
156          box-shadow: 0 0 0 4px rgba(56,189,248,0.45);
157        }
158        .lab-07-range:focus-visible::-moz-range-thumb {
159          box-shadow: 0 0 0 4px rgba(56,189,248,0.45);
160        }
161      `})]})}const he=132,we=.5,Q=26;function ia({months:t,reduce:a,inView:n,blockValue:s}){const r=30+Me*Q+he*we+24,o=300/2,x=r-28,d=Array.from({length:t});return e.jsxs("svg",{viewBox:`0 0 300 ${r}`,className:"mx-auto block w-full max-w-[280px]",role:"img","aria-label":`Isometric tower of ${t} blocks, one per month of care, each block worth about ${L.format(Math.round(s))}.`,children:[e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"lab07-top",x1:"0",y1:"0",x2:"1",y2:"1",children:[e.jsx("stop",{offset:"0%",stopColor:"#7DD3FC"}),e.jsx("stop",{offset:"100%",stopColor:"#38BDF8"})]}),e.jsxs("linearGradient",{id:"lab07-left",x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"0%",stopColor:"#2563EB"}),e.jsx("stop",{offset:"100%",stopColor:"#1E40AF"})]}),e.jsxs("linearGradient",{id:"lab07-right",x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"0%",stopColor:"#1D4ED8"}),e.jsx("stop",{offset:"100%",stopColor:"#1E3A8A"})]})]}),e.jsx("ellipse",{cx:o,cy:x+6,rx:he*.7,ry:he*we*.6,fill:"#000",opacity:.28}),e.jsx(R,{initial:!1,children:d.map((m,u)=>{const h=x-u*Q,j=u===t-1;return e.jsx(ca,{cx:o,yTop:h,index:u,isTop:j,reduce:a,inView:n},u)})})]})}function ca({cx:t,yTop:a,index:n,isTop:s,reduce:l,inView:i}){const r=he/2,o=r*we,x=`${t},${a-o} ${t+r},${a} ${t},${a+o} ${t-r},${a}`,d=`${t-r},${a} ${t},${a+o} ${t},${a+o+Q} ${t-r},${a+Q}`,m=`${t},${a+o} ${t+r},${a} ${t+r},${a+Q} ${t},${a+o+Q}`,u=!l&&i;return e.jsxs(b.g,{initial:u?{opacity:0,y:-18,scale:.92}:{opacity:1,y:0,scale:1}
161,animate:{opacity:1,y:0,scale:1},exit:u?{opacity:0,y:12,scale:.92}:{opacity:1},transition:{duration:l?0:.34,delay:u?Math.min(n*.035,.5):0,ease:[.22,1,.36,1]},style:{transformBox:"fill-box",transformOrigin:"center"},children:[e.jsx("polygon",{points:m,fill:"url(#lab07-right)"}),e.jsx("polygon",{points:d,fill:"url(#lab07-left)"}),e.jsx("polygon",{points:x,fill:"url(#lab07-top)",stroke:s?"#BAE6FD":"#7DD3FC",strokeOpacity:s?.9:.35,strokeWidth:s?1.5:.75}),e.jsx("polyline",{points:`${t-r},${a} ${t},${a-o} ${t+r},${a}`,fill:"none",stroke:"#E0F2FE",strokeOpacity:.45,strokeWidth:.75})]})}function da({count:t,months:a,reduce:n,inView:s}){const l=Array.from({length:t}),i=10,o=Me*i+34;return e.jsxs("svg",{viewBox:`0 0 240 ${o}`,className:"mx-auto block w-full",role:"img","aria-label":`Skyline of ${t} towers, one per new start each month, each ${a} blocks tall.`,preserveAspectRatio:"xMidYMax meet",children:[e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"lab07-sky-top",x1:"0",y1:"0",x2:"1",y2:"1",children:[e.jsx("stop",{offset:"0%",stopColor:"#7DD3FC"}),e.jsx("stop",{offset:"100%",stopColor:"#38BDF8"})]}),e.jsxs("linearGradient",{id:"lab07-sky-side",x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"0%",stopColor:"#2563EB"}),e.jsx("stop",{offset:"100%",stopColor:"#1E3A8A"})]})]}),e.jsx("line",{x1:8,x2:232,y1:o-16,y2:o-16,stroke:"#fff",strokeOpacity:.12,strokeWidth:1}),e.jsx(R,{initial:!1,children:l.map((x,d)=>{const m=224/t,u=8+m*d+m/2,h=Math.min(m*.46,26);return e.jsx(b.g,{initial:n?{opacity:1}:{opacity:0,y:14,scale:.9},animate:{opacity:1,y:0,scale:1},exit:n?{opacity:1}:{opacity:0,y:14,scale:.9},transition:{duration:n?0:.4,delay:n||!s?0:d*.06,ease:[.22,1,.36,1]},style:{transformBox:"fill-box",transformOrigin:"center"},children:Array.from({length:a}).map((j,f)=>{const g=o-16-(f+1)*i;return e.jsxs("g",{children:[e.jsx("rect",{x:u-h/2,y:g,width:h,height:i+.5,rx:1.5,fill:"url(#lab07-sky-side)"}),e.jsx("rect",{x:u-h/2,y:g,width:h,height:3,rx:1.5,fill:"url(#lab07-sky-top)",opacity:.9})]},f)})},d)})})]})}function xa({pct:t,clears:a,reduce:n}){const s=Math.min(t,1)*100,l=t>1;return e.jsxs("div",{className:p("rounded-2xl border p-4 transition-colors duration-300",a?"border-go/40 bg-go/10":"border-white/10 bg-white/[0.03]"),children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[e.jsxs("span",{className:"font-mono text-[10px] uppercase tracking-[0.14em] text-on-navy-muted",children:["Toward the ",L.format(oe)," floor"]}),e.jsx(R,{mode:"wait",children:a?e.jsxs(b.span,{initial:n?!1:{opacity:0,scale:.85},animate:{opacity:1,scale:1},exit:n?void 0:{opacity:0,scale:.85},transition:{duration:.25,ease:[.22,1,.36,1]},className:"inline-flex items-center gap-1.5 rounded-full bg-go/15 px-2.5 py-1 text-[11px] font-bold text-go",children:[e.jsx(Ue,{className:"h-3.5 w-3.5","aria-hidden":!0}),"Clears the ",L.format(oe)," floor"]},"clears"):e.jsx(b.span,{initial:n?!1:{opacity:0},animate:{opacity:1},exit:n?void 0:{opacity:0},transition:{duration:.2},className:"text-[11px] font-semibold text-on-navy-muted",children:"Keep stacking"},"below")})]}),e.jsxs("div",{className:"relative mt-3 h-3 overflow-hidden rounded-full bg-white/10",children:[e.jsx(b.div,{className:p("h-full rounded-full",a?"bg-go":"obb-grad-bg"),initial:!1,animate:{width:`${s}%`},transition:n?{duration:0}:{type:"spring",stiffness:120,damping:22}}),e.jsx("div",{"aria-hidden":!0,className:"absolute top-0 h-full w-[2px] bg-white/60",style:{left:"100%",transform:"translateX(-2px)"}})]}),e.jsx("p",{className:"mt-2 text-[12px] text-on-navy-muted",children:a?e.jsxs(e.Fragment,{children:["One full calendar of starts annualizes past the guarantee floor",l?", with room to spare.":"."]}):e.jsx(e.Fragment,{children:"A fuller calendar pushes this past the floor."})})]})}function me({label:t,valueText:a,children:n}){return e.jsxs("div",{className:"rounded-2xl border border-white/10 bg-white/[0.03] p-4",children:[e.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[e.jsx("span",{className:"text-[13px] font-medium leading-snug text-on-navy",children:t}),e.jsx("span",{className:"tabular shrink-0 font-display text-base font-bold text-brand-cyan",children:a})]}),e.jsx("div",{className:"mt-1",children:n})]})}function Ye({label:t,value:a,sub:n,accent:s=!1}){return e.jsxs("div",{className:p("rounded-2xl border p-4",s?"border-brand-cyan/30 bg-navy":"border-white/10 bg-white/[0.03]"),children:[e.jsx("p",{className:"font-mono text-[10px] uppercase tracking-[0.14em] text-on-navy-muted",children:t}
161),e.jsx("p",{className:p("tabular mt-1 font-display text-xl font-extrabold leading-tight",s?"obb-grad-text":"text-on-navy"),children:a}),n&&e.jsx("p",{className:"tabular mt-1 text-[11px] leading-snug text-on-navy-muted",children:n})]})}const ke=225,Ze=.45,ie=2e3,ue={contact:.95,qualify:.9,show:.85,start:Ze},ma=.3,ua=.5,pa=Ze,ha=t=>Math.round(t).toLocaleString("en-US",{maximumFractionDigits:0}),F=t=>"$"+Math.round(t).toLocaleString("en-US",{maximumFractionDigits:0});function ba(t,a){const n=ie/t,s=n*a,l=s*ma,i=l*ua,r=i*pa;return[{label:"Cheap leads bought",value:n},{label:"Actually contacted",value:s},{label:"Qualified (private-pay)",value:l},{label:"Showed for assessment",value:i},{label:"Turned into a start",value:r}]}function fa(){const t=ie/ke,a=t*ue.contact,n=a*ue.qualify,s=n*ue.show,l=s*ue.start;return[{label:"Booked assessments",value:t},{label:"Reached fast",value:a},{label:"Qualified (private-pay)",value:n},{label:"Showed for assessment",value:s},{label:"Turned into a start",value:l}]}function Ge({title:t,sub:a,stages:n,tone:s,reduce:l}){var o;const i=((o=n[0])==null?void 0:o.value)||1,r=s==="stop";return e.jsxs("div",{className:p("relative flex flex-col rounded-2xl border p-4 sm:p-5",r?"border-stop/25 bg-stop/[0.04]":"border-go/30 bg-go/[0.05]"),children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2",children:[e.jsx("span",{"aria-hidden":!0,className:p("grid h-8 w-8 shrink-0 place-items-center rounded-lg",r?"bg-stop/12 text-stop":"bg-go/12 text-go"),children:r?e.jsx(wt,{className:"h-4 w-4"}):e.jsx(ce,{className:"h-4 w-4"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:p("font-display text-[15px] font-semibold leading-tight",r?"text-stop":"text-go"),children:t}),e.jsx("p",{className:"text-[11px] leading-tight text-ink-muted",children:a})]})]}),e.jsx("ul",{className:"flex flex-col gap-2.5",children:n.map((x,d)=>{const m=Math.max(6,Math.min(100,x.value/i*100)),u=d===n.length-1;return e.jsxs("li",{children:[e.jsxs("div",{className:"mb-1 flex items-baseline justify-between gap-2",children:[e.jsx("span",{className:"text-[11px] font-medium text-ink-soft",children:x.label}),e.jsx("span",{className:p("tabular text-[13px] font-semibold",u?r?"text-stop":"text-go":"text-ink"),children:ha(x.value)})]}),e.jsx("div",{className:"h-3 w-full overflow-hidden rounded-full bg-canvas-deep/70",children:e.jsx(b.div,{className:p("h-full rounded-full",r?u?"bg-stop":"bg-stop/55":u?"bg-go":"bg-go/55"),initial:l?!1:{width:0},animate:{width:`${m}%`},transition:l?{duration:0}:{duration:.7,delay:d*.08,ease:[.22,1,.36,1]},style:l?{width:`${m}%`}:void 0})}),!u&&e.jsx("div",{className:"mt-1 flex justify-center","aria-hidden":!0,children:e.jsx(bt,{className:"h-3 w-3 text-ink-muted/50"})})]},x.label)})})]})}function Ve({label:t,value:a,min:n,max:s,step:l,display:i,onChange:r}){const o=(a-n)/(s-n)*100;return e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsxs("div",{className:"flex items-baseline justify-between",children:[e.jsx("label",{className:"text-[12px] font-medium text-ink-soft",children:t}),e.jsx("span",{className:"tabular text-[13px] font-semibold text-ink",children:i})]}),e.jsx("input",{type:"range",min:n,max:s,step:l,value:a,onChange:x=>r(Number(x.target.value)),"aria-label":t,className:"lab-08-range w-full",style:{"--pct":`${o}%`}})]})}function ga(){const t=!!ee(),[a,n]=c.useState(15),[s,l]=c.useState(.35),i=c.useMemo(()=>ba(a,s),[a,s]),r=c.useMemo(()=>fa(),[]),o=i[i.length-1].value,x=r[r.length-1].value,d=ie/Math.max(o,1e-4),m=ie/Math.max(x,1e-4),u=d-m,h=m<d,j=d/m;let f;j>2.2?f="Drag the sliders. A cheap sticker price still bleeds out through the drop-off.":j>1.35?f="Closer. But you are buying volume that never turns into a start.":j>1.02?f="Almost. Even your best-case cheap lead loses to a booked assessment.":f="That contact rate is fantasy with shared leads. In the real world OBB still wins.";const g=F(a)+" / lead",N=Math.round(s*100)+"%";return e.jsxs("div",{className:"w-full",children:[e.jsx("style",{children:`
162        .lab-08-range {
163          -webkit-appearance: none;
164          appearance: none;
165          height: 28px;
166          background: transparent;
167          cursor: pointer;
168        }
169        .lab-08-range::-webkit-slider-runnable-track {
170          height: 6px;
171          border-radius: 999px;
172          background: linear-gradient(
173            to right,
174            hsl(var(--obb-stop)) 0%,
175            hsl(var(--obb-stop)) var(--pct),
176            hsl(var(--obb-rule)) var(--pct),
177            hsl(var(--obb-rule)) 100%
178          );
179        }
180        .lab-08-range::-moz-range-track {
181          height: 6px;
182          border-radius: 999px;
183          background: hsl(var(--obb-rule));
184        }
185        .lab-08-range::-moz-range-progress {
186          height: 6px;
187          border-radius: 999px;
188          background: hsl(var(--obb-stop));
189        }
190        .lab-08-range::-webkit-slider-thumb {
191          -webkit-appearance: none;
192          appearance: none;
193          margin-top: -9px;
194          height: 24px;
195          width: 24px;
196          border-radius: 999px;
197          background: #fff;
198          border: 2px solid hsl(var(--obb-stop));
199          box-shadow: 0 4px 12px -3px rgba(26,36,59,0.45);
200        }
201        .lab-08-range::-moz-range-thumb {
202          height: 24px;
203          width: 24px;
204          border-radius: 999px;
205          background: #fff;
206          border: 2px solid hsl(var(--obb-stop));
207          box-shadow: 0 4px 12px -3px rgba(26,36,59,0.45);
208        }
209        .lab-08-range:focus-visible::-webkit-slider-thumb {
210          outline: 3px solid hsl(var(--obb-blue) / 0.5);
211          outline-offset: 2px;
212        }
213        .lab-08-range:focus-visible::-moz-range-thumb {
214          outline: 3px solid hsl(var(--obb-blue) / 0.5);
215          outline-offset: 2px;
216        }
217      `}),e.jsxs("div",{className:"rounded-3xl border border-canvas-rule bg-white p-5 shadow-[0_40px_90px_-50px_rgba(26,36,59,0.35)] sm:p-7 md:p-10",children:[e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("p",{className:"callsign",children:[e.jsx("span",{className:"callsign-dot"})," REAL COST"]}),e.jsx("h3",{className:"font-display text-2xl font-semibold leading-tight text-ink sm:text-3xl",children:"The cheap-lead trap"}),e.jsxs("p",{className:"max-w-[46rem] text-[13px] leading-relaxed text-ink-soft sm:text-sm",children:["Same ",F(ie)," budget on both sides. Cheap shared leads look like a bargain on the sticker. Then watch them drain through the drop-off. Drag the sliders and try to beat a booked assessment on true cost per start."]})]}),e.jsxs("div",{className:"mt-6 rounded-2xl border border-stop/20 bg-stop/[0.03] p-4 sm:p-5",children:[e.jsx("p",{className:"mb-3 text-[11px] font-semibold uppercase tracking-[0.14em] text-stop",children:"Try to win with cheap leads"}),e.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[e.jsx(Ve,{label:"Cost per cheap lead",value:a,min:8,max:40,step:1,display:g,onChange:n}),e.jsx(Ve,{label:"Contact rate (you reach them)",value:Math.round(s*100),min:10,max:60,step:1,display:N,onChange:w=>l(w/100)})]}),e.jsx("p",{className:"mt-3 text-[12px] leading-snug text-ink-muted",children:f})]}),e.jsxs("div",{className:"mt-6 grid gap-4 md:grid-cols-2",children:[e.jsx(Ge,{title:"Cheap shared leads",sub:`${F(a)} each, shared with rivals`,stages:i,tone:"stop",reduce:t}),e.jsx(Ge,{title:"OBB booked assessments",sub:`${F(ke)} each, exclusive to you`,stages:r,tone:"go",reduce:t})]}),e.jsxs("div",{className:"mt-6 grid gap-3 sm:grid-cols-2",children:[e.jsx(He,{label:"Cheap leads",sticker:`${F(a)} sticker`,costPerStart:d,tone:"stop",reduce:t,highlight:!h}),e.jsx(He,{label:"OBB booked assessments",sticker:`${F(ke)} sticker`,costPerStart:m,tone:"go",reduce:t,highlight:h})]}),e.jsxs(b.div,{initial:t?!1:{opacity:0,y:8}
217,animate:{opacity:1,y:0},transition:t?{duration:0}:{duration:.4},className:"mt-5 rounded-2xl border border-go/30 bg-go/[0.06] p-4 text-center sm:p-5",children:[e.jsx("p",{className:"text-[12px] font-medium uppercase tracking-[0.12em] text-ink-muted",children:"True cost per start"}),e.jsxs("p",{className:"mt-1.5 font-display text-lg font-semibold leading-snug text-ink sm:text-xl",children:["Cheap leads"," ",e.jsx("span",{className:"tabular text-stop",children:F(d)})," ","vs OBB"," ",e.jsx("span",{className:"tabular text-go",children:F(m)})]}),h&&u>0&&e.jsxs("p",{className:"mt-1.5 text-[13px] font-medium text-go sm:text-sm",children:["You actually save"," ",e.jsx("span",{className:"tabular font-semibold",children:F(u)})," ","per start with OBB."]})]},h?"win":"lose"),e.jsxs("div",{className:"mt-5 flex flex-col gap-1.5 border-t border-canvas-rule pt-4",children:[e.jsxs("p",{className:"text-[12px] font-medium text-ink-soft",children:["And on the OBB side, the number you commit to is simple:"," ",e.jsx("span",{className:"font-semibold text-ink",children:"$150,000 in new revenue in 90 days, or we work for free."})]}),e.jsx("p",{className:"text-[11px] text-ink-muted",children:"Illustrative. Conversion rates shown are model assumptions, not a promise of any specific account's results."})]})]})]})}function He({label:t,sticker:a,costPerStart:n,tone:s,reduce:l,highlight:i}){const r=s==="stop";return e.jsxs("div",{className:p("relative flex flex-col gap-1 rounded-2xl border p-4 sm:p-5 transition-shadow",r?"border-stop/25 bg-stop/[0.04]":"border-go/30 bg-go/[0.05]",i&&(r?"ring-2 ring-stop/30":"ring-2 ring-go/40 shadow-[0_24px_60px_-40px_rgba(34,160,90,0.6)]")),children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("span",{className:"text-[12px] font-semibold text-ink-soft",children:t}),e.jsx("span",{className:"text-[11px] text-ink-muted line-through",children:a})]}),e.jsx("p",{className:"text-[11px] text-ink-muted",children:"True cost per start"}),e.jsx(b.p,{initial:l?!1:{opacity:.4,scale:.96},animate:{opacity:1,scale:1},transition:l?{duration:0}:{duration:.3},className:p("tabular font-display text-3xl font-bold leading-none sm:text-4xl",r?"text-stop":"text-go"),children:F(n)},Math.round(n))]})}const ya=[_t,Ft,Ht,Kt,pt,oa,ga];function va(){var n;const[t,a]=c.useState(((n=J[0])==null?void 0:n.slug)??"");return c.useEffect(()=>{const s=J.map(i=>document.getElementById(i.slug)).filter(i=>i!==null);if(!s.length)return;const l=new IntersectionObserver(i=>{const r=i.filter(o=>o.isIntersecting).sort((o,x)=>x.intersectionRatio-o.intersectionRatio);r[0]&&a(r[0].target.id)},{rootMargin:"-30% 0px -55% 0px",threshold:[0,.25,.5]});return s.forEach(i=>l.observe(i)),()=>l.disconnect()},[]),t}function ja(){const t=va();return e.jsxs("div",{className:"obb-scope min-h-screen bg-canvas text-ink",children:[e.jsx(dt,{}),e.jsx("header",{className:"sticky top-0 z-50 border-b border-canvas-rule bg-canvas/85 backdrop-blur-md",children:e.jsxs("div",{className:"measure-page mx-auto flex h-14 items-center justify-between gap-4 px-5 md:px-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(xt,{tone:"gradient"}),e.jsxs("span",{className:"hidden items-center gap-1.5 rounded-full border border-canvas-rule bg-white px-2.5 py-1 font-mono text-[10px] uppercase tracking-[0.14em] text-ink-muted sm:inline-flex",children:[e.jsx(yt,{className:"size-3 text-brand-blue"}),"Interactive Lab"]})]}),e.jsxs("a",{href:"/",className:"inline-flex items-center gap-1.5 font-mono text-[11px] uppercase tracking-[0.12em] text-ink-muted transition-colors hover:text-brand-blue",children:[e.jsx(Se,{className:"size-3.5"}),"Back to site"]})]})}),e.jsxs("section",{className:"relative overflow-hidden border-b border-canvas-rule bg-canvas-deep",children:[e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 opacity-[0.5]",style:{background:"radial-gradient(60% 50% at 15% 0%, rgba(37,99,235,0.10), transparent 70%), radial-gradient(50% 60% at 100% 100%, rgba(56,189,248,0.10), transparent 70%)"}}),e.jsxs("div",{className:"measure-page relative z-10 mx-auto px-5 py-16 md:px-6 md:py-24",children:[e.jsxs("p",{className:"callsign text-ink-muted",children:[e.jsx("span",{className:"callsign-dot"})," OBB Interactive Lab · Draft"]}),e.jsxs("h1",{className:"mt-5 max-w-[16ch] font-display text-4xl font-extrabold leading-[1.02] tracking-tight text-ink md:text-6xl",children:["Seven ways to ",e.jsx("span",{className:"obb-grad-text",children:"feel the math"})," behind a fuller calendar."]}),e.jsx("p",{className:"measure-lg mt-6 text-lg text-ink-soft md:text-xl",children:"Working experiments for OBB - Home Care Growth. Each one turns the promise, $150,000 in new revenue in 90 days or we work for free, into something you can drag, play, and watch move. Scroll through, or jump to any one below."}),e.jsx("div",{className:"mt-10 grid gap-2.5 sm:grid-cols-2 lg:grid-cols-2",children:J.map(a=>e.jsxs("a",{href:`#${a.slug}
217`,className:"group flex items-center gap-4 rounded-xl border border-canvas-rule bg-white px-4 py-3.5 transition-all hover:border-brand-blue/50 hover:shadow-[0_18px_40px_-28px_rgba(37,99,235,0.5)]",children:[e.jsx("span",{className:"font-display text-lg font-extrabold tabular text-ink-muted transition-colors group-hover:text-brand-blue",children:a.num}),e.jsxs("span",{className:"min-w-0 flex-1",children:[e.jsx("span",{className:"block truncate font-display text-[15px] font-semibold text-ink",children:a.title}),e.jsx("span",{className:"block truncate font-mono text-[10px] uppercase tracking-[0.1em] text-ink-muted",children:a.kicker})]}),e.jsx(_e,{className:"size-4 shrink-0 text-ink-muted opacity-0 transition-all group-hover:translate-x-0.5 group-hover:text-brand-blue group-hover:opacity-100"})]},a.slug))})]})]}),e.jsxs("div",{className:"relative",children:[e.jsx("nav",{"aria-label":"Exhibits",className:"pointer-events-none fixed left-5 top-1/2 z-40 hidden -translate-y-1/2 xl:block",children:e.jsx("ol",{className:"pointer-events-auto flex flex-col gap-1.5",children:J.map(a=>{const n=t===a.slug;return e.jsx("li",{children:e.jsx("a",{href:`#${a.slug}`,title:a.title,"aria-label":a.title,"aria-current":n?"true":void 0,className:"group block",children:e.jsx("span",{className:p("grid size-7 origin-center place-items-center rounded-full font-mono text-[10px] tabular transition-all duration-300",n?"scale-110 obb-grad-bg text-white shadow-[0_6px_16px_-6px_rgba(37,99,235,0.7)]":"border border-canvas-rule bg-white text-ink-muted group-hover:scale-110 group-hover:border-brand-blue group-hover:text-brand-blue"),children:a.num})})},a.slug)})})}),e.jsx("main",{children:J.map((a,n)=>{const s=ya[n];return e.jsx(kt,{exhibit:a,children:s?e.jsx(s,{}):null},a.slug)})})]}),e.jsx("footer",{className:"border-t border-canvas-rule bg-navy-deep py-16 text-on-navy",children:e.jsxs("div",{className:"measure-page mx-auto px-5 text-center md:px-6",children:[e.jsxs("p",{className:"font-display text-2xl font-bold text-white md:text-3xl",children:["$150,000 in new revenue in 90 days."," ",e.jsx("span",{className:"obb-grad-text",children:"Or we work for free."})]}),e.jsx("p",{className:"mx-auto mt-4 measure text-on-navy-muted",children:"These are working experiments. The real thing runs on your brand, with families qualified and booked straight onto your calendar."}),e.jsxs("a",{href:"/",className:"mt-8 inline-flex items-center gap-2 rounded-lg obb-grad-bg px-6 py-3.5 font-mono text-[12px] font-medium uppercase tracking-[0.12em] text-white shadow-[0_10px_30px_-12px_rgba(37,99,235,0.6)] transition-shadow hover:shadow-[0_14px_40px_-12px_rgba(37,99,235,0.7)]",children:["Back to the main site",e.jsx(_e,{className:"size-4"})]})]})})]})}function Ma(){return e.jsx(ja,{})}export{Ma as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.