html{scroll-snap-type:y mandatory;scroll-behavior:auto;scroll-padding:0}
/* Touch paging already has a single gesture controller. Native mandatory
   snapping competes with its immediate jumps and the mobile browser toolbar. */
@media(max-width:999px),(pointer:coarse){html{scroll-snap-type:none;overscroll-behavior-y:none}.step-marker{scroll-snap-align:none}}
body{position:relative}
.step-marker{position:absolute;left:0;width:1px;height:1px;pointer-events:none;scroll-snap-align:start;scroll-snap-stop:always}
.section{min-height:100svh}
.header-actions{display:flex;align-items:center;gap:clamp(12px,2vw,28px)}
.language-switch{display:flex;gap:4px;font:11px var(--mono,ui-monospace,monospace);flex:none}
.language-switch a{display:grid;place-items:center;min-width:34px;min-height:34px;border:1px solid #ffffff25;border-radius:4px;color:#b4b8c0;background:#08080b99;text-decoration:none}
.language-switch a[aria-current="page"]{color:#fff;border-color:#ff6a5a;background:#49201d99}
.step-controls{position:fixed;right:clamp(14px,3vw,32px);bottom:18px;z-index:70;display:flex;gap:7px}
.step-controls button{width:40px;height:40px;border:1px solid #ffffff35;border-radius:50%;background:#08080bd9;color:#fff;font:20px system-ui;cursor:pointer;backdrop-filter:blur(6px)}
.step-controls button:disabled{opacity:.35;cursor:default}
.scope .ctrl{margin-right:100px}
body:has(#lb:not([hidden])) .step-controls{visibility:hidden}
.preview-banner{bottom:66px}
.step-controls button:focus-visible,.language-switch a:focus-visible{outline:2px solid #ff6a5a;outline-offset:3px}
.grain{animation:none!important;opacity:.004}
@media(max-width:680px){.site-header{align-items:flex-start;gap:12px}.id{flex:1}.header-actions{flex:none}.tagline{max-width:32ch}.language-switch a{min-width:30px;min-height:36px}.site-nav{display:flex;position:absolute;right:18px;top:60px;font-size:10px}.site-nav a{max-width:110px}.site-nav a:not(:first-child){display:none}.step-controls button{width:44px;height:44px}.scope .ctrl{margin-right:104px}}
@media(prefers-reduced-motion:reduce){.step-marker{scroll-snap-stop:normal}}
