@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap";@import "https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&display=swap";*,:before,:after{box-sizing:border-box;margin:0;padding:0}html,body{width:100%;height:100%;overflow:hidden}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#8aab84;font-family:Inter,system-ui,sans-serif}#root{width:100%;height:100%}.sage-scene{background:radial-gradient(80% 60% at 50% 45%,#9dba96 0%,#7fa079 40%,#6b8c65 100%);flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative;overflow:hidden}.sage-canvas{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.sage-center{z-index:2;flex-direction:column;align-items:center;gap:0;display:flex;position:relative}@font-face{font-family:Anemoia;src:url(/Anemoia.woff)format("woff");font-weight:400;font-style:normal}.sage-title{letter-spacing:.02em;color:#f5ede0;text-shadow:0 2px 6px #1e140540;-webkit-user-select:none;user-select:none;margin:0;font-family:Anemoia,Georgia,serif;font-size:clamp(112px,22vw,196px);font-style:normal;font-weight:400;line-height:.92}.sage-bottom{z-index:2;justify-content:center;display:flex;position:absolute;bottom:48px;left:0;right:0}.sage-button{letter-spacing:.14em;color:#f2e8d8;cursor:pointer;-webkit-backdrop-filter:blur(6px);z-index:2;background:#5a76558c;border:1px solid #f2e8d84d;border-radius:100px;outline:none;padding:8px 26px;font-family:Inter,system-ui,sans-serif;font-size:clamp(11px,1.1vw,13px);font-weight:400;position:relative}.sage-button:focus-visible{outline-offset:3px;outline:2px solid #f2e8d899}.sage-auth-link{z-index:2;cursor:pointer;letter-spacing:.04em;color:#00000073;background:0 0;border:none;padding:4px;font-family:Inter,system-ui,sans-serif;font-size:11px;font-weight:400;transition:color .2s;position:absolute;bottom:20px;right:24px}.sage-auth-link:hover{color:#000000bf}.tos-modal-overlay{-webkit-backdrop-filter:blur(6px);z-index:100;background:#000000b3;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.tos-modal{background:#1c1c1e;border:1px solid #ffffff1a;border-radius:16px;flex-direction:column;gap:20px;width:90%;max-width:420px;padding:32px;display:flex}.tos-modal-title{color:#d2e1c8;letter-spacing:.04em;margin:0;font-family:Inter,system-ui,sans-serif;font-size:20px;font-weight:400}.tos-modal-body{color:#d2e1c8a6;margin:0;font-family:Inter,system-ui,sans-serif;font-size:14px;line-height:1.6}.tos-modal-label{color:#d2e1c8cc;cursor:pointer;align-items:flex-start;gap:10px;font-family:Inter,system-ui,sans-serif;font-size:13px;line-height:1.5;display:flex}.tos-modal-checkbox{accent-color:#6b8f5e;cursor:pointer;flex-shrink:0;width:16px;height:16px;margin-top:2px}.tos-modal-link{color:#6b8f5e;text-decoration:none}.tos-modal-link:hover{text-decoration:underline}.tos-modal-btn{letter-spacing:.04em;color:#fff;cursor:pointer;background:#6b8f5e;border:none;border-radius:10px;padding:12px;font-family:Inter,system-ui,sans-serif;font-size:14px;font-weight:500;transition:background .2s,opacity .2s}.tos-modal-btn:hover:not(:disabled){background:#5a7a50}.tos-modal-btn:disabled{opacity:.35;cursor:not-allowed}.auth-scene{background:radial-gradient(80% 60% at 50% 45%,#9dba96 0%,#7fa079 40%,#6b8c65 100%);justify-content:center;align-items:center;width:100%;height:100%;padding:24px;display:flex}.auth-card{-webkit-backdrop-filter:blur(16px);background:#121412d1;border:1px solid #ffffff14;border-radius:20px;flex-direction:column;gap:8px;width:100%;max-width:400px;padding:48px 40px 40px;display:flex;position:relative}.auth-back{cursor:pointer;color:#d2e1c866;background:0 0;border:none;padding:4px 8px;font-size:18px;line-height:1;transition:color .2s;position:absolute;top:20px;left:20px}.auth-back:hover{color:#d2e1c8cc}.auth-title{color:#f5ede0;text-align:center;letter-spacing:.04em;margin-bottom:4px;font-family:Anemoia,Georgia,serif;font-size:52px;font-weight:400;line-height:1}.auth-subtitle{color:#d2e1c88c;text-align:center;letter-spacing:.01em;margin-bottom:24px;font-family:Inter,system-ui,sans-serif;font-size:14px}.auth-form{flex-direction:column;gap:16px;display:flex}.auth-field{flex-direction:column;gap:6px;display:flex}.auth-label{color:#d2e1c899;letter-spacing:.06em;text-transform:uppercase;font-family:Inter,system-ui,sans-serif;font-size:12px;font-weight:500}.auth-input-wrap{align-items:center;display:flex;position:relative}.auth-input-wrap .auth-input{width:100%;padding-right:44px}.auth-eye{cursor:pointer;color:#b4b9af73;background:0 0;border:none;justify-content:center;align-items:center;padding:4px;line-height:0;transition:color .2s;display:flex;position:absolute;right:12px}.auth-eye:hover{color:#d2e1c8cc}.auth-input{color:#dddde4;background:#282a28b3;border:1px solid #ffffff1a;border-radius:10px;outline:none;padding:12px 14px;font-family:Inter,system-ui,sans-serif;font-size:15px;transition:border-color .2s}.auth-input::placeholder{color:#b4b9af4d}.auth-input:focus{border-color:#b4d2aa66}.auth-error{color:#e08080;background:#b43c3c1f;border:1px solid #b43c3c33;border-radius:8px;padding:10px 12px;font-family:Inter,system-ui,sans-serif;font-size:13px;line-height:1.4}.auth-submit{letter-spacing:.04em;color:#f2e8d8;cursor:pointer;background:#5a7655a6;border:1px solid #f2e8d833;border-radius:100px;margin-top:4px;padding:13px;font-family:Inter,system-ui,sans-serif;font-size:14px;font-weight:500;transition:background .2s,transform .1s,opacity .2s}.auth-submit:hover:not(:disabled){background:#64845fcc}.auth-submit:active:not(:disabled){transform:scale(.98)}.auth-submit:disabled{opacity:.45;cursor:not-allowed}.auth-divider{align-items:center;gap:12px;margin-top:4px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:#ffffff14;flex:1;height:1px}.auth-divider span{color:#d2e1c84d;letter-spacing:.05em;font-family:Inter,system-ui,sans-serif;font-size:12px}.auth-guest{letter-spacing:.02em;color:#d2e1c88c;cursor:pointer;background:0 0;border:1px solid #ffffff14;border-radius:100px;width:100%;padding:12px;font-family:Inter,system-ui,sans-serif;font-size:14px;font-weight:400;transition:color .2s,border-color .2s}.auth-guest:hover{color:#d2e1c8d9;border-color:#ffffff29}.auth-toggle{color:#d2e1c873;text-align:center;margin-top:16px;font-family:Inter,system-ui,sans-serif;font-size:13px}.auth-toggle-btn{cursor:pointer;color:#c8dcbebf;text-underline-offset:3px;background:0 0;border:none;padding:0;font-family:Inter,system-ui,sans-serif;font-size:13px;text-decoration:underline;transition:color .2s}.auth-toggle-btn:hover{color:#dcebd2f2}.auth-tos-label{cursor:pointer;align-items:flex-start;gap:10px;margin-top:4px;display:flex}.auth-tos-checkbox{accent-color:#6b8f71;cursor:pointer;width:16px;min-width:16px;height:16px;margin-top:2px}.auth-tos-label span{color:#d2e1c88c;font-family:Inter,system-ui,sans-serif;font-size:12px;line-height:1.5}.auth-tos-link{color:#b4d2aacc;text-underline-offset:2px;text-decoration:underline;transition:color .2s}.auth-tos-link:hover{color:#d2ebc8}@media (width<=480px){.auth-card{padding:36px 24px 32px}}.chat-scene{background:#1c1c1e;flex-direction:column;width:100%;height:100%;display:flex;position:relative;overflow:hidden}.usage-bar-track{background:#ffffff0f;flex-shrink:0;width:100%;height:2px}.usage-bar-fill{background:#6b8f5e;height:100%;transition:width .6s,background .6s}.usage-bar-fill[data-warning=true]{background:#f59e0b}.chat-header{-webkit-backdrop-filter:blur(12px);z-index:10;background:#121214d9;border-bottom:1px solid #ffffff0f;flex-shrink:0;justify-content:space-between;align-items:center;padding:16px 24px;display:flex}.chat-back{color:#d2e1c8b3;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 8px;font-family:Inter,system-ui,sans-serif;font-size:18px;line-height:1;transition:color .2s,background .2s}.chat-back:hover{color:#d2e1c8;background:#ffffff0f}.chat-header-title{color:#d2e1c8;letter-spacing:.05em;font-family:Inter,system-ui,sans-serif;font-size:22px;font-weight:400}.chat-header-actions{align-items:center;gap:8px;display:flex}.chat-save-btn{letter-spacing:.04em;color:#d2e1c88c;cursor:pointer;background:0 0;border:1px solid #ffffff1a;border-radius:6px;padding:5px 10px;font-family:Inter,system-ui,sans-serif;font-size:11px;font-weight:500;transition:color .2s,border-color .2s,background .2s}.chat-save-btn:hover:not(:disabled){color:#d2e1c8d9;border-color:#fff3}.chat-save-btn.saving{opacity:.5;cursor:default}.chat-save-btn.saved{color:#78c88cd9;border-color:#78c88c4d}.chat-save-btn.error{color:#dc6464d9;border-color:#dc64644d}.chat-signout{letter-spacing:.04em;color:#d2e1c873;cursor:pointer;background:0 0;border:1px solid #ffffff14;border-radius:100px;padding:5px 12px;font-family:Inter,system-ui,sans-serif;font-size:12px;font-weight:500;transition:color .2s,border-color .2s}.chat-signout:hover{color:#d2e1c8bf;border-color:#ffffff29}.chat-messages{scroll-behavior:smooth;flex-direction:column;flex:1;gap:16px;padding:32px 24px 16px;display:flex;overflow-y:auto}.chat-messages::-webkit-scrollbar{width:4px}.chat-messages::-webkit-scrollbar-track{background:0 0}.chat-messages::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:4px}.chat-bubble-row{animation:.22s bubble-in;display:flex}.chat-bubble-row.user{justify-content:flex-end}.chat-bubble-row.assistant{justify-content:flex-start}@keyframes bubble-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.chat-bubble{white-space:pre-wrap;word-break:break-word;border-radius:16px;max-width:min(72%,600px);padding:12px 16px;font-family:Inter,system-ui,sans-serif;font-size:15px;line-height:1.6}.chat-bubble.user{color:#e8e8ec;background:#4b4b55b3;border:1px solid #ffffff14;border-bottom-right-radius:4px}.chat-bubble.assistant{color:#c8c8d0;background:#242428d9;border:1px solid #ffffff0d;border-bottom-left-radius:4px}.chat-bubble.streaming:after{content:"";vertical-align:text-bottom;background:currentColor;border-radius:1px;width:2px;height:.85em;margin-left:3px;animation:.85s step-end infinite blink;display:inline-block}@keyframes blink{0%,to{opacity:1}50%{opacity:0}}.chat-input-area{-webkit-backdrop-filter:blur(12px);background:#121214d9;border-top:1px solid #ffffff0f;flex-shrink:0;align-items:flex-end;gap:10px;padding:16px 24px 24px;display:flex}.chat-input-wrapper{background:#28282eb3;border:1px solid #ffffff1a;border-radius:14px;flex:1;align-items:center;gap:8px;padding:6px 8px 6px 12px;transition:border-color .2s;display:flex}.chat-input-wrapper:focus-within{border-color:#a0a0b466}.chat-upload-btn{cursor:pointer;color:#fff9;background:0 0;border:none;flex-shrink:0;padding:0 4px;font-size:20px;font-weight:300;line-height:1}.chat-mic-btn{cursor:pointer;color:#fff9;opacity:.7;background:0 0;border:none;flex-shrink:0;align-items:center;padding:4px;transition:opacity .2s;display:flex}.chat-mic-btn:hover{opacity:1}.chat-input{color:#dddde4;resize:none;background:0 0;border:none;outline:none;flex:1;min-height:34px;max-height:160px;padding:6px 0;font-family:Inter,system-ui,sans-serif;font-size:15px;line-height:1.5;overflow-y:auto}.chat-input::placeholder{color:#b4b4c859;font-style:italic}.chat-input:focus{border-color:#a0a0b466}.chat-input:disabled{opacity:.5}.chat-send-btn{cursor:pointer;color:#fff;background:#6b8f5e;border:none;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;transition:background .2s,transform .1s,opacity .2s;display:flex}.chat-send-btn:hover:not(:disabled){background:#5a7a50;transform:scale(1.06)}.chat-send-btn:active:not(:disabled){transform:scale(.96)}.chat-send-btn:disabled{opacity:.3;cursor:not-allowed}.chat-send-btn.stop{background:#8c3c32bf}.chat-send-btn.stop:hover{background:#a0463ad9}.stop-icon{background:#e8e0e0;border-radius:2px;width:12px;height:12px;display:block}@media (width<=480px){.chat-messages{padding:20px 14px 12px}.chat-input-area{padding:12px 14px 18px}.chat-bubble{max-width:88%;font-size:14px}}.chat-mic-btn.recording{opacity:1;animation:1s infinite pulse}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}.sage-hero{color:#efe7c8;background-color:#3f4d32;background-position:50%;background-size:cover;width:100%;min-height:100vh;position:relative;overflow:hidden}.sage-hero-overlay-radial{pointer-events:none;background:radial-gradient(circle at 52% 43%,#ecd38447,#3f4d321f 22%,#171e143d 68%);position:absolute;inset:0}.sage-hero-overlay-rays{pointer-events:none;opacity:.45;filter:blur(10px);background:linear-gradient(120deg,#f8e8a86b 0%,#f8e8a82e 24%,#f8e8a80a 52%,#0000 76%);width:48%;height:58%;position:absolute;top:0;left:0}.sage-hero-overlay-right{pointer-events:none;background:linear-gradient(90deg,#3f4d3205,#252f1fb8);width:62%;position:absolute;top:0;bottom:0;right:0}.sage-hero-section{z-index:10;flex-direction:column;align-items:center;min-height:100vh;padding:2rem 1.5rem;display:flex;position:relative}.sage-hero-nav{text-transform:uppercase;letter-spacing:.28em;justify-content:center;align-items:center;gap:2rem;width:100%;max-width:64rem;margin:0;padding:0;font-size:11px;list-style:none;display:flex}.sage-hero-nav a{color:#efe7c8;opacity:.9;text-decoration:none;transition:opacity .2s;position:relative}.sage-hero-nav a:hover{opacity:1}.sage-hero-nav-underline{background:#efe7c8cc;width:40px;height:1px;position:absolute;bottom:-12px;left:50%;transform:translate(-50%)}.sage-hero-nav-icon{color:#cdbb78;border:1px solid #b9a96f80;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:64px;height:64px;font-size:1.5rem;display:flex}.sage-hero-center{flex-direction:column;flex:1;align-items:center;width:100%;max-width:72rem;margin-top:13vh;display:flex;position:relative}.sage-hero-ring{pointer-events:none;border:1px solid #b9a96f26;border-radius:50%;width:430px;height:430px;position:absolute;top:0;left:50%;transform:translate(-50%)}.sage-hero-title{text-align:center;letter-spacing:.04em;color:#eee5c2;text-shadow:0 0 22px #e6cd7e59,0 3px 18px #13191059;margin:0;font-family:Cinzel,serif;font-size:clamp(5rem,18vw,16rem);font-weight:400;line-height:1;position:relative}.sage-hero-title-glow{pointer-events:none;z-index:-1;filter:blur(3px);background:radial-gradient(circle,#f5da84b3,#f5da8438 32%,#0000 72%);border-radius:50%;width:96px;height:96px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.sage-hero-enter-btn{text-transform:uppercase;letter-spacing:.32em;color:#efe7c8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);cursor:pointer;background:#2d38278c;border:1px solid #b9a96fb3;margin-top:2rem;padding:1rem 3rem;font-family:Anemoia,serif;font-size:12px;transition:background .2s,box-shadow .2s;box-shadow:0 0 24px #00000038}.sage-hero-enter-btn:hover{background:#3f4d32cc;box-shadow:0 0 28px #dec6772e}.sage-hero-signin-wrap{margin-top:13vh;position:relative}.sage-hero-signin-glow{pointer-events:none;z-index:-1;filter:blur(7px);background:radial-gradient(circle,#debc5c33,#debc5c14 38%,#0000 72%);border-radius:50%;width:208px;height:40px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.sage-hero-signin-btn{letter-spacing:.08em;color:#f1e5bd;text-shadow:0 0 12px #ecd38480,0 2px 10px #0c120a73;cursor:pointer;background:0 0;border:none;padding:0;font-family:Anemoia,serif;font-size:clamp(.72rem,1.2vw,1rem);transition:color .2s}.sage-hero-signin-btn:hover{color:#fff4cf}
