:root{--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--brand-500: #10b981;--brand-600: #059669;--brand-400: #34d399;color-scheme:light dark;font-family:var(--font-sans);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[data-theme=light]{--bg: #f6f8fb;--bg-grad-a: #eafaf3;--bg-grad-b: #f6f8fb;--surface: #ffffff;--surface-2: #f9fafb;--border: #e6e9ef;--text: #0f172a;--text-muted: #64748b;--text-faint: #94a3b8;--shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -12px rgba(15, 23, 42, .12);--shadow-hover: 0 2px 4px rgba(15, 23, 42, .05), 0 24px 48px -16px rgba(16, 185, 129, .28);--code-bg: #0f172a;--code-text: #e2e8f0}[data-theme=dark]{--bg: #0b1120;--bg-grad-a: #0d1b17;--bg-grad-b: #0b1120;--surface: #111a2e;--surface-2: #0d1526;--border: #1e293b;--text: #f1f5f9;--text-muted: #94a3b8;--text-faint: #64748b;--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);--shadow-hover: 0 2px 4px rgba(0, 0, 0, .35), 0 28px 56px -18px rgba(16, 185, 129, .35);--code-bg: #060b16;--code-text: #cbd5e1}*{box-sizing:border-box}html,body{margin:0;padding:0}body{min-height:100vh;color:var(--text);background:var(--bg);background-image:radial-gradient(1200px 600px at 50% -10%,var(--bg-grad-a),transparent 60%),linear-gradient(180deg,var(--bg-grad-b),var(--bg));background-attachment:fixed;transition:background-color .3s ease,color .3s ease}#root{width:100%}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}.demo{max-width:1160px;margin:0 auto;padding:48px 24px 80px}.demo__topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:56px}.demo__brand{display:flex;align-items:center;gap:12px;font-weight:700;font-size:15px;letter-spacing:-.01em}.demo__logo{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:linear-gradient(140deg,var(--brand-400),var(--brand-600));color:#fff;box-shadow:0 6px 16px -4px #10b98180}.demo__topbar-actions{display:flex;align-items:center;gap:10px}.demo__iconbtn{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:11px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);cursor:pointer;transition:transform .15s ease,color .15s ease,border-color .15s ease,background-color .15s ease}.demo__iconbtn:hover{color:var(--text);border-color:var(--brand-500);transform:translateY(-1px)}.demo__docs-link{display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 14px;border-radius:11px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);font-size:14px;font-weight:600;cursor:pointer;transition:transform .15s ease,color .15s ease,border-color .15s ease}.demo__docs-link:hover{color:var(--text);border-color:var(--brand-500);transform:translateY(-1px)}.demo__hero{text-align:center;margin-bottom:56px}.demo__badge{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);font-size:13px;font-weight:500;margin-bottom:24px}.demo__badge-dot{width:7px;height:7px;border-radius:50%;background:var(--brand-500);box-shadow:0 0 0 3px #10b98133}.demo__title{font-size:clamp(34px,5.5vw,56px);line-height:1.05;font-weight:800;letter-spacing:-.03em;margin-bottom:20px}.demo__title-grad{background:linear-gradient(120deg,var(--brand-400),var(--brand-600) 70%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.demo__subtitle{max-width:560px;margin:0 auto 32px;font-size:18px;line-height:1.6;color:var(--text-muted)}.demo__cta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px}.demo__install{display:inline-flex;align-items:center;gap:12px;padding:11px 16px;border-radius:12px;background:var(--code-bg);color:var(--code-text);font-family:SFMono-Regular,ui-monospace,Cascadia Code,Menlo,Consolas,monospace;font-size:14px;cursor:pointer;border:none;transition:transform .15s ease,box-shadow .15s ease}.demo__install:hover{transform:translateY(-1px);box-shadow:0 12px 28px -12px #00000080}.demo__install-prompt{color:var(--brand-400)}.demo__install-copy{color:#64748b;display:inline-grid;place-items:center}.demo__link-btn{display:inline-flex;align-items:center;gap:8px;padding:11px 18px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:14px;font-weight:600;transition:transform .15s ease,border-color .15s ease}.demo__link-btn:hover{transform:translateY(-1px);border-color:var(--brand-500)}.demo__stats{display:flex;flex-wrap:wrap;justify-content:center;gap:40px;margin-bottom:56px;padding:24px;border-radius:16px;border:1px solid var(--border);background:color-mix(in srgb,var(--surface) 60%,transparent)}.demo__stat-value{font-size:26px;font-weight:800;letter-spacing:-.02em;background:linear-gradient(120deg,var(--brand-400),var(--brand-600));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.demo__stat-label{font-size:13px;color:var(--text-muted);margin-top:2px}.demo__grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.demo__card{position:relative;display:flex;flex-direction:column;min-width:0;padding:24px;border-radius:18px;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;overflow:visible}.demo__card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);border-color:color-mix(in srgb,var(--brand-500) 40%,var(--border))}.demo__card:focus-within{z-index:30}.demo__card-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.demo__card-icon{flex-shrink:0;display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:color-mix(in srgb,var(--brand-500) 12%,transparent);color:var(--brand-600)}[data-theme=dark] .demo__card-icon{color:var(--brand-400)}.demo__card-title{font-size:15px;font-weight:700;letter-spacing:-.01em;line-height:1.3}.demo__card-desc{margin-top:3px;font-size:13px;line-height:1.5;color:var(--text-muted)}.demo__card-body{margin-top:auto}.demo__tabs{display:inline-flex;gap:4px;padding:4px;margin-bottom:16px;border-radius:10px;background:var(--surface-2);border:1px solid var(--border)}.demo__tab{border:none;background:transparent;color:var(--text-muted);font-size:12.5px;font-weight:600;padding:6px 16px;border-radius:7px;cursor:pointer;transition:color .15s ease,background-color .15s ease,box-shadow .15s ease}.demo__tab:hover{color:var(--text)}.demo__tab--active{background:var(--surface);color:var(--brand-600);box-shadow:0 1px 3px #0f172a24}[data-theme=dark] .demo__tab--active{color:var(--brand-400)}.demo__tab:focus-visible{outline:2px solid var(--brand-500);outline-offset:2px}.demo__code{position:relative}.demo__code pre{margin:0;padding:44px 16px 16px;border-radius:12px;background:var(--code-bg);color:var(--code-text);font-family:SFMono-Regular,ui-monospace,Cascadia Code,Menlo,Consolas,monospace;font-size:12.5px;line-height:1.65;overflow-x:auto;-webkit-overflow-scrolling:touch}.demo__code code{font-family:inherit;white-space:pre}.demo__code-copy{position:absolute;top:8px;right:8px;z-index:1;display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(148,163,184,.25);background:#94a3b81f;color:var(--code-text);font-size:11.5px;font-weight:600;padding:5px 11px;border-radius:8px;cursor:pointer;transition:background-color .15s ease,color .15s ease,border-color .15s ease}.demo__code-copy:hover{background:#94a3b838;color:#fff}.demo__code-copy--done{color:var(--brand-400);border-color:#34d39966;background:#34d3991f}.demo__code-copy:focus-visible{outline:2px solid var(--brand-500);outline-offset:2px}.demo__result{display:flex;align-items:center;gap:8px;margin-top:14px;padding-top:14px;border-top:1px dashed var(--border);font-size:13px;color:var(--text-muted)}.demo__result-value{font-family:SFMono-Regular,ui-monospace,Menlo,Consolas,monospace;font-weight:600;color:var(--brand-600)}[data-theme=dark] .demo__result-value{color:var(--brand-400)}.demo__result-value--empty{color:var(--text-faint);font-style:italic;font-weight:400}.demo__footer{margin-top:72px;padding-top:28px;border-top:1px solid var(--border);text-align:center;font-size:14px;color:var(--text-muted)}.demo__footer a{color:var(--brand-600);font-weight:600}[data-theme=dark] .demo__footer a{color:var(--brand-400)}.demo__toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%) translateY(8px);padding:10px 18px;border-radius:12px;background:var(--text);color:var(--surface);font-size:13px;font-weight:600;box-shadow:0 12px 32px -8px #0006;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;z-index:50}.demo__toast--show{opacity:1;transform:translate(-50%) translateY(0)}.demo__section{margin-top:60px}.demo__section-head{margin-bottom:22px}.demo__section-eyebrow{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--brand-600);margin-bottom:6px}[data-theme=dark] .demo__section-eyebrow{color:var(--brand-400)}.demo__section-title{font-size:24px;font-weight:800;letter-spacing:-.02em}.demo__section-sub{margin-top:5px;font-size:14px;line-height:1.5;color:var(--text-muted);max-width:620px}.demo__card--wide{grid-column:1 / -1}.demo__seg{display:inline-flex;padding:4px;gap:4px;border-radius:12px;background:var(--surface-2);border:1px solid var(--border);margin-bottom:16px}.demo__seg-btn{border:none;background:transparent;color:var(--text-muted);font-size:13px;font-weight:600;padding:7px 14px;border-radius:9px;cursor:pointer;transition:color .15s ease,background-color .15s ease,box-shadow .15s ease}.demo__seg-btn--active{background:var(--surface);color:var(--brand-600);box-shadow:0 1px 3px #0f172a24}[data-theme=dark] .demo__seg-btn--active{color:var(--brand-400)}.demo__compare{margin-top:14px;display:grid;gap:8px}.demo__compare-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;padding:9px 12px;border-radius:10px;background:var(--surface-2);border:1px solid var(--border)}.demo__compare-key{color:var(--text-muted);text-transform:capitalize}.demo__compare-val{font-family:SFMono-Regular,ui-monospace,Menlo,Consolas,monospace;font-weight:600;color:var(--text)}.demo__slider{width:100%;margin:8px 0 2px;accent-color:var(--brand-500)}.demo__slider-labels{display:flex;justify-content:space-between;font-size:11px;color:var(--text-faint)}.demo__adj-badge{font-weight:700;color:var(--brand-600)}[data-theme=dark] .demo__adj-badge{color:var(--brand-400)}.demo__stack{display:grid;gap:16px}.demo__mini-label{font-size:12px;font-weight:600;color:var(--text-muted);margin-bottom:6px}.demo__clip{border:1px dashed var(--border);border-radius:12px;padding:14px;overflow:hidden;max-height:86px;background:var(--surface-2)}.demo__clip-note{font-size:12px;color:var(--text-faint);margin-top:12px}.hijri-theme-violet{--hijri-dp-primary: #7c3aed;--hijri-dp-selected: #6d28d9;--hijri-dp-selected-text: #ffffff;--hijri-dp-hover: rgba(124, 58, 237, .14);--hijri-dp-range: rgb(124 58 237 / .18);--hijri-dp-focus-ring: rgb(124 58 237 / .35)}.demo__code-hint{margin-top:14px;padding:10px 12px;border-radius:10px;background:var(--code-bg);color:var(--code-text);font-family:SFMono-Regular,ui-monospace,Menlo,Consolas,monospace;font-size:12px;line-height:1.7;overflow-x:auto}.demo__code-hint .tok{color:#a78bfa}.demo__keys{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px 20px}.demo__key-row{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--text-muted)}kbd.demo__kbd{font-family:SFMono-Regular,ui-monospace,Menlo,Consolas,monospace;font-size:12px;font-weight:600;padding:3px 8px;border-radius:7px;color:var(--text);background:var(--surface-2);border:1px solid var(--border);border-bottom-width:2px;white-space:nowrap}.demo__btnrow{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.demo__btn{border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:13px;font-weight:600;padding:8px 14px;border-radius:10px;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background-color .15s ease}.demo__btn:hover{border-color:var(--brand-500);transform:translateY(-1px)}.demo__btn--primary{background:var(--brand-600);color:#fff;border-color:transparent}.demo__btn--primary:hover{background:var(--brand-500)}.demo__form{display:flex;flex-direction:column;gap:12px}.demo__form-msg{font-size:13px;font-weight:600;margin-top:2px}.demo__form-msg--ok{color:var(--brand-600)}.demo__form-msg--err{color:#ef4444}[data-theme=dark] .demo__form-msg--ok{color:var(--brand-400)}@media(max-width:560px){.demo{padding:32px 16px 64px}.demo__stats{gap:28px}}.demo__inline-pair{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:28px}.demo__inline-pair figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:10px}.demo__inline-pair figcaption{font-size:13px;font-weight:600;color:var(--text-muted)}
