*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;background:#070b13;color:#e9eefb;min-height:100vh;background-image:radial-gradient(ellipse at 50% 0,#152d50 0,transparent 55%)}header{max-width:1100px;margin:auto;padding:24px clamp(18px,5vw,44px);display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #26354a}a{color:#9ccaff;text-decoration:none}a:hover{text-decoration:underline}.brand{display:flex;align-items:center;gap:10px;font-weight:750;color:#f5f8ff;font-size:16px}.mark{display:grid;place-items:center;width:34px;height:34px;background:#2969dc;border-radius:10px;font-size:20px}.muted,#back{color:#9caec7;font-size:13px}main{max-width:830px;margin:0 auto;padding:42px clamp(16px,5vw,36px)}.intro{text-align:center}.eyebrow{font-size:11px;letter-spacing:2.5px;color:#85b8ff;font-weight:650}.intro h1{font-size:clamp(30px,5.5vw,54px);letter-spacing:-.045em;line-height:1.1;margin:15px 0}.intro p{color:#b4c4db;font-size:16px;line-height:1.65;margin:0 auto;max-width:590px}.controls{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin:24px 0;color:#b4c4db;font-size:13px}button,select,textarea{font:inherit}button,select{cursor:pointer;border:1px solid #344a68;border-radius:10px;color:#e9eefb;background:#142237;min-height:42px;padding:10px 14px}button:hover{background:#203650}button:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #83bcff;outline-offset:3px}button:disabled{opacity:.55;cursor:wait}.workspace{background:#0f1827;border:1px solid #2e405b;border-radius:20px;padding:clamp(14px,3vw,24px);box-shadow:0 20px 70px #0005}.tabs{display:flex;gap:8px;border-bottom:1px solid #29394d;padding-bottom:14px}.tabs button{flex:1;background:transparent;color:#aebed4}.tabs button[aria-pressed=true]{background:#1a365d;border-color:#477fce;color:#dceaff}.label{font-size:11px;letter-spacing:1.4px;color:#97abc4;font-weight:700;margin:22px 0 12px}.suggestions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.suggestions button{text-align:start;background:#152235;font-size:14px;line-height:1.5;min-height:65px}#messages{display:flex;flex-direction:column;gap:12px;max-height:55vh;overflow:auto;overscroll-behavior:contain;padding:8px 0}.message{white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;border-radius:12px;line-height:1.7;font-size:15px;max-width:95%}.user{align-self:flex-end;background:#203b61}.assistant{align-self:flex-start;background:#172435;border:1px solid #30435c;width:100%}.sources{display:grid;gap:8px;margin:10px 0 0;white-space:normal}.source{display:block;background:#0d1726;border:1px solid #2e4058;border-radius:10px;padding:12px;color:#a7d2ff;line-height:1.45}.source small{display:block;color:#b7c6d8;margin-top:5px;font-size:12px}form{margin-top:18px;border:1px solid #3b526f;border-radius:15px;background:#0a1220;padding:12px}textarea{width:100%;resize:vertical;min-height:68px;max-height:160px;background:transparent;color:#fff;border:0;padding:8px;line-height:1.5}textarea::placeholder{color:#8194af}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.form-footer span{font-size:11px;color:#91a5bf}.form-footer button{background:#2563d4;border-color:#528cf6;font-weight:700;white-space:nowrap}.note,footer{text-align:center;color:#96a7bf;font-size:12px;line-height:1.65;padding:20px 0}footer{border-top:1px solid #26354a;max-width:830px;margin:auto}#status{font-size:13px;color:#9ccaff;min-height:20px;margin-top:8px}.sr{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:520px){header{padding:16px}.brand{font-size:14px}.brand .muted{display:none}#back{font-size:12px}main{padding-top:30px}.suggestions{grid-template-columns:1fr}.suggestions button{min-height:46px}.form-footer span{max-width:65%}.intro p{font-size:14px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* GalisimaK public-site brand: black canvas, raised graphite and white CTA. */
body{background:#000;color:#fff;background-image:none;font-family:Manrope,Vazirmatn,system-ui,-apple-system,"Segoe UI",sans-serif}
header{border-color:#27292c}.brand{gap:12px;color:#fff}.brand-logo{display:block;width:clamp(128px,22vw,200px);height:auto}.muted,#back{color:#a8abb7}
a{color:#d4d7dd}.eyebrow{color:#a8abb7}.intro p,.controls{color:#a8abb7}.workspace{background:#0f1113;border-color:#303236;border-radius:20px;box-shadow:none}
button,select{background:#191c1f;border-color:#34373b;color:#fff;border-radius:12px}button:hover{background:#292c30}button:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid #fff;outline-offset:3px}
.tabs{border-color:#303236}.tabs button{color:#a8abb7}.tabs button[aria-pressed=true]{color:#000;background:#fff;border-color:#fff}
.label{color:#a8abb7}.suggestions button{background:#191c1f;border-color:#303236;min-height:52px}.suggestions button:hover{background:#292c30}
.user{background:#e7ecf0;color:#000;max-width:90%}.assistant{background:#191c1f;border-color:#303236;color:#fff}.source{background:#0f1113;border-color:#34373b;color:#e7ecf0}.source small{color:#a8abb7}
form{background:#000;border-color:#36393d;border-radius:16px}textarea::placeholder,.form-footer span,.note,footer{color:#a8abb7}.form-footer button{background:#fff;color:#000;border-color:#fff}.form-footer button:hover{background:#dfdfdf}#status{color:#d4d7dd}footer{border-color:#27292c}
html[dir=rtl] .intro h1{letter-spacing:normal}
/* The embedded assistant is a compact chat, not a full marketing page in an iframe. */
body.embed{min-height:100dvh;display:flex;flex-direction:column}
.embed header{max-width:none;width:100%;padding:12px 16px;gap:8px}.embed .brand-logo{width:146px}.embed .brand .muted,.embed #back{display:none}
.embed main{width:100%;max-width:none;min-height:0;flex:1;padding:12px;display:flex;flex-direction:column;gap:10px}
.embed .intro{text-align:start}.embed .eyebrow{display:none}.embed .intro h1{font-size:20px;line-height:1.3;margin:0 0 5px;letter-spacing:-.015em}.embed .intro p{font-size:12px;line-height:1.55;margin:0}
.embed .controls{justify-content:flex-start;margin:10px 0 0;gap:6px}.embed .controls label{font-size:11px}.embed .controls button,.embed select{min-height:36px;padding:6px 10px;font-size:12px;max-width:100%}
.embed .workspace{padding:12px;border-radius:16px;min-height:0;display:flex;flex-direction:column;flex:1}.embed .tabs{padding-bottom:10px;gap:6px}.embed .tabs button{font-size:12px;padding:8px 5px;min-width:0;overflow-wrap:anywhere}
.embed .label{margin:12px 0 8px;font-size:10px}.embed .suggestions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.embed .suggestions button{min-height:42px;font-size:12px;padding:8px}
.embed #messages{flex:1;min-height:0;max-height:42vh;gap:8px}.embed .message{font-size:13px;padding:10px}.embed form{margin-top:10px;padding:8px}.embed textarea{min-height:54px;font-size:14px;resize:vertical}.embed .form-footer button{min-height:40px;padding:8px 12px;font-size:12px}.embed .form-footer span{font-size:10px}.embed #status{font-size:11px;margin-top:4px;min-height:0}.embed .note{font-size:10px;padding:0}.embed footer{display:none}
@media(max-width:340px){.embed .suggestions{grid-template-columns:1fr}.embed .form-footer{flex-wrap:wrap}.embed .form-footer span{max-width:none}}

/* A transient chat bubble, not an assistant message or stored conversation. */
.typing-indicator{align-self:flex-start;display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 14px;background:#191c1f;border:1px solid #303236;border-radius:12px;max-width:95%;font-size:13px;color:#d4d7dd;line-height:1.5}
.typing-dots{display:inline-flex;align-items:center;gap:4px;direction:ltr}
.typing-dots span{width:6px;height:6px;border-radius:50%;background:#d4d7dd;animation:gk-typing 1.2s ease-in-out infinite}
.typing-dots span:nth-child(2){animation-delay:.16s}.typing-dots span:nth-child(3){animation-delay:.32s}
@keyframes gk-typing{0%,60%,100%{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.typing-dots span{animation:none;opacity:1}}
