*{box-sizing:border-box;margin:0;padding:0}:root{--font:"Inter", system-ui, -apple-system, sans-serif;--mono:"JetBrains Mono", ui-monospace, monospace;--bg:#fafafa;--fg:#111;--muted:#666;--border:#e5e5e5;--surface:#fff;--accent:#111;--sh-class:#2d5e9d;--sh-identifier:#354150;--sh-sign:#8996a3;--sh-property:#0550ae;--sh-entity:#249a97;--sh-jsxliterals:#6266d1;--sh-string:#00a99a;--sh-keyword:#f47067;--sh-comment:#a19595}@media (prefers-color-scheme:dark){:root{--bg:#0c0c0e;--fg:#e5e5e5;--muted:#888;--border:#1e1e22;--surface:#0c0c0e;--accent:#fff;--sh-class:#8d85ff;--sh-identifier:#c8d3de;--sh-sign:#8996a3;--sh-property:#79c0ff;--sh-entity:#56d4dd;--sh-jsxliterals:#d2a8ff;--sh-string:#00a99a;--sh-keyword:#f47067;--sh-comment:#8b8b8b}}body{font-family:var(--font);background:var(--bg);color:var(--fg);-webkit-font-smoothing:antialiased;overflow-x:hidden}.page{max-width:1000px;margin:0 auto;padding:0 24px 120px;overflow-x:hidden}.hero{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:32px;min-height:100svh;display:flex}.hero-canvas{aspect-ratio:1;width:min(420px,80vw)}.hero h1{letter-spacing:-.03em;font-size:clamp(32px,5vw,56px);font-weight:600;line-height:1.1}.hero p{color:var(--muted);max-width:520px;font-size:18px;line-height:1.6}.hero-badges{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.hero-links{gap:12px;display:flex}.hero-link{font-family:var(--mono);border:1px solid var(--border);color:var(--fg);border-radius:8px;align-items:center;gap:6px;padding:8px 18px;font-size:14px;text-decoration:none;transition:background .15s,border-color .15s;display:inline-flex}.hero-link:hover{background:var(--surface);border-color:var(--muted)}.badge{font-family:var(--mono);border:1px solid var(--border);background:var(--surface);color:var(--muted);border-radius:100px;padding:6px 14px;font-size:13px}.section{padding:80px 0}.section+.section{border-top:1px solid var(--border)}.section-header{margin-bottom:48px}.section-header h2{letter-spacing:-.02em;margin-bottom:8px;font-size:28px;font-weight:600}.section-header p{color:var(--muted);font-size:16px;line-height:1.5}.section-header h2 code{font-family:var(--mono);font-size:24px;font-weight:600}.subsection-title{letter-spacing:-.01em;margin-bottom:6px;font-size:20px;font-weight:600}.subsection-desc{color:var(--muted);margin-bottom:24px;font-size:15px;line-height:1.5}.logo-tab{align-items:center;gap:6px;display:flex}.logo-tab-icon{object-fit:contain;width:16px;height:16px}.demo-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;display:grid}.demo-card{border:1px solid var(--border);background:var(--surface);border-radius:16px;overflow:hidden}.demo-preview-wrap{position:relative}.demo-code-toggle{z-index:2;border:1px solid var(--border);background:var(--surface);width:32px;height:32px;color:var(--muted);cursor:pointer;opacity:0;border-radius:8px;justify-content:center;align-items:center;transition:color .15s,border-color .15s,background .15s;display:flex;position:absolute;top:10px;right:10px}.demo-card:hover .demo-code-toggle{opacity:1}.demo-code-toggle:hover{color:var(--fg);border-color:var(--muted);background:var(--bg)}.demo-canvas-wrap{aspect-ratio:1;background:var(--bg)}.demo-code-view{aspect-ratio:1;background:var(--bg);justify-content:center;align-items:center;padding:16px;display:flex;overflow:auto}.demo-code-view .code-block{width:100%;margin:0}.demo-info{border-top:1px solid var(--border);padding:16px 20px}.demo-info h3{margin-bottom:4px;font-size:15px;font-weight:600}.demo-info p{color:var(--muted);font-size:13px;line-height:1.4}.tabs{max-width:640px}.tabs-list-scroll{-webkit-overflow-scrolling:touch;scrollbar-width:none;max-width:100%;overflow-x:auto}.tabs-list-scroll::-webkit-scrollbar{display:none}.tabs-list{background:var(--surface);border:1px solid var(--border);border-radius:10px;gap:2px;width:fit-content;padding:3px;display:flex;position:relative}.tabs-tab{font-family:var(--mono);color:var(--muted);cursor:pointer;z-index:1;white-space:nowrap;background:0 0;border:none;border-radius:7px;flex-shrink:0;padding:6px 16px;font-size:13px;transition:color .15s;position:relative}.tabs-tab[data-selected]{color:var(--fg)}.tabs-indicator{z-index:0;height:calc(100% - 6px);width:var(--active-tab-width);translate:var(--active-tab-left) -50%;background:var(--fg);opacity:.1;border-radius:7px;transition:translate .2s,width .2s;position:absolute;top:50%;left:0}.tabs-panel{margin-top:12px}.install-code{font-family:var(--mono);border:1px solid var(--border);background:var(--surface);color:var(--fg);border-radius:10px;padding:14px 20px;font-size:14px;display:block}.code-block{font-family:var(--mono);border:1px solid var(--border);background:var(--surface);color:var(--muted);border-radius:10px;padding:16px 20px;font-size:13px;line-height:1.65;overflow-x:auto}.dither-demo-content{background:var(--bg);aspect-ratio:1;box-sizing:border-box;align-items:center;gap:16px;width:100%;padding:32px;display:flex}.dither-demo-icon{background:var(--fg);width:56px;height:56px;color:var(--bg);font-size:28px;font-weight:700;font-family:var(--mono);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.dither-demo-text{flex-direction:column;gap:4px;display:flex}.dither-demo-text strong{font-size:16px;font-weight:600}.dither-demo-text span{color:var(--muted);font-size:13px}.dither-demo-colorful{flex-direction:column;align-items:flex-start;gap:12px}.dither-demo-gradient{background:linear-gradient(135deg,#f47067,#6266d1,#00a99a);border-radius:10px;width:100%;height:80px}.footer{border-top:1px solid var(--border);text-align:center;padding:48px 0}.footer p{color:var(--muted);font-size:13px;line-height:1.5}.footer a{color:var(--muted);text-underline-offset:2px;text-decoration:underline}.api-table{border-collapse:collapse;width:100%;font-size:14px}.api-table th,.api-table td{text-align:left;border-bottom:1px solid var(--border);padding:10px 16px}.api-table th{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-size:12px;font-weight:600}.api-table code{font-family:var(--mono);font-size:13px}@media (width<=640px){.page{padding:0 16px 80px}.hero{gap:24px;min-height:auto;padding:64px 0 48px}.hero p{font-size:16px}.hero-badges{gap:6px}.badge{padding:5px 10px;font-size:12px}.section{padding:48px 0}.section-header{margin-bottom:32px}.section-header h2{font-size:22px}.section-header p{font-size:14px}.section-badges{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.badge-link{color:var(--fg);align-items:center;gap:5px;text-decoration:none;transition:background .15s,border-color .15s;display:inline-flex}.badge-link:hover{background:var(--surface);border-color:var(--muted)}.section-header h2 code,.subsection-title{font-size:18px}.subsection-desc{font-size:13px}.tabs{max-width:100%}.tabs-tab{padding:6px 12px;font-size:12px}.install-code{white-space:nowrap;padding:12px 14px;font-size:12px;overflow-x:auto}.code-block{padding:14px;font-size:12px}.demo-grid{grid-template-columns:1fr;gap:16px}.demo-code-toggle{opacity:1}.api-table{font-size:13px}.api-table th,.api-table td{padding:8px 10px}.api-table code{font-size:12px}.footer{padding:32px 0}}
