:root{color-scheme:dark;--bg:#07111b;--ink:#f4f7f8;--muted:#aec0ce;--edge:#49637465;--coral:#ffb28a}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 73% 31%,#132d42 0%,#091522 46%,#050a13 100%);color:var(--ink);font:15px/1.5 ui-sans-serif,system-ui,-apple-system,sans-serif}a{color:inherit}button,textarea{font:inherit}a:focus-visible,button:focus-visible,textarea:focus-visible{outline:3px solid var(--coral);outline-offset:3px}.chat-header{height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 clamp(18px,4vw,70px);border-bottom:1px solid var(--edge);background:#050b15c9}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:15px;letter-spacing:.19em}.brand img{object-fit:contain}.chat-header nav{display:flex;gap:clamp(10px,2vw,28px);flex-wrap:wrap}.chat-header nav a{font-size:12px;color:#d2dce5;text-decoration:none}.chat-header nav a:hover{color:#fff}.chat-shell{min-height:calc(100svh - 146px);max-width:1500px;margin:auto;padding:clamp(26px,5vw,80px);display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(20px,4vw,75px);align-items:center}.eyebrow{font:750 10px/1.5 ui-monospace,SFMono-Regular,monospace;letter-spacing:.15em;color:#ffb28a}.chat-intro h1{font-size:clamp(45px,6vw,100px);line-height:.95;letter-spacing:-.075em;margin:16px 0 26px}.chat-intro em{font:500 .99em Georgia,serif;letter-spacing:-.05em;color:#bfc6ff}.chat-intro>p:not(.eyebrow){font-size:clamp(14px,1.2vw,18px);color:#bfcddd;max-width:43ch;line-height:1.7}.chat-links{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0}.chat-links a{padding:12px 15px;text-decoration:none;border:1px solid #426374;border-radius:5px;font-size:12px;font-weight:700}.chat-links a:first-child{background:#ffb28a;color:#07121c;border-color:#ffb28a}.chat-boundary{margin-top:40px;border-left:2px solid #76cbd1;padding-left:18px;max-width:45ch}.chat-boundary strong{font-size:13px}.chat-boundary p{font-size:12px;line-height:1.65;color:#a5b8c6}.chat-app{display:flex;flex-direction:column;min-height:550px;height:min(75vh,760px);background:linear-gradient(150deg,#0d2332,#081824);border:1px solid #4b7082;border-radius:16px;overflow:hidden;box-shadow:0 20px 80px #0005}.chat-app-top{display:flex;align-items:center;justify-content:space-between;padding:21px 24px;border-bottom:1px solid var(--edge)}.chat-app-top h2{margin:4px 0 0;letter-spacing:-.035em;font-size:22px}.chat-state{font:750 10px ui-monospace,monospace;color:#9edbdc;border:1px solid #416d76;padding:8px 10px;border-radius:99px}.chat-messages{flex:1;overflow:auto;display:flex;flex-direction:column;gap:17px;padding:24px;overscroll-behavior:contain}.message{max-width:85%;padding:15px 17px;border:1px solid #3b5b6d;border-radius:12px;word-wrap:break-word;background:#0f2b39}.message.user{align-self:flex-end;background:#273547;border-color:#52697c}.message.assistant{align-self:flex-start}.message .speaker{font:740 10px ui-monospace,monospace;letter-spacing:.1em;color:#9cd9dc}.message p{white-space:pre-wrap;margin:8px 0 0;font-size:14px;line-height:1.62}.chat-bottom{border-top:1px solid var(--edge);padding:18px;background:#0a1c2a}.chat-bottom form{display:flex;gap:10px;align-items:stretch}.chat-bottom textarea{resize:vertical;min-height:62px;width:100%;background:#071724;color:#efffff;border:1px solid #517388;border-radius:9px;padding:12px 14px;font-size:14px}.chat-bottom button[type=submit]{border:0;background:var(--coral);color:#07131d;padding:10px 20px;min-width:93px;border-radius:9px;font-size:13px;font-weight:750;cursor:pointer}.chat-bottom button:disabled{opacity:.5;cursor:not-allowed}.chat-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:13px;color:#94afbc;font:11px/1.4 system-ui}.chat-actions button{background:transparent;border:0;padding:7px 0;color:#c7dbeb;text-decoration:underline;text-underline-offset:4px;font-size:11px;cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.chat-footer{border-top:1px solid var(--edge);padding:23px clamp(18px,4vw,70px);display:flex;flex-wrap:wrap;gap:20px;color:#97a9b7;font-size:11px;align-items:center}.chat-footer a{color:#c3d9e4}@media(max-width:880px){.chat-shell{grid-template-columns:1fr;align-items:start}.chat-intro h1{font-size:clamp(42px,9vw,74px)}.chat-boundary{margin-top:20px}.chat-app{height:min(75svh,640px)}}@media(max-width:520px){.chat-header{height:auto;min-height:70px;align-items:flex-start;padding:16px;flex-direction:column}.chat-header nav{gap:12px}.chat-shell{padding:24px 15px}.chat-app{height:67svh;min-height:430px}.chat-app-top,.chat-messages{padding:16px}.chat-bottom{padding:12px}.chat-bottom button[type=submit]{min-width:60px;padding:7px}.chat-actions{font-size:10px}}