/* The demo shares a timeline, with separate terminal and desktop presentation. */
.demo-area{align-self:start;position:relative;min-width:0;padding-top:16px;font-size:12px}
.demo-glow{position:absolute;inset:-50px -30px;background:radial-gradient(ellipse at 15% 50%,#5e4fde45,transparent 62%),radial-gradient(ellipse at 90% 40%,#f7784a35,transparent 60%);z-index:-1;filter:blur(35px);pointer-events:none}
.demo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.demo-controls{display:flex;background:#212121;border:1px solid var(--border);border-radius:8px;padding:4px}
.demo-controls button{background:none;color:var(--muted);font-size:12px;padding:7px 16px;border:0;border-radius:5px}
.demo-controls button[aria-pressed=true]{background:var(--purple);color:white}
.demo-live{font-size:11px;letter-spacing:.6px;color:#bcb7c7;display:flex;align-items:center;gap:7px}
.demo-live>span{width:5px;height:5px;background:#a0e3c1;border-radius:50%}
.demo-shell{border:1px solid #514b55;border-radius:11px;background:#191919;box-shadow:0 24px 70px #0005;overflow:hidden;color:#e5e3df;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace}.demo-shell:focus{outline:none}
.demo-titlebar{display:flex;align-items:center;gap:16px;padding:12px 15px;background:#292929;border-bottom:1px solid #363636;color:#bfbcb7;font-size:11px}
.demo-lights{display:flex;gap:6px;flex:none}.demo-lights i{width:9px;height:9px;border-radius:50%;background:#ff6058}.demo-lights i:nth-child(2){background:#ffbd2e}.demo-lights i:nth-child(3){background:#28c840}
.demo-workspace{display:flex}.demo-session{padding:24px 20px 12px;flex:1;min-width:0}
.terminal-welcome{display:flex;gap:2ch;line-height:1.25;margin-bottom:22px}.terminal-welcome .dim{color:#a9a59e}.terminal-mascot{white-space:pre;color:#d97757;font-family:Menlo,Consolas,'DejaVu Sans Mono',monospace}
.demo-transcript{height:215px;overflow:auto;scrollbar-width:thin;scrollbar-color:#555 transparent}
.demo-user-message{display:flex;gap:9px;align-items:baseline;margin-bottom:18px;overflow-wrap:anywhere;white-space:pre-wrap}.terminal-chevron{color:#d9957c;font-weight:bold;flex:none}.demo-shell[data-typing=true] .demo-composer input::placeholder{color:inherit}.demo-command{display:flex;flex-wrap:wrap;gap:0 1ch;margin-top:12px}.demo-command small{flex-basis:100%;color:#aaa69f;font-size:inherit}.demo-command small::before{content:'⎿  ';white-space:pre}[data-surface=desktop] .demo-command small::before{content:none}
.demo-assistant{margin-bottom:13px;color:#c5c1bb;display:flex;gap:1ch}.demo-assistant>span{color:#e5e3df}
.demo-tool{display:flex;gap:1ch;margin:9px 0}.tool-dot{color:#a0bda2}.demo-tool strong{font-weight:700}.tool-arg::before{content:'('}.tool-arg::after{content:')'}.demo-tool small{display:block;color:#aaa69f;font-size:inherit}.demo-tool small::before{content:'⎿  ';white-space:pre}.desk-only{display:none}[data-surface=desktop] .term-only{display:none}[data-surface=desktop] .desk-only{display:inline}.demo-complete{color:#cbdcc7;margin-top:12px}
.demo-placement{min-height:150px;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;padding:10px 0 12px}
/* The product's card: THEMES.violet, CARD_LABEL and CARD_BODY in packages/mod/hooks/register.ts (a test keeps them equal) */
.demo-ad{border:1px solid #7c3aed;border-radius:8px;background:#1e1b2e;color:#e5e7eb;padding:6px 12px}.demo-ad p{margin:0}.ad-label{color:#9ca3af}.ad-head strong{color:#c4b5fd}.demo-spinner{display:inline-block;width:1ch;text-align:center;color:#d97757;flex:none}.demo-spinner::before{content:'✳';animation:demo-glyph 1.2s steps(1) infinite}.demo-tool .tool-dot{animation:demo-blink .4s steps(2) 2}
.demo-ad button{font:inherit;color:#c4b5fd;background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:3px}.demo-ad button:hover{color:#fff}
.demo-thinking{color:#b3aaa0;display:flex;gap:1ch}
.demo-composer{display:flex;align-items:center;gap:10px;border-block:1px solid #4a4843;padding:10px 0;margin:0}.demo-composer input{font:inherit;color:#e5e3df;background:transparent;border:0;width:100%;min-width:0;padding:5px 0;border-radius:2px}.demo-composer input::placeholder{color:#9c9891}.demo-composer input:focus-visible{outline:2px solid #d9957c;outline-offset:3px}.demo-composer>button{border:0;background:none;color:#9c9891;flex:none;width:29px;height:29px;padding:0}
.demo-session-footer{margin-top:9px;color:#96928b}
.desktop-tabs,.demo-sidebar,.desktop-session-title,.desktop-composer-meta{display:none}
.demo-shell[data-surface=desktop]{background:#262624;color:#e8e6dc;font-family:Geist,Arial,sans-serif;color-scheme:dark;border-color:#514b55}
[data-surface=desktop] .demo-titlebar{background:#1f1e1d;border-color:#3a3935;color:#a6a39a}[data-surface=desktop] #window-title{display:none}
[data-surface=desktop] .desktop-tabs{display:flex;gap:4px;margin-left:auto}.desktop-tabs>*{padding:2px 10px;border-radius:6px}[data-surface=desktop] .desktop-tabs strong{color:#f5f4ef;background:#30302e;font-weight:500}
[data-surface=desktop] .demo-sidebar{display:flex;flex-direction:column;width:132px;flex:none;padding:14px 9px;background:#1f1e1d;border-right:1px solid #3a3935;font-size:12px;color:#a6a39a}.sidebar-new{color:#f5f4ef;padding:6px 7px;margin-bottom:18px}.sidebar-heading{font-size:11px;margin:0 7px 6px}.sidebar-session{background:#30302e;border-radius:6px;padding:6px 7px;color:#e8e6dc}
[data-surface=desktop] .demo-session{padding:17px 15px 12px}[data-surface=desktop] .terminal-welcome{display:none}[data-surface=desktop] .desktop-session-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:20px;font-size:12px}#demo-session-title,.sidebar-session{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desktop-session-title .branch{flex:none;font:11px ui-monospace,monospace;color:#a6a39a;border:1px solid #3a3935;border-radius:4px;padding:1px 5px}
[data-surface=desktop] .demo-transcript{height:214px}[data-surface=desktop] .demo-user-message{background:#30302e;border-radius:10px;padding:10px 12px;margin-left:12px;margin-bottom:17px}[data-surface=desktop] .terminal-chevron{display:none}[data-surface=desktop] .demo-assistant{color:#e8e6dc}[data-surface=desktop] .demo-assistant>span{display:none}[data-surface=desktop] .demo-tool small{color:#a6a39a;padding-left:1.4em}[data-surface=desktop] .tool-arg{margin-left:.5em}[data-surface=desktop] .tool-arg::before,[data-surface=desktop] .tool-arg::after,[data-surface=desktop] .demo-tool small::before{content:none}[data-surface=desktop] .desk-only{display:inline-block;font:11px ui-monospace,monospace;color:#8fc28a;background:#8fc28a1f;border-radius:4px;padding:1px 6px}[data-surface=desktop] .tool-dot{color:#7fb07a}[data-surface=desktop] .demo-complete{color:#9ccf96}
[data-surface=desktop] .demo-placement{min-height:160px;padding-bottom:10px}[data-surface=desktop] .demo-ad{border-radius:12px;padding:12px 14px;font-size:13px}[data-surface=desktop] .ad-head{display:flex;gap:1ch}[data-surface=desktop] .demo-thinking{color:#a6a39a}
[data-surface=desktop] .demo-composer{flex-wrap:wrap;gap:4px;border:1px solid #3a3935;border-radius:10px;background:#30302e;padding:8px 10px}[data-surface=desktop] .demo-composer:focus-within{border-color:#d97757}[data-surface=desktop] .demo-composer input:focus-visible{outline:none}[data-surface=desktop] .demo-composer input{flex:1;min-width:0;color:#f5f4ef;font-size:12px}[data-surface=desktop] .demo-composer>button{background:#d97757;border:1px solid #d97757;border-radius:5px;color:#fff;font-size:17px}[data-surface=desktop] .desktop-composer-meta{width:100%;display:flex;justify-content:space-between;gap:8px;color:#a6a39a;font-size:11px;padding-top:4px}[data-surface=desktop] .demo-session-footer{display:none}
.demo-playback{display:flex;gap:6px;align-items:center;margin-top:14px}.demo-playback button{border:1px solid var(--border);border-radius:6px;background:#212121;color:#d5d2e1;padding:7px 11px;font-size:11px;min-height:34px}.demo-playback button:hover{border-color:#ada2bc;color:white}.demo-playback #demo-ads{margin-left:auto;display:flex;align-items:center;gap:7px;border-color:transparent;background:transparent;padding-right:0}.demo-switch{width:25px;height:15px;background:#514b5c;border-radius:10px;position:relative}.demo-switch:after{content:'';position:absolute;width:9px;height:9px;top:3px;left:3px;border-radius:50%;background:#fff;transition:transform .2s}[aria-checked=true] .demo-switch{background:#7564e6}[aria-checked=true] .demo-switch:after{transform:translateX(10px)}
.demo-explanation{font-size:12px;color:#e4d5c9;margin-top:13px;min-height:39px;line-height:1.6}.demo-caption{font-size:11px;color:#a49da9;margin-top:7px;line-height:1.6}.demo-ad-details{font-size:11px;color:#d5d2e1;margin:10px 0;padding:12px;border:1px solid var(--border);border-radius:7px;background:#212121}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.demo-shell[data-paused=true] *,.demo-shell[data-paused=true] *::before{animation-play-state:paused!important}
@keyframes demo-glyph{0%{content:'·'}17%{content:'✢'}33%{content:'✳'}50%{content:'✶'}67%{content:'✻'}83%{content:'✽'}}@keyframes demo-blink{50%{opacity:0}}
@media(min-width:851px){.hero{grid-template-columns:.9fr 1.1fr;column-gap:40px;padding-inline:48px}.hero h1{font-size:clamp(46px,4.4vw,64px)}.demo-area{padding-top:0}}
@media(min-width:1400px){.hero{padding-inline:80px;column-gap:64px}}
@media(max-width:1100px) and (min-width:851px){[data-surface=desktop] .demo-sidebar{display:none}}
@media(max-width:850px){.demo-area{width:100%;max-width:620px;margin:0 auto;padding-top:0}.demo-glow{inset:-20px 0}.demo-shell{font-size:12px}.demo-transcript{height:225px}}
@media(max-width:480px){.demo-live{letter-spacing:.3px;gap:4px}.demo-controls button{padding-inline:12px}.demo-session{padding:20px 13px 12px}.demo-titlebar{gap:10px}.demo-shell{font-size:11px}.demo-transcript,[data-surface=desktop] .demo-transcript{height:190px}[data-surface=desktop] .demo-sidebar{display:none}[data-surface=desktop] .desktop-tabs{gap:2px}.demo-placement,[data-surface=desktop] .demo-placement{min-height:180px}}
@media(pointer:coarse){.demo-controls button,.demo-composer>button{min-width:44px;min-height:44px}#demo-ad-link{min-height:44px}}
@media(prefers-reduced-motion:reduce){.demo-shell *,.demo-shell *::before{animation:none!important;transition:none!important}}
