/* Shared by the three examples: reset, layout primitives, reveal, the example switcher. */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button,select{font:inherit;color:inherit}
h1,h2,h3,p,ol,ul,figure,blockquote,dl,dd{margin:0}
ol,ul{list-style:none;padding:0}
[hidden]{display:none!important}
.wrap{width:min(1240px,100% - 48px);margin-inline:auto}
.center{text-align:center}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.reveal.in{opacity:1;transform:none}
.live{display:inline-block;width:7px;height:7px;border-radius:50%;background:#3ddc84;margin-right:8px;box-shadow:0 0 0 0 rgba(61,220,132,.6);animation:live 2s infinite}
@keyframes live{70%{box-shadow:0 0 0 8px rgba(61,220,132,0)}100%{box-shadow:0 0 0 0 rgba(61,220,132,0)}}
details summary{cursor:pointer;list-style:none}
details summary::-webkit-details-marker{display:none}
.fx-switch{position:fixed;z-index:100;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:4px;padding:5px;border-radius:40px;background:rgba(15,15,15,.88);backdrop-filter:blur(10px);box-shadow:0 8px 30px rgba(0,0,0,.35);font:500 12px/1 system-ui,sans-serif;letter-spacing:.04em}
.fx-switch a{padding:9px 14px;border-radius:30px;color:#bbb;white-space:nowrap}
.fx-switch a[aria-current]{background:#fff;color:#111}
@media (max-width:700px){.fx-switch{bottom:auto;top:8px;font-size:11px}.fx-switch a{padding:7px 9px}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reveal{opacity:1;transform:none}}
