@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{color-scheme:dark;--bg:#080b14;--panel:#111827;--line:#263248;--text:#f4f7ff;--muted:#9ba8bd;--blue:#3b82f6;--cyan:#42d6ff}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 75% 0%,#142447 0,transparent 42%),var(--bg);color:var(--text);font-family:'DM Sans',sans-serif;min-height:100vh}.shell{width:min(760px,100% - 32px);margin:auto;padding:28px 0 24px}.top{display:flex;align-items:center;gap:12px}.brand-mark{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#1768ff,#43d9ff);display:grid;place-items:center;font:700 18px 'Space Grotesk';color:white;box-shadow:0 8px 30px #1678ff55}.brand{font:700 20px 'Space Grotesk';letter-spacing:-.6px}.brand span{color:var(--cyan)}.tagline{font-size:12px;color:var(--muted);margin-top:2px}.status{margin-left:auto;border:1px solid var(--line);padding:8px 11px;border-radius:30px;font-size:12px;color:#ffb4b4}.status i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ff6868;margin-right:6px}.status.online{color:#8ef0b2}.status.online i{background:#37d879}.hero{padding:55px 0 30px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--cyan);margin:0 0 10px}.hero h1{font:700 clamp(36px,8vw,58px)/1.04 'Space Grotesk';letter-spacing:-2px;margin:0}.hero h1 em{font-style:normal;color:#66baff}.intro{max-width:520px;color:var(--muted);line-height:1.6;margin-top:18px}.panel{background:linear-gradient(145deg,#141e31,#0e1523);border:1px solid var(--line);border-radius:20px;padding:22px;margin:16px 0;box-shadow:0 18px 55px #0003}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.section-head h2{font:600 21px 'Space Grotesk';margin:0}.lock,.hint{font-size:11px;color:var(--muted)}label{display:block;font-size:12px;font-weight:600;margin:15px 0 8px;color:#dce6f7}.url-row{display:flex;gap:8px}input,textarea{width:100%;border:1px solid #30415e;background:#090f1c;color:var(--text);border-radius:11px;padding:13px;font:14px 'DM Sans';outline:none}input:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #3b82f622}button{border:0;border-radius:11px;padding:12px 17px;font:700 13px 'DM Sans';cursor:pointer}.secondary{background:#26354d;color:#eaf2ff}.test{margin-top:13px;background:#173b72;color:white;width:100%}.message{font-size:12px;color:var(--muted);min-height:18px;margin:10px 0 0}.message.good{color:#8ef0b2}.message.bad{color:#ffaaaa}.chat{margin-top:20px}.spark{font-size:24px;color:var(--cyan)}.conversation{min-height:100px;max-height:340px;overflow:auto;display:flex;flex-direction:column;gap:10px;padding:12px;background:#090f1c;border:1px solid #202d43;border-radius:13px}.bubble{max-width:90%;padding:12px 14px;border-radius:13px;font-size:13px;line-height:1.55;white-space:pre-wrap}.assistant{background:#1a2b46;align-self:flex-start}.user{background:#174b8c;align-self:flex-end}.send-row{display:flex;align-items:center;justify-content:space-between;margin-top:12px}#send{background:linear-gradient(100deg,#2168ed,#27b9e9);color:white;min-width:112px}#send span{margin-left:8px}#send:disabled{opacity:.55;cursor:wait}footer{text-align:center;color:#62718a;font-size:11px;padding:18px}footer span{color:var(--cyan);padding:0 5px}@media(max-width:520px){.shell{width:calc(100% - 24px);padding-top:18px}.panel{padding:17px}.lock{max-width:125px;text-align:right;line-height:1.4}.hero{padding-top:42px}.url-row{flex-direction:column}.url-row button{width:100%}.status{font-size:10px;padding:7px 9px}}
