:root{--bg: #fbf6ef;--surface: #ffffff;--surface-2: #f3ebdf;--ink: #2b211a;--ink-2: #6b5b4d;--terracotta: #c2654a;--terracotta-dark: #a04d36;--tan: #d9b48a;--border: #e6d9c5;--shadow: 0 10px 30px -12px rgba(122, 64, 40, .18)}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}a{color:var(--terracotta-dark);text-decoration:none}a:hover{text-decoration:underline}button{font:inherit;cursor:pointer}input,textarea{font:inherit;padding:10px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--ink);width:100%}input:focus,textarea:focus{outline:2px solid var(--terracotta);border-color:transparent}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 18px;border-radius:10px;border:1px solid transparent;background:var(--terracotta);color:#fff;font-weight:600;transition:background .15s}.btn:hover{background:var(--terracotta-dark)}.btn.outline{background:transparent;color:var(--terracotta-dark);border-color:var(--border)}.btn.ghost{background:transparent;color:var(--ink-2)}.btn.ghost:hover{background:var(--surface-2);color:var(--ink)}.btn.sm{padding:6px 10px;font-size:13px}.icon-btn{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:transparent;border:1px solid transparent;color:var(--ink-2)}.icon-btn:hover{background:var(--surface-2);color:var(--ink)}.icon-btn.active{color:var(--terracotta)}.card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:28px;box-shadow:var(--shadow)}.container{max-width:1100px;margin:0 auto;padding:0 20px}.h1{font-size:clamp(36px,6vw,64px);font-weight:700;letter-spacing:-.02em;line-height:1.05;margin:0}.h2{font-size:clamp(24px,4vw,36px);font-weight:700;margin:0}.muted{color:var(--ink-2)}.gradient-text{background:linear-gradient(135deg,var(--terracotta),var(--tan));-webkit-background-clip:text;background-clip:text;color:transparent}.app{display:flex;height:100vh;overflow:hidden}.sidebar{width:280px;background:var(--surface-2);border-right:1px solid var(--border);display:flex;flex-direction:column;transition:margin-left .25s ease}.sidebar.collapsed{margin-left:-280px}.sidebar-header{padding:14px;display:flex;gap:8px;align-items:center;border-bottom:1px solid var(--border)}.sidebar-section{padding:12px 14px}.chat-list{flex:1;overflow-y:auto;padding:4px 8px}.chat-item{display:block;width:100%;text-align:left;padding:8px 10px;border-radius:8px;background:transparent;border:none;color:var(--ink);font-size:14px}.chat-item:hover{background:var(--surface)}.chat-item.active{background:var(--surface);font-weight:600}.chat-group-label{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--ink-2);padding:14px 10px 6px}.main{flex:1;display:flex;flex-direction:column;min-width:0}.topbar{padding:12px 16px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:10px;background:var(--surface)}.messages{flex:1;overflow-y:auto;padding:24px 16px}.messages-inner{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:18px}.bubble{display:flex;flex-direction:column;gap:6px}.bubble.user .bubble-text{background:var(--terracotta);color:#fff;align-self:flex-end;border-radius:18px 18px 4px}.bubble.assistant .bubble-text{background:var(--surface);border:1px solid var(--border);align-self:flex-start;border-radius:18px 18px 18px 4px}.bubble-text{padding:12px 16px;max-width:80%;white-space:pre-wrap;word-wrap:break-word;line-height:1.55}.bubble-actions{display:flex;gap:2px;align-self:flex-start;opacity:.7}.typing{display:inline-flex;gap:4px;padding:12px 16px;background:var(--surface);border:1px solid var(--border);border-radius:18px 18px 18px 4px;align-self:flex-start}.typing span{width:6px;height:6px;background:var(--ink-2);border-radius:50%;animation:blink 1.2s infinite}.typing span:nth-child(2){animation-delay:.15s}.typing span:nth-child(3){animation-delay:.3s}@keyframes blink{0%,60%,to{opacity:.25}30%{opacity:1}}.composer{padding:12px 16px 20px;border-top:1px solid var(--border);background:var(--surface)}.composer-inner{max-width:760px;margin:0 auto;display:flex;gap:8px;align-items:flex-end}.composer textarea{resize:none;min-height:48px;max-height:200px}.nav{display:flex;align-items:center;justify-content:space-between;padding:20px 0}.nav .links{display:flex;gap:24px;align-items:center}.hero{padding:80px 0 60px;text-align:center}.hero p.lead{font-size:20px;color:var(--ink-2);max-width:640px;margin:24px auto}.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px}@media (max-width: 800px){.pricing-grid{grid-template-columns:1fr}.sidebar{position:absolute;z-index:10;height:100%}}.tier{border:1px solid var(--border);border-radius:18px;padding:28px;background:var(--surface)}.tier.featured{border-color:var(--terracotta);transform:scale(1.02);box-shadow:var(--shadow)}.tier h3{margin:0 0 4px;font-size:22px}.tier .price{font-size:42px;font-weight:700;margin:16px 0}.tier ul{list-style:none;padding:0;margin:16px 0 24px;display:flex;flex-direction:column;gap:10px;color:var(--ink-2)}.tier li:before{content:"✓";color:var(--terracotta);font-weight:700;margin-right:8px}footer{border-top:1px solid var(--border);padding:32px 0;margin-top:60px;background:var(--surface)}footer .row{display:flex;gap:24px;flex-wrap:wrap;justify-content:center}footer a{color:var(--ink-2)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#140e0a8c;display:flex;align-items:center;justify-content:center;padding:20px;z-index:100}.modal{background:var(--surface);border-radius:18px;max-width:760px;width:100%;padding:32px;box-shadow:var(--shadow)}.form-page{max-width:420px;margin:80px auto;padding:0 20px}.field{margin-bottom:14px}.field label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:var(--ink-2)}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;padding:10px;border-bottom:1px solid var(--border);font-size:14px}.table th{font-weight:600;color:var(--ink-2);font-size:12px;text-transform:uppercase;letter-spacing:.05em}.badge{display:inline-block;padding:2px 8px;border-radius:99px;background:var(--surface-2);font-size:12px;margin-right:4px}.switch{position:relative;width:44px;height:24px;background:var(--border);border-radius:99px;cursor:pointer;transition:background .2s}.switch.on{background:var(--terracotta)}.switch:after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;background:#fff;border-radius:50%;transition:transform .2s}.switch.on:after{transform:translate(20px)}
