@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap";:root{--bg:#000;--surface:#111;--surface-hover:#181818;--border:#222;--border-subtle:#1a1a1a;--text:#fff;--text-secondary:#999;--text-muted:#666;--accent:#f6821f;--accent-dim:#f6821f1a;--accent-border:#f6821f40;--mono:"JetBrains Mono", monospace;--sans:"Inter", -apple-system, BlinkMacSystemFont, sans-serif;--radius:12px;--radius-lg:16px}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth;scroll-padding-top:80px}@media (width<=860px){html{scroll-padding-top:124px}}body{font-family:var(--sans);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;min-height:100vh}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}code,pre{font-family:var(--mono)}.nav{z-index:100;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(20px)saturate(1.8);background:#000000d9;justify-content:space-between;align-items:center;height:56px;padding:0 2rem;display:flex;position:sticky;top:0}.nav__brand{color:var(--text);letter-spacing:-.02em;align-items:center;gap:.6rem;font-size:.95rem;font-weight:700;text-decoration:none;display:flex}.nav__icon{filter:invert();width:auto;height:20px}.nav__github{color:var(--text-secondary);align-items:center;gap:.6rem;font-size:.85rem;transition:color .15s;display:flex}.nav__github:hover{color:var(--text);text-decoration:none}.gh-star{align-items:center;gap:.3rem;font-size:.8rem;font-weight:600;display:inline-flex}.gh-star svg{color:#e3b341}.btn--stars{gap:.5rem}.btn--stars svg{color:#e3b341;flex-shrink:0}.btn__count{color:var(--text-muted);font-size:.82rem;font-weight:500}.shell{width:min(1100px,100vw - 3rem);margin:0 auto}.hero{text-align:center;padding:5rem 0 4rem}.hero__banner{filter:invert();opacity:.9;width:min(560px,85vw);margin:0 auto 2.5rem;transform:translate(-14%)}.hero__badge{border:1px solid var(--border);background:var(--surface);color:var(--text-secondary);letter-spacing:.02em;border-radius:999px;align-items:center;gap:.5rem;margin-bottom:1.5rem;padding:.4rem 1rem;font-size:.8rem;font-weight:500;display:inline-flex}.hero__badge-dot{background:var(--accent);border-radius:50%;width:6px;height:6px;animation:2s ease-in-out infinite pulse}@keyframes pulse{0%,to{opacity:1}50%{opacity:.3}}.hero__title{letter-spacing:-.055em;margin-bottom:1.25rem;font-size:clamp(3rem,8vw,5.5rem);font-weight:900;line-height:.95}.hero__title-line,.hero__title-accent{display:block}.hero__title-accent{color:var(--accent)}.hero__sub{color:var(--text-secondary);max-width:640px;margin:0 auto 2rem;font-size:clamp(1.05rem,2.5vw,1.25rem);line-height:1.6}.hero__actions{flex-wrap:wrap;justify-content:center;gap:.75rem;display:flex}.hero__pipeline{justify-content:center;align-items:center;margin-top:3.5rem;display:flex}.hero__pipeline-step{border:1px solid var(--border);background:var(--surface);font-family:var(--mono);color:var(--text-muted);white-space:nowrap;padding:.5rem 1rem;font-size:.85rem}.hero__pipeline-step:first-child{border-radius:var(--radius) 0 0 var(--radius)}.hero__pipeline-step:last-child{border-radius:0 var(--radius) 0 var(--radius)}.hero__pipeline-step:not(:first-child){border-left:none}.hero__pipeline-step--active{color:var(--accent);border-color:var(--accent-border);background:var(--accent-dim)}.btn{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;font-size:.9rem;font-weight:600;font-family:var(--sans);align-items:center;gap:.45rem;padding:.7rem 1.35rem;text-decoration:none;transition:all .15s;display:inline-flex}.btn:hover{background:var(--surface-hover);border-color:#333;text-decoration:none}.btn--primary{background:var(--text);color:var(--bg);border-color:var(--text)}.btn--primary:hover{background:#ddd;border-color:#ddd}.stats{border:1px solid var(--border);border-radius:var(--radius-lg);grid-template-columns:repeat(3,1fr);margin-bottom:3rem;display:grid;overflow:hidden}.stat{border-right:1px solid var(--border);padding:1.5rem 1.75rem}.stat:last-child{border-right:none}.stat__value{letter-spacing:-.03em;margin-bottom:.3rem;font-size:1.5rem;font-weight:800;display:block}.stat__label{color:var(--text-muted);font-size:.85rem;line-height:1.5}.docs{grid-template-columns:200px minmax(0,1fr);gap:3rem;padding-bottom:4rem;display:grid}.toc{position:relative}.toc__inner{flex-direction:column;gap:0;display:flex;position:sticky;top:72px}.toc__heading{letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);margin-bottom:.75rem;font-size:.72rem;font-weight:600}.toc__link{color:var(--text-muted);border-left:1px solid var(--border);padding:.3rem 0 .3rem .85rem;font-size:.85rem;text-decoration:none;transition:color .12s;display:block}.toc__link:hover{color:var(--text);text-decoration:none}.toc__link--indent{padding-left:1.5rem;font-size:.82rem}.toc__link--active{color:var(--accent);border-left-color:var(--accent)}.toc__link--active:hover{color:var(--accent)}.mobile-toc{z-index:90;-webkit-backdrop-filter:blur(20px)saturate(1.8);border-bottom:1px solid var(--border);background:#000000d9;display:none;position:sticky;top:56px}.mobile-toc__inner{scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;gap:.35rem;padding:.55rem 1rem;display:flex;overflow-x:auto}.mobile-toc__inner::-webkit-scrollbar{display:none}.mobile-toc__link{color:var(--text-muted);white-space:nowrap;border:1px solid var(--border);background:var(--surface);border-radius:999px;flex-shrink:0;padding:.4rem .9rem;font-size:.8rem;font-weight:500;text-decoration:none;transition:color .15s,background .15s,border-color .15s}.mobile-toc__link:hover{color:var(--text-secondary);text-decoration:none}.mobile-toc__link--active{color:var(--accent);background:var(--accent-dim);border-color:var(--accent-border)}.mobile-toc__link--active:hover{color:var(--accent)}.content{border-left:1px solid var(--border);min-width:0;padding-left:3rem}.content section{border-bottom:1px solid var(--border-subtle);margin-bottom:3rem;padding-bottom:3rem}.content section:last-child{border-bottom:none;margin-bottom:0}.content h2{letter-spacing:-.03em;margin-bottom:1rem;font-size:1.75rem;font-weight:800}.content h3{letter-spacing:-.01em;margin-top:2rem;margin-bottom:.75rem;font-size:1.15rem;font-weight:700}.content h4{color:var(--text-secondary);margin-top:1.5rem;margin-bottom:.5rem;font-size:.95rem;font-weight:600}.content p{color:var(--text-secondary);margin-bottom:1rem;font-size:.95rem;line-height:1.7}.content ul{margin-bottom:1rem;padding-left:1.25rem}.content li{color:var(--text-secondary);margin-bottom:.35rem;font-size:.95rem;line-height:1.7}.content strong{color:var(--text);font-weight:600}.content code{color:var(--accent);background:var(--accent-dim);border-radius:4px;padding:.15em .4em;font-size:.84rem}.content pre code{color:inherit;background:0 0;border-radius:0;padding:0}.shiki-block{border-radius:var(--radius);border:1px solid var(--border);margin:0 0 1rem;overflow:hidden}.shiki-block pre.shiki{font-family:var(--mono);tab-size:2;margin:0;padding:1rem 1.25rem;font-size:.8rem;line-height:1.65;overflow-x:auto;background:var(--surface)!important}.shiki-block code{font-family:var(--mono);color:inherit!important;background:0 0!important;border-radius:0!important;padding:0!important}.code-block{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);color:#e4e4e7;font-family:var(--mono);white-space:pre;tab-size:2;margin:0 0 1rem;padding:1.25rem 1.5rem;font-size:.84rem;line-height:1.7;overflow-x:auto}.example__actions{flex-wrap:wrap;align-items:center;gap:.85rem;margin-bottom:1rem;display:flex}.deploy-button{align-items:center;margin-bottom:1rem;display:inline-flex}.deploy-button img{width:auto;height:40px;display:block}.example__note{color:var(--text-muted);font-size:.85rem}.install-bar{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);align-items:center;height:44px;margin-bottom:1rem;display:flex;overflow:hidden}.install-tabs{flex-shrink:0;align-items:center;gap:2px;height:100%;padding:0 .25rem;display:flex}.install-tab{appearance:none;cursor:pointer;opacity:.35;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:30px;height:30px;padding:0;transition:all .12s;display:flex}.install-tab:hover{opacity:.7;background:var(--surface-hover)}.install-tab--active{opacity:1;background:var(--accent-dim)}.install-tab img{width:16px;height:16px;display:block}.install-cmd{font-family:var(--mono);color:var(--text-secondary);cursor:pointer;flex:1;align-items:center;min-width:0;height:100%;padding:0 .85rem;font-size:.85rem;display:flex;overflow:hidden}.install-cmd code{white-space:nowrap;color:var(--text-secondary);background:0 0;padding:0}.install-copy{appearance:none;cursor:pointer;width:40px;height:100%;color:var(--text-muted);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;transition:color .12s;display:flex}.install-copy:hover{color:var(--text)}.install-copy svg{width:15px;height:15px}.api-entry{margin-bottom:2rem}.api-entry h3{font-family:var(--mono);color:var(--accent);font-size:1rem}.option-list{margin-bottom:1rem}.option{border-bottom:1px solid var(--border-subtle);align-items:baseline;gap:1rem;padding:.55rem 0;font-size:.9rem;display:flex}.option:last-child{border-bottom:none}.option code{flex-shrink:0;font-size:.84rem}.option span{color:var(--text-secondary);line-height:1.5}.format-grid{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:1rem;overflow:hidden}.format-grid__header,.format-row{grid-template-columns:80px 140px 1fr 1fr;display:grid}.format-grid__header{background:var(--surface);border-bottom:1px solid var(--border)}.format-grid__header span{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);padding:.7rem 1rem;font-size:.75rem;font-weight:600}.format-row{border-bottom:1px solid var(--border)}.format-row:last-child{border-bottom:none}.format-row span{color:var(--text-secondary);padding:.6rem 1rem;font-size:.85rem}.format-row__format{color:var(--text);font-weight:600}.format-row__decoder{font-family:var(--mono);color:var(--accent);font-size:.8rem}.demo{border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}.demo__input-area{cursor:pointer;border-bottom:1px solid var(--border);background:repeating-conic-gradient(#1a1a1a 0% 25%,#111 0% 50%) 0 0/16px 16px;min-height:160px;max-height:300px;display:block;position:relative;overflow:hidden}.demo__input-area input[type=file]{display:none}.demo__input-preview{justify-content:center;align-items:center;min-height:160px;max-height:300px;padding:1rem;display:flex}.demo__input-preview img{border-radius:4px;max-width:100%;max-height:280px;display:block}.demo__input-overlay{opacity:0;background:#000000b3;justify-content:center;align-items:center;transition:opacity .2s;display:flex;position:absolute;inset:0}.demo__input-area:hover .demo__input-overlay{opacity:1}.demo__input-overlay span{color:var(--text);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:.6rem 1.2rem;font-size:.9rem;font-weight:600}.demo__controls{border-bottom:1px solid var(--border);background:var(--surface);gap:0;display:flex}.demo__field{border-right:1px solid var(--border);flex-direction:column;flex:1;gap:.3rem;padding:.85rem 1rem;display:flex}.demo__field:last-child{border-right:none}.demo__field--action{flex:none;justify-content:flex-end;padding-top:0}.demo__run-btn{white-space:nowrap;padding:.45rem 1.1rem;font-size:.85rem}.demo__run-btn svg{flex-shrink:0;width:14px;height:14px}.demo__field label{letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);font-size:.72rem;font-weight:600}.demo__field input[type=number]{appearance:none;border:1px solid var(--border);background:var(--bg);font-family:var(--mono);color:var(--text);border-radius:6px;outline:none;width:100%;padding:.45rem .6rem;font-size:.88rem;transition:border-color .15s}.demo__field input[type=number]:focus{border-color:var(--accent-border)}.demo__error{color:#ef4444;padding:.75rem 1rem;font-size:.88rem}.demo__error:empty{display:none}.demo__statusbar{font-family:var(--mono);color:var(--text-muted);background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border);min-height:1.75rem;padding:.4rem .85rem;font-size:.75rem}.demo__statusbar:empty{color:#0000}.demo__output-preview{background:repeating-conic-gradient(#1a1a1a 0% 25%,#111 0% 50%) 0 0/16px 16px;justify-content:center;align-items:center;min-height:140px;max-height:400px;padding:1rem;display:flex;overflow:hidden}.demo__output-preview img{border-radius:4px;max-width:100%;max-height:380px;display:block}.demo__run-prompt{justify-content:center;align-items:center;display:flex}.demo__spinner{flex-direction:column;align-items:center;gap:.75rem;padding:2rem;display:flex}.demo__spinner span{color:var(--text-muted);font-size:.85rem}.spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:28px;height:28px;animation:.7s linear infinite spin}.spinner--sm{border-width:2px;border-color:#0003;border-top-color:var(--bg);flex-shrink:0;width:14px;height:14px}@keyframes spin{to{transform:rotate(360deg)}}.footer{border-top:1px solid var(--border-subtle);padding:3rem 0}.footer__inner{color:var(--text-muted);justify-content:space-between;align-items:center;font-size:.82rem;display:flex}.footer a{color:var(--text-secondary)}.footer a:hover{color:var(--text)}@media (width<=860px){.shell{width:calc(100vw - 2rem)}.nav{padding:0 1rem}.mobile-toc__inner{padding:.55rem 1rem}.hero{padding:3rem 0 2.5rem}.hero__title{font-size:2.5rem}.stats{grid-template-columns:1fr}.stat{border-right:none;border-bottom:1px solid var(--border)}.stat:last-child{border-bottom:none}.docs{grid-template-columns:1fr;gap:0}.toc{display:none}.mobile-toc{display:block}.content{border-left:none;padding-left:0}.install-bar{flex-wrap:wrap;height:auto}.install-tabs{border-bottom:1px solid var(--border)}.install-cmd{flex:1;padding:.75rem .85rem}.format-grid__header,.format-row{grid-template-columns:1fr 1fr}.format-grid__header span:nth-child(3),.format-grid__header span:nth-child(4),.format-row span:nth-child(3),.format-row span:nth-child(4){display:none}.hero__pipeline{flex-wrap:wrap}.hero__pipeline-step{padding:.4rem .75rem;font-size:.75rem}.demo__controls{flex-wrap:wrap}.demo__field{border-right:none;border-bottom:1px solid var(--border);flex:100%}.demo__field:last-child{border-bottom:none}.footer__inner{flex-direction:column;gap:.5rem}}
