:root{--brand-bg-base:#020617;--brand-bg-surface:#0f172a;--brand-bg-elevated:#1e293b;--brand-border:#334155;--brand-text-primary:#e2e8f0;--brand-text-muted:#94a3b8;--brand-accent:#3b82f6;--brand-accent-strong:#1d4ed8;--brand-accent-soft:#60a5fa;--brand-success:#059669;--brand-danger:#dc2626}*{box-sizing:border-box}body,html{background:#020617}body{margin:0;color:#f8fafc;font-family:Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}.app-shell{min-height:100vh;display:flex;max-width:1600px;margin:0 auto}.sidebar{width:256px;flex:0 0 256px;background:#0f172a;border-right:1px solid #1e293b;padding:24px}.brand{font-size:30px;font-weight:800;letter-spacing:.04em}.muted{color:#94a3b8}@keyframes skeleton-pulse{0%,to{opacity:1}50%{opacity:.5}}.skeleton{animation:skeleton-pulse 1.5s ease-in-out infinite;background:#1e293b;border-radius:12px}@media (prefers-reduced-motion:reduce){.skeleton{animation:none}}.nav{margin-top:38px;display:grid;grid-gap:10px;gap:10px}.nav button{width:100%;text-align:left;border:0;background:transparent;color:#cbd5e1;border-radius:12px;padding:12px 16px}.nav button.active,.nav button:hover{background:#2563eb;color:white}.main{flex:1 1;min-width:0;padding:28px}.main-layout-shell{display:flex;min-height:100vh;background:var(--brand-bg-base)}.main-layout-sidebar{width:260px;flex:0 0 260px;display:flex;flex-direction:column;background:var(--brand-bg-surface);border-right:1px solid var(--brand-border);padding:24px}.main-layout-brand{color:var(--brand-text-primary);font-size:28px;font-weight:800;margin:0 0 40px}.main-layout-nav{display:flex;flex-direction:column;gap:18px;flex:1 1}.main-layout-nav-link{color:var(--brand-text-muted);font-weight:400;text-decoration:none}.main-layout-nav-link.active{color:var(--brand-text-primary);font-weight:700}.main-layout-footer{border-top:1px solid var(--brand-border);padding-top:16px;margin-top:16px}.main-layout-footer-email{color:var(--brand-text-muted);font-size:13px;margin:0 0 10px;word-break:break-all}.main-layout-content{flex:1 1;min-width:0;padding:40px;color:var(--brand-text-primary)}@media (max-width:1100px){.main-layout-shell{flex-direction:column}.main-layout-sidebar{width:100%;flex:0 0 auto;border-right:0;border-bottom:1px solid var(--brand-border)}.main-layout-brand{margin-bottom:16px}.main-layout-nav{flex-direction:row;flex-wrap:wrap;gap:12px 20px;flex:0 0 auto}.main-layout-content{padding:20px}}.header{margin-bottom:28px}.eyebrow{color:#60a5fa;font-size:13px;font-weight:700;letter-spacing:.2em;text-transform:uppercase}.header-row{display:flex;gap:20px;align-items:center;justify-content:space-between}.header h1{margin:8px 0 0;font-size:38px}.grid{display:grid;grid-template-columns:390px minmax(0,1fr);grid-gap:24px;gap:24px}.card{background:#0f172a;border:1px solid #1e293b;border-radius:18px;padding:20px;box-shadow:0 18px 50px rgba(0,0,0,.25)}.field{margin-top:18px}.field:first-child{margin-top:0}.label{display:block;font-size:14px;font-weight:700;margin-bottom:8px}.input,.select,.textarea{width:100%;border:1px solid #334155;background:#020617;color:white;border-radius:12px;padding:13px 15px;outline:none}.input:focus,.select:focus,.textarea:focus{border-color:#3b82f6}.textarea{resize:vertical;min-height:140px}.template-info{margin-top:12px;border:1px solid #1d4ed8;background:rgba(30,64,175,.18);border-radius:12px;padding:14px}.template-info strong{color:#93c5fd}.template-info p{margin:6px 0 0;color:#94a3b8;font-size:13px;line-height:1.55}.btn{border:0;border-radius:11px;color:white;padding:11px 16px;font-weight:700}.btn-primary{background:#2563eb}.btn-primary:hover{background:#3b82f6}.btn-success{background:#059669}.btn-danger{background:#dc2626}.btn-indigo{background:#4f46e5}.btn-slate{background:#334155}.btn-outline{background:transparent;border:1px solid #3b82f6;color:#93c5fd}.btn-full{width:100%;margin-top:18px}.status{margin-top:14px;background:#020617;color:#cbd5e1;border-radius:9px;padding:10px 12px;font-size:14px}.history{margin-top:22px}.project-card{border:1px solid #334155;background:#020617;border-radius:12px;padding:14px;margin-top:12px}.project-card h4{margin:0}.project-card p{margin:6px 0 12px;font-size:12px;color:#94a3b8}.actions{display:flex;flex-wrap:wrap;gap:8px}.editor-card{min-width:0;container-type:inline-size;container-name:editor-card}.editor-header{display:flex;gap:18px;justify-content:space-between;align-items:center;border-bottom:1px solid #1e293b;padding-bottom:16px;margin-bottom:16px}.editor-header h2{margin:0}.editor-header p{margin:5px 0 0;color:#94a3b8;font-size:14px}.toolbar{position:-webkit-sticky;position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;gap:8px;background:#0f172a;border-bottom:1px solid #334155;padding:12px}.tool-btn{border:1px solid #334155;background:#1e293b;color:#e2e8f0;border-radius:8px;padding:8px 11px;font-weight:700}.tool-btn:hover{background:#334155}.tool-btn.active{background:#2563eb;border-color:#3b82f6;color:white}.editor-wrap{overflow:hidden;border:1px solid #334155;border-radius:12px;background:#0f172a}.paper-stage{max-height:850px;overflow:auto;background:rgba(71,85,105,.65);padding:32px}.paper{max-width:794px;margin:0 auto;background:white;box-shadow:0 24px 60px rgba(0,0,0,.35)}.ProseMirror{min-height:1123px;padding:82px 72px;color:#0f172a;font-family:Georgia,Times New Roman,serif;font-size:17px;line-height:1.8;outline:none}.ProseMirror h1{margin:40px 0 24px;font-size:36px;line-height:1.15}.ProseMirror h2{margin:34px 0 18px;font-size:28px;color:#1d4ed8}.ProseMirror h3{margin:28px 0 14px;font-size:22px}.ProseMirror p{margin:0 0 18px;text-align:justify}.ProseMirror blockquote{margin:28px 0;border-left:4px solid #3b82f6;background:#eff6ff;padding:14px 20px;color:#475569;font-style:italic}.ProseMirror ol,.ProseMirror ul{margin:0 0 20px 28px}.editor-footer{border-top:1px solid #334155;padding:9px 14px;text-align:center;color:#94a3b8;font-size:12px}.version-history-panel{display:grid;grid-template-columns:1fr;grid-gap:16px;gap:16px}@container editor-card (min-width: 480px){.version-history-panel{grid-template-columns:minmax(220px,300px) 1fr;align-items:start}}.version-history-list{display:grid;grid-gap:8px;gap:8px;align-content:start;max-height:480px;overflow-y:auto}.version-preview-thumb{display:flex;flex-direction:column;min-height:320px;border-radius:12px;border:1px solid #334155;background:#0b1220;padding:16px}.version-preview-page{flex:1 1;background:#ffffff;color:#111827;border-radius:4px;box-shadow:0 16px 40px rgba(0,0,0,.35);padding:28px 32px;font-family:Georgia,Times New Roman,serif;font-size:13px;line-height:1.65;overflow-y:auto;max-height:480px}.version-preview-page h1,.version-preview-page h2,.version-preview-page h3{color:#111827;margin:16px 0 8px}.version-preview-empty{flex:1 1;display:flex;align-items:center;justify-content:center;text-align:center;min-height:280px;color:#64748b;font-size:14px;padding:24px}@media (max-width:1100px){.sidebar{display:none}.grid{grid-template-columns:1fr}.editor-premium-layout{flex-direction:column}.editor-premium-sidebar{flex:1 1 auto;width:100%;position:static;max-height:none}}@media (max-width:720px){.main{padding:16px}.editor-header,.header-row{align-items:flex-start;flex-direction:column}.paper-stage{padding:10px}.ProseMirror{padding:40px 24px}.version-history-list,.version-preview-thumb{max-height:none}}.editor-premium-layout{display:flex;gap:16px;align-items:flex-start}.editor-premium-main{flex:1 1 auto;min-width:0}.editor-premium-sidebar{flex:0 0 320px;display:flex;flex-direction:column;gap:14px;position:-webkit-sticky;position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto;padding:16px;border-radius:14px;border:1px solid #1e293b;background:#0f172a}.editor-tabs{display:flex;gap:6px}.editor-tab{flex:1 1;border:1px solid #334155;background:#1e293b;color:#cbd5e1;border-radius:8px;padding:8px 6px;font-size:12px;font-weight:700;text-align:center}.editor-tab:hover{background:#334155}.editor-tab.active{background:#2563eb;border-color:#3b82f6;color:white}.stat-row{display:flex;justify-content:space-between;font-size:13px;color:#cbd5e1}.progress-bar-track{width:100%;height:10px;border-radius:999px;background:#1e293b;overflow:hidden}.progress-bar-fill{height:100%;border-radius:999px;background:#3b82f6;transition:width .3s ease}.progress-bar-fill.complete{background:#22c55e}.outline-item{display:block;width:100%;text-align:left;border:none;background:transparent;color:#94a3b8;padding:6px 8px;border-radius:6px;font-size:13px;cursor:pointer}.outline-item:hover{background:#1e293b;color:#e2e8f0}.outline-item.active{background:rgba(37,99,235,.16);color:#93c5fd;font-weight:700}.ai-tool-btn{display:block;width:100%;text-align:left;border:1px solid #334155;background:#1e293b;color:#e2e8f0;border-radius:8px;padding:9px 11px;font-size:13px;font-weight:700}.ai-tool-btn:hover:not(:disabled){background:#334155}.ai-tool-btn:disabled{opacity:.5;cursor:not-allowed}@media (prefers-reduced-motion:reduce){.progress-bar-fill{transition:none}}.landing-shell{min-height:100vh;display:flex;flex-direction:column}.landing-header{position:-webkit-sticky;position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 32px;background:rgba(2,6,23,.85);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid #1e293b}.landing-header-actions{display:flex;align-items:center;gap:10px}.landing-header-menu-toggle{display:none;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--brand-border);border-radius:8px;background:transparent;color:var(--brand-text-primary);font-size:18px;cursor:pointer}.landing-container{width:100%;max-width:1160px;margin:0 auto;padding:0 32px}.landing-hero{position:relative;padding:96px 32px 88px;text-align:center;overflow:hidden}.landing-hero:before{content:"";position:absolute;top:-220px;left:50%;transform:translateX(-50%);width:900px;height:560px;background:radial-gradient(closest-side,rgba(37,99,235,.35),rgba(37,99,235,0));pointer-events:none}.landing-hero-inner{position:relative;max-width:780px;margin:0 auto}.landing-hero h1{margin:18px 0 20px;font-size:clamp(32px,5vw,56px);line-height:1.12;color:#f8fafc}.landing-hero p{margin:0 auto;max-width:620px;color:#94a3b8;font-size:clamp(16px,2vw,19px);line-height:1.6}.landing-hero-ctas{margin-top:34px;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.landing-btn-lg{padding:15px 28px;font-size:16px;border-radius:12px}.landing-hero-note{margin-top:16px;color:#64748b;font-size:13px}.landing-section{padding:76px 32px}.landing-section-alt{background:#0f172a;border-top:1px solid #1e293b;border-bottom:1px solid #1e293b}.landing-section-head{text-align:center;max-width:640px;margin:0 auto 48px}.landing-section-head h2{margin:12px 0 0;font-size:clamp(26px,3.4vw,36px);color:#f8fafc}.landing-section-head p{margin:12px 0 0;color:#94a3b8;font-size:16px;line-height:1.6}.landing-grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));grid-gap:20px;gap:20px}.landing-grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:20px;gap:20px}.landing-grid-4{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:18px;gap:18px}.landing-icon-badge{width:46px;height:46px;display:flex;align-items:center;justify-content:center;font-size:22px;border-radius:12px;background:rgba(37,99,235,.16);border:1px solid rgba(59,130,246,.35)}.landing-card h3{margin:16px 0 8px;font-size:18px;color:#f8fafc}.landing-card p{margin:0;color:#94a3b8;font-size:14px;line-height:1.6}.landing-step{position:relative;padding-top:8px}.landing-step-number{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:999px;background:#2563eb;color:white;font-weight:800;font-size:15px;margin-bottom:16px}.landing-step h3{margin:0 0 8px;font-size:17px;color:#f8fafc}.landing-step p{margin:0;color:#94a3b8;font-size:14px;line-height:1.6}.landing-feature-item{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #1e293b;border-radius:14px;background:#0f172a}.landing-feature-item span.landing-feature-dot{flex:0 0 auto;width:8px;height:8px;margin-top:7px;border-radius:999px;background:#3b82f6}.landing-feature-item strong{display:block;color:#f8fafc;font-size:14px;margin-bottom:4px}.landing-feature-item p{margin:0;color:#94a3b8;font-size:13px;line-height:1.55}.landing-demo-frame{border:1px solid var(--brand-border);border-radius:16px;background:var(--brand-bg-surface);overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.35)}.landing-demo-frame-bar{display:flex;align-items:center;gap:8px;padding:12px 16px;background:var(--brand-bg-elevated);border-bottom:1px solid var(--brand-border)}.landing-demo-frame-dot{width:10px;height:10px;border-radius:999px;background:var(--brand-border)}.landing-demo-frame-url{margin-left:12px;font-size:12px;color:var(--brand-text-muted);background:var(--brand-bg-base);border-radius:999px;padding:4px 12px}.landing-demo-body{display:grid;grid-template-columns:180px 1fr;min-height:420px}.landing-demo-sidebar{border-right:1px solid var(--brand-border);padding:20px 14px;display:flex;flex-direction:column;gap:4px}.landing-demo-sidebar-brand{font-weight:800;color:var(--brand-accent);letter-spacing:.06em;font-size:13px;margin-bottom:16px}.landing-demo-sidebar-item{font-size:13px;color:var(--brand-text-muted);padding:8px 10px;border-radius:8px}.landing-demo-sidebar-item.active{background:rgba(37,99,235,.16);color:var(--brand-text-primary);font-weight:700}.landing-demo-main{padding:20px;display:flex;flex-direction:column;gap:14px;background:var(--brand-bg-base)}.landing-demo-toolbar{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--brand-text-muted)}.landing-demo-toolbar-badge{color:var(--brand-success);font-weight:700}.landing-demo-page{max-height:none;min-height:280px}.landing-pricing-card{display:flex;flex-direction:column;position:relative}.landing-pricing-card.featured{border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6,0 18px 50px rgba(37,99,235,.25)}.landing-pricing-badge{position:absolute;top:-13px;right:20px;background:#2563eb;color:white;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:5px 12px;border-radius:999px}.landing-pricing-name{color:#93c5fd;font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.06em}.landing-pricing-price{margin:10px 0 4px;font-size:30px;font-weight:800;color:#f8fafc}.landing-pricing-desc{margin:0 0 20px;color:#94a3b8;font-size:14px}.landing-pricing-features{list-style:none;margin:0 0 24px;padding:0;display:grid;grid-gap:10px;gap:10px;flex:1 1}.landing-pricing-features li{display:flex;align-items:flex-start;gap:8px;color:#cbd5e1;font-size:14px;line-height:1.5}.landing-pricing-features li:before{content:"✓";color:#34d399;font-weight:800;flex:0 0 auto}.landing-pricing-trust-note{margin:28px 0 0;text-align:center;color:var(--brand-text-muted);font-size:13px}.landing-faq-item{border:1px solid #1e293b;border-radius:14px;background:#0f172a;overflow:hidden}.landing-faq-item+.landing-faq-item{margin-top:12px}.landing-faq-question{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;background:transparent;border:0;padding:18px 20px;text-align:left;color:#f8fafc;font-size:15px;font-weight:700}.landing-faq-icon{flex:0 0 auto;color:#60a5fa;font-size:18px;transition:transform .2s ease}.landing-faq-icon.open{transform:rotate(45deg)}.landing-faq-answer{padding:0 20px 18px;color:#94a3b8;font-size:14px;line-height:1.65}.landing-cta-final{text-align:center;padding:24px;border:1px solid #1e293b;border-radius:24px;background:linear-gradient(135deg,rgba(37,99,235,.16),rgba(15,23,42,.4))}.landing-cta-final h2{margin:0 0 12px;font-size:clamp(24px,3.2vw,34px);color:#f8fafc}.landing-cta-final p{margin:0 auto 28px;max-width:520px;color:#94a3b8;font-size:16px}.landing-footer{padding:40px 32px 32px;border-top:1px solid #1e293b;text-align:center}@media (max-width:720px){.landing-header{padding:14px 18px;position:relative}.landing-header-menu-toggle{display:inline-flex}.landing-header-actions{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:12px;padding:16px 18px 20px;background:var(--brand-bg-base);border-bottom:1px solid var(--brand-border)}.landing-header-actions.open{display:flex}.landing-hero{padding:64px 20px 56px}.landing-section{padding:52px 20px}.landing-container{padding:0 20px}.landing-cta-final{padding:40px 20px}.landing-demo-body{grid-template-columns:1fr}.landing-demo-sidebar{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--brand-border);padding:12px 14px;gap:8px}.landing-demo-sidebar-brand{display:none}.landing-demo-sidebar-item{flex:0 0 auto;white-space:nowrap}}.faq-toolbar{display:flex;flex-direction:column;gap:16px;max-width:720px;margin:0 auto 40px}.faq-search{width:100%}.faq-categories{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.faq-category-btn{border:1px solid #334155;background:#0f172a;color:#cbd5e1;border-radius:999px;padding:8px 16px;font-size:13px;font-weight:700}.faq-category-btn:hover{background:#1e293b}.faq-category-btn.active{background:#2563eb;border-color:#3b82f6;color:white}.faq-category-heading{margin:36px 0 14px;color:#60a5fa;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.1em}.faq-category-heading:first-of-type{margin-top:0}.faq-empty-state{text-align:center;padding:40px 20px;color:#94a3b8}.faq-result-count{text-align:center;color:#64748b;font-size:13px;margin:-20px 0 24px}