:root { --shu: #e4572e; --paper: #f4f6fb; --ice: #9db7e8; --ink: #000; --app: #0b0b0c; --line: #2c2c2e; --muted: #8e8e93; --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif; }
* { box-sizing: border-box; }
html { background: var(--shu); scroll-behavior: auto; }
body { margin: 0; color: var(--ink); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; }
.wrap { width: min(100% - 64px, 1360px); margin-inline: auto; }
.wordmark { display: block; width: 142px; height: auto; }
.intro { padding-top: 22px; padding-bottom: 32px; }
.intro nav { display: flex; align-items: center; justify-content: space-between; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; border: 0; border-radius: 28px; padding: 0 22px; background: var(--ink); color: white; font-size: 14px; font-weight: 600; }
.intro-copy { display: flex; justify-content: space-between; align-items: end; padding-top: 35px; gap: 24px; }
h1 { font-size: clamp(32px, 4vw, 60px); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; }
.intro-copy p { font-size: 18px; line-height: 1.4; }
#product-tour { position: relative; height: 800svh; background: var(--shu); }
.tour-stage { position: sticky; top: 0; height: 100svh; padding-block: 20px; display: flex; flex-direction: column; justify-content: flex-start; gap: 16px; }
.tour-heading { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.skip-tour { font-size: 12px; font-weight: 400; text-decoration: underline; text-underline-offset: 4px; }
.app-screen { height: min(64svh, 680px); min-height: 400px; flex: none; background: var(--app); color: #e5e5e7; border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template: 49px minmax(0, 1fr) / 20.8% minmax(0, 1fr) 22%; overflow: hidden; box-shadow: 0 12px 44px #0002; font-size: clamp(11px, .98vw, 14px); line-height: 1.5; }
.app-screen button { background: none; color: inherit; border: 0; text-align: left; font-size: inherit; }
.app-screen button:hover { background: #ffffff0a; }
.app-header { display: flex; align-items: center; gap: 12px; grid-column: 1 / -1; border-bottom: 1px solid var(--line); padding: 8px 12px; }
.app-brand { display: inline-flex; gap: 5px; align-items: center; }
.app-brand .wordmark { width: 95px; color: #f4f6fb; }
.app-brand img { width: 20px; height: 21px; }
.app-icon { width: 32px; height: 32px; border-radius: 9px; font-size: 24px !important; text-align: center !important; }
.sidebar-toggle { background: #1c1c1e !important; }
.header-tools { margin-left: auto; }
.app-sidebar { display: flex; flex-direction: column; background: #000; border-right: 1px solid var(--line); min-height: 0; }
.app-navigation { padding: 12px 7px; border-bottom: 1px solid var(--line); }
.app-navigation button { display: flex; align-items: center; gap: 12px; min-height: 38px; width: 100%; padding: 7px 11px; border-radius: 8px; }
.app-screen .selected { background: var(--line); }
.nav-icon { width: 16px; flex: none; color: #aaa; font-size: 20px; line-height: 1; }
.chat-icon { display: inline-block; width: 14px; height: 11px; border: 1.6px solid #a8a8ad; border-radius: 3px; position: relative; }
.chat-icon::after { content: ''; width: 4px; height: 4px; position: absolute; left: 2px; bottom: -4px; border-left: 1.6px solid #a8a8ad; transform: skewY(-40deg); }
.laptop-icon { display: inline-block; width: 15px; height: 10px; border: 1.5px solid #a8a8ad; position: relative; border-radius: 1px; }
.laptop-icon::after { content: ''; height: 1.5px; background: #a8a8ad; width: 21px; position: absolute; bottom: -4px; left: -4px; }
.group-list { padding: 16px 7px; }
.group-list > p { padding: 0 11px 6px; color: var(--muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }
.group-list button, .group-row { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 10px 11px; min-height: 40px; border-radius: 8px; }
.repo-tag { color: #a8a8ad; background: #1c1c1e; padding: 0 7px; border-radius: 12px; font-size: 10px; }
.lock-icon { width: 8px; height: 7px; border: 1px solid var(--muted); border-radius: 1px; position: relative; margin-right: 4px; }
.lock-icon::before { content: ''; position: absolute; width: 4px; height: 5px; border: 1px solid var(--muted); border-radius: 4px 4px 0 0; left: 0; top: -6px; }
.account-link { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 14px; border-top: 1px solid var(--line) !important; }
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--line) !important; flex: none; font-weight: 500; }
.workspace { min-height: 0; min-width: 0; position: relative; }
.board-view { display: flex; flex-direction: column; height: 100%; }
.conversation-heading { min-height: 48px; display: flex; align-items: center; gap: 14px; padding: 0 28px; border-bottom: 1px solid var(--line); }
.conversation-heading > span, .mobile-back { display: none; }
.session-list { display: flex; gap: 7px; padding: 9px 28px 6px; overflow-x: auto; scrollbar-width: none; min-height: 43px; flex: none; }
.session-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px 3px 3px; border-radius: 20px; background: #1c1c1e !important; white-space: nowrap; flex: none; font-size: 10px !important; }
.session-pill img { width: 19px; height: 19px; padding: 2px; }
.session-pill span { color: var(--muted); }
.mono-logo { filter: invert(1); }
.thread-filters { display: flex; gap: 14px; align-items: center; padding: 0 28px 8px; white-space: nowrap; overflow: hidden; color: var(--muted); min-height: 36px; flex: none; font-size: 12px; }
.thread-filters .selected { border-radius: 22px; padding: 5px 11px; color: #e5e5e7; }
.thread { min-height: 0; flex: 1; overflow: auto; padding: 4px 28px 12px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.thread-date { text-align: center; color: var(--muted); font-size: 10px; margin-bottom: 18px; }
.message { display: flex; gap: 10px; margin-bottom: 21px; }
.message > img { width: 30px; height: 30px; padding: 4px; flex: none; }
.message.human-message > img { padding: 0; border-radius: 50%; }
.message > div { min-width: 0; }
.message header { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; line-height: 1.4; }
.message header b { font-weight: 600; }
.message-source { border-radius: 20px; background: #1c1c1e; color: var(--muted); font-size: 10px; padding: 0 6px; }
.message time { color: var(--muted); font-size: 10px; }
.message p { margin-top: 4px; }
code { background: #1c1c1e; padding: 0 3px; border-radius: 3px; font-size: .95em; }
.reply { display: inline-block; margin: 9px 0 0 8px; color: var(--muted); font-size: 11px; }
.reply::before { content: ''; display: inline-block; width: 10px; height: 7px; border: 1px solid var(--muted); border-radius: 2px; margin-right: 6px; }
.composer { display: flex; align-items: center; gap: 15px; margin: 8px 28px 10px; border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; min-height: 49px; flex: none; }
.paperclip { width: 10px; height: 20px; border: 1.5px solid var(--muted); border-radius: 7px; transform: rotate(40deg); margin-inline: 5px; flex: none; }
.paperclip::after { content: ''; display: block; height: 12px; width: 4px; border: 1.5px solid var(--muted); border-top: 0; border-radius: 0 0 4px 4px; margin: 0 auto; }
.compose-content { flex: 1; min-width: 0; }
.compose-placeholder { color: #77777d; }
.compose-draft { display: none; }
.mention { color: var(--ice); }
.attachment { display: inline-flex; gap: 12px; align-items: center; padding: 7px 10px; border-radius: 7px; border: 1px solid #454548; margin-top: 7px; font-size: 11px; }
.attachment small { color: var(--muted); font-size: 10px; }
.send { display: grid; place-items: center; border-radius: 50%; background: #444446; color: #080809; width: 35px; height: 35px; font-size: 20px; flex: none; }
.items-panel { border-left: 1px solid var(--line); }
.items-tabs { display: flex; gap: 4px; padding: 7px 10px; border-bottom: 1px solid var(--line); font-size: 11px; }
.items-tabs > span { padding: 12px 0; flex: 1; text-align: center; color: var(--muted); }
.items-tabs .selected { color: #e5e5e7; border-radius: 8px; }
.items-panel > p { padding: 12px; color: var(--muted); font-size: 12px; }
.detail-view { height: 100%; display: flex; flex-direction: column; }
[hidden] { display: none !important; }
.view-heading { min-height: 48px; padding: 12px 28px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.view-heading img { width: 20px; height: 20px; }
.detail-body { padding: 26px 28px; overflow: auto; }
.detail-body h2 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.detail-body h3 { font-size: 13px; margin: 24px 0 12px; font-weight: 600; }
dl { margin: 18px 0; padding: 0; }
dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid #ffffff0b; }
dt, .muted { color: var(--muted); }
dd { margin: 0; }
.session-conversation { margin-top: 32px; }
.session-prompt { background: var(--line); border-radius: 12px; padding: 14px; margin-bottom: 25px; }
.session-answer { display: flex; align-items: start; gap: 12px; }
.session-answer img { width: 24px; height: 24px; flex: none; }
.session-input { margin: auto 28px 12px; border: 1px solid var(--line); border-radius: 16px; padding: 14px; color: var(--muted); display: flex; justify-content: space-between; }
.machine-row { display: flex; align-items: center; gap: 24px; padding-block: 28px 18px; }
.machine-row p { color: var(--muted); font-size: 12px; margin-block: 5px; }
.machine-row small { color: #a1a1a6; font-size: 11px; }
.machine-icon { width: 30px; height: 20px; margin: 10px; flex: none; }
.machine-icon::after { width: 40px; left: -6px; }
.machine-actions { display: flex; gap: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.account-person { display: flex; align-items: center; gap: 14px; }
.account-person .avatar { width: 44px; height: 44px; font-size: 18px; }
.account-person p { color: var(--muted); font-size: 12px; }
.app-button { display: inline-block; background: var(--line); border-radius: 8px; padding: 7px 13px; margin-top: 12px; font-size: 12px; }
.mobile-tabs, .mobile-account { display: none; }
.app-screen[data-step="4"] .compose-placeholder { display: none; }
.app-screen[data-step="4"] .compose-draft { display: block; }
.app-screen[data-step="2"] .session-pill:first-child { box-shadow: 0 0 0 1px var(--ice); }
.app-screen[data-step="5"] .groups-nav { background: none; }
.app-screen[data-step="5"] .machines-nav { background: var(--line); }
.tour-caption-wrap { display: flex; align-items: start; justify-content: space-between; gap: 20px; min-height: 99px; padding-top: 4px; }
#tour-caption h2 { font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.035em; line-height: 1.2; margin-bottom: 6px; }
#tour-caption p { max-width: 54ch; font-size: 15px; line-height: 1.45; }
.tour-controls { display: flex; gap: 8px; align-items: center; flex: none; padding-top: 4px; }
#tour-counter { font: 400 11px "IBM Plex Mono", monospace; margin-right: 12px; white-space: nowrap; }
.tour-controls button { width: 36px; height: 36px; background: transparent; border: 1px solid #0006; color: #000; border-radius: 50%; font-size: 20px; }
.tour-controls button:disabled { opacity: .3; cursor: default; }
.scroll-hint { font-size: 11px; }
.human-message { display: none; }
.app-screen[data-step="3"] .human-message, .app-screen[data-step="4"] .human-message { display: flex; }
.app-screen[data-step="3"] .human-message { animation: message-arrives 240ms ease-out both; }
@keyframes message-arrives { from { opacity: 0; transform: translateY(8px); } }
.driver-overlay { clip-path: inset(var(--tour-overlay-inset, 0px) round 12px) !important; }
.driver-overlay, .driver-overlay * { pointer-events: none !important; }
.driver-active [data-tour-go], .driver-active [data-tour-jump], .driver-active .skip-tour { pointer-events: auto; }
.app-screen[data-step="2"] .session-answer, .app-screen[data-step="5"] .machine-row { animation: message-arrives 240ms ease-out both; }
.driver-active-element { outline: 2px solid var(--ice) !important; outline-offset: 4px; }
.driver-popover.tour-popover { font-family: var(--sans); background: var(--paper); color: #000; border-radius: 12px; padding: 18px 20px; box-shadow: 0 8px 30px #0003; max-width: 270px; min-width: 220px; pointer-events: none; }
.tour-popover .driver-popover-title { font-size: 18px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.tour-popover .driver-popover-description { font-family: var(--sans); font-size: 13px; line-height: 1.5; margin-top: 8px; }
.tour-popover .driver-popover-arrow-side-left { border-left-color: var(--paper); }
.tour-popover .driver-popover-arrow-side-right { border-right-color: var(--paper); }
.tour-popover .driver-popover-arrow-side-top { border-top-color: var(--paper); }
.tour-popover .driver-popover-arrow-side-bottom { border-bottom-color: var(--paper); }
.harness-band { padding-block: 110px; background: var(--paper); }
.harness-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.harness-layout h2, .setup-layout h2 { font-size: clamp(36px, 4.5vw, 64px); line-height: 1.04; font-weight: 500; letter-spacing: -.04em; }
.harness-layout p { margin-top: 24px; font-size: 19px; }
.harnesses { display: flex; flex-wrap: wrap; column-gap: 40px; row-gap: 32px; padding: 0; margin: 0; list-style: none; }
.harnesses li { display: flex; align-items: center; gap: 12px; min-width: 145px; font-size: 17px; }
.harnesses img { width: 31px; height: 31px; }
.harnesses .mono-logo { filter: none; }
.harnesses small { display: block; font-size: 12px; color: #66666b; }
.setup-band { background: var(--ice); padding-block: 100px; }
.setup-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.setup-copy article { display: flex; gap: 20px; margin-bottom: 28px; }
.setup-copy article > span { padding-top: 3px; font-size: 13px; }
.setup-copy h3 { font-size: 22px; letter-spacing: -.025em; line-height: 1.2; font-weight: 500; }
.setup-copy p { font-size: 16px; margin-top: 8px; max-width: 36ch; }
.text-link { display: inline-block; margin-top: 12px; border-bottom: 1px solid; }
.closing { background: var(--shu); padding-block: 90px 24px; }
.closing h2 { font-size: clamp(52px, 8vw, 120px); line-height: .98; letter-spacing: -.05em; font-weight: 500; }
.access { display: flex; flex-wrap: wrap; max-width: 590px; gap: 12px; margin-top: 42px; position: relative; }
.access input[type="email"] { min-width: 0; flex: 1; min-height: 48px; border: 1px solid #0007; padding: 10px 16px; background: transparent; color: #000; border-radius: 26px; }
.access input::placeholder { color: #000a; }
.access-note { flex-basis: 100%; font-size: 13px; min-height: 40px; }
.access button:disabled { opacity: .5; cursor: wait; }
.sr, .hp { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
footer { display: flex; justify-content: space-between; margin-top: 80px; font-size: 13px; }
html.tour-fallback #product-tour { height: auto; }
html.tour-fallback .tour-stage { position: relative; height: auto; padding-bottom: 40px; }
@media (min-width: 1600px) { .app-screen { font-size: 14px; } }
@media (max-width: 1000px) { .app-screen { grid-template-columns: 23% minmax(0, 1fr); } .items-panel { display: none; } .message-source { display: none; } .harness-layout, .setup-layout { gap: 40px; } }
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .intro { padding-top: 16px; padding-bottom: 28px; }
  .wordmark { width: 113px; }
  .button { font-size: 12px; padding-inline: 16px; min-height: 40px; }
  .intro-copy { display: block; padding-top: 32px; }
  h1 { font-size: 35px; }
  .intro-copy p { font-size: 14px; margin-top: 16px; }
  .intro-copy p br { display: none; }
  .tour-stage { padding-block: 12px; gap: 12px; }
  .tour-heading { font-size: 12px; }
  .skip-tour { font-size: 11px; }
  .app-screen { height: 57svh; min-height: 330px; grid-template: 42px minmax(0, 1fr) 49px / minmax(0, 1fr); font-size: 12px; border-radius: 14px; position: relative; }
  .app-header { padding: 5px 11px; }
  .app-brand .wordmark { width: 90px; }
  .app-header .sidebar-toggle, .header-tools { display: none; }
  .mobile-account { display: inline-grid; margin-left: auto; width: 27px; height: 27px; text-align: center !important; }
  .app-sidebar { display: none; }
  .app-screen[data-step="0"] .app-sidebar, .app-screen[data-step="1"] .app-sidebar { display: flex; position: absolute; inset: 42px 0 49px; z-index: 3; border-right: 0; }
  .app-screen[data-step="0"] .workspace, .app-screen[data-step="1"] .workspace { visibility: hidden; }
  .app-navigation { padding: 7px; }
  .app-navigation button { min-height: 32px; padding-block: 5px; }
  .group-list { padding: 9px 7px; }
  .group-list button, .group-row { min-height: 32px; padding-block: 6px; }
  .group-list > p { font-size: 10px; }
  .account-link { padding: 9px 16px; }
  .account-link .avatar { width: 24px; height: 24px; }
  .workspace { grid-row: 2; }
  .conversation-heading { min-height: 37px; padding-inline: 14px; }
  .conversation-heading > span { display: inline; margin-left: auto; font-size: 11px; }
  .mobile-back { display: inline-block; font-size: 24px !important; padding: 0; }
  .session-list { min-height: 36px; padding: 6px 12px; }
  .session-pill { font-size: 10px !important; }
  .session-pill img { width: 17px; height: 17px; }
  .thread-filters { font-size: 11px; min-height: 32px; padding: 1px 14px 4px; gap: 17px; }
  .thread { padding: 7px 14px 4px; }
  .thread-date { display: none; }
  .message { gap: 8px; margin-bottom: 18px; }
  .message > img { width: 25px; height: 25px; padding: 2px; }
  .message-source { display: none; }
  .message time { font-size: 9px; }
  .reply { margin-top: 5px; font-size: 10px; }
  .composer { margin: 5px 12px 8px; padding: 7px 9px; min-height: 43px; gap: 8px; border-radius: 13px; }
  .send { width: 28px; height: 28px; font-size: 18px; }
  .compose-draft { font-size: 11px; }
  .attachment { font-size: 10px; padding: 4px 7px; margin-top: 5px; }
  .mobile-tabs { display: flex; justify-content: space-around; align-items: center; grid-row: 3; border-top: 1px solid var(--line); padding: 3px 8px; gap: 8px; }
  .mobile-tabs button { display: flex; flex-direction: column; align-items: center; gap: 6px; justify-content: center; height: 40px; flex: 1; text-align: center; font-size: 9px; border-radius: 22px; color: #a8a8ad; }
  .mobile-tabs button > span { font-size: 18px; line-height: 12px; height: 12px; }
  .mobile-tabs .laptop-icon { height: 9px; margin-bottom: 3px; }
  .view-heading { min-height: 39px; padding: 9px 15px; }
  .detail-body { padding: 17px 16px; }
  .detail-body h2 { font-size: 17px; }
  .detail-body h3 { margin-top: 18px; }
  .detail-body dl { margin: 13px 0; }
  dl > div { padding: 5px 0; font-size: 11px; }
  .session-conversation { margin-top: 20px; }
  .session-prompt { padding: 10px; margin-bottom: 14px; }
  .session-answer { gap: 8px; }
  .session-answer img { width: 21px; height: 21px; }
  .session-input { margin: auto 14px 10px; padding: 10px; font-size: 11px; }
  .machine-row { gap: 12px; padding-top: 24px; }
  .machine-row p { font-size: 11px; }
  .machine-icon { width: 24px; height: 17px; }
  .machine-icon::after { width: 33px; }
  .account-person .avatar { width: 35px; height: 35px; }
  .tour-caption-wrap { min-height: 150px; position: relative; padding: 5px 0 38px; display: block; }
  #tour-caption h2 { font-size: 23px; line-height: 1.14; margin-bottom: 7px; }
  #tour-caption p { font-size: 13px; line-height: 1.45; max-width: 36ch; }
  .tour-controls { position: absolute; left: 0; right: 0; bottom: 0; justify-content: end; }
  #tour-counter { margin-right: auto; }
  .tour-controls button { width: 29px; height: 29px; font-size: 17px; }
  .scroll-hint { font-size: 10px; margin-top: -35px; pointer-events: none; align-self: center; }
  .driver-popover.tour-popover { display: none !important; }
  .harness-band { padding-block: 60px; }
  .harness-layout, .setup-layout { grid-template-columns: 1fr; gap: 36px; }
  .harness-layout h2, .setup-layout h2 { font-size: 38px; }
  .harness-layout p { font-size: 16px; margin-top: 15px; }
  .harnesses { column-gap: 24px; row-gap: 25px; }
  .harnesses li { min-width: 140px; font-size: 15px; }
  .harnesses img { width: 28px; height: 28px; }
  .setup-band { padding-block: 60px; }
  .setup-copy h3 { font-size: 20px; }
  .setup-copy p { font-size: 15px; }
  .closing { padding-block: 60px 24px; }
  .closing h2 { font-size: 59px; }
  .access { gap: 10px; margin-top: 30px; }
  .access input[type="email"] { flex-basis: 100%; min-height: 45px; }
  .access .button { min-height: 42px; }
  footer { margin-top: 45px; font-size: 11px; }
}
@media (max-height: 700px) { .app-screen { height: 53svh; min-height: 270px; } .tour-caption-wrap { min-height: 110px; } #tour-caption h2 { font-size: 20px; } .tour-stage { gap: 10px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

/* The tour eases in: overlay and popover fade and rise instead of popping */
.driver-overlay { animation: tour-fade .5s ease-out both; }
.driver-popover.tour-popover { animation: tour-pop .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes tour-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tour-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .driver-overlay, .driver-popover.tour-popover { animation: none; } }
