/* One persistent place to choose a calmer experience. */
.site-preferences{position:fixed;right:20px;bottom:max(18px,env(safe-area-inset-bottom));z-index:50;display:flex;align-items:center;gap:6px;max-width:calc(100% - 32px);padding:5px 8px;border:1px solid #40626e38;border-radius:30px;background:#f3f8faf5;box-shadow:0 3px 18px #12374810;color:#254454}
.motion-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border:0;border-radius:24px;background:transparent;color:#254454;font:500 14px/1.3 var(--body);white-space:nowrap;cursor:pointer}
.motion-toggle[hidden]{display:none}
.motion-toggle svg{width:19px;height:19px;flex:none}
.motion-toggle .motion-check{opacity:0}
.motion-toggle[aria-pressed=true]{background:#d7e8f3;color:#173d58}
.motion-toggle[aria-pressed=true] .motion-check{opacity:1}
.motion-toggle:hover{background:#e0edf5}
.site-preferences :focus-visible{outline:2px solid #286f9e;outline-offset:2px}
.site-preferences .sound-control{position:static;display:flex;gap:2px;padding:0 3px 0 5px;border:0;border-left:1px solid #42657b30;border-radius:0;box-shadow:none;background:none}
.site-preferences .sound-control[hidden]{display:none}
.site-preferences .sound-control button{min-height:44px;padding:6px 9px}
.site-preferences .sound-volume{display:none}
.site-preferences .sound-playing .sound-volume{display:block}
.site-preferences .sound-control input{width:54px}
.footer-sound-dock{width:460px;min-height:58px}
.footer-sound-dock.is-visible .site-preferences{position:static;box-shadow:none;max-width:100%}
.hero-footer{bottom:calc(var(--site-preferences-height,56px) + 26px);right:var(--gutter)}
.legal-page{padding-bottom:80px}
:root[data-reduced-motion=true]{scroll-behavior:auto!important}
:root[data-reduced-motion=true] *,:root[data-reduced-motion=true] *:before,:root[data-reduced-motion=true] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){:root:not([data-reduced-motion]) *,:root:not([data-reduced-motion]) *:before,:root:not([data-reduced-motion]) *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:600px){
  .site-preferences{right:16px;gap:2px;padding-inline:5px}
  .motion-toggle{padding-inline:9px;gap:6px}
  .site-preferences .sound-control{padding-inline:3px 0}
  .site-preferences .sound-control button{gap:6px;padding-inline:7px}
  .site-preferences:has(.sound-playing){padding-bottom:37px}
  .site-preferences .sound-playing .sound-volume{position:absolute;left:18px;right:18px;bottom:5px}
  .site-preferences .sound-control input{width:100%;min-height:28px;margin:0}
  .footer-sound-dock{width:100%;min-height:58px}
}
@media(max-width:340px){.site-preferences{left:16px;right:16px;justify-content:center}.motion-toggle{padding-inline:7px}.site-preferences .sound-control button{padding-inline:5px}}
@media print{.site-preferences{display:none}}
