/* Scoped to Obi. The existing website typography, logo and layout remain intact. */
.obie-launcher,.obie-dialog{font-family:'Red Hat Text',sans-serif;color:#112337;font-size:1rem;line-height:1.5}
.obie-launcher{position:fixed;right:24px;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:1000;display:flex;align-items:center;gap:14px;min-height:80px;padding:7px 24px 7px 7px;background:#0b1929;color:#fff;border:1px solid #8ae6ed;border-radius:48px;box-shadow:0 6px 24px #0b192933;cursor:pointer}
.obie-launcher>span{font-size:1.125rem;font-weight:600;white-space:nowrap}
.obie-launcher>.obie-avatar{width:64px;height:64px}
.obie-hero-column{min-width:0}
.obie-hero-column>.ecosystem{width:100%}
.obie-launcher-slot{display:flex;justify-content:flex-end;align-items:center;min-height:80px;margin-bottom:20px}
.obie-launcher-hero:not(.obie-launcher-floating){position:static;box-shadow:none}
.obie-avatar{display:block;width:48px;height:48px;flex:none;object-fit:cover;border-radius:50%;background:#fff}
.obie-dialog{position:fixed;inset:auto 24px calc(92px + env(safe-area-inset-bottom,0px)) auto;margin:0;padding:0;width:420px;max-width:calc(100vw - 32px);height:680px;max-height:calc(var(--obie-visible-height,100dvh) - 116px);border:1px solid #becdd6;border-radius:14px;background:#fff;box-shadow:0 18px 60px #0b192938;overflow:hidden}
.obie-dialog::backdrop{background:#0b192929}
.obie-dialog [hidden]{display:none!important}
.obie-dialog *{box-sizing:border-box}
.obie-shell{height:100%;display:flex;flex-direction:column;min-height:0}
.obie-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #dce4e7;flex:none;background:#f7f8f6}
.obie-identity{display:flex;align-items:center;gap:12px;min-width:0}
.obie-identity h2{font-family:'Red Hat Display',sans-serif;font-size:1.375rem;letter-spacing:-.02em;line-height:1.2;margin:0 0 3px}
.obie-identity p{margin:0;font-size:.8125rem;line-height:1.45;color:#486174}
.obie-dialog button{font-family:inherit;cursor:pointer;line-height:1.5}
.obie-dialog button:disabled{cursor:wait;opacity:.65}
.obie-close{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;border:1px solid #becdd6;border-radius:50%;color:#112337;background:#fff;font-size:1.75rem;padding:0}
.obie-preview-note{flex:none;margin:0;padding:8px 18px;color:#39556a;background:#eaf3fa;font-size:.75rem;line-height:1.5;border-bottom:1px solid #cadde8}
.obie-chat-view{display:flex;flex-direction:column;min-height:0;flex:1;overflow-y:auto}
.obie-messages{flex:1;min-height:70px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:18px;display:flex;flex-direction:column;gap:14px}
.obie-message{max-width:100%;padding:13px 15px;border:1px solid #dce4e7;border-radius:10px;overflow-wrap:anywhere;flex:none}
.obie-message p{font-size:1rem;line-height:1.65;margin:0;white-space:pre-wrap;color:inherit}
.obie-message-assistant{background:#f2f6f8;align-self:flex-start}
.obie-message-user{background:#0b1929;color:#fff;align-self:flex-end;margin-left:22px}
.obie-sources{display:flex;flex-direction:column;gap:5px;margin-top:12px;padding-top:10px;border-top:1px solid #becdd6;font-size:.8125rem}
.obie-sources>span{color:#486174}
.obie-sources a{color:#005bd6;text-decoration:underline;text-underline-offset:3px;padding-block:4px;min-height:32px}
.obie-suggestions{display:flex;flex-direction:column;gap:8px;align-items:flex-start;flex:none}
.obie-suggestions button{min-height:44px;padding:10px 12px;border:1px solid #9fb6c5;border-radius:7px;background:#fff;color:#174368;font-size:.875rem;text-align:left;max-width:100%;overflow-wrap:anywhere}
.obie-team{margin:0 18px 8px;min-height:44px;padding:10px 12px;background:#fff;border:1px solid #9fb6c5;border-radius:6px;color:#005bd6;font-size:.875rem;flex:none}
.obie-team-recommended{background:#eaf3fa;border-color:#005bd6}
.obie-status{font-size:.8125rem;line-height:1.5;margin:0 18px;flex:none;overflow-wrap:anywhere}
.obie-status:not(:empty){padding-bottom:8px}
.obie-error{color:#8c283a}
.obie-composer{display:flex;align-items:flex-end;gap:8px;padding:0 18px;flex:none;margin:0}
.obie-composer textarea{flex:1;min-width:0;max-height:112px;resize:vertical;min-height:52px}
.obie-dialog textarea,.obie-dialog input:not([type=checkbox]){font:inherit;font-size:1rem;line-height:1.5;border:1px solid #9fb6c5;border-radius:6px;background:#fff;color:#112337;padding:10px;max-width:100%}
.obie-dialog textarea::placeholder{color:#536b7c}
.obie-send,.obie-lead-submit{border:0;border-radius:6px;color:#fff;background:#0066ff;padding:12px 14px;min-height:48px;font-size:.9375rem;font-weight:600}
.obie-note{flex:none;margin:8px 18px 5px;font-size:.75rem;line-height:1.5;color:#486174}
.obie-processing{flex:none;margin:0 18px 14px;font-size:.75rem;line-height:1.5;color:#486174}
.obie-processing summary{cursor:pointer;min-height:28px;padding-block:4px}
.obie-processing p{margin:6px 0 0;max-height:80px;overflow-y:auto}
.obie-lead-view{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 18px 20px}
.obie-back{color:#005bd6;border:0;background:transparent;padding:8px 0;min-height:44px;font-size:.875rem;text-decoration:underline;text-underline-offset:3px}
.obie-lead-view h3{font-size:1.5rem;line-height:1.3;margin:12px 0;letter-spacing:-.025em;overflow-wrap:anywhere}
.obie-lead-intro{font-size:1rem;line-height:1.6;color:#486174;margin:0 0 20px}
.obie-lead-form{display:flex;flex-direction:column;gap:15px;margin:0}
.obie-lead-form>label:not(.obie-checkbox){font-size:.875rem;line-height:1.5;font-weight:600;display:flex;flex-direction:column;gap:6px}
.obie-checkbox{display:flex;align-items:flex-start;gap:10px;font-size:.875rem;line-height:1.6;font-weight:400;padding-block:4px;cursor:pointer}
.obie-checkbox input{width:20px;height:20px;flex:none;margin:3px 0 0;accent-color:#0066ff}
.obie-retention,.obie-lead-status{font-size:.8125rem;line-height:1.6;margin:0;color:#486174;overflow-wrap:anywhere}
.obie-email{font-size:.875rem;line-height:1.5;min-height:44px;padding-block:10px;text-align:center;color:#005bd6;text-decoration:underline;text-underline-offset:4px}
.obie-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}
.obie-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}
.obie-dialog :focus-visible,.obie-launcher:focus-visible{outline:3px solid #005bd6;outline-offset:3px}
html.obie-open{overflow:hidden}
@media(max-width:650px){
 .obie-launcher{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));min-height:68px;padding-right:20px;gap:10px}
 .obie-launcher .obie-avatar{width:52px;height:52px}
 .obie-launcher>span{font-size:1rem}
 .obie-launcher-slot{justify-content:center;min-height:68px}
 .obie-dialog{inset:0 auto auto 0;width:100%;max-width:100%;height:var(--obie-visible-height,100dvh);max-height:100dvh;border:0;border-radius:0}
 .obie-header{padding:calc(12px + env(safe-area-inset-top,0px)) 16px 12px}
 .obie-processing{margin-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
 .obie-lead-view{padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}
 .obie-composer,.obie-messages{padding-inline:16px}
 .obie-team,.obie-note,.obie-status,.obie-processing{margin-inline:16px}
 .obie-identity p{font-size:.75rem}
}
@media(prefers-reduced-motion:reduce){.obie-dialog *{scroll-behavior:auto!important}}

/* Keep the enlarged assistant and the entire concept diagram within laptop views. */
@media(min-width:901px){
 .hero:has(.obie-hero-column) .hero-inner{align-items:start;padding-top:24px;padding-bottom:28px}
 .obie-hero-column .obie-launcher-slot{margin-bottom:12px}
 .obie-hero-column .ecosystem{transform:none}
 .obie-hero-column .ecosystem-heading{padding:12px 16px}
 .obie-hero-column .ecosystem-map{gap:18px;margin:16px}
 .obie-hero-column .agent-node{padding:10px 12px}
 .obie-hero-column .policy-node{min-height:44px;padding:9px 12px}
 .obie-hero-column .ontology-core{padding:14px}
 .obie-hero-column .source-node{min-height:76px;padding:8px 6px}
 .obie-hero-column .ecosystem-footer{padding:10px 16px}
 .obie-hero-column .ontology-core:before,.obie-hero-column .policy-node:before,.obie-hero-column .agent-row:before{top:-19px;height:18px}
}

.obie-launcher{text-decoration:none}.obie-launcher small{font-size:.75rem;font-weight:400;color:#c6e8ee}

/* Keep the landing-page assistant at the top right above the concept diagram. */
.obie-launcher-slot{justify-content:flex-end}
@media(max-width:650px){.obie-launcher-slot{justify-content:flex-end}}

/* Landing-page chat stays within easy reach at the lower left. */
.obie-launcher-left{left:24px;right:auto}
@media(max-width:650px){.obie-launcher-left{left:16px;right:auto}}

/* Reserve real space below the introduction; never overlay its text or links. */
.obie-intro-slot{display:flex;justify-content:flex-start;margin-top:24px;padding-bottom:8px}
.obie-launcher.obie-launcher-inline{position:static;inset:auto;flex:none;max-width:100%;box-shadow:none}
@media(max-width:650px){.obie-intro-slot{margin-top:20px}}

/* Fit the introductory copy and its chat action in short laptop windows. */
@media(min-width:901px) and (max-height:950px){
 .hero:has(.obie-intro-slot) .hero-inner{align-items:start;padding-top:24px;padding-bottom:24px}
 .hero:has(.obie-intro-slot) .hero-copy>.eyebrow{margin-bottom:20px}
 .hero:has(.obie-intro-slot) h1{font-size:clamp(2.75rem,4.35vw,4rem);line-height:1.08;margin-bottom:24px}
 .hero:has(.obie-intro-slot) .hero-description{font-size:1.0625rem;line-height:1.6;margin-bottom:18px}
 .hero:has(.obie-intro-slot) .hero-actions{margin-top:0}
 .hero:has(.obie-intro-slot) .obie-intro-slot{margin-top:18px}
 .hero:has(.obie-intro-slot) .ecosystem{transform:none}
 .hero:has(.obie-intro-slot) .ecosystem-heading{padding:12px 16px}
 .hero:has(.obie-intro-slot) .ecosystem-map{gap:18px;margin:16px}
 .hero:has(.obie-intro-slot) .agent-node{padding:10px 12px}
 .hero:has(.obie-intro-slot) .policy-node{min-height:44px;padding:9px 12px}
 .hero:has(.obie-intro-slot) .ontology-core{padding:14px}
 .hero:has(.obie-intro-slot) .source-node{min-height:76px;padding:8px 6px}
 .hero:has(.obie-intro-slot) .ecosystem-footer{padding:10px 16px}
 .hero:has(.obie-intro-slot) .ontology-core:before,.hero:has(.obie-intro-slot) .policy-node:before,.hero:has(.obie-intro-slot) .agent-row:before{top:-19px;height:18px}
}

/* Exact blue tint restricted to the .ai suffix; original artwork and alpha retained. */
.brand-art{display:inline-grid;position:relative;line-height:0;max-width:100%}
.brand-art>.company-logo{grid-area:1/1;clip-path:inset(0 22.5% 0 0)}
.brand-ai-tint{position:absolute;inset:0;pointer-events:none;background:#0056b8;clip-path:inset(0 0 0 77.5%);-webkit-mask-image:var(--brand-logo-mask);mask-image:var(--brand-logo-mask);-webkit-mask-size:cover;mask-size:cover;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
