/* A complete foundation, readable in one view. */
.foundation-layer{left:0;top:0;width:386px;height:178px;min-height:0;padding:24px;border-radius:22px;will-change:auto;background:var(--surface);box-shadow:0 3px 0 var(--depth),0 14px 36px var(--shadow)}
.foundation-card-icon{position:absolute;right:23px;top:24px;color:var(--blue);opacity:.8}
.foundation-card-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}
.foundation-layer .layer-header{height:auto;width:auto;display:block;font-size:23px;font-weight:500;line-height:1.3;padding-right:30px;margin:0 0 15px;cursor:default;letter-spacing:-.035em}
.foundation-layer .layer-header:hover{color:inherit}
.foundation-layer .layer-body>p{font-size:18px;line-height:1.55;max-width:310px}
.bridge-face>.foundation-layer{padding:24px!important}
.customization-editor{position:absolute;left:0;top:0;width:686px;z-index:22;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:22px 26px;box-shadow:0 4px 0 var(--depth),0 20px 50px var(--shadow);visibility:hidden;pointer-events:auto}
.edit-author{display:flex;align-items:center;gap:9px;margin-bottom:12px;font-size:14px;font-weight:500;color:var(--ink)}.edit-author>svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.edit-prompt>p{font-size:20px;line-height:1.45;margin:0;letter-spacing:-.02em;color:var(--body)}
.edit-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:18px;gap:15px;font-size:13px;color:var(--quiet)}.is-complete .edit-status{color:var(--ink)}
.edit-send{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex:none;min-width:96px;min-height:44px;padding:10px 16px;border:0;border-radius:12px;background:#3478ed;color:#fff;font:500 14px/1.4 Montserrat,sans-serif;cursor:pointer}.edit-send>svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.edit-send:hover:not([aria-disabled="true"]){background:#2567d5}.edit-send:focus-visible{outline:3px solid var(--focus);outline-offset:4px}.edit-send[aria-disabled="true"]{background:var(--module);color:var(--body);cursor:default}

.workspace-nav.competitor-nav{background:transparent;border:0;text-align:left;width:100%}.workspace-nav.competitor-nav[hidden]{display:none}.competitor-nav>span{font-size:10px}
.price-overview{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:12px 0}.price-overview>div{border-radius:11px;background:var(--module);padding:11px 15px;display:grid;gap:6px}.price-overview span{color:var(--quiet);font-size:11px}.price-overview strong{font-size:24px;font-weight:500}
.price-table{border-radius:13px;background:var(--surface);overflow:hidden}.price-table-head,.price-row{display:grid;grid-template-columns:1.8fr 1fr 1fr;align-items:center;gap:15px;padding:10px 16px}.price-table-head{font-size:10px;color:var(--quiet);background:var(--module)}.price-row{font-size:12px;border-top:1px solid var(--line);min-height:48px}.price-row>span:first-child{display:flex;align-items:center;gap:10px}.price-row svg{height:30px;width:30px;flex:none}.price-row strong{font-weight:500}.price-context{display:flex;align-items:center;gap:9px;font-size:11px;margin-top:18px;color:var(--quiet)}.price-context svg{width:17px;height:17px;fill:none;stroke:var(--blue);stroke-width:1.5}
.foundation-channels{display:flex;align-items:center;gap:12px;margin-top:12px}.foundation-channels img{width:24px;height:24px;object-fit:contain}.foundation-channels img:last-of-type{width:37px}.foundation-channels span{font-size:12px;color:var(--quiet)}
.foundation-layer[data-layer="0"] .layer-header{margin-bottom:8px}.foundation-layer[data-layer="0"] .layer-body>p{font-size:16px;line-height:1.4;max-width:275px}
.template-bridge-secondary{z-index:22}.template-bridge-third{z-index:23}
@media(max-width:1000px){
 .foundation-layer{width:194px;height:146px;padding:17px 15px;border-radius:16px;box-shadow:0 2px 0 var(--depth),0 7px 17px var(--shadow)}
 .foundation-card-icon{top:18px;right:14px}.foundation-card-icon svg{width:17px;height:17px}.foundation-layer .layer-header{font-size:17px;line-height:1.25;margin-bottom:10px;padding-right:18px}.foundation-layer .layer-body>p{font-size:15px;line-height:1.45}.foundation-layer:last-child .layer-header{max-width:145px}.bridge-face>.foundation-layer{padding:17px 15px!important}
 .customization-editor{width:392px;padding:14px 18px;border-radius:16px}.edit-author{font-size:13px;margin-bottom:8px}.edit-author>svg{width:16px;height:16px}.edit-prompt>p{font-size:17px;line-height:1.4}.edit-bottom{font-size:12px;margin-top:12px;gap:10px}.edit-send{min-height:48px;min-width:90px;font-size:14px;padding:10px 14px;gap:8px}

 .competitor-screen .screen-heading{margin-bottom:10px}.price-overview{margin:8px 0;gap:8px}.price-overview>div{height:40px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px}.price-overview span{font-size:8px}.price-overview strong{font-size:18px}.price-table-head,.price-row{padding:5px 9px;gap:8px}.price-table-head{font-size:8px}.price-row{font-size:9px;min-height:32px}.price-row>span:first-child{gap:5px}.price-row svg{width:21px;height:21px}.price-context{display:none}.competitor-nav>span{font-size:7px}
 .foundation-channels{gap:9px;margin-top:9px}.foundation-channels img{width:20px;height:20px}.foundation-channels img:last-of-type{width:28px}.foundation-channels span{font-size:10px}.foundation-layer[data-layer="0"] .layer-body>p{font-size:13px;line-height:1.4}.foundation-layer[data-layer="0"] .layer-header{padding-right:0}.foundation-layer[data-layer="0"] .foundation-card-icon{display:none}
 .surface-bridge,.bridge-rotor{will-change:auto}.bridge-face{box-shadow:0 3px 0 var(--depth),0 12px 24px var(--shadow)}
}

/* The agent leaves the software screen to show experience applied to a
   business decision. Typography and light stay in Jarvio's visual language. */
#os-deck.is-knowledge .os-base{visibility:hidden;box-shadow:none;background:transparent}
#workspace.is-knowledge{--blue:inherit;--surface:inherit;--module:inherit;--line:inherit;--ink:inherit;--quiet:inherit;--body:inherit;--wash:inherit;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
#workspace.is-knowledge .workspace-sidebar,#workspace.is-knowledge .workspace-topbar{visibility:hidden}
#workspace.is-knowledge .workspace-content{inset:0;background:transparent;overflow:visible}
#workspace .knowledge-screen{padding:0!important;inset:0;background:transparent;overflow:visible}
/* Experience has depth; the current business stays in the foreground. */
.agent-experience{position:relative;margin:0;width:720px;height:680px;--memory-paper:#fff;--memory-edge:#d8e2f0;--memory-ink:#c8d4e5;--case-paper:#fff;--case-shadow:rgba(41,66,109,.14);--fact-wash:#edf3fc;--knowledge-accent:var(--blue);pointer-events:none;perspective:1400px;isolation:isolate}
[data-theme="dark"] .agent-experience{--memory-paper:#263c59;--memory-edge:#36516f;--memory-ink:#4f6c90;--case-paper:#1b2b43;--case-shadow:rgba(0,0,0,.28);--fact-wash:#2a4160;--knowledge-accent:#91baff}
.experience-memory{position:absolute;inset:0 0 auto;height:270px;z-index:0}
.memory-perspective{position:absolute;left:37px;top:12px;width:650px;height:275px;background:color-mix(in srgb,var(--case-paper) 35%,var(--fact-wash));border-radius:24px;box-shadow:0 3px 0 var(--memory-edge),0 16px 36px var(--case-shadow);transform:rotateX(25deg) rotateY(-5deg) rotateZ(-4deg);transform-origin:50% 65%;transform-style:preserve-3d}
.memory-heading{position:absolute;left:25px;top:20px;margin:0;z-index:2;color:var(--ink);font:500 21px/1.4 Montserrat,sans-serif;letter-spacing:-.035em}
.memory-library{position:absolute;inset:63px 20px 0;display:grid;grid-template-columns:repeat(10,52px);grid-template-rows:repeat(7,18px);gap:10px;transform:translateZ(1px);transform-style:preserve-3d;opacity:.72;mask-image:linear-gradient(180deg,#000,#000 56%,transparent 91%);overflow:hidden}
.memory-tile{position:relative;display:block;height:70px;padding:10px 8px;border-radius:6px;background:var(--memory-paper);box-shadow:0 1px 0 var(--memory-edge),0 3px 0 var(--memory-edge),0 6px 11px var(--case-shadow);opacity:var(--strength);transform:translate3d(calc(var(--offset)*1.3px),calc(var(--offset)*-.7px),calc(var(--offset)*.8px)) rotate(calc((var(--offset) - 4)*.6deg));transition:background .7s ease,transform 1s cubic-bezier(.2,.7,.2,1),opacity .7s ease}
.memory-tile>b{display:block;width:7px;height:7px;border-radius:2px;background:var(--memory-ink);margin-bottom:6px}
.memory-tile>span{display:block;height:2px;background:var(--memory-ink);margin-top:3px;border-radius:2px}.memory-tile>span:last-child{width:65%}
.memory-topics{position:absolute;left:24px;right:24px;top:123px;display:grid;grid-template-columns:repeat(3,1fr);z-index:2;gap:14px;transform:translateZ(22px)}
.memory-lesson{min-width:0;height:116px;padding:16px 17px;border-radius:13px;background:var(--case-paper);box-shadow:0 2px 0 var(--memory-edge),0 9px 18px var(--case-shadow);transition:color .65s ease,transform .8s ease;color:var(--ink)}
.memory-lesson>span{display:block;max-width:152px;min-height:48px;font:500 18px/1.35 Montserrat,sans-serif;letter-spacing:-.03em}
.memory-lesson>i{display:block;width:82%;height:3px;background:var(--memory-ink);border-radius:2px;margin-top:10px;opacity:.65}.memory-lesson>i:last-child{width:56%;margin-top:6px}
.agent-experience[data-stage="1"] [data-memory="1"].memory-tile--relevant,.agent-experience[data-stage="2"] [data-memory="2"].memory-tile--relevant,.agent-experience[data-stage="3"] [data-memory="3"].memory-tile--relevant,.agent-experience[data-stage="4"] .memory-tile--relevant{background:var(--blue);opacity:1;transform:translateZ(30px)}
.memory-tile--relevant>b,.memory-tile--relevant>span{transition:background .7s ease}
.agent-experience[data-stage="4"] .memory-tile--relevant>b,.agent-experience[data-stage="4"] .memory-tile--relevant>span{background:#cfe3ff}
.agent-experience[data-stage="1"] .memory-topics [data-memory="1"],.agent-experience[data-stage="2"] .memory-topics [data-memory="2"],.agent-experience[data-stage="3"] .memory-topics [data-memory="3"],.agent-experience[data-stage="4"] .memory-lesson{color:var(--knowledge-accent);transform:translateY(-4px)}
.experience-product{position:absolute;left:41px;top:218px;width:638px;height:399px;border-radius:25px;background:var(--case-paper);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--surface) 75%,transparent),0 3px 0 var(--depth),0 22px 55px var(--case-shadow);transform:rotateX(6deg) rotateY(-6deg) rotateZ(-2deg);transform-origin:50% 50%;z-index:3;padding:29px 32px;overflow:hidden}
.experience-question{position:relative;min-height:110px;display:flex;align-items:center;justify-content:flex-end;padding-left:186px}
.experience-question>p{position:relative;margin:0;padding:15px 19px;border-radius:18px 18px 5px 18px;background:var(--fact-wash);color:var(--ink);font:400 23px/1.4 Montserrat,sans-serif;letter-spacing:-.025em}
.experience-product-visual{position:absolute;left:-8px;top:-9px;width:190px;height:127px}.experience-product-visual>img{display:block;position:relative;width:100%;height:100%;object-fit:contain;transform:rotate(-8deg);z-index:1;filter:drop-shadow(0 10px 8px rgba(22,44,78,.12))}
.experience-product-shadow{position:absolute;left:22px;right:12px;bottom:7px;height:12px;background:var(--shadow);border-radius:50%;filter:blur(10px);transform:rotate(-8deg)}
.experience-answer{margin-top:22px}
.experience-answer h3{display:flex;align-items:center;gap:10px;margin:0;color:var(--ink);font:500 22px/1.4 Montserrat,sans-serif;letter-spacing:-.025em}.experience-answer h3 img{width:26px;height:26px;object-fit:contain}
.experience-answer>p{margin:13px 0 0;color:var(--body);font:400 23px/1.5 Montserrat,sans-serif;letter-spacing:-.02em}.experience-answer strong{font-weight:500;color:var(--ink)}.experience-answer p span{font-weight:500;color:var(--knowledge-accent)}
.agent-experience.is-static *{transition:none!important}
@media(max-width:1000px){
 .agent-experience{width:400px;height:420px}
 .experience-memory{height:150px}.memory-perspective{left:5px;top:-21px;width:390px;height:156px;border-radius:17px;transform:rotateX(15deg) rotateY(-3deg) rotateZ(-3deg);box-shadow:0 2px 0 var(--memory-edge),0 8px 20px var(--case-shadow)}.memory-heading{left:16px;top:12px;font-size:17px}.memory-library{inset:35px 8px 0;grid-template-columns:repeat(10,31px);grid-template-rows:repeat(7,16px);gap:6px;opacity:.45}.memory-tile{height:44px;padding:7px 5px;border-radius:4px}.memory-tile>b{width:4px;height:4px;margin-bottom:4px}.memory-tile>span{height:1.5px;margin-top:2px}.memory-topics{left:12px;right:12px;top:52px;gap:7px;transform:translateZ(7px)}.memory-lesson{height:75px;padding:11px 10px;border-radius:9px;box-shadow:0 2px 0 var(--memory-edge),0 5px 12px var(--case-shadow)}.memory-lesson>span{font-size:14px;line-height:1.28;min-height:36px}.memory-lesson>i{height:2px;margin-top:8px}.memory-lesson>i:last-child{display:none}
 .experience-product{left:4px;top:100px;width:392px;height:300px;padding:20px 22px;border-radius:19px;transform:rotateX(3deg) rotateY(-3deg) rotateZ(-1.5deg);box-shadow:0 2px 0 var(--depth),0 12px 25px var(--case-shadow)}
 .experience-question{min-height:73px;padding-left:117px}.experience-question>p{font-size:17px;line-height:1.35;padding:11px 13px;border-radius:13px 13px 4px 13px}
 .experience-product-visual{left:-6px;top:-1px;width:120px;height:82px}.experience-product-shadow{left:17px;bottom:5px;height:9px}
 .experience-answer{margin-top:17px}.experience-answer h3{font-size:17px;gap:8px}.experience-answer h3 img{width:22px;height:22px}.experience-answer>p{font-size:18px;line-height:1.45;margin-top:9px;letter-spacing:-.025em}
 /* The provider scrolls inside its native viewport. Clip the surrounding
    scene so focusing a form field cannot scroll its logo overflow and slide
    the offer underneath the fixed site header. */
 .story-ready .booking-finale{inset:0;display:flex;flex-direction:column;justify-content:flex-start;height:var(--view-height,100svh);min-height:0;padding:76px 12px 0;overflow:clip}
 .story-ready .finale .booking-layout{flex:1;min-height:0;height:0;max-height:none;display:flex;flex-direction:column;overflow:hidden;width:100%;max-width:580px;margin:0 auto;will-change:auto}
 .booking-finale .booking-offer{flex:none;display:block;padding:20px 22px 17px}
 .story-ready .booking-finale .copy h2{font-size:25px;line-height:1.22}
 .booking-finale .booking-offer>p{font-size:14px!important;line-height:1.5!important;margin-top:12px!important}
 .booking-finale .booking-visual{flex:1;display:block;min-height:0;padding:0;background:var(--surface)}
 .booking-finale .booking-card{height:100%;border-radius:0;box-shadow:none}
 .booking-finale .booking-calendar-heading{display:none}
 .calendar-frame{position:relative;width:100%;height:100%;overflow:hidden;min-height:0}
 .calendar-frame>iframe{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:none;min-width:0;transform:none;zoom:1}
 .story-ready .booking-finale .site-footer{position:relative;inset:auto;display:flex;flex-direction:row;flex:none;min-height:40px;gap:10px;margin:0;width:100%;padding:5px 1px calc(5px + var(--safe-bottom))!important;justify-content:space-between}
 .booking-finale .site-footer,.booking-finale .footer-links a{font-size:9px!important}.booking-finale .footer-links{gap:10px;grid-column:auto;width:auto;display:flex}.booking-finale .footer-links a{min-height:30px;padding:6px 0}.booking-finale .footer-top{display:none}
}
@media(max-width:1000px) and (max-height:720px){
 .story-ready .booking-finale{padding-top:68px}
 .booking-finale .booking-offer{padding:15px 18px 13px}
 .story-ready .booking-finale .copy h2{font-size:22px}
 .booking-finale .booking-offer>p{font-size:13px!important;line-height:1.4!important;margin-top:8px!important}
}
@media(max-width:1000px) and (max-height:610px){
 .story-ready .booking-finale{padding-top:62px}
 .booking-finale .booking-offer{padding:12px 16px}
 .story-ready .booking-finale .copy h2{font-size:21px}
 .booking-finale .booking-offer>p{display:none}
}
/* Hidden scenes must release their composited layers, not just become transparent. */
[data-scene-hidden]{display:none!important}
.calendar-frame .booking-fallback{position:absolute;inset:auto 12px 8px;z-index:2;padding:10px 12px;border-radius:10px;background:var(--surface);color:var(--ink);box-shadow:0 2px 12px var(--shadow);font:500 12px/1.4 Montserrat,sans-serif;text-align:center}
.calendar-frame .booking-fallback[hidden]{display:none}
/* Let the cross-origin app initialize before its chapter is revealed. The
   chapter's opacity/inert state still keeps it unseen and non-interactive. */
.story-ready .calendar-frame>iframe{visibility:visible}
@media(max-width:1000px){
  /* Keep the faint background without a viewport-sized offscreen blur buffer. */
  .booking-finale .finale-logo-field{filter:none;contain:layout paint}
}

@media(max-width:1000px){
  /* Flatten the tiny background slips into one surface; the knowledge card
     and conversation retain their existing perspective and depth. */
  .memory-library{transform-style:flat}
  .memory-tile:nth-child(n+51){display:none}
  .work-record,.deck,.app-cell{will-change:auto}
}
