:root{color-scheme:dark;--bg:#0b0f19;--surface:#111827;--surface2:#151d2e;--line:#293144;--text:#f3f5fc;--muted:#9da8bc;--accent:#9d9bff;--accent2:#80ddd0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;overflow-x:hidden}button,input,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,textarea:focus-visible{outline:2px solid var(--accent2);outline-offset:4px}.wrap{width:min(1200px,calc(100% - 64px));margin-inline:auto}.ambient{position:absolute;z-index:-1;top:0;left:0;right:0;height:830px;background:radial-gradient(ellipse 36% 48% at 70% 31%,#29305e4e,transparent),radial-gradient(ellipse 42% 43% at 19% 22%,#242b4940,transparent);pointer-events:none}.site-header{height:98px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:10px;font-weight:760;font-size:17px;letter-spacing:-.5px;white-space:nowrap}.brand-mark{color:var(--accent);font-size:31px;line-height:1}.desktop-nav{display:flex;gap:33px;margin-left:auto;margin-right:34px}.desktop-nav a{font-size:13px;color:#bac1d2;transition:color .2s}.desktop-nav a:hover,.footer a:hover{color:white}.nav-actions{display:flex;align-items:center;gap:25px}.language-toggle{font-size:12px;display:flex;gap:7px;align-items:center;color:#77849b}.language-toggle a.active{font-weight:800;color:#f3f5fc}.header-cta{border:1px solid #484e69;border-radius:6px;padding:12px 17px;font-size:12px;font-weight:700;white-space:nowrap;transition:background .2s}.header-cta:hover{background:#ffffff12}.hero{padding-block:80px 104px;display:grid;grid-template-columns:minmax(0,1fr) minmax(440px,1.03fr);align-items:center;gap:64px;min-height:670px}.eyebrow,.section-kicker{letter-spacing:2.1px;font-size:10px;color:var(--accent);font-weight:800}.eyebrow{display:flex;align-items:center;gap:10px}.live-dot,.status-dot{display:inline-block;border-radius:50%;background:var(--accent2);width:7px;height:7px;box-shadow:0 0 12px #80ddd090}.hero h1,h2{letter-spacing:-2.7px;line-height:1.105;font-weight:680}.hero h1{font-size:clamp(45px,5.15vw,72px);margin:28px 0 22px;max-width:600px}.hero h1 em,h2 em{font-style:normal;color:var(--accent)}.hero-description{max-width:470px;color:#b3bbca;font-size:17px;line-height:1.75;margin:0}.hero-meta{display:flex;align-items:center;gap:16px;margin-top:47px;color:#79869b;letter-spacing:1.45px;font-size:9px;font-weight:800;line-height:1.7}.meta-line{display:block;width:35px;height:1px;background:#6c7590;flex-shrink:0}.chat-panel{border:1px solid #404865;border-radius:16px;overflow:hidden;background:linear-gradient(150deg,#182032,#121927 64%);box-shadow:0 35px 85px #0006,0 0 60px #928cfc0a;display:flex;flex-direction:column;height:525px;min-width:0}.chat-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ffffff13;padding:19px 21px}.assistant-identity{display:flex;align-items:center;gap:12px}.avatar,.mini-avatar{background:#343354;color:#c2c0ff;display:grid;place-items:center;border-radius:12px;font-size:21px}.avatar{height:41px;width:41px}.assistant-identity strong{font-size:13px;display:block}.assistant-state{display:flex;align-items:center;gap:7px;color:#929fb2;font-size:10px;margin-top:5px}.status-dot{width:5px;height:5px}.reset-btn{border:0;background:none;color:#99a3b7;padding:7px;border-radius:8px}.reset-btn:hover{background:#ffffff12}.reset-btn svg,.send-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.chat-body{flex:1;overflow-y:auto;padding:24px 18px;display:flex;flex-direction:column;gap:18px;scrollbar-color:#454f65 transparent;scrollbar-width:thin}.message{display:flex;align-items:flex-end;gap:9px;max-width:92%}.message.user{align-self:flex-end}.mini-avatar{width:25px;height:25px;flex-shrink:0;font-size:14px;border-radius:8px}.bubble{font-size:12.5px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #313b53;background:#202a3e;padding:12px 14px;border-radius:12px 12px 12px 3px;color:#e0e6f3}.user .bubble{background:#48467e;border-color:#605e9c;border-radius:12px 12px 3px 12px;color:white}.message.error .bubble{border-color:#a07979;color:#ffccca}.thinking .bubble{letter-spacing:5px;color:#b8b7ff}.chat-bottom{padding:15px 18px 14px;border-top:1px solid #ffffff0c}.suggestions{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:13px}.suggestions[hidden]{display:none}.suggestion{border:1px solid #525271;border-radius:6px;padding:8px 10px;color:#c3c4f5;background:#ffffff05;font-size:10px;transition:background .2s,border-color .2s}.suggestion:hover{background:#7770dd22;border-color:#9691e0}.composer{display:flex;align-items:flex-end;gap:8px;border:1px solid #515a70;background:#0d1321;padding:7px;border-radius:9px;transition:border-color .2s}.composer:focus-within{border-color:var(--accent)}.composer textarea{background:transparent;min-width:0;flex:1;outline:none;border:0;color:white;resize:none;padding:9px 8px;font-size:12px;min-height:37px;max-height:128px;line-height:1.5}.composer textarea::placeholder{color:#78869d}.send-btn{width:36px;height:36px;border:0;border-radius:7px;color:#161626;background:#a5a2fd;display:grid;place-items:center;flex-shrink:0}.send-btn:hover{background:#c0bcff}.send-btn:disabled{opacity:.45;cursor:wait}.privacy-note{font-size:9px;text-align:center;color:#7e899e;margin:9px 0 0}.proof-strip{border-block:1px solid #293044;min-height:78px;display:flex;justify-content:space-around;gap:24px;align-items:center;color:#9ba5b8;font-size:10px;letter-spacing:1.5px;font-weight:800;text-align:center}.strip-star{color:#5f648a;font-size:17px}.content-section{padding-block:112px}.section-intro{display:flex;align-items:end;justify-content:space-between;gap:60px;margin-top:18px;margin-bottom:42px}.section-intro h2{font-size:clamp(37px,4.4vw,57px);margin:0}.section-intro p{max-width:375px;color:#9aa6b9;font-size:14px;line-height:1.9;margin:0 0 8px}.risk-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.risk-card{background:linear-gradient(160deg,#171f30,#111723);border:1px solid #2a3347;border-radius:10px;padding:28px 22px;min-height:210px}.card-icon{display:grid;place-items:center;width:37px;height:37px;border:1px solid #51527b;color:#c6c2fe;border-radius:8px;font-size:22px}.risk-card h3{font-size:14px;margin:27px 0 8px}.risk-card p{margin:0;color:#909db1;font-size:12px;line-height:1.75}.services-section{background:#101725;border-block:1px solid #222c3c}.service-list{border-top:1px solid #313a4c}.service-list>div{display:flex;gap:32px;align-items:center;padding:23px 4px;border-bottom:1px solid #313a4c}.service-list>div>span:first-child{color:#8d91c6;font-size:11px}.service-list h3{flex:1;margin:0;font-size:17px;font-weight:550;letter-spacing:-.25px}.service-arrow{color:#a9a4ff;font-size:20px}.standard-note{display:flex;align-items:center;gap:30px;margin-top:50px;padding:29px;border:1px solid #383b5c;background:#171c32;border-radius:9px}.standard-tag{font-weight:800;color:#c2befc;white-space:nowrap;letter-spacing:1.8px;font-size:13px}.standard-note p{font-size:13px;line-height:1.8;color:#b2bbd0;margin:0}.contact-section{background:linear-gradient(110deg,#27264f,#1b2440 70%,#162b37);padding-block:92px}.contact-inner{display:flex;align-items:end;justify-content:space-between;gap:40px}.contact-inner h2{font-size:clamp(40px,4.4vw,60px);margin:21px 0}.contact-inner h2 em{color:#b9b4ff}.contact-inner p{color:#bfc4d8;font-size:14px;line-height:1.7}.contact-button{display:inline-block;white-space:nowrap;background:#b0acf8;color:#18182f;padding:17px 24px;border-radius:6px;font-size:13px;font-weight:800}.contact-button:hover{background:white}.contact-pending{font-size:12px;max-width:220px}.footer{padding-block:42px 62px;display:flex;align-items:center;justify-content:space-between;gap:25px}.footer-brand{font-size:14px}.footer p{font-size:10px;color:#77849c;max-width:290px;line-height:1.6}.footer>div{display:flex;gap:21px;color:#93a0b4;font-size:11px}.legal-page{min-height:100vh}.legal{padding-block:85px;max-width:760px}.back-link{font-size:13px;color:var(--accent)}.legal h1{font-size:48px;margin-top:45px}.legal p{color:#aebad0;line-height:1.9;font-size:16px}.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}@media(max-width:1000px){.hero{grid-template-columns:minmax(0,1fr) minmax(370px,1fr);gap:30px}.hero h1{font-size:clamp(42px,5vw,61px)}.desktop-nav{gap:17px;margin-right:10px}.nav-actions{gap:12px}.risk-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.wrap{width:min(100% - 36px,560px)}.site-header{height:76px}.desktop-nav{display:none}.brand{font-size:14px}.brand-mark{font-size:27px}.header-cta{padding:10px;font-size:11px}.nav-actions{gap:12px}.hero{grid-template-columns:1fr;padding-block:54px 64px;gap:35px;min-height:0}.hero h1{font-size:clamp(42px,9vw,61px);margin:21px 0 18px}.hero-description{font-size:15px;line-height:1.7}.hero-meta{margin-top:25px}.chat-panel{height:510px}.proof-strip{flex-wrap:wrap;gap:8px;justify-content:center;padding-block:20px;font-size:8px}.strip-star{font-size:10px}.content-section{padding-block:72px}.section-intro{display:block}.section-intro h2{font-size:39px}.section-intro p{margin-top:20px}.risk-grid{gap:10px}.risk-card{padding:21px 16px;min-height:190px}.risk-card h3{font-size:13px}.risk-card p{font-size:11px}.contact-inner{display:block}.contact-button{margin-top:17px}.footer{flex-wrap:wrap}.footer p{order:3;width:100%}.standard-note{display:block}.standard-note p{margin-top:15px}}@media(max-width:380px){.wrap{width:calc(100% - 28px)}.header-cta{display:none}.hero h1{font-size:40px}.chat-panel{height:545px}.risk-grid{grid-template-columns:1fr}.risk-card{min-height:145px}.risk-card h3{margin-top:14px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Streaming chat: three-dot typing indicator and cancel control */
.typing-dots{display:inline-flex;align-items:center;gap:5px;height:18px;letter-spacing:normal}
.typing-dots span{width:7px;height:7px;background:#aaa5ff;border-radius:50%;animation:typing-bounce 1.2s ease-in-out infinite}
.typing-dots span:nth-child(2){animation-delay:.2s}
.typing-dots span:nth-child(3){animation-delay:.4s}
@keyframes typing-bounce{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-6px);opacity:1}}
.stop-btn{width:36px;height:36px;border:1px solid #8e8bd6;border-radius:7px;color:#c7c4ff;background:#292b4a;display:grid;place-items:center;flex-shrink:0;font-size:17px}
.stop-btn:hover{background:#3b3e68}
.stop-btn[hidden],.send-btn[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.typing-dots span{animation:none;opacity:.8}}

/* Scenario-driven chat: a single expressive avatar stays above scrolling history. */
.chat-panel{height:610px;--face-color:#38bdff}
.chat-top{flex-shrink:0}
.face-stage{height:158px;display:grid;place-items:center;position:relative;flex-shrink:0;background:radial-gradient(ellipse at center,#12385255,transparent 70%);border-bottom:1px solid #ffffff0b}
.face-svg{width:138px;height:138px;overflow:visible;color:var(--face-color);filter:drop-shadow(0 0 12px var(--face-color));transition:color .65s ease,filter .65s ease}
.face-outline{fill:#071423;stroke:currentColor;stroke-width:3.4}
.face-eyes{fill:#f6fbff;transform-origin:80px 70px;animation:blink 6s infinite}
.face-mouth{fill:none;stroke:#f6fbff;stroke-width:5;stroke-linecap:round;transition:d .45s ease}
.face-horns{fill:currentColor;opacity:0;transform:scale(.65);transform-origin:80px 80px;transition:opacity .5s,transform .5s}
.face-brows{fill:none;stroke:currentColor;stroke-width:5;stroke-linecap:round;opacity:0;transition:opacity .35s}
.face-svg[data-state="thinking"],.face-svg[data-state="confused"]{--face-color:#ffd04d}
.face-svg[data-state="evil"]{--face-color:#ff405e}
.face-svg[data-state="solution"]{--face-color:#35e5a1}
.face-svg[data-state="evil"] .face-horns{opacity:1;transform:scale(1)}
.face-svg[data-state="evil"] .face-brows,.face-svg[data-state="confused"] .face-brows{opacity:1}
.face-svg[data-state="thinking"] .face-eyes{animation:blink 3s infinite,ponder 2s ease-in-out infinite}
.face-svg[data-state="solution"]{animation:happy .9s ease-in-out 1}
@keyframes blink{0%,45%,48%,100%{transform:scaleY(1)}46%{transform:scaleY(.12)}}
@keyframes ponder{0%,100%{translate:0 0}50%{translate:6px -3px}}
@keyframes happy{50%{transform:scale(1.06)}}
.chat-body{min-height:0;gap:12px;padding:16px}
.message.assistant{align-self:flex-start}
.message{max-width:95%}
.message .bubble{font-size:12px}
.scenario-badge{position:absolute;right:15px;bottom:10px;font-size:10px;color:#b5c4d7}
.suggestion{font-size:11px;border-color:#385779;color:#d7eaff}
.suggestion .scenario-icon{margin-right:7px;color:#54c9ff}
.scenario-options{display:flex;flex-wrap:wrap;gap:7px;margin:5px 0 8px}
.scenario-options button{background:#142b42;border:1px solid #37709b;border-radius:8px;padding:9px 12px;color:#e7f5ff;font-size:12px}
.scenario-options button:hover{background:#214a69}
.demo-note{font-size:10px;color:#98b5c9;margin:6px 0;text-align:center}
@media(max-width:760px){.chat-panel{height:580px}.face-stage{height:130px}.face-svg{height:112px;width:112px}}
@media(prefers-reduced-motion:reduce){.face-eyes,.face-svg{animation:none!important}}

/* Small, static expression icons beside assistant messages. */
.message.assistant .trail-face {width:22px;height:22px;min-width:22px;flex:0 0 22px;align-self:flex-start;margin-top:3px;overflow:visible;filter:none;animation:none!important}
.trail-face .face-eyes {animation:none!important}
.trail-face .face-mouth,.trail-face .face-horns,.trail-face .face-brows {transition:none!important}
@media(max-width:380px){.message.assistant .trail-face{width:19px;height:19px;min-width:19px;flex-basis:19px}}

/* Mobile keyboard: chat stays usable as the visual viewport shrinks. */
@media (max-width:760px) {
  html { scroll-padding-bottom: 16px; }
  .chat-panel { min-height: 0; }
  .chat-top, .face-stage, .chat-bottom { flex-shrink: 0; }
  .chat-bottom { position: relative; z-index: 1; background: #121927; }
  .chat-body { min-height: 0; overscroll-behavior: contain; }
  #chat-input { font-size: 16px; } /* Prevent iOS Safari focus zoom. */
}
