.bots-section{padding:124px 0;background:radial-gradient(ellipse at 84% 48%,rgba(240,196,15,.025),transparent 55%),var(--black,#0a0a0a);scroll-margin-top:104px}
.bots-heading{display:grid;grid-template-columns:1.12fr 1fr;gap:64px;align-items:end;margin-bottom:52px}
.bots-heading h2{font-size:clamp(30px,3.3vw,44px);line-height:1.12;max-width:21ch}
.bots-heading h2 em{font-weight:400;color:var(--gold,#f0c40f)}
.bots-heading>p{font-size:15px;line-height:1.8;color:var(--grey,#9c988d);max-width:44ch;padding-bottom:4px}
.bots-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line,#2b2924);border-bottom:0;border-radius:5px 5px 0 0;overflow:hidden}
.bots-section button{font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.bots-tab{min-height:76px;background:#0e0e0c;color:var(--grey,#9c988d);border:0;border-right:1px solid var(--line,#2b2924);display:flex;gap:17px;align-items:center;padding:20px 26px;font-size:14px;font-weight:400;position:relative;text-align:left;transition:background .2s,color .2s}
.bots-tab:last-child{border-right:0}
.bots-tab[aria-selected=true]{background:var(--panel,#141311);color:var(--bone,#f5f3ee)}
.bots-tab::after{position:absolute;content:"";bottom:0;left:0;right:0;height:2px;background:transparent}
.bots-tab[aria-selected=true]::after{background:var(--gold,#f0c40f)}
.bots-tab:hover{background:#1b1914;color:var(--bone,#f5f3ee)}
.bots-tab:focus-visible{outline-offset:-5px}
.bots-tab-number{font-size:11px;color:var(--grey,#9c988d);font-variant-numeric:tabular-nums}
.bots-tab[aria-selected=true] .bots-tab-number,.bots-tab[aria-selected=true] .bots-tab-arrow{color:var(--gold,#f0c40f)}
.bots-tab-arrow{margin-left:auto;font-size:19px;font-weight:300}
.bots-workspace{border:1px solid var(--line,#2b2924);border-radius:0 0 5px 5px;overflow:hidden;background:var(--panel,#141311);box-shadow:0 25px 80px -45px rgba(0,0,0,.6)}
.bots-workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 26px;border-bottom:1px solid var(--line,#2b2924);font-size:10px;letter-spacing:.025em;color:var(--grey,#9c988d)}
.bots-demo-label{display:flex;align-items:center;gap:8px;line-height:1.5}
.bots-demo-label>span{width:5px;height:5px;border-radius:50%;background:var(--gold,#f0c40f);flex:none}
.bots-workspace-id{color:#bcb6a7}
.bots-workspace-grid{display:grid;grid-template-columns:1.3fr 1fr}
.bots-conversation{min-width:0;padding:30px;border-right:1px solid var(--line,#2b2924);display:flex;flex-direction:column}
.bots-conversation-heading{display:flex;align-items:center;gap:13px;padding-bottom:23px;border-bottom:1px solid var(--line-soft,#1e1d19)}
.bots-agent-mark{width:39px;height:39px;display:grid;place-items:center;border:1px solid #534614;color:var(--gold,#f0c40f);border-radius:50%;background:#211d10;flex:none}
.bots-agent-mark svg{width:27px;height:27px}
.bots-conversation-heading h3{font-family:'Inter',sans-serif;font-size:13px;font-weight:500;letter-spacing:0;line-height:1.5}
.bots-conversation-heading p{font-size:11px;color:var(--grey,#9c988d);line-height:1.5;margin-top:3px}
.bots-messages{height:305px;overflow-y:auto;overscroll-behavior-y:contain;padding:24px 7px 8px 0;scrollbar-width:thin;scrollbar-color:#504728 transparent;display:flex;flex-direction:column;gap:17px;scroll-behavior:auto}
.bots-message{max-width:92%;flex:none;animation:bots-message-in .28s ease both}
.bots-message-user{margin-left:auto;align-self:flex-end}
.bots-message-author{display:block;font-size:9px;letter-spacing:.035em;color:#aca698;margin-bottom:6px}
.bots-message-user .bots-message-author{text-align:right}
.bots-message p{font-size:12px;line-height:1.75;color:var(--bone-dim,#e4e0d5);background:#1e1c17;border:1px solid #302c23;padding:12px 15px;border-radius:1px 9px 9px 9px}
.bots-message-user p{background:#242115;border-color:#463c1b;border-radius:9px 1px 9px 9px}
.bots-message-bot .bots-message-author{color:#d6bc5c}
.bots-decision{padding-top:17px;padding-bottom:12px;border-top:1px solid var(--line,#2b2924)}
.bots-decision[hidden]{display:none}
.bots-decision>p{color:#bcb6a7;font-size:11px;margin-bottom:10px;line-height:1.6}
.bots-choices{display:flex;flex-wrap:wrap;gap:8px}
.bots-choices button{background:transparent;color:var(--gold,#f0c40f);border:1px solid #706021;padding:10px 12px;border-radius:2px;font-size:11px;line-height:1.5;text-align:left;min-height:44px;transition:background .2s,border-color .2s}
.bots-choices button:hover{background:#29230f;border-color:var(--gold,#f0c40f)}
.bots-conversation-note{font-size:10px;color:#a69f90;line-height:1.6;padding-top:18px;margin-top:auto}
.bots-flow{padding:30px 32px;background:#10100e;min-width:0}
.bots-eyebrow{color:#aaa394;font-size:9px;letter-spacing:.1em;text-transform:uppercase;margin-bottom:9px;line-height:1.6}
.bots-flow-heading h3{font-size:24px;font-weight:400;line-height:1.2}
.bots-steps{list-style:none;margin:28px 0 24px;padding:0}
.bots-step{display:flex;gap:14px;position:relative;padding-bottom:22px;min-height:81px}
.bots-step:last-child{padding-bottom:0;min-height:0}
.bots-step:not(:last-child)::before{content:"";position:absolute;width:1px;top:27px;bottom:0;left:13px;background:#333026;transition:background .2s}
.bots-step-marker{position:relative;z-index:1;display:grid;place-items:center;width:27px;height:27px;flex:none;border-radius:50%;font-size:9px;color:#9c9689;border:1px solid #3e392e;background:#14130f;font-variant-numeric:tabular-nums;transition:background .2s,border-color .2s,color .2s}
.bots-step h4{font-size:12px;font-weight:400;line-height:1.5;color:#c3bdae;margin:3px 0 3px}
.bots-step p{font-size:11px;line-height:1.6;color:#a39c8d;max-width:31ch}
.bots-step-state{display:block;font-size:9px;margin-top:4px;color:#8e887c;line-height:1.4}
.bots-step[data-state=active] .bots-step-marker{color:#0a0a0a;background:var(--gold,#f0c40f);border-color:var(--gold,#f0c40f);box-shadow:0 0 0 4px rgba(240,196,15,.07)}
.bots-step[data-state=active] h4,.bots-step[data-state=active] .bots-step-state{color:var(--gold,#f0c40f)}
.bots-step[data-state=done] .bots-step-marker{color:var(--gold,#f0c40f);border-color:#7b681f;background:#252011}
.bots-step[data-state=done]::before{background:#75621c}
.bots-result{border-top:1px solid #302b1e;padding-top:19px;min-height:81px}
.bots-result-label{font-size:9px;color:var(--gold,#f0c40f);letter-spacing:.07em;text-transform:uppercase}
.bots-result p{font-size:11px;color:#b9b1a0;line-height:1.75;margin-top:8px}
.bots-result[data-complete=true]{border-top-color:#807020}
.bots-result[data-complete=true] p{color:var(--bone,#f5f3ee)}
.bots-controls{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 26px;border-top:1px solid var(--line,#2b2924);background:#0e0e0c}
.bots-playback{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.bots-play{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:160px;padding:12px 18px;color:#0a0a0a;background:var(--gold,#f0c40f);border:1px solid var(--gold,#f0c40f);border-radius:2px;font-size:11px;font-weight:500;line-height:1.5;transition:background .2s}
.bots-play:hover{background:#ffd838}
#bots-play-icon{font-size:10px}
.bots-next,.bots-replay{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:44px;font-size:11px;background:transparent;color:#b5ae9f;border:0;padding:9px 0;line-height:1.5}
.bots-next:hover,.bots-replay:hover{color:var(--gold,#f0c40f)}
.bots-replay>span{font-size:18px;line-height:1}
.bots-section button:disabled{cursor:default;opacity:.52}
.bots-play:disabled{background:#c5ac49;border-color:#c5ac49;color:#14120b;opacity:.8}
.bots-progress-group{min-width:155px;max-width:240px;flex:1;display:flex;flex-direction:column;gap:9px}
#bots-status{font-size:10px;color:#b1aa9b;text-align:right;line-height:1.5}
.bots-progress{height:2px;background:#302c22;overflow:hidden;border-radius:2px}
.bots-progress>span{display:block;height:100%;width:0;background:var(--gold,#f0c40f);transition:width .3s ease}
.bots-footnote{display:flex;align-items:flex-start;justify-content:space-between;gap:32px;margin-top:22px}
.bots-footnote p{font-size:11px;line-height:1.7;color:#a39c8d;max-width:72ch}
.bots-footnote a{font-size:12px;line-height:1.7;color:var(--gold,#f0c40f);white-space:nowrap;padding-bottom:4px;border-bottom:1px solid #64551b}
.bots-footnote a span{margin-left:12px}
.bots-footnote a:hover{color:#ffe264;border-bottom-color:var(--gold,#f0c40f)}
.bots-no-script{font-size:12px;line-height:1.7;color:var(--gold,#f0c40f);margin-top:18px}
@keyframes bots-message-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1000px){.bots-heading{gap:36px}.bots-conversation{padding:25px}.bots-flow{padding:25px}.bots-controls{gap:18px}.bots-playback{gap:14px}.bots-progress-group{min-width:120px}.bots-tab{padding:20px}.bots-play{min-width:147px}}
@media(max-width:760px){.bots-section{padding:82px 0}.bots-heading{grid-template-columns:1fr;gap:25px;margin-bottom:35px}.bots-heading>p{max-width:54ch;font-size:14px}.bots-tabs{border-radius:3px 3px 0 0}.bots-tab{padding:16px 12px;gap:8px;font-size:12px;min-height:64px}.bots-tab-number{font-size:9px}.bots-tab-arrow{font-size:15px}.bots-workspace-grid{grid-template-columns:1fr}.bots-conversation{border-right:0;border-bottom:1px solid var(--line,#2b2924)}.bots-flow{padding:25px}.bots-steps{display:grid;grid-template-columns:1fr 1fr;gap:22px 20px;margin:24px 0}.bots-step{padding:0;min-height:0;gap:10px}.bots-step:not(:last-child)::before{display:none}.bots-result{min-height:0}.bots-workspace-bar{padding:14px 20px}.bots-messages{height:285px}.bots-controls{flex-wrap:wrap;padding:18px 22px;gap:18px}.bots-playback{flex:1;justify-content:space-between;gap:12px}.bots-progress-group{flex-basis:100%;max-width:none;flex-direction:row;align-items:center;gap:18px}#bots-status{text-align:left;flex:none}.bots-progress{flex:1}.bots-footnote{gap:20px}.bots-footnote p{font-size:10px}}
@media(max-width:430px){.bots-section .wrap{padding-left:20px;padding-right:20px}.bots-heading h2{font-size:30px}.bots-tab{gap:6px;padding:14px 9px;font-size:11px}.bots-tab-arrow{display:none}.bots-workspace-bar{gap:8px;padding:13px 16px;font-size:9px;flex-wrap:wrap}.bots-workspace-id{display:none}.bots-conversation{padding:22px 17px}.bots-conversation-heading{gap:10px}.bots-conversation-heading h3{font-size:12px}.bots-conversation-heading p{font-size:10px}.bots-message{max-width:95%}.bots-message p{padding:10px 12px;font-size:11px}.bots-message-author{font-size:9px}.bots-flow{padding:24px 18px}.bots-flow-heading h3{font-size:23px}.bots-steps{gap:22px 13px}.bots-step{gap:8px}.bots-step-marker{width:22px;height:22px;font-size:8px}.bots-step h4{font-size:11px;margin-top:1px}.bots-step p{font-size:10px}.bots-controls{padding:17px}.bots-play{min-width:0;padding:11px 12px;font-size:10px}.bots-playback{gap:8px}.bots-next,.bots-replay{font-size:10px}.bots-next{gap:4px}.bots-replay{gap:4px}.bots-footnote{flex-direction:column;gap:14px}.bots-progress-group{gap:12px}#bots-status{font-size:9px}}
@media(prefers-reduced-motion:reduce){.bots-section *,.bots-section *::before,.bots-section *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep playback next to the conversation when the two columns stack. */
@media(max-width:760px){.bots-workspace{display:flex;flex-direction:column}.bots-workspace-bar{order:0}.bots-workspace-grid{display:contents}.bots-conversation{order:1}.bots-controls{order:2;border-top:0;border-bottom:1px solid var(--line,#2b2924)}.bots-flow{order:3}}
