/* Back to top (assets/totop.js): a translucent circle at the bottom-right of index, contact and features, shown once the
   visitor has scrolled past the first screen. The page's own tokens colour it; the safe-area insets keep it off a phone's
   home bar; the footer's theme toggle (index.html) is given room so the two never overlap. */
.totop{position:fixed;right:calc(16px + env(safe-area-inset-right, 0px));bottom:calc(16px + env(safe-area-inset-bottom, 0px));z-index:60;width:44px;height:44px;margin:0;padding:0;border-radius:50%;border:1px solid var(--border);background:color-mix(in srgb, var(--surface) 70%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 2px 10px rgba(0,0,0,.14);color:var(--fg);display:grid;place-items:center;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .2s ease, visibility .2s ease, transform .2s ease, background .14s ease}
.totop.on{opacity:1;visibility:visible;transform:none}
.totop:hover{background:color-mix(in srgb, var(--surface) 92%, transparent)}
.totop:focus-visible{outline:2px solid var(--voice);outline-offset:3px}
.totop svg{width:20px;height:20px;display:block}
footer .fine .theme-toggle{margin-right:52px}
@media (prefers-reduced-motion: reduce){ html:not([data-motion="force"]) .totop{transition:none} }
