:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#0f1115;--surface:#171a21;--surface-2:#1f232c;--border:#2b3040;--text:#eef0f4;--text-muted:#9aa2b1;--accent:#5b8cff;--accent-2:#7c5cff;--danger:#ff6b6b;--success:#4ade80;--radius:12px;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0}a{color:inherit;text-decoration:none}.top-nav{border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:10;background:#0f1115d9;justify-content:space-between;align-items:center;padding:1rem 2rem;display:flex;position:sticky;top:0}.brand-wordmark{color:var(--text);font-size:1.15rem;font-weight:700}.brand-wordmark span{color:var(--accent)}.nav-links{align-items:center;gap:1.5rem;display:flex}.btn-link{color:var(--text-muted);cursor:pointer;font:inherit;background:0 0;border:none;padding:0}.page-container{max-width:960px;margin:0 auto;padding:2.5rem 1.5rem 5rem}.hero{text-align:center;margin-bottom:3rem}.hero h1{background:linear-gradient(90deg, var(--accent), var(--accent-2));color:#0000;-webkit-background-clip:text;background-clip:text;margin-bottom:.75rem;font-size:2.4rem}.hero p{color:var(--text-muted);max-width:640px;margin:0 auto;line-height:1.6}.applet-category{margin-bottom:2.5rem}.applet-category h2{border-bottom:1px solid var(--border);margin-bottom:1.25rem;padding-bottom:.5rem}.applet-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem;display:grid}.applet-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;transition:transform .15s,border-color .15s;display:block}.applet-card:hover{border-color:var(--accent);transform:translateY(-2px)}.applet-card-icon{font-size:1.75rem}.applet-card h3{margin:.5rem 0 .35rem;font-size:1.05rem}.applet-card p{color:var(--text-muted);margin:0;font-size:.9rem;line-height:1.4}.back-link{color:var(--text-muted);margin-bottom:1.5rem;display:inline-block}.applet-header{align-items:center;gap:1rem;margin-bottom:2rem;display:flex}.applet-icon{font-size:2.5rem}.applet-header h1{margin:0 0 .25rem}.applet-tagline{color:var(--text-muted);margin:0}.applet-cap-hint{color:var(--text-muted);margin:.35rem 0 0;font-size:.78rem}.applet-cap-hint a{color:var(--accent);text-decoration:underline}.cap-current{color:var(--accent);font-weight:600}.applet-form-grid{grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem;display:grid}.applet-form-field{flex-direction:column;gap:.4rem;display:flex}.applet-form-field.span-2{grid-column:1/-1}.applet-form-field label{font-size:.9rem;font-weight:600}.required-mark{color:var(--danger)}.applet-form-field input,.applet-form-field select,.applet-form-field textarea{background:var(--surface);border:1px solid var(--border);color:var(--text);font:inherit;border-radius:8px;padding:.6rem .75rem}.applet-form-field textarea{resize:vertical}.multiselect-group{background:var(--surface);border:1px solid var(--border);border-radius:8px;flex-wrap:wrap;gap:.5rem 1rem;padding:.75rem;display:flex}.multiselect-option{cursor:pointer;align-items:center;gap:.4rem;font-size:.9rem;font-weight:400;display:flex}.field-help{color:var(--text-muted);margin:0;font-size:.78rem}.btn-primary{background:linear-gradient(90deg, var(--accent), var(--accent-2));color:#fff;cursor:pointer;border:none;border-radius:8px;padding:.75rem 1.5rem;font-size:.95rem;font-weight:600}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.error-banner{color:var(--danger);background:#ff6b6b1a;border:1px solid #ff6b6b4d;border-radius:8px;margin-top:1rem;padding:.6rem .9rem}.applet-result{border-top:1px solid var(--border);margin-top:2.5rem;padding-top:2rem}.applet-result-actions{flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1.5rem;display:flex}.applet-result-actions button{background:var(--surface-2);border:1px solid var(--border);color:var(--text);cursor:pointer;font:inherit;border-radius:8px;padding:.5rem 1rem}.applet-result-actions button:disabled{opacity:.5;cursor:not-allowed}.hint{color:var(--text-muted);font-size:.85rem}.applet-output{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.75rem;line-height:1.65}.applet-output table{border-collapse:collapse;width:100%;margin:1rem 0}.applet-output th,.applet-output td{border:1px solid var(--border);text-align:left;padding:.5rem .75rem}.applet-chat{margin-top:2rem}.chat-thread{flex-direction:column;gap:.75rem;margin:1rem 0;display:flex}.chat-turn{border-radius:10px;max-width:85%;padding:.75rem 1rem}.chat-turn-user{background:var(--accent);color:#fff;align-self:flex-end}.chat-turn-assistant{background:var(--surface-2);border:1px solid var(--border);align-self:flex-start}.chat-input-row{gap:.5rem;display:flex}.chat-input-row input{background:var(--surface);border:1px solid var(--border);color:var(--text);font:inherit;border-radius:8px;flex:1;padding:.6rem .75rem}.chat-input-row button{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:8px;padding:.6rem 1.25rem}.auth-page form{flex-direction:column;gap:.75rem;max-width:360px;display:flex}.auth-page input{background:var(--surface);border:1px solid var(--border);color:var(--text);font:inherit;border-radius:8px;padding:.6rem .75rem}.history-list{flex-direction:column;gap:.75rem;margin-top:1.5rem;display:flex}.history-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);justify-content:space-between;align-items:center;padding:1rem 1.25rem;display:flex}.history-item h3{margin:0 0 .25rem}.history-date{color:var(--text-muted);margin:0;font-size:.85rem}.history-item button{background:var(--surface-2);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:8px;padding:.5rem 1rem}.billing-intro{color:var(--text-muted);max-width:640px;margin-bottom:1.5rem;line-height:1.6}.current-plan-banner{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius);justify-content:space-between;align-items:center;gap:1.5rem;margin-bottom:2rem;padding:.9rem 1.25rem;display:flex}.current-plan-banner button{background:var(--surface);border:1px solid var(--border);color:var(--text);cursor:pointer;font:inherit;border-radius:8px;flex-shrink:0;padding:.5rem 1rem}.billing-policy-note{color:var(--text-muted);margin:.35rem 0 0;font-size:.8rem}.plan-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem;display:grid}.plan-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;padding:1.75rem;display:flex}.plan-card-current{border-color:var(--accent)}.plan-tagline{color:var(--text-muted);min-height:2.6em;font-size:.88rem}.plan-price{margin:.5rem 0 1.25rem;font-size:1.75rem;font-weight:700}.plan-price span{color:var(--text-muted);font-size:.85rem;font-weight:400}.plan-card ul{color:var(--text-muted);flex:1;margin-bottom:1.5rem;padding-left:1.1rem;line-height:1.8}.plan-card button:disabled{opacity:.6;cursor:not-allowed}@media (width<=640px){.applet-form-grid{grid-template-columns:1fr}.applet-form-field.span-2{grid-column:auto}}.site-footer{border-top:1px solid var(--border);margin-top:3rem}.site-footer-inner{flex-direction:column;gap:.75rem;max-width:960px;margin:0 auto;padding:2rem 1.5rem;display:flex}.footer-brand{font-size:1rem}.footer-links{flex-wrap:wrap;gap:1.5rem;display:flex}.footer-links a{color:var(--text-muted);font-size:.88rem}.footer-links a:hover{color:var(--text)}.footer-policy{color:var(--text-muted);max-width:640px;margin:0;font-size:.8rem}.legal-page{max-width:680px}.legal-updated{color:var(--text-muted);margin-top:-.5rem;font-size:.85rem}.legal-page p{color:var(--text-muted);line-height:1.7}.legal-page a{color:var(--accent)}.landing{max-width:960px;margin:0 auto;padding:0 1.5rem}.landing-hero{text-align:center;padding:4rem 0 3rem}.landing-wordmark{margin-bottom:1.5rem;font-size:1.05rem}.landing-hero h1{max-width:720px;margin:0 auto 1.25rem;font-size:2.5rem;line-height:1.25}.landing-subhead{color:var(--text-muted);max-width:560px;margin:0 auto 2rem;font-size:1.1rem;line-height:1.6}.landing-cta{display:inline-block}.landing-pillars{border-top:1px solid var(--border);grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem;padding:2rem 0;display:grid}.landing-pillar h2{margin-bottom:.5rem;font-size:1.1rem}.landing-pillar p{color:var(--text-muted);margin:0 0 .5rem;line-height:1.6}.landing-pillar-examples{color:var(--text-muted);opacity:.8;font-size:.85rem}.landing-pricing{border-top:1px solid var(--border);padding:3rem 0}.landing-pricing h2,.landing-how h2{text-align:center;margin-bottom:.5rem;font-size:1.4rem}.landing-pricing-sub{color:var(--text-muted);text-align:center;max-width:480px;margin:0 auto 2rem}.landing-how{border-top:1px solid var(--border);padding:3rem 0 4rem}.landing-steps{counter-reset:step;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin:2rem 0 0;padding:0;list-style:none;display:grid}.landing-steps li{counter-increment:step;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:.4rem;padding:1.5rem;display:flex}.landing-steps li:before{content:counter(step);background:linear-gradient(90deg, var(--accent), var(--accent-2));color:#fff;border-radius:50%;justify-content:center;align-items:center;width:1.75rem;height:1.75rem;margin-bottom:.5rem;font-size:.85rem;font-weight:700;display:flex}.landing-steps span{color:var(--text-muted);font-size:.9rem;line-height:1.5}main{min-height:calc(100vh - 65px)}
