/* Product reproduction, matched to crates/ui and the native Buddy window.
   Keep marketing typography outside these surfaces. */
.app-window,.scene-bubble{
 font-family:"Fira Code","JetBrains Mono",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
 font-size:14px;letter-spacing:normal;color:#222120;background:#fff;border:1px solid #cbc9c6;border-radius:16px;
 box-shadow:inset 0 0 0 1px #ffffffb8,0 22px 64px #231d1829,0 2px 10px #231d180d;
}
.hero-window{height:500px;transform:none}
.app-window .transcript{display:flex;flex-direction:column;padding:12px 16px 8px;font-size:14px;line-height:1.6;overflow:auto;scrollbar-width:thin}
.app-window .transcript::before{content:"";margin-top:auto}
.app-window .user-message{flex-shrink:0;font-size:14px;line-height:1.5;max-width:76%;margin:8px 0 8px auto;padding:8px 12px;border:1px solid #5b5fe924;border-radius:8px 8px 8px 4px;background:#5b5fe913;box-shadow:0 1px 2px #231d180a}
.app-window .assistant-message{flex-shrink:0;max-width:none;width:100%;padding:12px 0;font-size:14px;line-height:1.6}
.app-window .assistant-message p{margin:0 0 8px}
.app-window .assistant-message h3{font-size:17px;line-height:1.25;letter-spacing:normal;margin:10px 0 8px;font-weight:600}
.app-window strong{font-weight:600}
.app-window .muted{color:#5e5b59}
.app-window ol{padding-left:23px;margin:8px 0;line-height:1.6}
.app-window li{padding-left:2px;margin:6px 0}
.app-window .composer{flex-shrink:0;display:block;margin:0 8px 8px;padding:4px;border:1px solid #2b28261a;border-radius:12px;background:white;color:#7d7976;box-shadow:0 14px 32px #231d1824,0 3px 9px #231d180f;font-size:14px;line-height:20px}
.native-input{display:flex;align-items:center;gap:4px;width:100%;min-height:32px}
.input-placeholder{flex:1;min-width:0;white-space:nowrap;overflow:hidden;padding:4px 8px;color:#7d7976;font-size:14px;line-height:24px}
.app-window .input-placeholder{border-radius:8px;background:#2b28260b}
.native-tools{display:flex;align-items:center;gap:4px;flex-shrink:0}
.native-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%}
.native-icon img{width:14px;height:14px;opacity:.58;filter:none}
.native-icon:nth-child(2) img{width:13px;height:13px}
.native-send{width:28px;height:28px}
.native-send.disabled{opacity:.38;background:none}
.scene-bubble{padding:4px;gap:0;width:min(560px,100%);height:60px}
.scene-bubble .expand-mark{top:2px;width:24px;height:20px;background:#fff;box-shadow:0 1px 2px #231d180a;border:1px solid #2b282611;z-index:1}
.scene-bubble .expand-mark img{opacity:.6}
.message-actions{display:flex;align-items:center;gap:2px;width:max-content;max-width:100%;min-height:28px;margin-top:12px;padding:2px 4px 2px 8px;border:1px solid #2b282611;border-radius:12px;color:#5e5b59;background:#ffffffb8;box-shadow:0 1px 2px #231d180a;font-size:12px;line-height:20px;white-space:nowrap}
.message-actions>span{display:flex;align-items:center;gap:4px;padding:0 8px;height:24px;font-weight:500}
.message-actions img{width:13px;height:13px;opacity:.6}
.message-actions time{font-family:"Fira Code","JetBrains Mono",Menlo,Consolas,monospace;border-left:1px solid #2b28261a;margin-left:4px;padding:0 4px 0 8px;font-size:11px;font-weight:500}
.thinking-preview{display:flex;align-items:center;gap:8px;min-height:28px;padding:4px 8px;border:1px solid #2b28261a;border-left:2px solid #3e69ca;border-radius:0 8px 8px 0;background:#f5f4f2;color:#5e5b59;font-size:12px;line-height:20px;margin-bottom:4px;overflow:hidden}
.thinking-preview img{width:14px;height:14px;flex-shrink:0;opacity:.6}.thinking-preview strong{flex-shrink:0}.thinking-preview>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.thinking-preview img:last-child{width:13px;height:13px}
.scene-stage{width:min(750px,100%);height:clamp(350px,calc(100svh - 340px),500px)}
.scene-chat{height:100%}.scene-chat .transcript{padding:12px 16px 8px}.scene-chat .composer{padding:4px}
.demo-window{height:500px}.demo-window .assistant-message h3{font-size:17px}
.app-window pre{font-family:"Fira Code","JetBrains Mono",Menlo,Consolas,monospace;background:#f6f9fe;border:1px solid #d3e0fb;color:#222834;border-radius:8px;font-size:13px;line-height:1.6;padding:12px;margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.app-window .priority{font-size:14px;line-height:1.6;gap:10px;margin:8px 0}.app-window .priority p{font-size:14px;color:#222120}
.floating-key{right:-92px;bottom:-18px}
@media(max-width:1000px){.floating-key{right:12px;bottom:-20px}.hero-window{height:500px}}
@media(max-width:650px){.hero-window{height:500px}.hero-product{margin-bottom:55px}.floating-key{bottom:-24px}.scene-stage{height:clamp(350px,calc(100svh - 370px),450px)}.scene-chat .assistant-message{font-size:14px}.scene-chat .user-message{font-size:14px}.demo-window{height:460px}.message-actions>span{padding:0 4px}.message-actions{padding-left:4px;gap:0;font-size:11px}.message-actions time{font-size:10px;padding-left:5px;margin-left:2px}.message-actions img{width:12px;height:12px}.app-window .user-message{max-width:76%}}
@media(max-height:750px) and (min-width:651px){.scene-stage{height:330px}.scene-chat{height:100%}}
/* Keep the marketing shortcut badge outside the product window. */
.hero-product{margin-bottom:105px}
.floating-key{top:calc(100% + 18px);bottom:auto;right:0;transform:none}
.thinking-preview img:first-child{filter:invert(40%) sepia(49%) saturate(1134%) hue-rotate(188deg) brightness(94%);opacity:1}
@media(max-width:650px){.hero-product{margin-bottom:85px}.floating-key{top:calc(100% + 14px);bottom:auto}}
