:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{color:#1a1a2e;background:#f0f4f8;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.setup-container{justify-content:center;align-items:center;min-height:100vh;padding:2rem;display:flex}.setup-card{text-align:center;background:#fff;border-radius:20px;width:100%;max-width:420px;padding:3rem 2.5rem;box-shadow:0 4px 24px #00000014}.setup-hero{flex-direction:column;align-items:center;gap:.75rem;margin-bottom:2rem;display:flex}.setup-title{color:#185fa5;letter-spacing:-.5px;font-size:2rem;font-weight:700}.setup-subtitle{color:#6b7280;font-size:.95rem}.setup-form{flex-direction:column;gap:1rem;display:flex}.field-group{text-align:left;flex-direction:column;gap:.4rem;display:flex}.field-group label{color:#374151;font-size:.85rem;font-weight:500}input[type=text],input[type=email],input[type=password],input:not([type=submit]):not([type=button]):not([type=checkbox]){border:1.5px solid #d1d5db;border-radius:10px;outline:none;width:100%;padding:.65rem .9rem;font-size:1rem;transition:border-color .15s}input:focus{border-color:#185fa5}.btn-primary{color:#fff;cursor:pointer;background:#185fa5;border:none;border-radius:10px;margin-top:.5rem;padding:.75rem 1.5rem;font-size:1rem;font-weight:600;transition:background .15s,transform .1s}.btn-primary:hover:not(:disabled){background:#0c447c}.btn-primary:active:not(:disabled){transform:scale(.98)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.chat-container{background:#fff;flex-direction:column;max-width:760px;height:100vh;margin:0 auto;display:flex;box-shadow:0 0 40px #0000000f}.chat-header{background:#fff;border-bottom:1px solid #e5e7eb;flex-shrink:0;justify-content:space-between;align-items:center;padding:1rem 1.25rem;display:flex}.chat-header-left{align-items:center;gap:.75rem;display:flex}.chat-title{color:#185fa5;font-size:1rem;font-weight:700;display:block}.chat-lang{color:#6b7280;font-size:.78rem;display:block}.chat-header-right{align-items:center;gap:1rem;display:flex}.usage-badge{color:#185fa5;background:#e6f1fb;border-radius:20px;padding:.3rem .7rem;font-size:.78rem;font-weight:500}.messages-area{flex-direction:column;flex:1;gap:1rem;padding:1.25rem;display:flex;overflow-y:auto}.opening-message{align-items:flex-start;gap:.6rem;display:flex}.captain-avatar{flex-shrink:0}.bubble-row{align-items:flex-start;gap:.6rem;display:flex}.bubble-row--user{flex-direction:row-reverse}.bubble{white-space:pre-wrap;border-radius:16px;max-width:72%;padding:.75rem 1rem;font-size:.95rem;line-height:1.55}.bubble--captain{color:#1a1a2e;background:#f0f4f8;border-bottom-left-radius:4px}.bubble--user{color:#fff;background:#185fa5;border-bottom-right-radius:4px}.bubble--typing{align-items:center;gap:5px;padding:.9rem 1.2rem;display:flex}.dot{background:#9ca3af;border-radius:50%;width:7px;height:7px;animation:1.2s infinite bounce}.dot:nth-child(2){animation-delay:.2s}.dot:nth-child(3){animation-delay:.4s}@keyframes bounce{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-6px)}}.chat-input-row{background:#fff;border-top:1px solid #e5e7eb;flex-shrink:0;gap:.6rem;padding:1rem 1.25rem;display:flex}.chat-input-row input{flex:1}.btn-send{color:#fff;cursor:pointer;background:#185fa5;border:none;border-radius:10px;padding:0 1.25rem;font-size:.95rem;font-weight:600;transition:background .15s}.btn-send:hover:not(:disabled){background:#0c447c}.btn-send:disabled{opacity:.4;cursor:not-allowed}.modal-overlay{z-index:100;background:#00000073;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.modal-card{background:#fff;border-radius:20px;width:100%;max-width:400px;padding:2.5rem 2rem;position:relative;box-shadow:0 8px 40px #00000026}.modal-close{cursor:pointer;color:#9ca3af;background:0 0;border:none;font-size:1.1rem;line-height:1;position:absolute;top:1rem;right:1rem}.modal-close:hover{color:#374151}.modal-title{color:#185fa5;margin-bottom:.5rem;font-size:1.3rem;font-weight:700}.modal-subtitle{color:#6b7280;margin-bottom:1.5rem;font-size:.9rem;line-height:1.5}.modal-form{flex-direction:column;gap:.75rem;display:flex}.modal-error{color:#dc2626;font-size:.85rem}.modal-switch{color:#6b7280;text-align:center;margin-top:1rem;font-size:.85rem}.link-btn{color:#185fa5;cursor:pointer;font-size:inherit;background:0 0;border:none;padding:0;text-decoration:underline}.link-btn:hover{color:#0c447c}.pricing-card{text-align:center;background:#f0f4f8;border-radius:14px;margin-bottom:1.25rem;padding:1.25rem}.price{color:#185fa5;font-size:2.5rem;font-weight:800}.per-month{color:#6b7280;font-size:1rem;font-weight:400}.pricing-features{flex-direction:column;gap:.4rem;margin-top:.75rem;list-style:none;display:flex}.pricing-features li{color:#374151;font-size:.9rem}.pricing-features li:before{content:"✓ ";color:#185fa5;font-weight:700}
