@font-face{font-family:Manrope;src:url("assets/fonts/Manrope-var-lat.woff2") format("woff2");font-weight:200 800;font-display:swap}
@font-face{font-family:"Public Sans";src:url("assets/fonts/PublicSans-var-lat.woff2") format("woff2");font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--black:#0a0a0a;--white:#f7f5f0;--amber:#b4862f;--light-amber:#e2b45c;--muted:#b9b7b2;--ease:cubic-bezier(.16,1,.3,1)}
*{box-sizing:border-box}body{margin:0;background:var(--black);color:var(--white);font:15px/1.5 "Public Sans",sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button{background:none;border:0}a:focus-visible,button:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--light-amber);outline-offset:5px}button:disabled{cursor:default}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex:none}::selection{background:#b4862f;color:#0a0a0a}*{scrollbar-color:#736447 #161616;scrollbar-width:thin}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip{position:fixed;z-index:100;top:8px;left:8px;padding:12px 18px;background:var(--white);color:var(--black);transform:translateY(-180%)}.skip:focus{transform:none}
.header{position:relative;z-index:20;max-width:1440px;margin:auto;padding:21px 4.6%;display:flex;align-items:center;gap:64px;min-height:78px}.brand{font:800 29px/1 Manrope,sans-serif;letter-spacing:-1.4px}.brand span,.workspace-brand>span,.answer-author>span{color:var(--amber)}.navigation{display:flex;gap:34px;font-size:13px}.navigation a,.login{transition:color .18s}.navigation a:hover,.login:hover{color:var(--light-amber)}.account{margin-left:auto;display:flex;align-items:center;gap:34px;font-size:13px}.start{padding:10px 29px;background:#1b1b19;color:var(--white);border:1px solid #5c5952;border-radius:8px;transition:background .18s,border-color .18s}.menu-toggle,.mobile-menu{display:none}
.hero{overflow:hidden;background:#0a0a0a}.intro{max-width:1440px;position:relative;z-index:2;margin:auto;display:grid;grid-template-columns:1fr 330px;gap:50px;padding:43px 4.9% 0}.intro h1{font:800 clamp(42px,4.45vw,64px)/1.035 Manrope,sans-serif;letter-spacing:-.043em;margin:0;color:#fff}.intro-copy>p{font-size:clamp(17px,1.53vw,22px);font-weight:350;line-height:1.3;letter-spacing:-.015em;margin:22px 0 0;color:#d4d4d3}.actions{padding-top:24px;display:flex;flex-direction:column;gap:14px}.actions a,.actions button{min-height:54px;width:100%;display:flex;align-items:center;justify-content:center;gap:14px;font-size:16px;font-weight:600;border-radius:8px}.primary{border:1px solid #e3dfd5;background:var(--white);color:#171715;box-shadow:0 2px 8px #0002;transition:background .18s,border-color .18s}.primary:hover{background:#fff;border-color:#fff}.primary:active{background:#e4e0d7}.start:hover{background:#292824;border-color:#8b867b}.start:active{background:#35332e}.primary svg{width:23px;height:23px;margin-left:auto}.primary{padding:0 26px}.watch{border:1px solid #737373;background:#09090980}.watch:hover{background:#1b1a17}.watch svg{width:25px;height:25px}.play-fill{fill:currentColor;stroke:none}
.scene{position:relative;isolation:isolate;width:100%;height:clamp(440px,37.3vw,620px);margin-top:6px;perspective:1300px}.document-motion{position:absolute;inset:0;overflow:hidden;z-index:-2;mask-image:linear-gradient(transparent,#000 8%,#000 95%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 8%,#000 95%,transparent)}.backplate{display:block;position:absolute;width:100%;height:auto;top:-65%;pointer-events:none}.document-motion canvas{width:100%;height:100%;display:block;position:absolute;inset:0;opacity:0}.document-motion.has-canvas canvas{opacity:1}.document-motion.has-canvas .backplate{visibility:hidden}
.seed{position:absolute;left:63.7%;top:33%;width:33%;transform:perspective(900px) rotateY(-9deg) rotateZ(1.5deg);transform-origin:left center;font-family:Manrope,sans-serif;pointer-events:none}.seed-label{background:#0d0d0ced;font-size:12px;padding:7px 10px;display:flex;align-items:center;gap:5px;width:max-content}.seed-label svg{width:14px;height:14px}.seed-answer{display:flex;align-items:center;gap:14px;white-space:nowrap;background:linear-gradient(90deg,#15130eee,#0c0c0cec);font-size:clamp(15px,1.65vw,24px);letter-spacing:-.045em;font-weight:650;padding:7px 0;border-top:1px solid #d5ad6770;box-shadow:0 -3px 20px #b4862f22}.seed-answer>span{font-size:13px;border:1px solid #b4862f;border-radius:5px;color:#f0d69c;padding:2px 8px;letter-spacing:0;margin-left:auto}.seed-table{border:1px solid #c5a36580;display:grid;grid-template-columns:1.2fr .8fr;background:#191917ce;font-size:13px;box-shadow:0 5px 30px #0006}.seed-table>span{padding:10px}.seed-table>span+span{border-left:1px solid #c5a36560;text-align:center;font-size:17px}
.workspace{position:absolute;width:min(940px,88%);height:355px;left:50%;top:46%;transform:translate(-50%,-50%);background:linear-gradient(155deg,#201e1bfa,#0d0d0cf7 55%);border:1px solid #9d855852;border-top-color:#c9a766ad;border-radius:9px;box-shadow:0 25px 75px #000b,0 3px 18px #b4862f18;overflow:hidden}.workspace-bar{height:46px;display:flex;justify-content:space-between;align-items:center;padding:0 20px;border-bottom:1px solid #ffffff13;background:linear-gradient(90deg,#a7813620,#1110)}.workspace-bar>span:first-child{display:flex;align-items:center;gap:8px;font-size:12px;color:#dad5c9}.workspace-bar svg{width:15px;height:15px}.workspace-brand{font:700 15px Manrope,sans-serif;letter-spacing:-.6px}.workspace-content{display:grid;grid-template-columns:42% 58%;height:calc(100% - 46px)}.conversation{min-width:0;padding:22px 24px 16px;display:flex;flex-direction:column;position:relative}.question{align-self:flex-end;max-width:95%;border:1px solid #ffffff15;background:#ffffff05;padding:10px 14px;border-radius:7px 7px 2px 7px;margin-bottom:23px}.question p{font-size:13px;line-height:1.5;margin:0;color:#ddd9d1}.answer-author{font:700 12px Manrope,sans-serif;letter-spacing:-.3px;color:#d3cec2;display:block;margin-bottom:7px}.answer>p{font-size:21px;line-height:1.45;letter-spacing:-.025em;max-width:25ch;margin:0 0 14px}.answer strong{font-weight:600;color:#fff}.citation{display:flex;align-items:center;gap:7px;min-height:34px;border:1px solid #777167;border-radius:5px;color:#eee7da;background:#f7f5f00a;padding:4px 9px;font-size:13px;position:relative;z-index:1;transition:background .18s,border-color .18s}.citation:hover{background:#f7f5f014;border-color:#c3beb4}.citation svg{width:14px;height:14px}.citation-label{color:#c3beb4;font-size:11px;border-left:1px solid #ffffff24;margin-left:3px;padding-left:9px}.citation-arrow{margin-left:5px}.conversation-foot{margin:auto 0 0;padding-top:12px;font-size:10px;color:#aaa398}.source{min-width:0;background:#100f0d;border-left:1px solid #a58b593b;display:flex;flex-direction:column;overflow:hidden}.source-bar{height:37px;flex:none;display:flex;justify-content:space-between;align-items:center;padding:0 13px;font-size:10px;color:#cbc7bf;gap:10px}.source-bar b{color:var(--light-amber);font-weight:450;margin-left:6px}.full-page{font-size:10px;display:flex;gap:5px;align-items:center;min-height:32px;padding:2px 0;color:#cbc7bf;white-space:nowrap}.full-page svg{width:13px;height:13px}.full-page:hover{color:var(--white)}.source-viewport{flex:1;min-height:0;overflow:auto;background:#282620;padding:0 18px;scrollbar-width:thin;overscroll-behavior:contain}.paper{position:relative;background:#fff;isolation:isolate}.paper img{display:block;width:100%;height:auto}.table-highlight{position:absolute;left:9.519%;top:8.152%;width:80.834%;height:21.663%;border:2px solid #b4862f;background:#b4862f14;box-shadow:0 0 0 1px #ffefbd70;pointer-events:none}.source-foot{height:26px;padding:0 13px;display:flex;align-items:center;gap:6px;flex:none;font-size:9px;color:#cac3b6}.source-dot{width:4px;height:4px;background:#dcb15a;border-radius:50%}
.demo-cursor{position:absolute;width:25px;height:29px;z-index:5;fill:#fff;stroke:#171717;stroke-width:1.2;filter:drop-shadow(0 2px 3px #0008);pointer-events:none;opacity:0}.scene-controls{position:absolute;bottom:18px;left:4.9%;right:4.9%;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;color:#b1a999}.scene-controls>div{display:flex;gap:14px}.scene-controls button{display:flex;align-items:center;gap:6px;font-size:11px;min-height:32px;padding:5px;color:#c5bfb2}.scene-controls button:hover{color:#fff}.scene-controls svg{height:15px;width:15px}.resume-path{display:none}.is-paused .pause-path{display:none}.is-paused .resume-path{display:block}.demo-caption{background:#0a0a0a70;padding:3px 6px}
/* Initial composition is the approved still. The expanded panel occupies the same scene. */
[data-phase="static"] .seed{display:none}
.has-motion[data-phase="field"] .workspace{opacity:0;pointer-events:none}
.has-motion:not([data-phase="field"]) .seed{opacity:0}
.has-motion[data-phase="emerge"] .question,.has-motion[data-phase="emerge"] .answer,.has-motion[data-phase="question"] .answer{visibility:hidden}
.has-motion:not([data-phase="source"]):not([data-phase="settled"]) .conversation{grid-column:1/-1;max-width:580px;width:100%;justify-self:center}
.has-motion:not([data-phase="source"]):not([data-phase="settled"]) .workspace-content{grid-template-columns:1fr}
.has-motion:not([data-phase="source"]):not([data-phase="settled"]) .question{max-width:76%}
.has-motion:not([data-phase="source"]):not([data-phase="settled"]) .answer>p{max-width:none;font-size:25px}
.has-motion:not([data-phase="source"]):not([data-phase="settled"]) .conversation-foot{margin-top:auto}
.continuation{color:#111;background:#f7f5f0;padding:53px 4.9% 54px;display:grid;grid-template-columns:1fr 30%;gap:40px;align-items:end}.continuation h2{font:800 clamp(27px,3.14vw,45px)/1.15 Manrope,sans-serif;letter-spacing:-.045em;margin:0 0 21px}.continuation p{margin:0;font-size:clamp(15px,1.48vw,21px);line-height:1.4;color:#64636a;letter-spacing:-.016em}.continuation .next-aside{border-left:1px solid #cccbce;padding:28px 0 5px 40px;font-size:14px;line-height:1.55}.preview-footer{padding:17px 4.9%;background:#f7f5f0;color:#656159;border-top:1px solid #dedbd3;display:flex;justify-content:space-between;font-size:12px}.preview-footer a{text-decoration:underline;text-underline-offset:4px}
.source-dialog{width:min(900px,95vw);max-height:92dvh;padding:0;border:1px solid #716247;border-radius:8px;background:#121110;color:var(--white);box-shadow:0 30px 100px #000a}.source-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.source-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;gap:20px;border-bottom:1px solid #ffffff19}.source-dialog h2{font-size:14px;font-weight:450;margin:0}.source-dialog button{font-size:13px;min-height:32px}.source-dialog button>span{font-size:22px;margin-left:9px}.dialog-scroll{overflow:auto;max-height:calc(92dvh - 70px);padding:20px 8%;background:#24221d}.dialog-scroll .table-highlight{border-width:3px}
@media(min-width:1600px){.intro{max-width:1580px}.header{max-width:1580px}.scene{height:600px}.workspace{width:1020px;height:380px}.answer>p{font-size:23px}.source-bar{height:40px}.source-viewport{padding:0 28px}.seed{font-size:20px}}
@media(max-width:1100px){.header{gap:38px}.navigation{gap:20px}.account{gap:22px}.intro{grid-template-columns:1fr 265px;gap:25px;padding-top:35px}.intro h1{font-size:clamp(37px,4.5vw,49px)}.actions{padding-top:10px}.actions a,.actions button{font-size:13px;min-height:48px}.primary{padding:0 18px}.scene{height:450px}.workspace{width:88%;height:335px;top:46%}.conversation{padding:17px 19px}.question{margin-bottom:17px}.answer>p{font-size:19px}.seed{left:60%;width:37%;top:35%}.seed-answer{font-size:16px}.seed-label{font-size:10px}.seed-table{font-size:11px}.continuation{grid-template-columns:1fr;gap:20px}.continuation .next-aside{border:0;padding:0}.desktop-break{display:none}}
@media(max-width:760px){.header{padding:20px 6%;min-height:72px;gap:16px}.brand{font-size:26px}.navigation,.login{display:none}.account{margin-left:auto}.start{padding:8px 15px;font-size:12px}.menu-toggle{display:flex;flex-direction:column;gap:5px;width:30px;height:36px;justify-content:center;padding:4px}.menu-toggle span{height:1px;width:20px;background:#eee}.mobile-menu:not([hidden]){position:absolute;left:5%;right:5%;top:70px;display:flex;flex-direction:column;padding:14px 20px;border:1px solid #55472e;background:#11110ff5;border-radius:7px;box-shadow:0 15px 35px #0008}.mobile-menu a{padding:10px 0}.intro{display:block;padding:32px 6% 0}.intro h1{font-size:clamp(36px,7.7vw,54px);max-width:16ch;line-height:1.08;letter-spacing:-.04em}.intro-copy>p{font-size:17px;margin-top:19px;line-height:1.4}.actions{max-width:400px;padding:0;margin-top:25px;gap:10px}.actions a,.actions button{font-size:14px;min-height:48px}.primary svg{margin-left:8px}.scene{height:660px;margin-top:14px}.document-motion{inset:0 -80% 0 -35%;mask-image:linear-gradient(transparent,#000 9%,#000 92%,transparent)}.backplate{width:auto;min-width:100%;height:135%;top:-33%}.seed{left:20%;width:75%;top:33%;opacity:.9;transform:perspective(900px) rotateY(-15deg);}.seed-answer{font-size:16px;white-space:normal}.seed-label{font-size:10px}.seed-table{font-size:12px}.workspace{width:88%;max-width:500px;height:557px;top:46%;border-radius:7px}.workspace-bar{height:38px;padding:0 13px}.workspace-bar>span:first-child{font-size:10px}.workspace-brand{font-size:12px}.workspace-content{height:calc(100% - 38px);display:flex;flex-direction:column}.conversation{flex:none;padding:15px 17px 12px;height:245px;width:100%}.question{font-size:12px;max-width:90%;padding:8px 12px;margin-bottom:14px}.question p{font-size:12px}.answer>p{font-size:20px;line-height:1.35;margin-bottom:11px}.answer-author{font-size:10px;margin-bottom:6px}.conversation-foot{font-size:9px;padding-top:8px}.citation{min-height:36px}.source{border-left:0;border-top:1px solid #9d855850;flex:1;min-height:0}.source-bar{height:34px;font-size:9px;padding:0 11px}.source-bar b{margin-left:4px}.source-viewport{padding:0 16px}.source-foot{height:23px}.has-motion:not([data-phase="source"]):not([data-phase="settled"]) .conversation{height:100%;max-width:none;justify-content:center;padding:24px}.has-motion:not([data-phase="source"]):not([data-phase="settled"]) .conversation-foot{margin-top:20px}.has-motion:not([data-phase="source"]):not([data-phase="settled"]) .answer>p{font-size:24px}.has-motion:not([data-phase="source"]):not([data-phase="settled"]) .question{max-width:100%;margin-bottom:30px}.scene-controls{left:6%;right:6%;bottom:12px}.scene-controls>div{gap:7px}.scene-controls button{min-height:40px}.continuation{padding:34px 6%;gap:19px}.continuation h2{font-size:30px;max-width:20ch;margin-bottom:17px}.continuation p{font-size:16px}.continuation .next-aside{font-size:14px}.preview-footer{padding:16px 6%;font-size:11px;gap:20px}.dialog-scroll{padding:12px 3%}.source-dialog>header{padding:10px 12px}.source-dialog h2{font-size:12px}}
/* Match the same crop as the canvas, including when GPU motion is unavailable. */
.backplate{top:-65.5106%;width:100%;height:211.1753%;min-width:0;max-width:none}
@media(max-width:760px){.seed{left:17%;width:70%}.dialog-scroll .paper{min-width:600px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.demo-cursor{display:none!important}.document-motion canvas{display:none}.document-motion.has-canvas .backplate{visibility:visible}.seed{display:none!important}}

/* Lovable reference: warm light surface, generous radius, bottom toolbar. */
.composer{position:absolute;right:5.8%;top:7%;width:41%;max-width:590px;min-height:142px;padding:19px 20px 12px;border:1px solid #e0c58b;border-radius:27px;background:#f7f5ed;color:#77766f;box-shadow:0 1px 0 #fff inset,0 12px 45px #0004,0 0 0 2px #b4862f0c;z-index:4;transition:opacity .25s}
.prompt-input{font-size:15px;line-height:1.55;min-height:65px;color:#56564f;outline-offset:3px;cursor:text}.prompt-placeholder{color:#7c7b72}.prompt-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:7px}.prompt-tools{display:flex;align-items:center;gap:19px}.prompt-add{display:flex;align-items:center;justify-content:center;border:1px solid #e9e6dd;border-radius:50%;width:31px;height:31px;padding:6px;color:#99998e}.prompt-add:hover{background:#eae5d8;color:#65614f}.prompt-add svg{width:17px;height:17px;stroke-width:1}.prompt-mode{display:flex;align-items:center;gap:8px;color:#79796f;padding:5px 0;font-size:13px}.prompt-mode svg{width:13px;height:13px}.prompt-mic{display:flex;color:#a5a499}.prompt-mic svg{width:17px;height:17px;stroke-width:1.2}.prompt-send{display:flex;align-items:center;justify-content:center;width:33px;height:33px;border-radius:50%;background:#85867e;color:#faf8f2;transition:background .2s,transform .18s}.prompt-send:not(:disabled):hover{background:#9a702c;transform:translateY(-1px)}.prompt-send:disabled{background:#cbc9c0;color:#f7f5ef}.prompt-send svg{width:19px;height:19px}.typing-caret,.answer-caret{display:none;width:1px;height:1.1em;background:currentColor;margin-left:2px;vertical-align:-.16em}.convergence[data-phase="typing"] .typing-caret,.convergence[data-phase="answer"] .answer-caret{display:inline-block;animation:type-caret .9s steps(2,end) infinite}.is-paused .typing-caret,.is-paused .answer-caret{animation-play-state:paused}.prompt-documents{position:absolute;left:0;right:0;top:calc(100% + 9px);padding:15px 19px;border:1px solid #d9c9a3;border-radius:13px;background:#f7f5ed;color:#59564e;box-shadow:0 10px 30px #0005}.prompt-documents>span{display:block;font-size:10px;color:#827c6f;margin-bottom:9px}.prompt-documents a{font-size:13px;display:flex;justify-content:space-between;gap:10px;align-items:center}.prompt-documents svg{width:14px;height:14px}.convergence[data-phase="field"] .composer{visibility:hidden;opacity:0}
.scene{height:clamp(480px,39vw,620px)}
.convergence .workspace{right:5.8%;left:auto;top:45%;width:41%;max-width:590px;height:169px;transform:none;border-radius:5px;overflow:hidden;background:linear-gradient(145deg,#191712f2,#0b0b0bf5);box-shadow:0 12px 45px #0008,0 -2px 22px #b4862f15;border-color:#c5a36263;opacity:1}
.convergence .workspace-bar{height:34px;padding:0 16px;background:#11110e8c;font-size:11px}
.convergence .workspace-bar>span:first-child{font-size:11px}
.convergence .workspace-brand{font-size:13px}
.convergence .workspace-content{height:calc(100% - 34px);display:grid;grid-template-columns:1fr}
.convergence.has-motion .workspace .conversation{padding:19px 19px 15px;min-width:0;width:100%;max-width:none;grid-column:auto;height:auto;justify-self:stretch;justify-content:flex-start}
.convergence.has-motion .workspace .answer>p{font-family:Manrope,sans-serif;font-size:clamp(18px,1.7vw,25px);font-weight:550;letter-spacing:-.04em;line-height:1.4;margin:0 0 14px;max-width:none;min-height:1.4em}
.convergence .workspace .answer{visibility:visible}
.convergence[data-phase="field"] .workspace,.convergence[data-phase="prompt"] .workspace,.convergence[data-phase="typing"] .workspace,.convergence[data-phase="flight"] .workspace{visibility:hidden;opacity:0;pointer-events:none}
.convergence[data-phase="answer"] .citation{visibility:hidden}
.convergence .citation{background:#f7f5f00a;min-height:32px}.convergence .citation:hover{background:#f7f5f014}
.convergence:is([data-phase="source"],[data-phase="settled"]) .workspace{width:min(1040px,88.4%);max-width:none;height:355px;top:34%}
.convergence:is([data-phase="source"],[data-phase="settled"]) .workspace-content{grid-template-columns:42% 58%}
.convergence:is([data-phase="source"],[data-phase="settled"]) .workspace .conversation{justify-content:center;padding:24px}
.convergence:is([data-phase="source"],[data-phase="settled"]) .composer{top:2%;min-height:124px;padding-top:14px}
.convergence:is([data-phase="source"],[data-phase="settled"]) .prompt-input{min-height:52px}
.flight-fallback{position:absolute;inset:auto;opacity:0;width:180px;height:120px;left:36%;top:35%;background:url("assets/convergence/background.png") 32% 51% / 760% auto;border:1px solid #b4862f70;pointer-events:none}
@keyframes type-caret{50%{opacity:0}}
@media(min-width:1600px){.convergence .workspace{top:47%}.convergence:is([data-phase="source"],[data-phase="settled"]) .workspace{height:380px;top:32%}}
@media(max-width:1100px){.composer{width:45%;right:4%;max-width:none}.convergence .workspace{width:45%;right:4%;top:48%;height:182px}.scene{height:510px}.convergence:is([data-phase="source"],[data-phase="settled"]) .workspace{width:92%;top:31%;height:324px}.convergence.has-motion .workspace .answer>p{font-size:19px}.prompt-tools{gap:12px}.prompt-mode{font-size:11px}.convergence:is([data-phase="source"],[data-phase="settled"]) .composer{top:0}}
@media(max-width:760px){.scene{height:800px}.document-motion{inset:0 -55% 0 -15%}.composer{right:6%;width:88%;top:4%;min-height:150px;padding:19px 17px 12px;border-radius:24px}.prompt-input{font-size:14px;min-height:68px}.prompt-tools{gap:15px}.prompt-mode{font-size:12px}.convergence .workspace{width:88%;right:6%;max-width:none;top:32%;height:189px;border-radius:6px}.convergence .workspace-bar{height:35px;padding:0 14px}.convergence .workspace-bar>span:first-child{font-size:10px}.convergence.has-motion .workspace .conversation{padding:20px 17px;height:auto}.convergence.has-motion .workspace .answer>p{font-size:22px;line-height:1.4;min-height:2.8em}.convergence:is([data-phase="source"],[data-phase="settled"]) .workspace{top:26%;width:88%;height:530px}.convergence:is([data-phase="source"],[data-phase="settled"]) .workspace-content{display:flex;flex-direction:column}.convergence:is([data-phase="source"],[data-phase="settled"]) .workspace .conversation{height:179px;padding:20px 17px;justify-content:flex-start}.convergence:is([data-phase="source"],[data-phase="settled"]) .composer{top:2%;min-height:148px}.convergence:is([data-phase="source"],[data-phase="settled"]) .prompt-input{min-height:65px}.flight-fallback{left:12%;top:40%}.convergence .source-viewport{padding:0 14px}.convergence .source-bar{height:36px}.prompt-send,.prompt-add{width:34px;height:34px}.scene-controls{bottom:15px}.composer a:focus-visible,.composer button:focus-visible,.prompt-input:focus-visible{outline-color:#956a23}}
@media(prefers-reduced-motion:reduce){.typing-caret,.answer-caret{animation:none!important;display:none!important}.composer{transition:none}}
.prompt-placeholder,.prompt-mode{color:#6f6e65}.prompt-add{color:#79796f}
.scene{height:clamp(550px,41vw,680px)}
.convergence:is([data-phase="source"],[data-phase="settled"]) .workspace{top:27%}
@media(min-width:1600px){.convergence:is([data-phase="source"],[data-phase="settled"]) .workspace{top:27%}}
@media(max-width:1100px){.scene{height:560px}.convergence:is([data-phase="source"],[data-phase="settled"]) .workspace{top:28%}}
@media(max-width:760px){.scene{height:800px}.convergence:is([data-phase="source"],[data-phase="settled"]) .workspace{top:26%;height:515px}}

/* The same prompt becomes the conversation composer after submission. */
.convergence .composer{background:linear-gradient(150deg,#24221e,#191816);color:#eee8dc;border:1px solid #80643d;box-shadow:inset 0 1px 0 #d5b67a22,0 16px 42px #0006;transition:none}
.convergence .prompt-input{color:#f2eee6}
.convergence .prompt-placeholder,.convergence .prompt-mode{color:#c5bcad}
.convergence .prompt-add{color:#c5bcad;border-color:#655842}
.convergence .prompt-add:hover{color:var(--white);background:#34322d}
.convergence .prompt-mic{color:#b5aa97}
.convergence .prompt-send{color:var(--black);background:var(--white)}
.convergence .prompt-send:not(:disabled):hover{background:#fff}
.convergence .prompt-send:disabled{color:var(--muted);background:#363530}
.convergence .prompt-documents{background:#211f1a;color:#eee4d2;border-color:#79603a}
.convergence .prompt-documents>span{color:#c1b39a}
.convergence .composer.is-docked{right:auto;max-width:none;min-height:0;height:76px;padding:10px 12px;border-radius:16px;background:#25221d;border-color:#5a4a32;box-shadow:inset 0 1px 0 #e1c2850c,0 5px 18px #0002}
.convergence .composer.is-docked .prompt-input{min-height:19px;font-size:12px;line-height:19px}
.convergence .composer.is-docked .prompt-toolbar{margin-top:6px;gap:8px}
.convergence .composer.is-docked .prompt-tools{gap:12px}
.convergence .composer.is-docked .prompt-add,.convergence .composer.is-docked .prompt-send{width:28px;height:28px}
.convergence .composer.is-docked .prompt-add svg,.convergence .composer.is-docked .prompt-send svg{width:16px;height:16px}
.convergence .composer.is-docked .prompt-mode{font-size:10px;padding:4px 0}
.convergence .composer.is-docked .prompt-documents{top:auto;bottom:calc(100% + 8px)}
.convergence .workspace{top:10%;height:350px;border-radius:9px;background:linear-gradient(140deg,#1d1b17,#11110f 70%)}
.convergence.has-motion .workspace .conversation{padding:18px;gap:18px;justify-content:flex-start}
.convergence .sent-question{align-self:flex-end;max-width:94%;padding:9px 12px;border:1px solid #75634645;border-radius:12px 12px 3px 12px;background:#b79b6910}
.convergence .sent-question p{font-size:12px;line-height:1.55;margin:0;color:#dfd7c8}
.convergence .composer-dock{width:100%;height:76px;min-height:76px;margin-top:auto}
.convergence.has-motion .workspace .answer>p{font-size:clamp(19px,1.65vw,24px);letter-spacing:-.035em;line-height:1.45;margin:0 0 12px;min-height:2.9em}
.convergence:is([data-phase="source"],[data-phase="settled"]) .workspace{top:10%;height:405px}
.convergence:is([data-phase="source"],[data-phase="settled"]) .workspace .conversation{padding:20px;gap:18px;justify-content:flex-start}
.convergence:is([data-phase="source"],[data-phase="settled"]) .workspace-content{grid-template-columns:44% 56%}
.convergence .document-motion{mask-image:linear-gradient(transparent,#000 7%,#000 93%,transparent)}
.convergence .composer a:focus-visible,.convergence .composer button:focus-visible,.convergence .prompt-input:focus-visible{outline-color:#e2b45c}
.citation-target .citation-pointer{position:absolute;left:61%;top:51%;width:26px;height:32px;opacity:0;pointer-events:none;z-index:6;transform-origin:3px 2px}
.citation-target .citation-pointer.is-visible{opacity:1}
.citation-target .citation-pointer svg{display:block;width:26px;height:32px;fill:#f6f0e4;stroke:#242018;stroke-width:1.25;filter:drop-shadow(0 3px 4px #0009)}
.citation-target .click-ring{position:absolute;left:-10px;top:-11px;width:26px;height:26px;border:1px solid #e2b45c;border-radius:50%;opacity:0;pointer-events:none}
@media(prefers-reduced-motion:reduce){.citation-target .citation-pointer{display:none}}
@media(max-width:1100px){
  .convergence .workspace{top:10%;height:355px}
  .convergence:is([data-phase="source"],[data-phase="settled"]) .workspace{top:10%;height:420px}
  .convergence:is([data-phase="source"],[data-phase="settled"]) .workspace .conversation{padding:16px;gap:15px}
}
@media(max-width:760px){
  .convergence .scene{height:840px}
  .convergence .document-motion{inset:0 -70% 0 -22%}
  .convergence .composer:not(.is-docked){top:12%;min-height:150px}
  .convergence .workspace{top:12%;height:350px}
  .convergence.has-motion .workspace .conversation{padding:16px;gap:16px}
  .convergence .sent-question p{font-size:12px}
  .convergence.has-motion .workspace .answer>p{font-size:20px}
  .convergence:is([data-phase="source"],[data-phase="settled"]) .workspace{top:12%;height:650px}
  .convergence:is([data-phase="source"],[data-phase="settled"]) .workspace .conversation{height:305px;padding:16px;gap:14px}
  .convergence .source-viewport{padding:0 12px}
}
@media(prefers-reduced-motion:reduce){
  .document-motion.has-canvas canvas{display:block}
  .document-motion.has-canvas .backplate{visibility:hidden}
}

/* The prompt is the closed state of the very same conversation surface. */
.prompt-origin{position:absolute;visibility:hidden;pointer-events:none}
.prompt-origin,.convergence:is([data-phase="prompt"],[data-phase="typing"],[data-phase="flight"]) .workspace{right:5.8%;left:auto;top:7%;width:41%;max-width:590px;height:142px}
.convergence:is([data-phase="prompt"],[data-phase="typing"],[data-phase="flight"]) .workspace{visibility:visible;opacity:1;pointer-events:auto;background:transparent;border-color:transparent;border-radius:27px;box-shadow:none;overflow:visible}
.convergence:is([data-phase="prompt"],[data-phase="typing"],[data-phase="flight"]) .workspace-bar,.convergence:is([data-phase="prompt"],[data-phase="typing"],[data-phase="flight"]) .workspace-content{visibility:hidden}
.convergence:is([data-phase="prompt"],[data-phase="typing"],[data-phase="flight"]) .workspace-content{opacity:0}
.convergence.has-motion .workspace>.composer:not(.is-docked){left:-1px;right:auto;top:-1px;width:calc(100% + 2px);max-width:none;height:calc(100% + 2px);min-height:0}
.convergence[data-phase="static"] .workspace>.composer{display:none}
.convergence[data-phase="joining"] .workspace-content{opacity:0;pointer-events:none}
.convergence[data-phase="joining"] .workspace{overflow:hidden}
.convergence[data-phase="joining"] .workspace-bar{background:#a7813618}
.convergence .is-returning{pointer-events:none}
.convergence .is-returning .workspace-content,.convergence .is-returning .workspace-bar{opacity:0}
@media(max-width:1100px){
  .prompt-origin,.convergence:is([data-phase="prompt"],[data-phase="typing"],[data-phase="flight"]) .workspace{right:4%;width:45%;max-width:none}
}
@media(max-width:760px){
  .prompt-origin,.convergence:is([data-phase="prompt"],[data-phase="typing"],[data-phase="flight"]) .workspace{right:6%;top:12%;width:88%;height:150px}
}

/* The conversation stays centered. The source extends only its right edge.
   Scene-relative units keep the conversation track identical in both states. */
.convergence .scene{
  container-type:inline-size;
  --surface-center-y:53%;--conversation-width:min(590px,41cqw);--conversation-height:350px;
  --surface-left:calc((100% - var(--conversation-width)) / 2);
  height:clamp(570px,41vw,680px);
}
.convergence[data-phase] .workspace,.convergence .prompt-origin{
  --surface-width:var(--conversation-width);--surface-height:var(--conversation-height);
  left:var(--surface-left);right:auto;
  top:calc(var(--surface-center-y) - var(--conversation-height) / 2);
  width:var(--surface-width);height:var(--surface-height);max-width:none;
}
.convergence .prompt-origin,.convergence:is([data-phase="prompt"],[data-phase="typing"],[data-phase="flight"]) .workspace{
  --surface-height:142px;top:calc(var(--surface-center-y) - var(--surface-height) / 2 + 24px);
}
.convergence:is([data-phase="source"],[data-phase="settled"]) .workspace{--surface-width:calc(94.2% - var(--surface-left))}
.convergence[data-phase] .workspace-bar{width:calc(var(--conversation-width) - 2px)}
.convergence.has-motion[data-phase] .workspace-content{grid-template-columns:calc(var(--conversation-width) - 2px) minmax(0,1fr)}
.convergence.has-motion[data-phase] .workspace .conversation{grid-column:1;padding:18px;gap:18px;justify-content:flex-start}
.convergence .workspace .source{margin-top:-34px}
.convergence .source-bar>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1100px){
  .convergence .scene{height:580px;--conversation-width:45cqw;--conversation-height:355px}
  .convergence:is([data-phase="source"],[data-phase="settled"]) .workspace{--surface-width:calc(96% - var(--surface-left))}
}
@media(max-width:760px){
  /* Small screens append the source below, preserving the same fixed chat. */
  .convergence .scene{height:1020px;--surface-center-y:445.2px;--conversation-width:88cqw;--conversation-height:350px}
  .convergence .document-motion{bottom:180px}
  .convergence .prompt-origin,.convergence:is([data-phase="prompt"],[data-phase="typing"],[data-phase="flight"]) .workspace{--surface-height:150px}
  .convergence:is([data-phase="source"],[data-phase="settled"]) .workspace{--surface-width:var(--conversation-width);--surface-height:650px}
  .convergence.has-motion[data-phase] .workspace-content{display:flex;flex-direction:column;height:calc(100% - 35px)}
  .convergence.has-motion[data-phase] .workspace .conversation{height:calc(var(--conversation-height) - 37px);flex:none;padding:16px;gap:16px}
  .convergence .workspace .source{margin-top:0}
}
