:root { --spring: cubic-bezier(.34,1.56,.64,1); }
@supports (animation-timing-function: linear(0, 1)) {
  :root { --spring: linear(0,.22 6%,.66 14%,1.05 24%,1.15 34%,1.10 45%,.984 60%,.975 72%,1.008 86%,1); }
}
[data-motion] {
  position: relative;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  translate: var(--mag-x, 0px) var(--mag-y, 0px);
  transition: translate .42s var(--spring), scale .42s var(--spring), color .18s, background-color .18s, border-color .18s, box-shadow .2s;
}
[data-motion]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgb(255 250 235 / .23) 49%, transparent 67%) -110% 0/46% 100% no-repeat;
}
@keyframes silkSheen { from { background-position: -110% 0; } to { background-position: 215% 0; } }
[data-motion].is-hovered::before { animation: silkSheen .65s cubic-bezier(.22,1,.36,1) both; }
[data-motion].is-hovered { scale: 1.018; }
.segments [data-motion].is-hovered { scale: 1.008; }
[data-motion].is-pressed { scale: .95; transition-duration: .075s; transition-timing-function: ease-out; }
[data-motion].is-rebounding { animation: jellyRebound .4s both; }
@keyframes jellyRebound { 0% { scale: .95; } 38% { scale: 1.041; } 66% { scale: .994; } 100% { scale: 1; } }
.ripple-layer { pointer-events: none; position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.ripple {
  position: absolute; pointer-events: none; width: 130px; height: 130px; border-radius: 50%; translate: -50% -50%;
  background: radial-gradient(circle,transparent 26%, rgb(209 185 151 / .24) 65%, rgb(255 252 247 / .5) 88%, transparent 100%);
  animation: rippleOut .52s cubic-bezier(.18,.64,.24,1) both;
}
@keyframes rippleOut { from { scale: .05; opacity: .8; } to { scale: 1.45; opacity: 0; } }
.glide-pill {
  position: absolute; pointer-events: none; inset: 0 auto auto 0; z-index: -1;
  background: linear-gradient(145deg,#353a41,#202429); border-radius: 999px; border: 1px solid rgb(255 255 255 / .2);
  box-shadow: 0 2px 5px rgb(22 24 28 / .19), inset 0 1px 0 rgb(255 255 255 / .14);
  opacity: 0; transform: translate3d(var(--glide-x,0),var(--glide-y,0),0);
  transition: transform .44s var(--spring), width .44s var(--spring), height .44s var(--spring), opacity .15s;
}
.has-glide .glide-pill { opacity: 1; }
[data-reveal].is-revealed { animation: sectionArrival .58s cubic-bezier(.18,.8,.32,1) both; }
@keyframes sectionArrival { from { opacity: .32; translate: 0 13px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  [data-motion], [data-motion]::before, [data-reveal], .ripple, .glide-pill, .nav-shell, .advanced summary span, .tooltip {
    animation: none !important; transition: none !important;
  }
  [data-motion] { translate: none !important; scale: 1 !important; }
}
