/* Code generated by gen-tokens.mjs from design/tokens/tokens.json; DO NOT EDIT.
   digiview-tokens v2.0.0 inputs=sha256:a46ff5b64a81379094c12fbd9740a5a92936bbdbe851aa57032556aa95ad0a93 generator=sha256:b14984d0ff6b44fb1d92366b378c9bb232d9316a836353dd516e34f3fd9568a7 body=sha256:a529517ad5c8aa2d311bf4f3b4f92a206b1689f95f1e521e6fba9506567f7a1a */
/* Motion tokens (spec 09 §9.2-§9.8, 04 §8.3). Every travel, scale and turn is
   written in terms of --m (1, or 0 under reduced motion), so the one reduce
   block only flips --m, the spring durations, the cycle counts and the loop
   state. Springs fall back to cubic-bezier where linear() is unsupported. */
:root {
  --spring-snappy: cubic-bezier(0.34, 1.2, 0.64, 1);
  --spring-bouncy: cubic-bezier(0.34, 1.4, 0.64, 1);
  --spring-jelly: cubic-bezier(0.34, 1.56, 0.64, 1);
  --spring-gentle: cubic-bezier(0.2, 0, 0, 1);
  --curve-out: cubic-bezier(0.2, 0, 0, 1);
  --curve-in: cubic-bezier(0.4, 0, 1, 1);
  --curve-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --curve-breathe: cubic-bezier(0.45, 0, 0.55, 1);
  --curve-rise: cubic-bezier(0.33, 1, 0.68, 1);
  --curve-fall: cubic-bezier(0.32, 0, 0.67, 0);
  --dur-spring-snappy: 270ms; --dur-spring-bouncy: 610ms; --dur-spring-jelly: 1010ms; --dur-spring-gentle: 570ms;
  --dur-fade: 150ms; --dur-exit: 120ms; --dur-press: 90ms; --dur-shake: 320ms;
  --dur-crossfade: 220ms; --dur-progress: 240ms; --dur-chart: 400ms;
  --dur-pulse: 1200ms; --dur-shimmer: 1600ms; --dur-bob: 2400ms; --dur-toast: 6000ms;
  --dur-dots: 960ms; --dur-dots-step: 120ms; --dur-hop: 1000ms; --dur-hop-cycle: 1600ms;
  --dur-peek: 520ms; --dur-celebrate: 1000ms; --dur-tooltip-delay: 400ms;
  --dur-icon-hop: 240ms; --dur-spin: 900ms; --spin-cycles: 5;
  --delay-empty-follow: 60ms; --delay-empty-peek: 4000ms; --delay-chip: 80ms;
  --dur-drop: 880ms; --delay-intro-word: calc(var(--m) * 722ms); --delay-intro-dot: 100ms; --stagger-step-play: 40ms;
  --delay-intro-back: calc(var(--m) * 616ms);
  --stagger-step: 25ms; --pulse-cycles: 4; --hop-cycles: 3; --loop-state: running;
  --m: 1;
  --motion-press: calc(1 - var(--m) * 0.05); --motion-press-card: calc(1 - var(--m) * 0.02); --motion-press-icon: calc(1 - var(--m) * 0.1);
  --motion-pop-dialog: calc(1 - var(--m) * 0.07); --motion-pop-calm: calc(1 - var(--m) * 0.02); --motion-pop-float: calc(1 - var(--m) * 0.1);
  --motion-pop-mark: calc(1 - var(--m) * 1); --motion-pop-menu: calc(1 - var(--m) * 0.04);
  --motion-pop-illustration: calc(1 - var(--m) * 0.2); --motion-pop-glyph: calc(1 - var(--m) * 0.5);
  --motion-rise: calc(var(--m) * 8px); --motion-float-rise: calc(var(--m) * 20px); --motion-menu-shift: calc(var(--m) * 4px);
  --motion-hover-lift: calc(var(--m) * 2px); --motion-card-lift: calc(var(--m) * 3px); --motion-nudge: calc(var(--m) * 2px);
  --motion-tab-slide: calc(var(--m) * 16px); --motion-shake: calc(var(--m) * 6px); --motion-bob: calc(var(--m) * 4px);
  --motion-dots-rise: calc(var(--m) * 4px);
  --motion-hover-grow: calc(1 + var(--m) * 0.12); --motion-media-grow: calc(1 + var(--m) * 0.03);
  --motion-hop: calc(var(--m) * -10.49%); --motion-hop-throbber: calc(var(--m) * -20.98%);
  --motion-peek-x: calc(var(--m) * 5.75%); --motion-peek-y: calc(var(--m) * -2.45%);
  --motion-squash-x: calc(1 + var(--m) * 0.06); --motion-squash-y: calc(1 - var(--m) * 0.06);
  --motion-stretch-x: calc(1 - var(--m) * 0.05); --motion-stretch-y: calc(1 + var(--m) * 0.06);
  --motion-settle-x: calc(1 - var(--m) * 0.015); --motion-settle-y: calc(1 + var(--m) * 0.015);
  --motion-thumb-squash-x: calc(1 + var(--m) * 0.15); --motion-thumb-squash-y: calc(1 - var(--m) * 0.13);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring-snappy: linear(0, 0.016 2.7%, 0.071 5.9%, 0.185 10.3%, 0.561 22.2%, 0.706 27.5%, 0.818 32.5%, 0.906 37.6%, 0.975 43.4%, 1.022 50.2%, 1.044 58.6%, 1.039 71.7%, 1.004 99.8%, 1);
    --spring-bouncy: linear(0, 0.016 2.1%, 0.075 4.7%, 0.201 8.2%, 0.601 17.2%, 0.754 21.1%, 0.865 24.5%, 0.954 28%, 1.023 31.8%, 1.07 36%, 1.093 41%, 1.088 47.7%, 1.01 68.7%, 0.992 82.1%, 0.995 99.8%, 1);
    --spring-jelly: linear(0, 0.016 1.6%, 0.072 3.5%, 0.187 5.9%, 0.382 9%, 0.668 13.3%, 0.814 15.7%, 0.936 18%, 1.039 20.4%, 1.114 22.7%, 1.169 25.2%, 1.201 28.2%, 1.202 31.6%, 1.166 35.9%, 1.021 47.2%, 0.977 52.6%, 0.958 58.8%, 0.971 68%, 1.005 82.9%, 1.005 99.8%, 1);
    --spring-gentle: linear(0, 0.016 2.6%, 0.073 5.9%, 0.185 10.5%, 0.442 20.1%, 0.586 26.4%, 0.699 32.6%, 0.793 39.5%, 0.869 47.5%, 0.926 57.2%, 0.966 69.9%, 0.99 89.7%, 0.995 99.8%, 1);
  }
}
@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion="full"]) { --m: 0; --loop-state: paused; --pulse-cycles: 0; --hop-cycles: 0; --spin-cycles: 0; --stagger-step: 0ms; --stagger-step-play: 0ms; --dur-spring-snappy: 1ms; --dur-spring-bouncy: 1ms; --dur-spring-jelly: 1ms; --dur-spring-gentle: 1ms; }
}
:root[data-motion="reduce"] { --m: 0; --loop-state: paused; --pulse-cycles: 0; --hop-cycles: 0; --spin-cycles: 0; --stagger-step: 0ms; --stagger-step-play: 0ms; --dur-spring-snappy: 1ms; --dur-spring-bouncy: 1ms; --dur-spring-jelly: 1ms; --dur-spring-gentle: 1ms; }

@theme inline {
  --ease-spring-snappy: var(--spring-snappy);
  --ease-spring-bouncy: var(--spring-bouncy);
  --ease-spring-jelly: var(--spring-jelly);
  --ease-spring-gentle: var(--spring-gentle);
  --ease-out-quick: var(--curve-out);
  --ease-in-quick: var(--curve-in);
  --animate-shake: dv-shake var(--dur-shake) var(--curve-out);
  --animate-pulse-capped: dv-pulse var(--dur-pulse) var(--curve-out) var(--pulse-cycles);
}

/* Enter and exit: an opacity fade on --curve-out plus a spring on the transform,
   as separate animations so the fade never overshoots. Exits stay <= --dur-exit. */
@utility enter-pop { --dv-pop-from: var(--motion-pop-dialog); animation: dv-fade-in var(--dur-fade) var(--curve-out) backwards, dv-pop var(--dur-spring-bouncy) var(--spring-bouncy) backwards; }
@utility enter-float { --dv-rise-from: var(--motion-float-rise); --dv-pop-from: var(--motion-pop-float); animation: dv-fade-in var(--dur-fade) var(--curve-out) backwards, dv-rise var(--dur-spring-bouncy) var(--spring-bouncy) backwards, dv-pop var(--dur-spring-bouncy) var(--spring-bouncy) backwards; }
@utility enter-mark { --dv-pop-from: var(--motion-pop-mark); animation: dv-pop var(--dur-spring-bouncy) var(--spring-bouncy) backwards; }
@utility enter-menu { --dv-pop-from: var(--motion-pop-menu); --dv-rise-from: var(--motion-menu-shift); animation: dv-fade-in var(--dur-fade) var(--curve-out) backwards, dv-rise var(--dur-spring-snappy) var(--spring-snappy) backwards, dv-pop var(--dur-spring-snappy) var(--spring-snappy) backwards; }
@utility enter-rise { --dv-rise-from: var(--motion-rise); animation: dv-fade-in var(--dur-fade) var(--curve-out) backwards, dv-rise var(--dur-spring-snappy) var(--spring-snappy) backwards; }
@utility enter-calm { --dv-pop-from: var(--motion-pop-calm); animation: dv-fade-in var(--dur-fade) var(--curve-out) backwards, dv-pop var(--dur-spring-gentle) var(--spring-gentle) backwards; }
@utility enter-fade { animation: dv-fade-in var(--dur-fade) var(--curve-out) backwards; }
@utility exit-quick { pointer-events: none; animation: dv-fade-out var(--dur-exit) var(--curve-in) both, dv-pop-out var(--dur-exit) var(--curve-in) both; }
@utility exit-fade { pointer-events: none; animation: dv-fade-out var(--dur-exit) var(--curve-in) both; }

/* Press (spec 09 §9.3): one transition list; press-in on --curve-out over
   --dur-press, release on snappy. Hover lift is part of the same list. */
@utility press {
  transition: translate var(--dur-spring-snappy) var(--spring-snappy), scale var(--dur-spring-snappy) var(--spring-snappy), background-color var(--dur-fade) var(--curve-out), color var(--dur-fade) var(--curve-out), border-color var(--dur-fade) var(--curve-out), opacity var(--dur-fade) var(--curve-out);
  &:active:not(:disabled, [aria-disabled="true"], [aria-busy="true"]) { scale: var(--motion-press); transition-duration: var(--dur-press); transition-timing-function: var(--curve-out); }
}
@utility press-card {
  transition: translate var(--dur-spring-snappy) var(--spring-snappy), scale var(--dur-spring-snappy) var(--spring-snappy);
  &:active:not(:disabled, [aria-disabled="true"]) { scale: var(--motion-press-card); transition-duration: var(--dur-press); transition-timing-function: var(--curve-out); }
}
@utility lift { &:hover:not(:disabled, [aria-disabled="true"], [aria-busy="true"]) { translate: 0 calc(var(--motion-hover-lift) * -1); } }
@utility lift-card {
  position: relative;
  &::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: var(--elev-md); opacity: 0; pointer-events: none; transition: opacity var(--dur-fade) var(--curve-out); }
  &:hover { translate: 0 calc(var(--motion-card-lift) * -1); }
  &:hover::after { opacity: 1; }
}

/* reduced: / animated: follow the OS setting unless the in-app toggle says otherwise (04 §8.3). */
@custom-variant reduced {
  @media (prefers-reduced-motion: reduce) { &:where(:root:not([data-motion="full"]) *) { @slot; } }
  &:where(:root[data-motion="reduce"] *) { @slot; }
}
@custom-variant animated {
  @media (prefers-reduced-motion: no-preference) { &:where(:root:not([data-motion="reduce"]) *) { @slot; } }
  &:where(:root[data-motion="full"] *) { @slot; }
}

@keyframes dv-fade-in { from { opacity: 0; } }
@keyframes dv-fade-out { to { opacity: 0; } }
@keyframes dv-pop { from { scale: var(--dv-pop-from, var(--motion-pop-float)); } }
@keyframes dv-pop-out { to { scale: var(--motion-pop-menu); } }
@keyframes dv-rise { from { translate: 0 var(--dv-rise-from, var(--motion-rise)); } }
@keyframes dv-slide { from { translate: calc(var(--dv-dir, 1) * var(--motion-tab-slide)) 0; } }
@keyframes dv-shake { 0%, 100% { translate: 0 0; } 15% { translate: calc(var(--motion-shake) * -1) 0; } 30% { translate: var(--motion-shake) 0; } 45% { translate: calc(var(--motion-shake) * -0.6) 0; } 60% { translate: calc(var(--motion-shake) * 0.6) 0; } 75% { translate: calc(var(--motion-shake) * -0.25) 0; } }
@keyframes dv-pulse { 50% { opacity: 0.4; } }
@keyframes dv-shimmer { from { translate: -100% 0; } to { translate: 100% 0; } }
@keyframes dv-ping { from { scale: 1; opacity: 0.55; } to { scale: calc(1 + var(--m) * 1.4); opacity: 0; } }
@keyframes dv-spin { to { rotate: calc(var(--m) * 360deg); } }
@keyframes dv-timer { to { scale: 0 1; } }
@keyframes dv-dot { 0%, 50%, 100% { translate: 0 0; opacity: 0.45; animation-timing-function: var(--curve-rise); } 22% { translate: 0 calc(var(--motion-dots-rise) * -1); opacity: 1; animation-timing-function: var(--curve-fall); } }
@keyframes dv-icon-hop { 0%, 100% { translate: 0 0; animation-timing-function: var(--curve-rise); } 45% { translate: 0 calc(var(--motion-hover-lift) * -1); animation-timing-function: var(--curve-fall); } }
@keyframes dv-stretch-y { 35% { scale: 1 calc(1 + var(--m) * 0.06); } 70% { scale: 1 var(--motion-settle-x); } }
@keyframes dv-bob { 50% { translate: 0 calc(var(--motion-bob) * -2); } }
@keyframes dv-roll-in { from { translate: 0 calc(var(--motion-rise) * 2); opacity: 0; } }
@keyframes dv-roll-out { to { translate: 0 calc(var(--motion-rise) * -2); opacity: 0; } }
/* The symbol hop (spec 09 §9.5): translate and scale on separate tracks, gravity
   curves per segment, about the front layer's bottom centre. */
@keyframes dv-hop-y { 0%, 9% { translate: 0 0; animation-timing-function: var(--curve-rise); } 27% { translate: 0 var(--dv-hop-h, var(--motion-hop)); animation-timing-function: var(--curve-fall); } 43%, 100% { translate: 0 0; } }
@keyframes dv-hop-s { 0%, 100% { scale: 1 1; } 9% { scale: var(--motion-squash-x) var(--motion-squash-y); } 18% { scale: var(--motion-stretch-x) var(--motion-stretch-y); } 35%, 43% { scale: 1 1; } 47% { scale: var(--motion-squash-x) var(--motion-squash-y); } 60% { scale: var(--motion-settle-x) var(--motion-settle-y); } 72% { scale: 1 1; } }
@keyframes dv-throb-y { 0%, 5.6% { translate: 0 0; animation-timing-function: var(--curve-rise); } 16.9% { translate: 0 var(--motion-hop-throbber); animation-timing-function: var(--curve-fall); } 26.9%, 100% { translate: 0 0; } }
@keyframes dv-throb-s { 0%, 100% { scale: 1 1; } 5.6% { scale: var(--motion-squash-x) var(--motion-squash-y); } 11.3% { scale: var(--motion-stretch-x) var(--motion-stretch-y); } 21.9%, 26.9% { scale: 1 1; } 29.4% { scale: var(--motion-squash-x) var(--motion-squash-y); } 37.5% { scale: var(--motion-settle-x) var(--motion-settle-y); } 45% { scale: 1 1; } }
@keyframes dv-throb-peek { 0%, 5.6%, 29.4%, 100% { translate: 0 0; } 16.9% { translate: calc(var(--motion-peek-x) * 0.5) calc(var(--motion-peek-y) * 0.5); } }
@keyframes dv-throb-shadow { 0%, 5.6%, 26.9%, 100% { scale: 1 1; opacity: 1; } 16.9% { scale: calc(1 - var(--m) * 0.3) calc(1 - var(--m) * 0.3); opacity: 0.5; } }
/* The drop (spec 09 §9.5, brand intro on /signed-out): the front layer falls 60 %
   of the mark's height and rebounds by restitution² (9 %, 1.3 %), squashing at
   each contact (100 %, 50 %, 20 % of the cap); the wordmark glyphs rise 8 units
   in turn and the i dots drop 14 units. */
@keyframes dv-drop-y { 0% { translate: 0 calc(var(--m) * -60%); animation-timing-function: var(--curve-fall); } 40% { translate: 0 0; animation-timing-function: var(--curve-rise); } 55.2% { translate: 0 calc(var(--m) * -8.66%); animation-timing-function: var(--curve-fall); } 70.4% { translate: 0 0; animation-timing-function: var(--curve-rise); } 76.2% { translate: 0 calc(var(--m) * -1.25%); animation-timing-function: var(--curve-fall); } 82% { translate: 0 0; animation-timing-function: var(--curve-rise); } 100% { translate: 0 0; } }
@keyframes dv-drop-s { 0%, 100% { scale: 1 1; } 40% { scale: calc(1 + var(--m) * 0.06) calc(1 - var(--m) * 0.06); } 46% { scale: 1 1; } 70.4% { scale: calc(1 + var(--m) * 0.03) calc(1 - var(--m) * 0.03); } 76.4% { scale: 1 1; } 82% { scale: calc(1 + var(--m) * 0.012) calc(1 - var(--m) * 0.012); } 88% { scale: 1 1; } }
@keyframes dv-glyph-rise { from { opacity: 0; translate: 0 calc(var(--m) * 8.39%); } }
@keyframes dv-back-in { from { translate: calc(var(--m) * -2.51%) calc(var(--m) * 4.91%); } }
@keyframes dv-dot-drop { from { opacity: 0; translate: 0 calc(var(--m) * -14.69%); } }
@keyframes dv-peek { 0%, 100% { translate: 0 0; } 40% { translate: var(--motion-peek-x) var(--motion-peek-y); animation-timing-function: var(--spring-jelly); } }
@keyframes dv-chip-x { 0% { opacity: 1; translate: 0 0; } 70% { opacity: 1; } 100% { opacity: 0; translate: calc(var(--m) * var(--cx, 0px)) 0; } }
@keyframes dv-chip-y { 0% { transform: translateY(0) scale(0.5); animation-timing-function: var(--curve-rise); } 45% { transform: translateY(calc(var(--m) * var(--cy, -20px))) scale(1); animation-timing-function: var(--curve-fall); } 100% { transform: translateY(calc(var(--m) * (var(--cy, -20px) + 40px))) scale(1); } }
