/* Characters share a surface, a target, and a response with the real content. */
.companion{margin:0;pointer-events:none;flex-shrink:0}
.companion img{display:block;width:100%;height:100%;object-fit:contain}
.pain-companion{width:340px;height:230px;margin:12px 0 -5px -20px;transform-origin:30% 90%}
.story-button-scene{position:relative;isolation:isolate;flex-shrink:0}
.demo-companion{position:absolute;right:0;bottom:calc(100% - 27px);width:148px;height:160px;z-index:4;transform-origin:50% 100%;transition:opacity .2s}
.post-story .story-tool-action #story-try{position:relative;z-index:3}
.post-story[data-step="0"][data-complete="false"] .story-button-scene{width:100%}
.post-story[data-step="0"][data-complete="false"] .story-tool-context{justify-content:flex-start;gap:18px}
.post-story[data-step="0"][data-complete="false"] .try-pointer{align-self:flex-start;margin-right:110px}
.post-story[data-complete="true"] .demo-companion{opacity:.85}
.story-button-scene:has(#story-try:not(:disabled)):hover .demo-companion{transform:translateY(3px)}
.post-story[data-complete="false"] #story-try:not(:disabled){scale:1.02}
.insight-companion{position:absolute;right:-18px;top:84px;width:165px;height:175px;transform-origin:80% 70%;z-index:2}
.magnified-number{position:absolute;left:20%;top:46%;transform:translate(-50%,-50%);font:900 23px/1 var(--display);color:var(--ink)}
.magnified-number{z-index:2}
.learning-data .result-bar:first-of-type>b{transition:filter .4s,box-shadow .4s}
.learning-data.is-inspecting .result-bar:first-of-type>b{box-shadow:0 0 0 3px var(--brand-secondary);filter:brightness(1.05)}
.learning-data .result-bar:first-of-type>b{padding-right:85px}
.learning-data .sample-label{max-width:30ch}
.faq-layout{position:relative;isolation:isolate}
.faq-companion{width:260px;height:235px;margin:32px 0 0 15px;transform-origin:50% 100%}
.faq-helper-line{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:-1;fill:none;stroke:var(--brand-secondary);stroke-width:2;stroke-linecap:round;stroke-dasharray:5 7;opacity:.75}
#questions .faq-list details[open]{border-left:3px solid var(--brand-primary);padding-left:14px}
.start-create{position:relative;isolation:isolate}
.companion-action{position:relative;display:inline-block;isolation:isolate;flex-shrink:0}
.companion-action>.companion{position:absolute;right:-10px;bottom:calc(100% - 15px);width:93px;height:95px;z-index:2;transform-origin:50% 100%;transition:transform .2s}
.companion-action>a,.companion-action>button{position:relative;z-index:3}
.companion-action:hover>.companion{transform:translateY(4px) rotate(3deg)}
.start-create .actions{padding-right:0;align-items:center}
.brands-next>div:last-child{position:relative;padding-right:0}
.brands-next .actions{margin-top:85px!important}
.empty-companion{width:170px;height:155px;margin:0 auto 15px}
.pricing-guide{display:flex;align-items:center;gap:5px}
.pricing-companion{width:140px;height:135px}
.pricing-guide>p{font-size:14px;line-height:1.5;max-width:29ch;border-bottom:3px solid var(--brand-primary);padding-bottom:10px}
@media(min-width:801px){#free-plan .section-heading h2 em{margin-left:.2em}}
@media(min-width:801px) and (max-height:730px){.pain-companion{height:160px;width:260px}.faq-companion{height:160px;width:190px;margin-top:20px}.pricing-companion{height:100px;width:115px}.insight-companion{width:135px;height:145px;top:85px}}
@media(max-width:1100px) and (min-width:801px){.demo-companion{width:85px;height:95px}.insight-companion{right:-8px;width:135px;height:150px}.pricing-companion{width:100px}}
@media(max-width:800px){.pain-companion{width:250px;height:180px}.demo-companion{display:none}.insight-companion{width:130px;height:140px;top:95px;right:0}.faq-companion{width:180px;height:160px;margin-top:15px}.faq-helper-line{display:none}.companion-action>.companion{width:75px;height:80px}.brands-next .actions{margin-top:65px!important}.pricing-guide{gap:3px}.pricing-companion{width:95px;height:100px}.pricing-guide>p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.companion,.companion img,.result-bar>b{transition:none!important}}

/* The demo is a small performance: fixed registration across distinct pose frames. */
.demo-companion>.motion-frame{position:absolute;inset:0;opacity:0}
.demo-companion[data-motion-ready] img{opacity:0;transition:opacity 65ms linear}
.demo-companion[data-pose="idle"]>.motion-base,.demo-companion[data-pose="blink"]>[data-frame="blink"],.demo-companion[data-pose="press"]>[data-frame="press"],.demo-companion[data-pose="result"]>[data-frame="result"]{opacity:1}
@media(min-width:801px) and (max-height:730px){.demo-companion{width:128px;height:140px;bottom:calc(100% - 24px)}}
@media(prefers-reduced-motion:reduce){.demo-companion img{transition:none!important}}
.pain-companion,.empty-companion{position:relative}
.companion>.blink-frame{position:absolute;inset:0;opacity:0;z-index:1}
.gentle-blink[data-eyes="closed"]>img:first-child{opacity:0}
.gentle-blink[data-eyes="closed"]>.blink-frame{opacity:1}
