/* v11 assistant demo: live product screen on the left, prepared conversation on the right. */
.intelligence{background:#faf6f8;border-block-color:#eee4ea}
.intelligence .section-heading>p{width:430px}
.demo-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.demo-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.demo-tabs button{min-height:42px;padding:9px 18px;border:1px solid #dfe5dc;border-radius:999px;background:#fff;color:#4d5d52;font-size:14px;font-weight:550;line-height:1.3;transition:background .2s,border-color .2s,color .2s}
.demo-tabs button:hover{border-color:#cdb9c3;color:var(--wine)}
.demo-tabs button[aria-selected=true]{background:var(--cabernet);border-color:var(--cabernet);color:#fff}
.demo-tabs button:focus-visible,.demo-chip:focus-visible,.demo-source:focus-visible,.demo-own:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.demo-window{--s:.82;display:grid;grid-template-columns:minmax(0,1fr) 384px;height:var(--demo-h,680px);background:#fff;border:1px solid #dfe5dc;border-radius:20px;overflow:hidden;box-shadow:0 26px 65px -35px #52112d30}
.demo-screen{position:relative;overflow:hidden;background:#f5f7f1;border-right:1px solid #e6dce1}
.demo-screen iframe{position:absolute;left:0;top:0;width:982px;height:880px;border:0;transform:scale(var(--s));transform-origin:0 0;pointer-events:none;background:#f5f7f1}
.demo-chat{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff}
.demo-chat-head{display:flex;align-items:center;gap:10px;flex:none;height:max(52px,calc(65px * var(--s)));padding:0 18px;border-bottom:1px solid #e5ddd9;background:#fdfcf9}
.demo-mark{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:#f2e9ee;border:1px solid #e4d4dd}
.demo-mark img{width:17px;height:23px}
.demo-chat-head h3{margin:0;font-size:13px;line-height:1.3;letter-spacing:-.01em;font-weight:600}
.demo-chat-head p{margin:2px 0 0;font-size:11px;line-height:1.35;color:var(--muted)}
.demo-log{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 18px 10px;display:flex;flex-direction:column;gap:14px}
.demo-msg{font-size:13.5px;line-height:1.6;animation:demoIn .35s ease both}
.demo-msg p{margin:0}
.demo-who{display:block;margin-bottom:3px;font-size:10px;font-weight:650;letter-spacing:.03em;color:#8a7380}
.demo-msg.user{align-self:flex-end;max-width:88%;padding:9px 12px;border:1px solid #e3d2dc;border-radius:12px 12px 3px 12px;background:#eee4ea;color:var(--cabernet)}
.demo-msg.bot{color:var(--ink)}
.demo-msg.bot strong{font-weight:650;color:var(--cabernet)}
.demo-msg.intro{color:var(--muted)}
.demo-typing{display:inline-flex;gap:4px;padding:10px 12px;border-radius:10px;background:#f5f7f1}
.demo-typing i{width:5px;height:5px;border-radius:50%;background:#9aa58f;animation:demoDot .9s ease-in-out infinite}
.demo-typing i:nth-child(2){animation-delay:.15s}.demo-typing i:nth-child(3){animation-delay:.3s}
.demo-sources{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.demo-source{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:5px 10px;border:1px solid #dfe5dc;border-radius:7px;background:#f5f7f1;color:#4d5d52;font-size:12px;font-weight:500;line-height:1.3;transition:background .2s,border-color .2s}
.demo-source:hover{border-color:#cdb9c3}
.demo-source[aria-expanded=true]{border-color:#cdb9c3;background:#fff;color:var(--wine)}
.demo-source svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:2}
.demo-doc{margin-top:8px;padding:10px 12px;border:1px solid #e6dce1;border-radius:10px;background:#fcfafb;font-size:12px;line-height:1.45}
.demo-doc h4{margin:0 0 7px;font-size:12px;font-weight:650;color:var(--cabernet)}
.demo-doc dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 14px;margin:0}
.demo-doc dt{color:var(--muted)}
.demo-doc dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;color:var(--ink)}
.demo-meta{display:inline-block;margin-top:8px;padding:3px 8px;border-radius:5px;background:#fbf6e9;color:#8e744b;font-size:11px}
.demo-ask{flex:none;padding:12px 14px 14px;border-top:1px solid #e5ddd9;background:#fdfcf9}
.demo-ask-label{margin:0 0 8px;font-size:11px;color:var(--muted)}
.demo-chips{display:flex;flex-direction:column;gap:6px}
.demo-chip{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:40px;padding:8px 12px;border:1px solid #e3d2dc;border-radius:10px;background:#fff;color:var(--cabernet);font-size:13px;font-weight:500;line-height:1.35;text-align:left;transition:background .2s}
.demo-chip:hover:not(:disabled){background:#f7f0f3}
.demo-chip:disabled{opacity:.45;cursor:default}
.demo-chip svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:2}
.demo-chip.demo-next{background:var(--cabernet);border-color:var(--cabernet);color:#fff}
.demo-chip.demo-next:hover{background:var(--wine)}
.demo-own{display:block;margin-top:4px;padding:6px 2px;font-size:12px;color:var(--wine);text-decoration:underline;text-underline-offset:3px}
.demo-more{margin-top:30px}
.demo-more-title{margin:0 0 14px;font-size:12px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--wine)}
.demo-more ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none}
.demo-more li{padding-top:14px;border-top:1px solid #e6dce1;font-size:15px;line-height:1.55;color:var(--ink)}
.demo-more li span{display:block;margin-bottom:6px;font-size:12px;font-weight:600;color:var(--muted)}
.demo-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:30px;padding-top:20px;border-top:1px solid #e2e8dd}
.demo-footer p{margin:0;font-size:13px;line-height:1.6;color:var(--muted)}
.demo-footer .text-link{font-size:14px;color:var(--cabernet);margin:0}
.demo-footer svg{width:17px;height:17px}
@keyframes demoIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes demoDot{0%,70%,100%{opacity:.4;transform:none}35%{opacity:1;transform:translateY(-3px)}}
@media(max-width:1079px){
  .demo-window{grid-template-columns:1fr;height:auto}
  .demo-screen{border-right:0;border-bottom:1px solid #e6dce1}
  .demo-chat{height:560px}
  .demo-chat-head{height:56px}
  .demo-more ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  .intelligence .section-heading>p{width:auto}
}
@media(max-width:699px){
  .demo-screen{display:none}
  .demo-window{border-radius:16px}
  .demo-chat{height:auto}
  .demo-log{overflow:visible;min-height:260px;padding:16px 14px 8px}
  .demo-msg{font-size:14px}
  .demo-ask{padding:12px}
  .demo-chip{font-size:14px;min-height:44px}
  .demo-tabs{flex-wrap:nowrap;overflow-x:auto;margin-inline:-16px;padding:2px 16px 4px;scrollbar-width:none}
  .demo-tabs::-webkit-scrollbar{display:none}
  .demo-tabs button{flex:none;font-size:14px;padding-inline:15px}
  .demo-more{margin-top:24px}.demo-more ul{grid-template-columns:1fr;gap:14px}
  .demo-footer{flex-direction:column;align-items:flex-start;gap:12px}
}
@media(prefers-reduced-motion:reduce){.demo-msg,.demo-typing i{animation:none}}

.demo-doc-note{margin:9px 0 0;padding-top:8px;border-top:1px solid #eee4ea;color:var(--muted);line-height:1.5}

/* A single desktop overview gives the mobile conversation its product context. */
.mobile-workspace{display:none}
@media(max-width:699px){
  .mobile-workspace{display:block;max-width:400px;margin:0 auto 26px}
  .laptop-preview{position:relative;padding:0 0 9px;filter:drop-shadow(0 12px 14px #4a23351c)}
  .laptop-lid{position:relative;margin:0 9px;padding:7px 4px 5px;border:1px solid #3b4943;border-radius:11px 11px 3px 3px;background:linear-gradient(145deg,#3b4943,#202c26);overflow:hidden}
  .laptop-lid:before{content:'';position:absolute;width:3px;height:3px;top:2px;left:calc(50% - 1.5px);border-radius:50%;background:#87948c}
  .laptop-lid img{display:block;width:100%;height:auto;border-radius:4px 4px 1px 1px}
  .laptop-base{position:absolute;left:0;right:0;bottom:0;height:10px;border:1px solid #aeb6af;border-top:0;border-radius:1px 1px 45% 45% / 1px 1px 85% 85%;background:linear-gradient(#e5e8e2 0 35%,#b5bdb4 65%,#8f998f);box-shadow:0 1px 1px #26352b20}
  .laptop-base:after{content:'';position:absolute;top:0;left:42%;width:16%;height:3px;border-radius:0 0 5px 5px;background:#a8b1a7}
  .mobile-workspace figcaption{margin:14px 0 0;text-align:center;font-size:12px;line-height:1.55;color:var(--muted)}
  .mobile-workspace.is-pending{opacity:0;transform:translateY(14px)}
  .mobile-workspace.is-visible{opacity:1;transform:none;transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.3,1)}
}
@media(prefers-reduced-motion:reduce){
  .mobile-workspace.is-pending,.mobile-workspace.is-visible{opacity:1;transform:none;transition:none}
}
