:root{--bg:#0f0f0f;--surface:#181a1b;--text:#ffffff;--dim:rgba(255,255,255,0.58);--line:rgba(255,255,255,0.09);--brand:#ffffff;--on-brand:#0f0f0f;--teal:#4fc7c3;--teal-deep:#0c2b2a;--red:#e0735c;--incognito:#8a7fd6}:root[data-theme=light]{--bg:#ffffff;--surface:#fafaf8;--text:#1e1e1e;--dim:rgba(30,30,30,0.55);--line:rgba(30,30,30,0.08);--brand:#1a2b3d;--on-brand:#ffffff;--teal:#2fa19d;--teal-deep:#e8f6f5;--red:#c0533a}*{box-sizing:border-box;margin:0;padding:0}body,html{height:100%}body{background:var(--bg);color:var(--text)}a{text-decoration:none}a,button{color:inherit}button{font:inherit;cursor:pointer;border:none;background:none}input,select,textarea{font:inherit;color:var(--text)}.spin{animation:spin 6s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.nav{display:flex;align-items:center;justify-content:space-between;max-width:1080px;margin:0 auto;padding:20px 24px}.nav .logo img{width:39px;height:39px}.nav .actions{display:flex;gap:10px;align-items:center}.lang-switch{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 7px;border-radius:8px;border:1px solid var(--line);color:var(--dim);font-size:12px;font-weight:700;transition:color .15s,border-color .15s}.lang-switch:hover{color:var(--text);border-color:var(--teal)}.btn{display:inline-block;padding:12px 26px;border-radius:24px;font-weight:700;transition:opacity .15s}.btn:hover{opacity:.85}.btn-primary{background:var(--brand);color:var(--on-brand)}.btn-ghost{color:var(--brand)}.hero-actions .btn-ghost{border:1px solid var(--line)}.hero-actions .btn-ghost:hover{border-color:var(--teal);color:var(--teal);opacity:1}.hero{position:relative;text-align:center;padding:84px 24px 56px;max-width:760px;margin:0 auto}.hero-glow{position:absolute;inset:-40px 0 auto;height:420px;pointer-events:none;z-index:-1;background:radial-gradient(ellipse 60% 55% at 50% 30%,color-mix(in srgb,var(--teal) 14%,transparent),transparent 70%)}.hero img{width:110px;height:110px;margin-bottom:24px}.hero h1{font-size:clamp(30px,6vw,52px);font-weight:700;line-height:1.35}.hero h1 em{font-style:normal;color:var(--teal)}.hero p{font-size:18px;color:var(--dim);margin:18px auto 32px;line-height:1.9;max-width:600px}.hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.hero>:not(img){animation:rise .7s ease both}.hero>p{animation-delay:.12s}.hero>.hero-actions{animation-delay:.22s}@keyframes rise{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}.demo{max-width:560px;margin:0 auto 88px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:24px;text-align:start}.demo .bubble{padding:13px 17px;border-radius:16px;max-width:85%;line-height:1.8}.demo .bubble+.bubble{margin-top:18px}.demo .user{-webkit-margin-start:auto;margin-inline-start:auto}.demo .assistant,.demo .user{background:var(--teal);color:#0c2b25}.problem{max-width:880px;margin:0 auto 96px;padding:0 24px;text-align:center}.culture h2,.problem h2,.solution h2,.use-cases h2{font-size:clamp(24px,4.5vw,38px);font-weight:700;line-height:1.5}.culture h2 em,.page-cta h2 em,.problem h2 em,.solution h2 em{font-style:normal;color:var(--teal)}.problem-points{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));grid-gap:22px;gap:22px;margin-top:40px;text-align:start}.problem-points>div{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:26px}.problem-points h3{font-size:17px;margin-bottom:8px}.problem-points p{color:var(--dim);font-size:14.5px;line-height:1.9}.solution{max-width:680px;margin:0 auto 96px;padding:0 24px;text-align:center}.solution .badge{display:inline-block;background:var(--teal);color:#0c2b25;font-size:13px;font-weight:700;border-radius:20px;padding:5px 16px;margin-bottom:18px;min-width:104px;text-align:center}.solution p{color:var(--dim);font-size:17px;line-height:2;margin-top:18px}.use-cases{max-width:1080px;margin:0 auto 96px;padding:0 24px;text-align:center}.cases{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:20px;gap:20px;margin-top:36px;text-align:start}.case{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:24px;transition:transform .2s ease,border-color .2s ease}.case:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--teal) 45%,transparent)}.case blockquote{font-size:15.5px;line-height:1.95}.case figcaption{margin-top:14px;color:var(--teal);font-size:13px;font-weight:700}.culture{max-width:680px;margin:0 auto 64px;padding:0 24px;text-align:center}.culture p{color:var(--dim);font-size:17px;line-height:2.05;margin-top:18px}.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));grid-gap:24px;gap:24px;max-width:1080px;margin:0 auto 96px;padding:0 24px}.feature{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:28px}.feature .ficon{display:inline-flex;color:var(--teal)}.feature .ficon svg{width:34px;height:34px}.feature .emoji{font-size:30px}.feature h3{margin:14px 0 8px;font-size:17px}.feature p{color:var(--dim);font-size:14px;line-height:1.8;margin:0}.pricing{max-width:880px;margin:0 auto 96px;padding:0 24px;text-align:center}.pricing h2{font-size:clamp(26px,4vw,36px)}.pricing .sub{color:var(--dim);margin:10px 0 36px}.plans{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:20px;gap:20px;align-items:start}.plan{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:34px 30px;text-align:start;display:flex;flex-direction:column}.plan.highlighted{border-color:color-mix(in srgb,var(--teal) 55%,var(--line))}.plan-top{margin-bottom:22px}.plan .name{font-weight:700;font-size:25px;line-height:1.2}.plan-tagline{color:var(--dim);font-size:14px;line-height:1.6;margin:8px 0 0;min-height:2.6em}.price-row{display:flex;align-items:center;gap:12px;margin:18px 0 4px}.plan .price{font-size:38px;font-weight:700;letter-spacing:-.5px}.plan-save{font-size:14px;font-weight:700;padding:5px 13px;border-radius:999px;background:color-mix(in srgb,var(--teal) 18%,transparent);color:var(--teal)}.plan .period{color:var(--dim);font-size:13px;line-height:1.6}.plan-cta{display:block;width:100%;padding:13px;border-radius:12px;font-weight:700;text-align:center;font-size:15px}.plan .plan-cta{background:var(--brand);color:var(--on-brand)}.plan.highlighted .plan-cta{background:var(--teal);color:#062a29}.plan-trial{color:var(--teal);font-size:12.5px;font-weight:600;margin-top:10px;text-align:center}.plan-divider{height:1px;background:var(--line);margin:22px 0 18px}.plan-plus{font-weight:700;font-size:14px;margin:0 0 14px}.plan ul{list-style:none;margin:0;padding:0;flex:1 1}.plan li{display:flex;align-items:flex-start;gap:10px;padding:6px 0;font-size:14px;line-height:1.6;color:var(--text)}.plan-check{color:var(--teal);flex-shrink:0;margin-top:3px}.plan-badge{position:absolute;top:-11px;inset-inline-start:26px;background:var(--teal);color:#062a29;font-size:11.5px;font-weight:700;padding:3px 12px;border-radius:999px}.pricing-wrap{max-width:1040px;margin:0 auto;padding:6px 24px 60px}.pricing-toggle{display:flex;gap:5px;width:-moz-fit-content;width:fit-content;margin:0 auto 64px;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:5px}.pricing-toggle button{display:flex;align-items:center;gap:8px;padding:9px 23px;border-radius:999px;font-size:15.5px;font-weight:600;color:var(--dim);cursor:pointer;border:0;background:none}.pricing-toggle button.on{background:var(--teal);color:#062a29}.pricing-note{text-align:center;color:var(--dim);font-size:13px;line-height:1.8;max-width:560px;margin:32px auto 0}@media (max-width:880px){.plans{grid-template-columns:1fr;max-width:440px;margin:0 auto;gap:16px}.plan-tagline{min-height:0}.pricing-wrap{padding:4px 16px 48px}}.footer{text-align:center;color:var(--dim);padding:32px;border-top:1px solid var(--line);font-size:14px}.footer a{color:var(--teal);font-weight:600}.footer-links{display:flex;justify-content:center;gap:22px;margin-bottom:14px;flex-wrap:wrap}.footer-links a{color:var(--dim);font-weight:400}.footer-links a:hover{color:var(--text)}.footer-links.legal{gap:18px;font-size:13px}.footer-links.legal button{color:color-mix(in srgb,var(--dim) 75%,transparent);font-size:13px}.footer-links.legal button:hover{color:var(--text)}.social-buttons{display:flex;flex-direction:column;gap:10px;width:100%;margin-bottom:4px}.btn-social{display:flex;align-items:center;justify-content:center;gap:10px;padding:11px 16px;border-radius:24px;font-weight:600;font-size:14px;background:var(--surface);border:1px solid var(--line);color:var(--text);transition:border-color .15s,transform .15s}.email-toggle{width:100%}.btn-social:hover{border-color:var(--teal);transform:translateY(-1px)}.auth-divider{display:flex;align-items:center;gap:12px;width:100%;color:var(--dim);font-size:13px;margin:14px 0}.auth-divider:after,.auth-divider:before{content:"";flex:1 1;height:1px;background:var(--line)}.legal-modal{max-width:720px;text-align:start}.settings-modal{max-width:560px;text-align:start}.settings-modal .modal-head{display:flex;align-items:center;justify-content:space-between;position:-webkit-sticky;position:sticky;top:-28px;margin:-28px -28px 6px;padding:20px 28px;background:var(--bg);border-bottom:1px solid var(--line);z-index:1}.settings-modal .modal-head h2{font-size:19px}.settings-section{padding:16px 0;border-bottom:1px solid var(--line)}.settings-section:last-child{border-bottom:none}.settings-section h3{font-size:15px;margin-bottom:10px}.settings-section .hint{color:var(--dim);font-size:13px;line-height:1.8;margin-bottom:8px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 0;font-size:14px}.settings-row .value{color:var(--dim)}.memory-list{list-style:none;padding:0;max-height:220px;overflow-y:auto}.memory-list li{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:9px 12px;border-radius:10px;font-size:13.5px;line-height:1.8}.memory-list li:hover{background:var(--surface)}.memory-list li button{color:var(--dim);font-size:12px;flex-shrink:0;padding-top:3px}.danger-link,.memory-list li button:hover{color:var(--red)}.danger-link{font-size:13.5px;font-weight:600}.danger-link:hover{opacity:.8}.danger-link:disabled{opacity:.5}.legal-modal .modal-head{display:flex;align-items:center;justify-content:space-between;position:-webkit-sticky;position:sticky;top:-28px;margin:-28px -28px 18px;padding:20px 28px;background:var(--bg);border-bottom:1px solid var(--line);z-index:1}.legal-modal .modal-head h2{font-size:19px}.modal-close{width:36px;height:36px;border-radius:50%;color:var(--dim);font-size:16px;flex-shrink:0}.modal-close:hover{background:var(--surface);color:var(--text)}.legal-modal .prose{padding:0;margin-bottom:24px;max-width:none}.legal-modal .product-sections{padding:0;margin:0 0 24px;grid-template-columns:1fr 1fr;gap:14px}.legal-modal .product-card{padding:20px}@media (max-width:720px){.legal-modal .product-sections{grid-template-columns:1fr}}.nav{position:relative}.nav .logo{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:700}.nav-links{display:flex;gap:22px;font-size:15px;position:absolute;left:50%;transform:translateX(-50%)}.nav-links a{color:var(--dim);transition:color .15s}.nav-links a.current,.nav-links a:hover{color:var(--text);font-weight:600}.page-hero{position:relative;text-align:center;padding:64px 24px 40px;max-width:720px;margin:0 auto}.about-name{max-width:640px;margin:24px auto 88px;padding:0 24px;text-align:center}.about-name .badge{display:inline-block;background:var(--teal);color:#0c2b25;font-size:13px;font-weight:700;border-radius:20px;padding:5px 16px;margin-bottom:22px;min-width:104px;text-align:center}.about-name blockquote{font-size:clamp(24px,4.5vw,36px);font-weight:700;line-height:1.6;color:var(--teal)}.about-name p{color:var(--dim);font-size:17px;line-height:2;margin-top:18px}.stats{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;max-width:1080px;margin:0 auto 96px;padding:0 24px}.stat{flex:1 1 240px;max-width:330px;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:30px 22px}.stat .num{font-size:clamp(26px,4vw,34px);font-weight:700;color:var(--teal)}.stat .label{color:var(--dim);font-size:14px;margin-top:8px;line-height:1.8}.principles-grid .case{text-align:start}.principles-grid .ficon{display:inline-flex;color:var(--teal)}.principles-grid .ficon svg{width:30px;height:30px}.principles-grid h3{font-size:17px;margin:12px 0 8px}.principles-grid p{color:var(--dim);font-size:14.5px;line-height:1.9}.page-hero img{margin-bottom:20px}.page-hero h1{font-size:clamp(28px,5vw,44px);font-weight:700;line-height:1.35}.page-hero h1 em{font-style:normal;color:var(--teal)}.page-hero p{font-size:17px;color:var(--dim);margin:16px auto 26px;line-height:1.9;max-width:560px}.prose{max-width:680px;margin:0 auto 72px;padding:0 24px;line-height:2}.prose h2{font-size:22px;margin:38px 0 12px}.prose p{color:var(--dim);margin-bottom:14px}.prose strong{color:var(--text)}.prose a{color:var(--teal);font-weight:600}.prose ul{list-style:none;padding:0}.prose li{padding:10px 0;color:var(--dim)}.prose li:before{content:"◆";color:var(--teal);font-size:11px;-webkit-margin-end:12px;margin-inline-end:12px}.compare-section{max-width:880px;margin:0 auto;padding:8px 24px 44px}.compare-title{text-align:center;font-size:clamp(22px,3.2vw,30px);font-weight:750}.compare-sub{text-align:center;color:var(--dim);margin:8px 0 24px;font-size:14.5px;line-height:1.8}.compare-scroll{overflow-x:auto}.compare-table{width:100%;border-collapse:collapse;min-width:460px}.compare-table td,.compare-table th{padding:13px 10px;text-align:center;border-bottom:1px solid var(--line)}.compare-table thead th{font-size:14px;font-weight:700;color:var(--text)}.compare-table thead th.me{color:var(--teal)}.compare-table .cap{text-align:right;color:var(--text);font-size:14px;font-weight:500}.compare-table td.me,.compare-table th.me{background:color-mix(in srgb,var(--teal) 9%,transparent)}.compare-table tbody tr:last-child td{border-bottom:0}.cmp-yes{width:16px;height:16px;border-radius:50%;background:#4fc7c3}.cmp-no,.cmp-yes{display:inline-block}.cmp-no{width:14px;height:2px;border-radius:2px;background:var(--dim);opacity:.55;vertical-align:middle}.page-cta{box-sizing:border-box;width:calc(100% - 32px);max-width:880px;margin:40px auto 72px;padding:clamp(40px,6vw,64px) clamp(20px,5vw,40px);border:1px solid var(--line);border-radius:24px}.notice,.page-cta{text-align:center;background:var(--surface)}.notice{max-width:680px;margin:0 auto 48px;padding:16px 22px;border:1px solid var(--line);border-radius:14px;color:var(--dim);font-size:14px;line-height:1.95}.notice strong{color:var(--text)}.faq{max-width:720px;margin:8px auto 80px;padding:0 24px}.faq>h2{font-size:clamp(22px,3.5vw,30px);font-weight:700;text-align:center;margin-bottom:28px}.faq-list{display:flex;flex-direction:column;gap:12px}.faq-item{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:2px 20px}.faq-item summary{cursor:pointer;list-style:none;padding:16px 0;font-size:16px;font-weight:600;line-height:1.6;display:flex;align-items:center;justify-content:space-between;gap:14px}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:after{content:"+";color:var(--teal);font-size:24px;font-weight:400;line-height:1;flex-shrink:0}.faq-item[open] summary:after{content:"−"}.faq-item p{color:var(--dim);line-height:1.95;margin:0;padding:0 0 18px}.prose.legal{margin-bottom:88px}.prose.legal h2{font-size:19px}.prose.legal li{line-height:1.95}.legal-rights{margin-top:0;margin-bottom:40px}.legal-rights .product-card h2{margin-top:0;font-size:17px}.page-cta h2{font-size:clamp(24px,4vw,32px)}.page-cta p{color:var(--dim);margin:10px 0 24px}.product-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:24px;gap:24px;max-width:1080px;margin:24px auto 72px;padding:0 24px}.product-card{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:30px 28px}.product-card .badge{display:inline-block;background:var(--teal);color:#0c2b25;font-size:13px;font-weight:700;border-radius:20px;padding:4px 14px;min-width:104px;text-align:center}.product-card h2{font-size:20px;margin:14px 0 8px}.product-card>p{color:var(--dim);font-size:14px;line-height:1.9;margin-bottom:14px}.product-card ul{list-style:none;padding:0}.product-card li{padding:6px 0;font-size:14px;color:var(--dim)}.product-card li:before{content:"✓";color:var(--teal);font-weight:700;-webkit-margin-end:10px;margin-inline-end:10px}.contact-card{max-width:520px;margin:0 auto 88px;padding:0 24px}.contact-card form{display:flex;flex-direction:column;gap:16px}.contact-card label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600}.contact-card input,.contact-card textarea{padding:13px 16px;border-radius:13px;border:1px solid var(--line);background:var(--surface);font-weight:400;resize:vertical}.contact-card input:focus,.contact-card textarea:focus{outline:2px solid var(--teal)}.contact-card .error{color:var(--red);font-size:14px}.contact-card .btn{align-self:flex-start}.contact-card .sent{text-align:center;padding:36px 0}.contact-card .sent .mark{width:64px;height:64px;border-radius:50%;background:var(--teal);color:#0c2b25;font-size:30px;font-weight:700;line-height:64px;margin:0 auto 18px}.contact-card .sent p{color:var(--dim);margin-top:8px;line-height:1.9}.modal-backdrop{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;padding:18px}.modal{background:var(--bg);border:1px solid var(--line);border-radius:22px;max-width:560px;width:100%;max-height:88dvh;overflow-y:auto;padding:28px}.builder h2{font-size:22px}.builder-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.builder .sub{color:var(--dim);font-size:14px;margin:6px 0 18px;line-height:1.8}.trait-group{margin-bottom:18px}.trait-group h3{font-size:14px;margin-bottom:9px}.trait-group input{width:100%;padding:12px 15px;border-radius:12px;border:1px solid var(--line);background:var(--surface);text-align:right}.trait-group input:focus{outline:2px solid var(--teal)}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{padding:9px 15px;border-radius:20px;font-size:14px;background:var(--surface);border:1px solid var(--line);color:var(--text);transition:all .12s}.chip:hover{border-color:var(--teal)}.chip.selected{background:var(--brand);color:var(--on-brand);border-color:var(--brand);font-weight:600}.builder .error{color:var(--red);font-size:14px;margin-bottom:12px}.builder-actions{display:flex;flex-direction:column;gap:6px;margin-top:8px}.builder-actions .btn{text-align:center}.mobile-menu{display:none}.hamburger{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;color:var(--text)}.hamburger svg{width:24px;height:24px}.drawer-backdrop{position:fixed;inset:0;z-index:55;background:rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .28s ease}.drawer-backdrop.show{opacity:1;pointer-events:auto}.drawer{position:fixed;top:0;bottom:0;inset-inline-end:0;z-index:60;width:min(78vw,300px);background:var(--bg);-webkit-border-start:1px solid var(--line);border-inline-start:1px solid var(--line);display:flex;flex-direction:column;gap:4px;padding:76px 20px 24px;transform:translateX(-105%);transition:transform .3s ease;visibility:hidden}.drawer.open{transform:none;visibility:visible;box-shadow:0 0 50px rgba(0,0,0,.45)}.drawer>a{padding:13px 14px;border-radius:12px;font-size:16px;font-weight:600}.drawer>a.current,.drawer>a:active{background:var(--surface);color:var(--teal)}.drawer>a.btn-primary{text-align:center;margin-top:6px;color:var(--on-brand)}.drawer-sep{height:1px;background:var(--line);margin:10px 0}.drawer-theme{display:flex;justify-content:space-between;margin-top:auto;font-size:14px;padding:0 14px}.drawer-theme,.theme-toggle{align-items:center;color:var(--dim)}.theme-toggle{display:inline-flex;justify-content:center;width:38px;height:38px;border-radius:50%;transition:color .15s,background .15s}.theme-toggle:hover{color:var(--text);background:var(--surface)}.theme-toggle svg{width:20px;height:20px}.sidebar .edit-companion{text-align:right;padding:10px 12px;border-radius:10px;color:var(--dim);font-size:13px}.sidebar .edit-companion:hover{background:var(--bg);color:var(--text)}.sidebar .sidebar-upgrade{display:block;text-align:center;margin:6px 0 2px;padding:11px 12px;border-radius:12px;background:var(--teal);color:#062a29;font-size:14px;font-weight:700}.sidebar .sidebar-upgrade:hover{filter:brightness(1.06)}.upgrade-btn{display:block;width:100%;text-align:center;margin-top:10px}.composer .mode-select{max-width:130px}.auth-card{max-width:400px;margin:9vh auto;padding:24px;text-align:center}.auth-card img{width:84px;height:84px}.auth-card h1{font-size:26px;margin:14px 0 26px}.auth-card .tabs{display:flex;background:var(--surface);border-radius:12px;padding:4px;margin-bottom:18px}.auth-card .tabs button{flex:1 1;padding:9px;border-radius:9px;color:var(--dim);font-weight:600}.auth-card .tabs button.active{background:var(--bg);color:var(--text);box-shadow:0 1px 4px rgba(0,0,0,.08)}.auth-card form{display:flex;flex-direction:column;gap:12px}.auth-card input{padding:13px 16px;border-radius:13px;border:1px solid var(--line);background:var(--surface);text-align:start}.auth-card input:focus{outline:2px solid var(--teal)}.auth-card .error{color:var(--red);font-size:14px;min-height:20px}.auth-note{color:var(--dim);font-size:14.5px;line-height:1.9;margin:-10px 0 22px}.auth-back{display:block;color:var(--dim);font-size:13.5px;margin-top:4px}.auth-back:hover{color:var(--teal)}.chat-shell{display:flex;height:100dvh;position:relative}.sb-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:39}.sidebar{position:fixed;top:0;bottom:0;inset-inline-start:0;z-index:40;width:290px;background:var(--surface);-webkit-border-end:1px solid var(--line);border-inline-end:1px solid var(--line);display:flex;flex-direction:column;padding:16px 10px;transform:translateX(100%);transition:transform .26s cubic-bezier(.4,0,.2,1);box-shadow:0 0 50px rgba(0,0,0,.45)}.sidebar.open{transform:none}.sidebar .brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:700;padding:6px 10px 16px}.sidebar .brand img{width:28px;height:28px}.sidebar .brand-actions{display:flex;align-items:center;gap:2px;-webkit-margin-start:auto;margin-inline-start:auto}.collapse-btn,.expand-btn,.menu-btn{display:none}.topbar{direction:ltr;display:flex;justify-content:space-between;gap:10px;padding:9px 12px calc(8px + env(safe-area-inset-top));height:60px;position:-webkit-sticky;position:sticky;top:0;z-index:12;background:color-mix(in srgb,var(--bg) 86%,transparent);-webkit-backdrop-filter:saturate(160%) blur(12px);backdrop-filter:saturate(160%) blur(12px)}.tb-icon,.topbar{align-items:center;flex-shrink:0}.tb-icon{width:44px;height:44px;border-radius:50%;display:inline-flex;justify-content:center;color:var(--text);transition:background .15s ease,color .15s ease}.tb-icon:hover{background:var(--surface)}.tb-icon.on{color:var(--incognito)}.tb-chip-wrap{position:relative}.tb-chip{direction:ltr;display:inline-flex;align-items:center;gap:7px;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:8px 15px;color:var(--text);font-size:14px;font-weight:600;transition:border-color .15s ease}.tb-chip:hover{border-color:var(--teal)}.tb-chip .chev{color:var(--dim)}.chip-backdrop{position:fixed;inset:0;z-index:20}.chip-menu{position:absolute;top:48px;left:50%;transform:translateX(-50%);z-index:30;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:7px;min-width:190px;max-height:64vh;overflow-y:auto;box-shadow:0 14px 38px rgba(0,0,0,.4);display:flex;flex-direction:column;gap:1px}.chip-menu .cm-label{font-size:11px;color:var(--dim);padding:9px 11px 4px}.chip-menu button{text-align:start;padding:9px 12px;border-radius:10px;font-size:14px;color:var(--text)}.chip-menu button:hover{background:var(--bg)}.chip-menu button.active{color:var(--teal);font-weight:700}.sidebar .new-chat{display:flex;gap:8px;align-items:center;padding:11px 14px;border-radius:12px;background:var(--brand);color:var(--on-brand);font-weight:700;justify-content:center;margin-bottom:14px}.sidebar .list{flex:1 1;overflow-y:auto}.sidebar .item{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 12px;border-radius:10px;text-align:start;color:var(--text);font-size:14px}.sidebar .item.active,.sidebar .item:hover{background:var(--bg)}.sidebar .item .del{color:var(--dim);visibility:hidden;font-size:12px}.sidebar .item:hover .del{visibility:visible}.sidebar .item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .sb-dialect{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;margin-top:6px;border-top:1px solid var(--line)}.sidebar .sb-dialect label{font-size:14px;color:var(--text)}.sidebar .sb-dialect select{background:var(--bg);border:1px solid var(--line);color:var(--text);border-radius:9px;padding:7px 11px;font-size:13px;cursor:pointer}.sidebar .sb-dialect select:focus{outline:none;border-color:var(--teal)}.sidebar .footer-row{display:flex;align-items:center;justify-content:space-between;padding:12px 10px 4px;border-top:1px solid var(--line);font-size:14px}.sidebar .footer-row .quota{color:var(--dim);font-size:12px}.sidebar .footer-row button{color:var(--red);font-size:13px}.main{flex:1 1;display:flex;flex-direction:column;min-width:0}.messages{flex:1 1;overflow-y:auto;padding:28px 0}.messages-inner{max-width:760px;margin:0 auto;padding:0 20px}.msg{display:flex;margin-bottom:16px}.msg.user{justify-content:flex-start}.msg.assistant{justify-content:flex-end}.msg .bubble{max-width:78%;padding:13px 17px;border-radius:18px;line-height:1.9;white-space:pre-wrap;word-break:break-word}.msg.user .bubble{background:var(--brand);color:var(--on-brand);border-bottom-right-radius:6px}.msg.assistant .bubble{background:var(--surface);border:1px solid var(--line);border-bottom-left-radius:6px}.msg .avatar{width:28px;height:28px;-webkit-margin-start:10px;margin-inline-start:10px;flex-shrink:0;align-self:flex-end}.bubble-wrap{max-width:78%;display:flex;flex-direction:column}.bubble-wrap .bubble{max-width:none}.gen-img,.gen-img img{display:block}.gen-img img{width:100%;max-width:360px;border-radius:14px}.msg .fb{display:flex;gap:2px;margin-top:3px;opacity:0;transition:opacity .15s;align-self:flex-end}.msg .fb:has(.on),.msg:hover .fb{opacity:1}.msg .fb button{font-size:12px;padding:2px 6px;border-radius:8px;filter:grayscale(1);opacity:.6}.msg .fb button.on,.msg .fb button:hover{background:var(--surface);opacity:1}.msg .fb button.on{filter:none}.empty{text-align:center;margin-top:16vh;display:flex;flex-direction:column;align-items:center}.empty-logo{margin-bottom:20px;border-radius:50%}.empty h2{margin:0 0 10px;font-size:27px;font-weight:700}.empty p{color:var(--dim);max-width:480px;margin:0 auto;line-height:1.9;padding:0 18px;font-size:15px}.ice-breaker{margin-top:22px!important;max-width:420px;color:var(--text)!important;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:14px 20px!important;font-size:15px;line-height:1.8!important}.composer{padding:6px 12px calc(8vh + env(safe-area-inset-bottom))}.composer-bar{direction:ltr;max-width:820px;margin:0 auto;display:flex;align-items:center;gap:6px}.cb-icon{width:44px;height:44px;flex-shrink:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--dim);transition:color .15s ease,background .15s ease}.cb-icon:hover:not(:disabled){color:var(--text)}.cb-icon:disabled{opacity:.4;cursor:default}.cb-icon.send:not(:disabled){color:var(--text)}.cb-icon.recording,.cb-icon.stop{color:var(--red)}.cb-icon.recording{animation:pulse 1.1s ease-in-out infinite}.cb-input{flex:1 1;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:2px 16px;display:flex;align-items:center;min-height:46px;transition:border-color .15s ease}.cb-input:focus-within{border-color:color-mix(in srgb,var(--teal) 55%,var(--line))}.cb-input textarea{flex:1 1;resize:none;background:transparent;border:0;color:var(--text);font:inherit;direction:rtl;text-align:right;line-height:1.6;padding:11px 0;max-height:140px}.cb-input textarea:focus{outline:none}.chat-shell.incognito .cb-input:focus-within{border-color:color-mix(in srgb,var(--incognito) 55%,var(--line))}@keyframes pulse{0%,to{opacity:1}50%{opacity:.55}}.cb-attach{position:relative;flex-shrink:0}.cb-icon.on{color:var(--text);background:var(--surface)}.attach-backdrop{position:fixed;inset:0;z-index:20}.attach-menu{position:absolute;bottom:54px;inset-inline-start:0;z-index:30;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:6px;min-width:180px;display:flex;flex-direction:column;gap:1px;box-shadow:0 14px 38px rgba(0,0,0,.4);animation:rise .16s ease both}.attach-menu button{display:flex;align-items:center;gap:11px;width:100%;text-align:start;padding:11px 13px;border-radius:11px;font-size:14.5px;color:var(--text)}.attach-menu button:hover:not(:disabled){background:var(--bg)}.attach-menu button:disabled{opacity:.4;cursor:default}.attach-menu button svg{color:var(--dim);flex-shrink:0}.conv-search{margin:8px 4px 4px;padding:9px 12px;border-radius:10px;background:var(--bg);border:1px solid var(--line);color:var(--text);font-size:13px}.conv-search:focus{outline:2px solid var(--teal)}.conv-empty{color:var(--dim);font-size:13px;padding:12px 10px}.install-banner{position:fixed;inset-inline:0;bottom:0;z-index:60;display:flex;align-items:center;gap:12px;justify-content:center;background:var(--surface);border-top:1px solid var(--line);padding:12px 16px calc(12px + env(safe-area-inset-bottom));font-size:14px;box-shadow:0 -6px 24px rgba(0,0,0,.25)}.install-text{color:var(--text)}.install-actions{display:flex;align-items:center;gap:8px}.install-yes{background:var(--brand);color:var(--on-brand);border-radius:20px;padding:8px 18px;font-weight:700}.install-no{color:var(--dim);width:30px;height:30px;border-radius:50%}.install-no:hover{color:var(--text);background:var(--bg)}@media (max-width:560px){.install-banner{flex-direction:column;gap:8px;text-align:center}}.consent{position:fixed;inset-inline:0;bottom:0;z-index:70;padding:14px 16px calc(14px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -10px 34px rgba(0,0,0,.32)}.consent-inner{max-width:1000px;margin:0 auto;display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap}.consent-body{flex:1 1;min-width:260px}.consent-body strong{display:block;font-size:14px;margin-bottom:4px}.consent-body p{color:var(--dim);font-size:13px;line-height:1.8;margin:0}.consent-toggles{margin-top:12px;display:flex;flex-direction:column;gap:8px;max-width:480px}.consent-row{display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:10px 14px}.consent-row span{display:flex;flex-direction:column}.consent-row b{font-size:13px}.consent-row em{font-style:normal;color:var(--dim);font-size:12px}.consent-row input{width:18px;height:18px;accent-color:var(--teal)}.consent-row.is-locked{opacity:.7}.consent-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.consent-btn{border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:11px;padding:10px 18px;font-size:13px;font-weight:600;white-space:nowrap;transition:border-color .15s ease,opacity .15s ease}.consent-btn.primary,.consent-btn:hover{border-color:var(--teal)}.consent-btn.primary{background:var(--teal);color:#062a29}.consent-btn.ghost{color:var(--dim);border-color:transparent}@media (max-width:640px){.consent-inner{flex-direction:column;align-items:stretch;gap:12px}.consent-actions{justify-content:stretch}.consent-btn{flex:1 1}}.attach-strip{max-width:760px;margin:0 auto 8px;display:flex;gap:8px}.attach-strip .thumb{position:relative;width:56px;height:56px}.attach-strip .thumb img{width:100%;height:100%;object-fit:cover;border-radius:10px}.attach-strip .thumb button{position:absolute;top:-6px;inset-inline-start:-6px;width:20px;height:20px;border-radius:50%;background:var(--red);color:#fff;font-size:11px;display:flex;align-items:center;justify-content:center}.chat-shell.incognito .composer textarea:focus{outline-color:var(--incognito)}.chat-shell.incognito .composer{border-top-color:color-mix(in srgb,var(--incognito) 40%,var(--line))}.chat-shell.incognito .empty h2{color:var(--incognito)}.msg-images{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}.msg-images img{max-width:150px;max-height:150px;border-radius:12px}.msg .fb button[title="نسخ"]{filter:none;font-size:14px}.md>:first-child{margin-top:0}.md>:last-child{margin-bottom:0}.md p{margin:0 0 8px}.md p:last-child{margin-bottom:0}.md br{content:"";display:block;height:6px}.md h3,.md h4,.md h5{margin:12px 0 6px;font-size:1.05em}.md ol,.md ul{margin:6px 0;-webkit-padding-start:22px;padding-inline-start:22px}.md li{margin:3px 0}.md strong{font-weight:700}.md a{color:var(--teal);text-decoration:underline}.md code{background:color-mix(in srgb,var(--text) 8%,transparent);border-radius:5px;padding:1px 5px;font-size:.9em;font-family:ui-monospace,SF Mono,Menlo,monospace;direction:ltr;unicode-bidi:embed}.md pre{background:color-mix(in srgb,var(--text) 7%,transparent);border:1px solid var(--line);border-radius:12px;padding:12px 14px;overflow-x:auto;margin:8px 0;text-align:left}.md pre code{background:none;padding:0;font-size:.85em}.error-banner{max-width:760px;margin:0 auto 10px;background:var(--red);color:#fff;border-radius:12px;padding:10px 16px;font-size:14px}@media (max-width:960px) and (min-width:721px){.nav-links{gap:14px;font-size:14px}.nav .actions .btn{padding:10px 18px;font-size:14px}}@media (max-width:720px){.sidebar{position:fixed;inset-inline-start:0;top:0;bottom:0;z-index:20;transform:translateX(100%);transition:transform .25s;box-shadow:0 0 40px rgba(0,0,0,.35)}.sidebar.open{transform:none}.menu-btn{display:block!important}.nav{padding:14px 16px}.nav .logo{font-size:20px}.nav .logo img{width:32px;height:32px}.nav .desktop-only,.nav .desktop-only-flex,.nav .nav-links{display:none}.mobile-menu{display:block}.page-hero{padding:40px 18px 28px}.composer .mode-select{max-width:110px}.hero{padding:44px 18px 36px}.hero img{width:84px;height:84px;margin-bottom:18px}.hero p{font-size:16px}.demo{margin:0 16px 48px}.features{gap:12px;margin-bottom:56px;padding:0 16px}.auth-card,.feature{padding:20px}.auth-card{margin:5vh auto}.messages{padding:18px 0}.messages-inner{padding:0 12px}.msg .bubble{max-width:88%;padding:11px 14px}.msg .avatar{width:24px;height:24px;-webkit-margin-start:6px;margin-inline-start:6px}.composer{padding:6px 8px calc(8px + env(safe-area-inset-bottom))}.composer-bar{gap:2px}.cb-input textarea{font-size:16px}.empty{margin-top:14vh;padding:0 18px}.error-banner{margin:0 12px 8px}}@media (max-width:380px){.nav .actions .btn-ghost{display:none}.hero h1{font-size:27px}}.menu-btn{display:none;position:fixed;top:14px;inset-inline-start:14px;z-index:30;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:8px 12px}@font-face{font-family:Cairo;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/350b852752f8489d-s.p.woff2) format("woff2");unicode-range:u+06??,u+0750-077f,u+0870-088e,u+0890-0891,u+0897-08e1,u+08e3-08ff,u+200c-200e,u+2010-2011,u+204f,u+2e41,u+fb50-fdff,u+fe70-fe74,u+fe76-fefc,u+102e0-102fb,u+10e60-10e7e,u+10ec2-10ec4,u+10efc-10eff,u+1ee00-1ee03,u+1ee05-1ee1f,u+1ee21-1ee22,u+1ee24,u+1ee27,u+1ee29-1ee32,u+1ee34-1ee37,u+1ee39,u+1ee3b,u+1ee42,u+1ee47,u+1ee49,u+1ee4b,u+1ee4d-1ee4f,u+1ee51-1ee52,u+1ee54,u+1ee57,u+1ee59,u+1ee5b,u+1ee5d,u+1ee5f,u+1ee61-1ee62,u+1ee64,u+1ee67-1ee6a,u+1ee6c-1ee72,u+1ee74-1ee77,u+1ee79-1ee7c,u+1ee7e,u+1ee80-1ee89,u+1ee8b-1ee9b,u+1eea1-1eea3,u+1eea5-1eea9,u+1eeab-1eebb,u+1eef0-1eef1}@font-face{font-family:Cairo;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/5ec84f17416dda4d-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Cairo;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/01f0c602c274ea55-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Cairo;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/350b852752f8489d-s.p.woff2) format("woff2");unicode-range:u+06??,u+0750-077f,u+0870-088e,u+0890-0891,u+0897-08e1,u+08e3-08ff,u+200c-200e,u+2010-2011,u+204f,u+2e41,u+fb50-fdff,u+fe70-fe74,u+fe76-fefc,u+102e0-102fb,u+10e60-10e7e,u+10ec2-10ec4,u+10efc-10eff,u+1ee00-1ee03,u+1ee05-1ee1f,u+1ee21-1ee22,u+1ee24,u+1ee27,u+1ee29-1ee32,u+1ee34-1ee37,u+1ee39,u+1ee3b,u+1ee42,u+1ee47,u+1ee49,u+1ee4b,u+1ee4d-1ee4f,u+1ee51-1ee52,u+1ee54,u+1ee57,u+1ee59,u+1ee5b,u+1ee5d,u+1ee5f,u+1ee61-1ee62,u+1ee64,u+1ee67-1ee6a,u+1ee6c-1ee72,u+1ee74-1ee77,u+1ee79-1ee7c,u+1ee7e,u+1ee80-1ee89,u+1ee8b-1ee9b,u+1eea1-1eea3,u+1eea5-1eea9,u+1eeab-1eebb,u+1eef0-1eef1}@font-face{font-family:Cairo;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/5ec84f17416dda4d-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Cairo;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/01f0c602c274ea55-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Cairo;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/350b852752f8489d-s.p.woff2) format("woff2");unicode-range:u+06??,u+0750-077f,u+0870-088e,u+0890-0891,u+0897-08e1,u+08e3-08ff,u+200c-200e,u+2010-2011,u+204f,u+2e41,u+fb50-fdff,u+fe70-fe74,u+fe76-fefc,u+102e0-102fb,u+10e60-10e7e,u+10ec2-10ec4,u+10efc-10eff,u+1ee00-1ee03,u+1ee05-1ee1f,u+1ee21-1ee22,u+1ee24,u+1ee27,u+1ee29-1ee32,u+1ee34-1ee37,u+1ee39,u+1ee3b,u+1ee42,u+1ee47,u+1ee49,u+1ee4b,u+1ee4d-1ee4f,u+1ee51-1ee52,u+1ee54,u+1ee57,u+1ee59,u+1ee5b,u+1ee5d,u+1ee5f,u+1ee61-1ee62,u+1ee64,u+1ee67-1ee6a,u+1ee6c-1ee72,u+1ee74-1ee77,u+1ee79-1ee7c,u+1ee7e,u+1ee80-1ee89,u+1ee8b-1ee9b,u+1eea1-1eea3,u+1eea5-1eea9,u+1eeab-1eebb,u+1eef0-1eef1}@font-face{font-family:Cairo;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/5ec84f17416dda4d-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Cairo;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/01f0c602c274ea55-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Cairo Fallback;src:local("Arial");ascent-override:137.65%;descent-override:60.32%;line-gap-override:0.00%;size-adjust:94.66%}.__className_0b9ea3{font-family:Cairo,Cairo Fallback;font-style:normal}