:root{color-scheme:dark;--bg:#1b1128;--panel:#33203f;--ink:#fff0fa;--muted:#dfc6e2;--pink:#f5b8df}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 80% 5%,#76497866,transparent 48%),var(--bg);color:var(--ink);font:16px/1.7 'DM Sans',sans-serif}a{color:inherit}button{font:inherit;cursor:pointer}header{padding:18px clamp(20px,6vw,80px);display:flex;justify-content:space-between;gap:16px;align-items:center;border-bottom:1px solid #ffffff2c}header a{text-decoration:none}.brand{font-size:25px;font-weight:700}main{max-width:1100px;margin:auto;padding:clamp(30px,6vw,75px) 22px 100px}.eyebrow{color:var(--pink);font-size:11px;letter-spacing:.2em;text-transform:uppercase;font-weight:700}h1,h2{font-family:'Playfair Display',serif;line-height:1.16}h1{font-size:clamp(48px,8vw,92px);margin:14px 0}h2{font-size:clamp(26px,4vw,40px)}.lead{max-width:760px;color:var(--muted);font-size:19px}.lab{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:55px}.component{background:linear-gradient(145deg,#4b2e59,#281c36);border:1px solid #f5b8df66;border-radius:22px;padding:25px;min-width:0}.component p{color:var(--muted)}.demo{min-height:160px;display:grid;align-content:center;justify-items:center;padding:16px;border:1px solid #ffffff2b;border-radius:15px;background:#160f2355;overflow:hidden}.pill,.action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;border:1px solid #f5b8df9c;border-radius:999px;background:#f5b8df1b;color:var(--ink);text-decoration:none}.pill:hover,.action:hover{background:#f5b8df42}.chips{display:flex;flex-wrap:wrap;gap:9px;justify-content:center}.slider{width:100%;display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 4px 20px}.slide{flex:0 0 75%;scroll-snap-align:center;min-height:130px;display:grid;place-items:center;background:radial-gradient(circle at 80% 20%,#b97aa977,transparent 60%),#392548;border:1px solid #e7b5df66;border-radius:16px;text-align:center}.stars{position:relative;width:100%;height:150px}.stars svg{width:100%;height:100%;overflow:visible}.stars path{stroke:#f3c5ec;stroke-width:2;fill:none;stroke-dasharray:340;stroke-dashoffset:0;animation:trace 4s ease-in-out infinite alternate}.stars circle{fill:white;filter:drop-shadow(0 0 7px #f4b8eb)}@keyframes trace{from{stroke-dashoffset:340}to{stroke-dashoffset:0}}.crumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:13px}.crumb a{color:#f5c7e5}.crumb span[aria-current]{font-weight:700}.demo details{width:100%;border-bottom:1px solid #ffffff55;padding:10px}.demo summary{cursor:pointer;font-weight:700}.code details{margin-top:15px;border-top:1px solid #ffffff3b;padding-top:10px}.code summary{cursor:pointer;color:#ffd2ed}.code pre{overflow:auto;white-space:pre;font-size:12px;line-height:1.5;background:#100b1b;padding:14px;border-radius:12px;color:#ffe0f2}.hero-demo{width:100%;padding:25px 12px;text-align:center;background:radial-gradient(circle at 60% 20%,#a967a488,transparent 70%),#2b1a3a;border-radius:16px}.hero-demo strong{font:36px/1.1 'Playfair Display',serif;display:block;margin-bottom:12px}.foot{margin-top:60px;color:var(--muted)}:focus-visible{outline:3px solid #ffe1f5;outline-offset:4px}@media(max-width:740px){.lab{grid-template-columns:1fr}.component{padding:19px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}
/* Keep the open sketchbook note visible without interrupting the demos. */
.lab-note{max-width:830px;margin:30px 0 0;border:1px solid #f5b8df78;border-radius:17px;background:linear-gradient(125deg,#7a487449,#291c39cc);padding:22px 25px;color:var(--ink)}
.lab-note strong{font-size:17px;color:#ffe0f3}
.lab-note p{margin:9px 0 0;font-size:15px;color:var(--muted)}
.lab-note a{display:inline-flex;align-items:center;gap:6px;text-underline-offset:4px;color:#ffe0f3}
.lab-note svg{height:15px;width:15px}
.lab{margin-top:32px}
@media(max-width:740px){.lab-note{padding:17px 18px}}
/* One consistent icon treatment for outward navigation. */
.action svg{width:16px;height:16px;vertical-align:middle;margin-left:5px}
