.bot-page { --bot-action: var(--accent); --bot-soft: var(--surface); color: var(--ink); }
.bot-page svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.bot-page h1, .bot-page h2, .bot-page h3 { color: var(--home-heading); }
.bot-page button, .bot-page a { -webkit-tap-highlight-color: transparent; }
.bot-page button:focus-visible, .bot-page a:focus-visible, .bot-page [tabindex="0"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.bot-page button { font: inherit; cursor: pointer; }
.bot-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 60px; min-height: 480px; padding: 32px 0 64px; }
.bot-handle { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; font-weight: var(--weight-semibold); color: var(--accent); font-size: var(--text-data); line-height: var(--leading-data); }
.bot-handle svg { width: 20px; }
.bot-hero h1 { margin: 0 0 24px; letter-spacing: -.05em; font-size: var(--text-hero); line-height: var(--leading-hero); font-weight: var(--weight-medium); }
.bot-hero h1 span { color: var(--accent); }
.bot-hero-copy > p { max-width: 530px; margin: 0; color: var(--muted); font-size: var(--text-lead); line-height: var(--leading-lead); }
.bot-hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 30px 0 16px; }
.bot-primary { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 50px; padding: 13px 21px; border: 1px solid transparent; border-radius: var(--radius-control); background: var(--bot-action); color: var(--button-ink); font-weight: var(--weight-semibold); transition: background .18s, transform .18s; text-decoration: none; font-size: var(--text-data); line-height: var(--leading-data); }
.bot-primary:hover { background: var(--accent-strong); color: var(--button-ink); transform: translateY(-1px); }
.bot-primary:disabled { opacity: .65; cursor: default; transform: none; }
.bot-text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: var(--weight-semibold); color: var(--home-heading); font-size: var(--text-data); line-height: var(--leading-data); }
.bot-text-link svg { width: 18px; }
.bot-hero-note { color: var(--muted); font-size: var(--text-meta); line-height: var(--leading-meta); }
.bot-hero-preview { position: relative; min-height: 350px; display: flex; flex-direction: column; justify-content: center; gap: 17px; isolation: isolate; }
.bot-orbit { display: none; }
.bot-orbit-two { width: 480px; height: 480px; right: 0; top: -65px; border-style: dashed; opacity: .7; }
.bot-preview-label { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; color: var(--muted); font-size: var(--text-compact); line-height: var(--leading-compact); }
.bot-status-dot { width: 7px; height: 7px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 4px var(--success-wash); }
.bot-preview-message { display: flex; align-items: flex-start; gap: 13px; padding: 20px; width: 92%; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper-strong); box-shadow: none;  }
.bot-preview-message > img { flex-shrink: 0; border-radius: 50%; object-fit: contain; }
.bot-preview-message > div { min-width: 0; flex: 1; }
.bot-preview-first { transform: none; }
.bot-preview-second { margin-left: auto; animation-delay: -3s; }
.bot-message-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--home-heading); font-size: var(--text-compact); line-height: var(--leading-compact); }
.bot-message-meta small { color: var(--muted); font-weight: var(--weight-normal); font-size: var(--text-meta); line-height: var(--leading-meta); }
.bot-preview-message p { margin: 7px 0; color: var(--home-heading); font-size: var(--text-body); line-height: var(--leading-body); }
.bot-preview-detail { color: var(--muted); font-size: var(--text-meta); line-height: var(--leading-meta); }
.bot-preview-icon { width: 44px; height: 44px; border-radius: var(--radius); background: var(--bot-soft); display: grid; place-items: center; color: var(--accent); flex-shrink: 0; }
.bot-preview-chip { align-self: center; display: inline-flex; align-items: center; gap: 6px; border-radius: var(--radius-control); border: 1px solid var(--line); background: var(--paper-strong); padding: 8px 14px; color: var(--muted); font-size: var(--text-compact); line-height: var(--leading-compact); }
.bot-preview-chip svg { width: 15px; color: var(--success); }
.bot-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.bot-section-heading h2, .bot-start h2 { margin: 0; letter-spacing: -.035em; font-size: var(--text-marketing-section); line-height: var(--leading-marketing-section); font-weight: var(--weight-semibold); }
.bot-section-heading p:not(.home-eyebrow) { color: var(--muted); margin: 12px 0 0; font-size: var(--text-body); line-height: var(--leading-body); font-weight: var(--weight-normal); }
.bot-tours { padding: 24px 0 0; scroll-margin-top: 100px; }
.bot-playback-hint { color: var(--muted); white-space: nowrap; font-size: var(--text-meta); line-height: var(--leading-meta); }
.bot-tour-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px 28px; }
.bot-tour { margin: 0; min-width: 0; }
.bot-tour-media { display: flex; flex-direction: column; align-items: center; background: var(--surface); padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.bot-tour:has(:focus-visible) .bot-tour-media, .bot-tour.is-playing .bot-tour-media { border-color: var(--line-strong); }
@media (hover: hover) and (pointer: fine) {
  .bot-tour:hover .bot-tour-media { border-color: var(--line-strong); }
}
@media (prefers-reduced-motion: reduce) {
  .bot-tour-media { transition: none; }
  .bot-tour:hover .bot-tour-media { transform: none; }
}
.bot-tour:nth-child(2) .bot-tour-media { background: var(--surface); }
.bot-tour:nth-child(3) .bot-tour-media { background: var(--surface); }
.bot-tour:nth-child(4) .bot-tour-media { background: var(--surface); }
.bot-recording-stage { position: relative; display: block; width: 100%; max-width: 390px; padding: 0; border: 0; border-radius: var(--radius-control); overflow: hidden; background: transparent; line-height: 0; cursor: pointer; appearance: none; }
.bot-page .bot-recording-stage:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.bot-recording, .bot-recording-poster { display: block; width: 100%; max-width: 390px; height: auto; aspect-ratio: 390/620; background: transparent; border: 0; }
.bot-recording-poster { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none; object-fit: contain; }
.bot-recording-stage.has-video-frame .bot-recording-poster { visibility: hidden; }
.bot-recording-fallback { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; object-fit: contain; pointer-events: none; }
.bot-recording-fallback[hidden] { display: none; }
/* The recording itself handles click/tap and keyboard playback, without chrome. */
.bot-recording::-webkit-media-controls { display: none !important; }
.bot-recording::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.bot-recording::-webkit-media-controls-overlay-play-button { display: none !important; }
.bot-tour figcaption { display: flex; align-items: flex-start; gap: 15px; padding: 24px 4px 0; }
.bot-tour-number { color: var(--accent); padding-top: 5px; font-weight: var(--weight-semibold); font-size: var(--text-meta); line-height: var(--leading-meta); }
.bot-tour h3 { margin: 0 0 8px; letter-spacing: -.025em; font-size: var(--text-section); line-height: var(--leading-section); }
.bot-tour figcaption p { color: var(--muted); margin: 0; max-width: 410px; font-size: var(--text-data); line-height: var(--leading-data); }
.bot-features { padding: 64px 0; }
.bot-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.bot-feature { padding: 28px 0; border-top: 1px solid var(--line-strong); }
.bot-feature-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; color: var(--accent); background: var(--bot-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.bot-feature h3 { margin: 0 0 10px; letter-spacing: -.015em; font-size: var(--text-body); line-height: var(--leading-body); }
.bot-feature p { margin: 0; color: var(--muted); font-size: var(--text-data); line-height: var(--leading-data); }
.bot-start { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 42px 46px; background: var(--paper-strong); border: 1px solid var(--line); border-radius: var(--radius); }
.bot-start > div > p:not(.home-eyebrow) { color: var(--muted); margin: 18px 0 24px; max-width: 420px; font-size: var(--text-data); line-height: var(--leading-data); }
.bot-command-list { padding-left: 40px; border-left: 1px solid var(--line); }
.bot-command-list h3 { margin: 0; font-size: var(--text-body); line-height: var(--leading-body); }
.bot-command-list > p { margin: 8px 0 20px !important; font-size: var(--text-meta); line-height: var(--leading-meta); }
.bot-command-list dl { margin: 0; display: grid; gap: 15px; }
.bot-command-list dl > div { display: grid; gap: 3px; }
.bot-command-list dt { color: var(--accent); font-weight: var(--weight-semibold); overflow-wrap: anywhere; font-size: var(--text-meta); line-height: var(--leading-meta); }
.bot-command-list dd { margin: 0; color: var(--muted); font-size: var(--text-data); line-height: var(--leading-data); }
.bot-motion-paused *, .bot-motion-paused *::before, .bot-motion-paused *::after { animation-play-state: paused !important; }
@keyframes bot-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }
[data-theme="dark"] .bot-page { --bot-soft: var(--surface); }
[data-theme="dark"] .bot-tour-media { background: var(--surface); }
[data-theme="dark"] .bot-tour:nth-child(2) .bot-tour-media { background: var(--surface); }
[data-theme="dark"] .bot-orbit { border-color: var(--line); }
@media (max-width: 1200px) {
  .bot-hero { gap: 30px; padding-inline: 0; }
  .bot-start { gap: 36px; }
}
@media (max-width: 900px) {
  .bot-hero { gap: 20px; }
  .bot-hero-actions { gap: 10px; }.bot-hero-preview { min-height: 310px; }
  .bot-preview-message { padding: 15px; gap: 9px; width: 98%; }.bot-preview-message > img, .bot-preview-icon { width: 34px; height: 34px; }.bot-message-meta { gap: 5px; }.bot-message-meta small { display: none; }.bot-orbit { width: 290px; height: 290px; top: 10px; right: 0; }.bot-orbit-two { width: 320px; height: 320px; top: -5px; right: -10px; }
  .bot-section-heading { align-items: start; flex-direction: column; gap: 14px; }
  .bot-tour-media { padding: 18px 16px; }
  .bot-tours, .bot-features { padding-inline: 0; }.bot-feature-grid { gap: 0 25px; }.bot-start { padding: 30px; gap: 25px; }.bot-command-list { padding-left: 25px; }
}
@media (max-width: 700px) {
  .bot-hero { grid-template-columns: 1fr; gap: 44px; padding: 10px 0 45px; }.bot-hero-copy { max-width: 520px; }
  .bot-hero-preview { width: min(450px, 100%); margin: 0 auto; min-height: 265px; }.bot-preview-message { width: 93%; }.bot-message-meta small { display: inline; }.bot-orbit { width: 270px; height: 270px; right: 20%; top: -6px; }.bot-orbit-two { width: 325px; height: 325px; right: 10%; top: -32px; }
  .bot-tour-grid { gap: 36px; grid-template-columns: 1fr; }.bot-tour-media { padding-block: 22px; }.bot-tours { padding-top: 20px; scroll-margin-top: 144px; }.bot-tour-media { max-height: none; }.bot-tour figcaption { padding-top: 20px; }
  .bot-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; }.bot-features { padding-block: 54px; }.bot-feature { padding-block: 23px; }
  .bot-start { grid-template-columns: 1fr; gap: 32px; }.bot-command-list { border-left: 0; border-top: 1px solid var(--line); padding: 26px 0 0; }
}
@media (max-width: 390px) {
  .bot-start { padding: 25px 16px; border-radius: var(--radius); }
  .bot-hero-actions { align-items: stretch; flex-direction: column; gap: 7px; }.bot-text-link { justify-content: center; }.bot-hero-note { display: block; text-align: center; }
  .bot-preview-message { padding: 13px 11px; }.bot-orbit { right: 9%; }.bot-orbit-two { width: 295px; height: 295px; right: 0; top: -20px; }
  .bot-tour-media { padding-inline: 12px; }.bot-feature-grid { gap: 0 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .bot-page *, .bot-page *::before, .bot-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
